09-07-2014 3:47 PM
Hi Friends,
I have a z-report(ZTEST) and I am calling a standard report RFWT0010 using SUBMIT statement.
I want that when the output of RFWT0010 is displayed, then after pressing Enter button of keyboard, I want to come back to the same Z-report(ZTEST) as I want to display one more ALV report.
Thanks,
Ratnesh
09-07-2014 7:54 PM
Hi,
Use "Return" Statement.
Submit RFWT0010 and return.
For more info.
http://help.sap.com/saphelp_nw70/helpdata/EN/9f/dba51a35c111d1829f0000e829fbfe/content.htm
Regards
Shaik
09-08-2014 6:55 AM
Hi Sajid,
Thanks for reply.
I have used RETURN statement like below.
SUBMIT RFWT0010 WITH vendor = 'X'
WITH i_lifnr IN i_lifnr
WITH i_bukrs IN i_kunnr
WITH test = 'X'
AND RETURN.
The output of RFWT0010 is displayed. but on pressing "back" button on toolbar, the flow is coming back from RFWT0010 to calling report. I want that On pressing ENTER button of keyboard. The flow should come back to calling report.
Regards,
Ratnesh
09-08-2014 8:15 AM
Dear Ratnesh,
That's the standard behavior of Program, Generally Enter means Execute.
But if you want to change the behavior like on Pressing Enter, you want to go back then you need to copy the program RFWT0010 into a Z Program and write the relevant logic(But its a long process, I would suggest you to use Back Button instead).
Regards
Shaik