09-11-2008 9:04 AM
Is it possible to concetante the report name to be submitted and all parameters?
concatenate 'ZBB_ISCILIK_LISTE_RAPORU' 'AND RETURN'
'WITH CN_PROJN-LOW EQ i_pspid'
'WITH CN_PSPNR-LOW EQ i_posid'
'WITH CN_NETNR-LOW EQ i_aufnr'
'WITH CN_ACTVT-LOW EQ i_vornr'
'WITH CN_STUFE-LOW EQ lv_stufe'
'WITH GV_MATNR EQ i_matnr'
'WITH GV_KYTTP EQ i_kyttp'
into submit_clause SEPARATED BY space
SUBMIT (submit_clause).
this wont work, with an exception like "Program ZBB_ISCILIK_LISTE_RAPORU AND RETU" not found. It seems like submit only accepts the program name as parameter here.
How can it be done?
09-11-2008 9:25 AM
Hi,
I think we can pass only name as the literal. Check below F1 help.
The system leaves the active program and starts the new report rep. In basic form 2, you can specify the name of the report in the field name. You must specify the name in uppercase, otherwise a runtime error occurs.
Probably u can try taking into internal table.
Thanks,
Vinod.
09-11-2008 9:25 AM
Hi,
I think we can pass only name as the literal. Check below F1 help.
The system leaves the active program and starts the new report rep. In basic form 2, you can specify the name of the report in the field name. You must specify the name in uppercase, otherwise a runtime error occurs.
Probably u can try taking into internal table.
Thanks,
Vinod.
09-11-2008 9:40 AM