I am trying to use BAPI_INCOMINGINVOICE_PARK using jco code.
When we park the transaction in sap, we give gl account and cost center corresponding to each invoice line item.
I am trying to give these values using jco code.
As I am seeing, there are no gl_accounts, cost_centers variables in ITEMDATA table.
Can anybody tell me which is the right table to define gl_account and cost center ?
Is it ACCOUNTINGDATA or GLACCOUNTDATA ?
1. open SE37
2. put the BAPI_INCOMINGINVOICE_PARK
3. display it's documentation
4. is has multiple examples on how to call this BAPI with different options
there is also one for GL account and cost center called:
Example: Incoming invoice with G/L and material account posting.
can you use this one ?
Thanks for the suggestion Michael.
That example helped me. But one more I need to ask.
I am getting this message
G/L account 37000 not created (please check your input)
even though this G/L account is created in my sap environment and it's in the same company code that I am giving.
Any idea about this issue ?
You would get better feedback for this question in the SAP FI forum here:
In general, the G/L account settings do not allow posting directly against this account in your case. Maybe it is a reconciliation account or something like that.
if it's solved with correct answer please close the message so others can view it as closed too
>>>No direct postings can be made to G/L acct. 37000 in CoCode 3000
you're using wrong account - FS00 - create bank/interest tab - post automatically only check is checked so the account cannot be used - get a correct account from your FI consultant - this one is not correct,