‎2007 Feb 21 7:07 PM
Hello All,
I am writing a ALV Report.But i got confused where i have to use cotes and where not to use the cotes for the parameters in function modules which we use.
i.e for eg
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = <b>sy-repid</b>
....
.....
Can any body explain where exactly i have to use cotes and where i have to use uppercase letters.
thanks and regards
madhravi
‎2007 Feb 21 7:13 PM
Hi,
Whenever you are passing any user defined value like variable or some local object name, you have to place it in quotes and upper case e.g. 'USER COMMAND'.
but if you are using any SAP defined object then you have to pass it without quotes, e.g. SY-REPID in this FM.
Regards,
Amit
Reward all helpful replies.
‎2007 Feb 21 7:10 PM
Hi,
the Best way to use PATTERN Tool Available Next to Pretty Painter tab... On righ hand side top in your Editor...
That will take name of Function Module and will give you complete structure of the CALL FUNCTION '.... '.
Hope this will help. Please reward if useful,
‎2007 Feb 21 7:13 PM
Hi,
Whenever you are passing any user defined value like variable or some local object name, you have to place it in quotes and upper case e.g. 'USER COMMAND'.
but if you are using any SAP defined object then you have to pass it without quotes, e.g. SY-REPID in this FM.
Regards,
Amit
Reward all helpful replies.
‎2007 Feb 21 7:15 PM
Hello,
Whenever u r passing the report name to the ALV do like this.
DATA lv_repid like sy-repid.
lv_repid eq sy-repid.Now pass lv_repid to the ALV Fm.
Vasanth