Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 831

HOW TO USE SELECT-OPTION IN AMDP

$
0
0

HI,

 

Could any one please let me know how to use select-option in AMDP .I have seen the post on scn and tried to apply but it gives me syntax error.same code in abap is not giving syntax error.

 

  SELECT MATNR, SPMON, SUM( MZUBB) AS MZUBB,  SUM( WZUBB ) AS WZUBB,

                       SUM( MGVBR) AS MGVBR, SUM( WGVBR) AS WGVBR,

                       SUM( MAGBB) AS  MAGBB, SUM( WAGBB ) AS WAGBB,WERKS

                       FROM S031

                       WHERE (IV_WHERE_CLAUSE)

                       GROUP BY MATNR,SPMON,WERKS;

 

here where clause is dynamic generated by class and method.

it says incorrect syntax near group by.i am writing this code inside AMDP implementation.

 

or else can anyone give step by step process to handle select option in amdp and consume it in our existing abap report.

 

also in my system i am not able to find cl_shdb_seltab? is there any alternative to this? please give full steps to acheive this..


Viewing all articles
Browse latest Browse all 831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>