Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Not what you were looking for? View more on this topic or Ask a question