2007 Dec 19 10:18 AM
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
2007 Dec 19 2:13 PM
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.