cancel
Showing results for 
Search instead for 
Did you mean: 

Submit command in WD How?

Former Member
0 Kudos

Hi,

I have this code it is possible to use it in WD.

SUBMIT YER00268 TO SAP-SPOOL WITHOUT SPOOL DYNPRO

SPOOL PARAMETERS V_LOC_MSTR_PRINT_PARMS

WITH SELECTION-TABLE INT_SELTAB

AND RETURN.

and if not, how i can change it to run in WD, Reply

BR,

Ali

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank all

former_member226203
Active Contributor
0 Kudos

we can use the Submit statement in WBDYN.can u be more clear on the req.

Former Member
0 Kudos

I have the follwing code in my original report.

SUBMIT YER00268 TO SAP-SPOOL WITHOUT SPOOL DYNPRO

  • SPOOL PARAMETERS V_LOC_MSTR_PRINT_PARMS*

  • WITH SELECTION-TABLE I_INT_SELTAB*

  • AND RETURN.*

It is possible to run same code in Web dynpro ABAP.

BR,

Ali

Former Member
0 Kudos

Hi Ali,

Sorry to say SUBMIT does not work from the webdynpro ABAP. So you have to take a different approach, i.e to write a Function Module that in effect contain source to do exactly what

SUBMIT YER00268 TO SAP-SPOOL WITHOUT SPOOL DYNPRO

SPOOL PARAMETERS V_LOC_MSTR_PRINT_PARMS* 
* WITH SELECTION-TABLE I_INT_SELTAB*

AND RETURN.*

intends to do.

Greetings

Prashant

Former Member
0 Kudos

hi Prashant

do u mean that i should create a FM and write my code in FM or what?

BR,

Ali

Former Member
0 Kudos

Yes exactly. You will have to re-write the submit logic inside function module. Then you can call this function module directly from webdynpro ABAP.

Greetings

Prashant

Former Member
0 Kudos

Pls. I need the your help.