10-21-2013 9:12 AM
Hello All,
I have created an Implementation for badi LE_SHP_GOODSMOVEMENT . The badi has been called from 2 tranasaction codes VL02N and VT02N.
I have displayed an warning message inside the implementation code.
When i am calling it from VL02N the warning message is comming properly in POP-UP but while i am calling it from VT02N the code is running properly but the warning message is not comming in POP-UP.
Below is the code for the same.
IF sy-ucomm EQ c_zla.
w_len = strlen( w_accesskey ).
IF w_len EQ 44.
SET SCREEN 0.
EXIT .
ELSE .
MESSAGE text-t01 TYPE c_w.
ENDIF.
ENDIF.
Thanks & Regards,
Susheel Kumar Joshi
M:+91-9975493727
10-24-2013 8:03 AM
Hi
issue resolve in place of massage keyword we have used function module
POPUP_TO_DISPLAY_TEXT.
10-21-2013 9:18 AM
Hi
You must be using method CHANGE_INPUT_HEADER_AND_ITEMS. It already has a message log table CT_LOG. Please fill it in both cases you wont need to do any of the SET screen type stuff.
Thanks
Nabheet
10-21-2013 9:31 AM
Hi Nabhneet,
I am using the method CHANGE_INPUT_HEADER_AND_ITEMS but inside the code we are calling a screen then we have some validation on the data passed in the pop-up screen called by the code.
For the VT02N tcode below line of code is getting executed ( as i have checked in debug mode ) properly but no pop up is comming:
MESSAGE text-t01 TYPE c_w.
10-21-2013 9:34 AM
Hi
Let your screen remain as it is. Can you please fill CT_LOG tab for displaying the warning message. It is always advised to use as much as standard process possible. Just check in debugging fill this table it wil work.
10-24-2013 8:03 AM
Hi
issue resolve in place of massage keyword we have used function module
POPUP_TO_DISPLAY_TEXT.