Application Development and Automation 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: 
Read only

Passing parameter to a ABAP program from SQ01

stefan_kolev4
Participant
0 Likes
560

Hi,

In SQ01 I have assigned ABAP program, which should start tr.me23n in order to display concrete purch.order after dbl click on the purch. order number in the ALV.How to pass parameter to my ABAP program,because I'm going to use FM ME_DISPLAY_PURCHASE_DOCUMENT ?

Thanks

STefan

Hi,

In SQ01 I have assigned ABAP program, which should start tr.me23n in order to display concrete purch.order after dbl click on the purch. order number in the ALV.How to pass parameter to my ABAP program,because I'm going to use FM ME_DISPLAY_PURCHASE_DOCUMENT ?

Thanks

STefan

2 REPLIES 2
Read only

former_member217544
Active Contributor
0 Likes
527

Hi Stefan,

SUBMIT statement will be helpful in this case. We can pass the parameters to the report program using this statement.

Ex:

SUBMIT z_report_program AND return

WITH parameter_r = parameter_f.

Here parameter_f is the value that need to be passed to the abap program and parameter_r which contains the value of parameter_f is the variable that willl b used in the report program.

Regards,

Swarna Munukoti.

Read only

stefan_kolev4
Participant
0 Likes
527

Thank you.We solved the problem.