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

Fail to create PR direct charge with BAPI_PR_CREATE

$
0
0

Dear SAP experts,

 

We are in ECC 6 EHP 7 with business function LOG_MM_CI_2 activated and switch MM_SFWS_SC2 activated.

We able to create PR for material stock (no account assignment) using BAPI_PR_CREATE, however whenever we want to create PR for direct charge (account assignment = P), we always fail and having this message “Account 6020130 requires an assignment to a CO object”, but we do input the WBS already.

 

The parameter that we filled are as follow:

 

In PRITEM

PREQ_ITEM                                        00010

PUR_GROUP                                     M01

PREQ_NAME                                     B1310

MATERIAL                                           0101010007

PLANT                                                   1102

QUANTITY                                           10,000

UNIT                                                      PC

DELIV_DATE                                       10.03.2014

PREQ_PRICE                                       10,000

PRICE_UNIT                                       1

ACCTASSCAT                                      P

 

In PRACCOUNT

PREQ_ITEM                                        00010

QUANTITY                                           10,000

NET_VALUE                                        100,000

WBS_ELEMENT                                 B/9999-0-2330-001

 

What might be wrong in here? Note that we’re not inputting GL account as we expect the GL account derived from material master, which it did, but it seems that the WBS inserted cannot be read.

 

Best regards,

John


Viewing all articles
Browse latest Browse all 6446

Trending Articles



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