Skip to Content
0
Former Member
Sep 11, 2014 at 03:09 PM

Function for checking if a material is marked for deletion, blocked, excluded

38 Views

Hello All,

I have to use BAPI_SALESORDER_SIMULATE with a list of materials. When there is a single material from the list that is marked for deletion, blocked or excluded(exclusion list), BAPI_SALESORDER_SIMULATE returns an error.

Is there a function in ABAP that I could use to find out if a material is blocked\deleted\excluded so that I could filter out the "invalid materials" before I call BAPI_SALESORDER_SIMULATE ?

Regards