cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Purchase Reqs from APO using MRP Group for type

kgosnell
Explorer
0 Likes
1,006

Hello all,

I have an issue with the creation of Purchase reqs. From plant 1 to plant 2 we have the need to source using three different STO types. We control this using the MRP group. Now that we are running CTM in APO all the purchase reqs are created in APO and we CIF'd to ECC we only get a NB type that creates a EUB DFPS type STO. Is there any way we can get the correct type in the purchase req?

Accepted Solutions (0)

Answers (2)

Answers (2)

kgosnell
Explorer
0 Likes

After using user exit CIFPUR02 function module is EXIT_SAPLMEPI_007, now all purchase reqs created through the CIF do not show up in MD04. the only difference i can see in the EBAN table is the field EBAN-BSAKZ used be blank in the old process and now it is populated. Would that be the issue.

rupesh_brahmankar
Active Contributor
0 Likes

Hello,

You have pointed it correctly,

In EBAN table, the PurReq. has value "T" in "Control indicator" field (EBAN-BSAKZ). Transaction MD04 doesn't show documents. Adjust your customizing accordingly in SAP SPRO -> Purchase Requisition -> Define Document Types: for Control indicator" field is "initial" for Purchase Requisitions, Stock

Please refer SAP KBA on it, 2811955 - Purchase Requisition not in MD04

Best Regards,

R.Brahmankar

rupesh_brahmankar
Active Contributor
0 Likes

Hello,

During transfer of Purchase Requisition from APO to ECC transaction ME51 is called. Settings from transactions OMDT and OPPR are not considered as per standard SAP.

Document type (EBAN-BSART) is taken from default value, which is assigned to transaction ME51 in customizing table T160.

You can control the document type assignment through user exit CIFPUR02 function module is EXIT_SAPLMEPI_007 you can find its logic in form IT_INPUT_TO_EBAN.

You can use this enhancement to specify the document type of a purchase requisition or purchase order when they are created in the ERP system (parameter CP_BSART).

The following important parameters exist:

•PI_STO: Procurement form is stock transfer

•PI_PR: Object is of the type purchase requisition

Best Regards,

R.Brahmankar

kgosnell
Explorer
0 Likes

After using user exit CIFPUR02 function module is EXIT_SAPLMEPI_007, now all purchase reqs created through the CIF do not show up in MD04. the only difference i can see in the EBAN table is the field EBAN-BSAKZ used be blank in the old process and now it is populated. Would that be the issue.