Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Passing dynamic parameter for 'SUBMIT' with concatenate

Former Member
0 Kudos

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?

1 ACCEPTED SOLUTION

vinod_vemuru2
Active Contributor
0 Kudos

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.

2 REPLIES 2

vinod_vemuru2
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

thanks