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

submit

Former Member
0 Likes
533

while submiting the report name can i pass the report name dynamiclly in submit as

SET PARAMETER ID 'RID' FIELD v_pname.

v_pname = sy-repid.

SUBMIT v_pname AND RETURN.

this is moving to dump, is it possible.

3 REPLIES 3
Read only

Former Member
0 Likes
505

Try with the paranthesis..().

SET PARAMETER ID 'RID' FIELD v_pname.

v_pname = sy-repid.

SUBMIT (v_pname) AND RETURN.

or, how about?

<b>submit sy-repid and return.</b>

Regards,

Ravi

Read only

Former Member
0 Likes
505

Hi!

Put the name variant into brackets.

SUBMIT (v_pname).

Regards

Tamá

Read only

ferry_lianto
Active Contributor
0 Likes
505

Hi,

Please try this and perhaps you want to add an options.


SET PARAMETER ID 'RID' FIELD v_pname.
v_pname = sy-repid.

SUBMIT (v_pname)[USING SELECTION-SCREEN dynnr] 
                [VIA SELECTION-SCREEN] 
                [selscreen_parameters] ... 
                AND RETURN.

Please check this for more information.

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm

Regards,

Ferry Lianto