Skip to Content
0
Former Member
Feb 24, 2009 at 06:45 AM

Read existing error messages in Z-BADI implementation for Def ORDER_SAVE ?

91 Views

Dear Experts,

I am having one Z implemenation for BADI defination ORDER_SAVE.If my CRM order is having some error at header and item level. i want to read those messages in this Z implemenation.

My requirement is to read the error messages from existing Sales order in BADI implementation and based on one particular message i want to add one more functionalty to that badi implemenation.

In same BADI implementation we have used below FM's:

CRM_MESSAGES_COLLECT : To Raise the error messages.

CRM_MESSAGES_DELETE : To Delete the error messages.

Now i want to Read the messages already present in Sales order ?

So, Is there any function module to read it and how to use that FM ?

Regards,

Amol