Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Read Warning message and throw an additional error message

$
0
0

Hi Experts,

 

I have a requirement.

 

When ever there is a warning message VL 150 is triggered during delivery creation.

 

An Error message as to be triggered, which will block the partial delivery being created.

 

Program : MV50AFZ1

User Exit :   FORM USEREXIT_SAVE_DOCUMENT_PREPARE.

 

Why i am not configuring this in the Message level is because i need this error to be triggered only to some order types.

 

Is it possible to read a warning message from the Error log from the user exit ?

 

I need the code to read the warning message and and throw an Error message stating that "The Part delivery is not allowed in "XXXX" Order types"

 

I am not from ABAP background. If this is possible then i will give the requirement to our technical team. 

 

Appreciate all your support.


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>