Quantcast
Channel: SCN : All Content - SAP ERP - Logistics Materials Management (SAP MM)
Viewing all articles
Browse latest Browse all 6446

Issue with Bapi_PO_Create

$
0
0

Dear SAP MM experts,

 

Below is the business process mapped in our system.

Shopping carts are created in SRM system and the same is creating PR in SAP.

PR gets converted to PO via ME59N.

 

Here during automatic conversion (as well as in ME21N) , we are using the below BADI for converting the company code in PO based on business requirement by validating some aspects which are maintained in Z table.

 

BADI: ME_PROCESS_PO_CUST

 

 

The conversion is working fine for all scenarios except for Service items and Limits.

When the PR item is service or Limits, the company code conversion is not happening.

While testing in ME21N, we have understood that system is identifying the company code that need to be changed, but while trying to input the code system give the below message and conversion fails.

 

ME664 : Company code change could not be effected.

 

 

While doing further analysis, we have identified that if the PR contains desired/fixed vendor, the conversion do not happen (in ME21N).

Same PR , if we remove the Desired vendor/fixed vendor and refer in ME21N and input the vendor during PO creation, the company code conversion happens.

 

Hence would like get the expert advise on following things.

 

1) Why is company code conversion failing for Service/Limits items alone when the same is working fine for other items via 'BADI ME_PROCESS_PO_CUST'

2) Is there any way to resolve this issue?

 

Thanks & Regards,

 

Hegal K Charles


Viewing all articles
Browse latest Browse all 6446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>