04-21-2008 9:58 AM
Hai,
I have to call a custom screen from user exit include after the delivery save.(USEREXIT_SAVE_DOCUMENT_PREPARE (include MV50AFZ1)
Depends on the data in the delivery,
if the data satisfies certain conditions I will call the screen otherwise no.
Could any one please tell me how to do this?where to create screen & how to link it here?
Regards,
Bhaskar.
04-23-2008 5:25 AM
04-23-2008 5:29 AM
Hi,
1. Go to se51 create a screen
2. In you user exist
3. <your condition.>
if sy-subrc = 0.
CALL SCREEN <scrno>.
If you want as small screen add below one
CALL SCREEN scr number STARTING AT x1 y1 ... ENDING AT
x2 y2 .
x1--starting at column
y1 --- start at row
x1--ending at column
y1 --- ending at row
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 23, 2008 9:58 AM
04-23-2008 2:59 PM
Hai Jagadish,
Thank you for your response.
But here I created screen for one custom module pool.
So in this case how can I call the screen from the user exit?
My doubt is how the user exit will identify the screen of a module pool.
My main doubt while creating a screen in SE51,
what is program name I have to enter?How this program name is identified in the userexit?
Could you please elaborate?
Thanks in Advance.
Regards,
Bhaskar.
04-23-2008 3:17 PM
Hello!
In last case, try to use the SUBMIT command.
In case you prefer calling a transaction, use CALL TRANSACTION.
Regards.
04-23-2008 5:32 AM
Hi,
In tcode se51 create a screen
In user exist
check your conditions ....
IF yes
CALL SCREEN scr number.
If you want as small screen add below one
CALL SCREEN scr number STARTING AT x1 y1 ... ENDING AT
x2 y2 .
x1--starting at column
y1 --- start at row
x1--ending at column
y1 --- ending at row
<REMOVED BY MODERATOR>
ENDIF.
Edited by: Alvaro Tejada Galindo on Apr 23, 2008 10:03 AM
04-23-2008 2:58 PM
Hai Murali,
Thank you for your response.
But here I created screen for one custom module pool.
So in this case how can I call the screen from the user exit?
My doubt is how the user exit will identify the screen of a module pool.
My main doubt while creating a screen in SE51,
what is program name I have to enter?How this program name is identified in the userexit?
Could you please elaborate?
Thanks in Advance.
Regards,
Bhaskar.
Edited by: Bhaskar M on Apr 23, 2008 4:00 PM