on 06-27-2011 3:39 PM
Hi,
We need to have purchase order's created automatically through an interface with a BAPI. We have the account assignment category as a Profit center and not a cost center. G/L account and a Profit center need tobe read from a cost center table(CSKS) and should assign to the purchase order for automatic PO's. System creates the automatic PO but unfortunately its picking up the G/L and Profit center account number's.
Thanks!
which entry in CSKS table shall be taken?
you probably have not just one entry there, so you need some logic.l
Usually you have all this info when you call the BAPI, as SAP validates the entered data against those checking tables.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The BAPI may not read your own program coding that is used in manual PO creation.
There are FAQ notes in SAP Market place which explains what the PO creation BAPI does and what it doesn't.
As you are creating the POs with an own report by calling a BAPI it should not be a big problem to add this coding directly in your ABAP to submit the correct valuesdirectly with BAPI
Correct me if I'm wrong, but if ure creating po from bapi so u will be able to insert the account assignment data in the input parameter of the bapi. But if u want sap to propose the gl account, u normally use material master or service master. These datas are linked to valuation class whcin in turn thru tcode obyc is linked to gl account via the valuation class.
Should u not have any master data then u can configure so that the val class is determined thru material group (entry aid without material master config)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.