‎2008 Jul 10 9:08 AM
Hi,
I have to take the name of the program from the user in parameter on the selection screen and then call it. for this purpose i have used SUMBIT stmt as follows:
parameters : p_pname(15), "program name
p_var(15). " name of the varaint
start-of-selection.
SUBMIT p_pname with SELECTION-SET eq p_var.
-
But the above code gives a dump stating the program p_pname doesn't exist.
Kindly tell me how should this be done?
Regards,
Mansi.
Edited by: SAP USER on Jul 10, 2008 10:09 AM
‎2008 Jul 10 9:20 AM
hi,
Put p_name in brackets.
Like SUBMIT (p_name) ....
That will do.
Also Check ABAPDOCU you will find Sample program there.
Regards
Sumit Agarwal
‎2008 Jul 10 9:20 AM
hi,
Put p_name in brackets.
Like SUBMIT (p_name) ....
That will do.
Also Check ABAPDOCU you will find Sample program there.
Regards
Sumit Agarwal
‎2008 Jul 10 9:22 AM
Hi,
Refer below code
SUBMIT zk_ra_enhancement "TO SAP-SPOOL
"IMMEDIATELY 'X'
"WITHOUT SPOOL DYNPRO
USING SELECTION-SCREEN 1000
WITH cn_pspnr CP st_wbs-low
WITH koagr = c_cost_ele_grp
WITH r_budat BETWEEN g_first_date_in_period AND g_last_date_in_period
AND RETURN.
Regards,
Prashant
‎2008 Jul 10 9:23 AM
Hi,
TRY THIS SYNTAX.
SUBMIT 'P_PNAME' VIA SELECTION-SCREEN.
REGARDS.
SRIRAM.