SAPTechno

Note 822621 - BAPI_PO_CREATE1: G/L account mandatory check missing

Header
Version / Date 2 / 2011-01-19
Priority Correction with medium priority
Category Program error
Primary Component MM-SRV-ACC Account Assignment
Secondary Components MM-SRV-BPI BAPIs

Summary
Symptom

You are using bapi_po_create1 or bapi_po_change to add a new service line to one purchase order item with know account assignment category.
For the account assignment category you have set the G/L account as a mandatory field.
In the poaccount you are not filling the G/L account as you expect the system to get the G/L account automaticaly determined. After runing the bapi you will get no error message and the purchase order will be created without G/L account filled

Other terms

ME21N, ML81N, ME51N, commitments

Reason and Prerequisites

Program error

Solution

Implement the code changes

Affected Releases
Software Component Release From Release To Release And subsequent
SAP_APPL46C46C46C
SAP_APPL470470470
SAP_APPL500500500
SAP_APPL600600600
SAP_APPL602602602
SAP_APPL603603603
SAP_APPL604604604
SAP_APPL605605605

Correction delivered in Support Package
Support Packages Release Package Name
SAP_APPL46CSAPKH46C50
SAP_APPL470SAPKH47024

Related Notes
940532Error message ME 083 during purchase order generation