Application Development 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: 

REGARDING GET THE RESULT FROM STANDARD PROGRAM

Former Member
0 Kudos
74

hi to all,

my requirement is,

i want to get the output from a standard program in my own z_.... report.

i declared rsparams structure,n by using that structure declared all scren elements.

after that by this statement,

submit <prg name> using selection-screen 1000 and return.

BY THIS STATEMENT,AFTER EXECUTINGMY REPORT,I GOT THE SELECTION SCREEN widout values.

now i want to execute that selection screen and disply the output(like standard program).how itz possible?

giv me clear idea.

plz giv mereply asap.

thanks n regards

satya

1 REPLY 1

Former Member
0 Kudos
42

Hi,

while using 'SUBMIT' statement you have to pass the selection screen fields also, first analyse the calling program selection screen, you have to pass all the mandatory fields from you program otherwise it will stops in selection screen level of that standard program.

and also you have to take care of all selection-screen field validations of that standard program, if you pass any error values there also it will stops.

find the below sample statement.

SUBMIT CALL_DRB_FROM_KAEP AND RETURN

WITH P_KOKRS = GD-KOKRS

WITH P_BELNR = <LD_BELNR>

WITH P_OTYPE = 'BUS2072'

WITH P_LOGSYS = SPACE.

Reward if useful.

Regards,

Sreeram.