‎2010 Feb 04 12:52 PM
hi all,
i am using submit statement in Z program and calling standard program of SM37, but problem is that it is going for dump and saying that we cant use submit for function-pool.
can anyone please tell me that how can i submit? can i call this by using call transaction? actually i have to pass selection screen parameters also from my Z program and have to skip standard selection screen.
plz help.
regards.
‎2010 Feb 05 3:40 AM
saurabh srivastava,
There are few things regarding your query, which I need to clarify
<li>Submit statements can be used to call Report programs (Type 1 means executable). So program for SM37 transaction is SAPLBTCH which means you can not use SUBMIT statement. SAPLBTCH is module pool program. You can not use Selection-screen statement for module pool program.
<li>Call transaction can be used to call either report programs or module programs. Which means if transaction is assigned to them, we can use. As I said before program is module pool program. You can still use below statement.
<li>If you want to use AND SKIP FIRST SCREEN statement , need to follow the below conditions
CALL TRANSACTION 'SM37' and SKIP FIRST SCREEN.
<li>Please press F1 help on * and SKIP FIRST SCREEN* statement to see how to use.
Thanks
Venkat.O
"1.For the initial dynpro, in the Screen Painter the own dynpro number must not be specified as the next screen number.
"2.All mandatory input fields of the initial dynpro must be filled completely and with the correct values by the SPA/GPA parameters
‎2010 Feb 05 5:17 AM
hi venkat and gurunath,
thanx for reply...actually if i skip first screen then how would i pass the parameters values to that screen because there is no parameter id exist for fields 'JOB NAME' and 'USERNAME',
so please tell me is there any possibility to set parameter there?
Regards.
‎2010 Feb 05 5:44 AM
saurabh, <li>Yes. You are right, There is no PARAMETER ID for JOBNAME or USERNAME, you can not use AND SKIP FIRST SCREEN. Instead you have to use just CALL TRANSACTION '' statement. There is no option. Thanks Venkat.O
‎2010 Feb 05 5:49 AM
Yes you can.
its very much possible...
see.. with call transaction there is one option called with BDCTAB.
there you can fill the field details and call the transaction...
in call transaction press F1.
‎2010 Feb 05 4:21 AM
>
> hi ,
>
> If you want to call the standard transaction then you have to use " Call transaction <tcode> and skip first screen ".
> but the selection screen of the standard screen has some mandatory paramters to be filled in the first selection screen
> since we are skipping the first screen , you need to set the madantory fields by uisng
> SET PARAMETER ID pid FIELD dobj.
>
> if you set this , then the process works successfully
>
> regards.
‎2010 Feb 05 6:05 AM