04-09-2008 7:19 PM
Hi all,
Am using following statements in my alv report to call module pool program after execution so that the first module pool screen is skiped .
SET PARAMETER ID 'AUN' FIELD PU_SELFIELD-VALUE.
CALL TRANSACTION 'ZMSTM029' AND SKIP FIRST SCREEN.
But after clicking 'back' form module pool screen ALV screen is not displayed instead the first module pool screen is displayed whish was skipped.
I will be thankful if anybody can help to come back to ALV screen so that while coming back to to alv first module pool screen is avoided.
Thanks.
04-09-2008 7:26 PM
Right, you can not control how you leave the called transaction unless you specifically handle it in that program. You would need to do something like, setting some value in memory using EXPORT statement, and then in the PAI of the screen in the called transaction, you can try to IMPORT this value, and if it is the value which you passed from the the EXPORT, then you can put code to immedatialy leave the program instead of going back to the initial skipped screen. You can only do this since it appears that you are calling a custom program, otherwise you would have to hack the standard program, which i don't think you want to do.
Regards,
Rich Heilman
04-09-2008 7:26 PM
Right, you can not control how you leave the called transaction unless you specifically handle it in that program. You would need to do something like, setting some value in memory using EXPORT statement, and then in the PAI of the screen in the called transaction, you can try to IMPORT this value, and if it is the value which you passed from the the EXPORT, then you can put code to immedatialy leave the program instead of going back to the initial skipped screen. You can only do this since it appears that you are calling a custom program, otherwise you would have to hack the standard program, which i don't think you want to do.
Regards,
Rich Heilman