cancel
Showing results for 
Search instead for 
Did you mean: 

Creating blocked backend purch.req. items

Former Member
0 Kudos

Hi all

When ordering the SC items I want to create a purch.req. in backend with item being blocked. For this I implemented BAdI BBP_CREATE_REQ_BACK and set

wa_req_items-REQ_BLOCKED     = '1'.
wa_req_items-REASON_BLOCKING = 'blocked'.

In debugging I can see that BAPI_REQUIREMENT_CREATE contains those fields with my settings.

However, when verifying the created purch.req. in the backend system, then the item is NOT blocked. Does anybody know why this happens? Do I have to set other things in order to have a purch.req. item being blocked?

Thanks for any hints to solve this one!

Kind regards,

Renaud

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Just for the records... the solution is:

1. SRM doesn't use BAPI_REQUIREMENT_CREATE but BAPI_REQUISITION_CREATE

2. In BAPI_REQUISITION_CREATE there's an error to which SAP has now (release date was 6.7.2006) published a fix with OSS note 962133.

Hope this helps someone in future.

Kind regards,

Renaud