Functionality This method enables you to create Enjoy purchase orders. Notes Authorizations> The following authorization objects are checked when you create anEnjoy purchase order (PO) (activity 01):
- M_BEST_BSA> Document type in PO
- M_BEST_EKG> Purchasing group in PO
- M_BEST_EKO> Purchasing organization in PO
- M_BEST_WRK> Plant in PO
Data transfer> The header data of the Enjoy PO is passed on in the table PoHeader > and the item data in the table PoItem>. If an item has been assigned to one or more accounts, the accountassignment data for each item can be passed on in the tablePoAccount>. The account assignment category determines whichobjects relevant to cost accounting have to be passed on. If theaccount assignment category is K>, for example, a cost centermust be passed on. Delivery schedule lines are passed on for each item in the tablePoSchedule>. Conditions are passed on in the table PoCond>. The vendor's address is passed on in the table PoAddrVendor>, thedelivery address in the table PoAddrDelivery>. The fields of thecentral address management facility are used in the process. Note> The following restrictions regarding addresses must be taken intoaccount with this method: Addresses can be created> but not changed >. You can only change address data using the methodBAPI_ADDRESSORG_CHANGE>. When you create addresses, they are not checked. An Enjoy PO maytherefore contain faulty address data. You pass on service items in the table PoServices >. The following data can also be passed on: account assignments(table PoSrvAccessValues>), texts (table PoServicesText >), limits (table PoLimits>) and limits referencing a contract(table PoContractLimits>). Note> With this method, service items can be created>, but notchanged>. Return> The PO number is returned in the parameter ExpPurchaseOrder>. Return messages> Messages are returned in the parameter Return>. Restrictions>
- Texts, partners, import data, subcontracting components, and customers'
own fields cannot be passed on via these BAPIs.
|