‎2008 Nov 05 9:46 PM
Hi,
I need to stop creation of Outbound Delivery based on some conditions, i have written the code to issue an error message like 'MESSAGE ID 'VZ' TYPE 'E' NUMBER '000' WITH 'My Reason'.
I expected this message displayed on the bottom of the screen when i create a delivery but it is giving an odd error message 'Unexpected issue of error message (message VZ 000)' and this is coming in a Poop-up.
Could any body let me know how can i produce the error in the bottom of the session
Thanks
Ram
‎2008 Nov 05 10:11 PM
Hi,
could it be your setings in SAP Tweak GUI ? "Start" -> "Programs" -> "SAP Front End" -> "SAP Tweak GUI". There under "Interaction Design" -> "Visualization & Interaction" you can set a flag for "Show error messages in dialog window" ... is that flag set for you?
regards,
Andri
‎2008 Nov 05 10:04 PM
Hi,
Where do you want to display that message? There are some user exits where you can not display error message.
‎2008 Nov 05 10:11 PM
Hi,
could it be your setings in SAP Tweak GUI ? "Start" -> "Programs" -> "SAP Front End" -> "SAP Tweak GUI". There under "Interaction Design" -> "Visualization & Interaction" you can set a flag for "Show error messages in dialog window" ... is that flag set for you?
regards,
Andri
‎2008 Nov 05 10:16 PM
Hi,
I am using 'USEREXIT_SAVE_DOCUMENT_PREPARE' and giving the error message. Pop-up messge is not a problem but the text i am getting is the probelm.
I need to display my own message not the system message.
Thanks
Sudheer
‎2008 Nov 05 10:30 PM
Hi,
check this OSS note 415716. It contains nice description of all user exits related to Outbound deliveries and corresponding constraints.
‎2008 Nov 05 10:36 PM
Hi,
one more comment. There is a BADI LE_SHP_DELIVERY_PROC with method DELIVERY_FINAL_CHECK. Check documentation for this BADI and this method. This BADI has also sample code with nice example how to implement method DELIVERY_FINAL_CHECK.
Cheers
‎2008 Nov 06 10:19 PM
Marty,
We are still in 4.6c and the BADI which you mentioned is not avilable. I written the code in the user exit USEREXIT_SAVE_DOCUMENT_PREPARE. Could you please let me know is there any way to display my error message rather than the system message. or do i need to write my code in some other place?
Thanks