Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for G/L doc parking

0 Kudos

Hi,

I'm trying to use <b>BAPI_INCOMINGINVOICE_PARK</b> for G/L A/c parking.

Can anyone pls let me know if anyone else has used the same BAPI for G/L account parking? If so, can you provide me with code samples.

Thanks in advance!

-Arthi.

I referred to this thread:

2 REPLIES 2

Former Member
0 Kudos

Hi,

Pls have a look, following example may helps u....

Example: Incoming invoice with G/L and material account posting.

This example shows you, which header data you need to enter in the HeaderData table, which item data you enter in the ItemData table, which G/L account information you enter in the GlAccountData table, and which material account information you enter in the MateralData table in order to park an incoming invoice.

You receive an invoice with reference to PO number 4500006846, PO item 10. The invoice is for a quantity of 100 PC of material A, and a gross amount of 150.80 USD including 16% tax. This includes a G/L account posting of 10 USD to account 400000 in company code 1, and a material account posting to material MAT01n for 20 USD.

Enter the following data:

Table HeaderData

INVOICE_IND (Post invoice/credit memo): X

DOC_DATE (Document date): 08.05.2000 PSTNG_DATE (Posting date):

PSTNG_DATE (Posting date): 08.08.2000

COMP_CODE (Company code): 1000

CURRENCY (Currency key): USD

GROSS_AMOUNT (Gross amount): 150.80 CALC_TAX_IND (Automatically

CALC_TAX_IND (Automatically calculate tax): X

PMNTTRMS (Terms of payment key): 0001

Table ItemData INVOICE_DOC_ITEM (Item in invoice document):

INVOICE_DOC_ITEM (Item in invoice document): 00001

PO_NUMBER (PO number): 4500006846

PO_ITEM (PO item): 00010

TAX_CODE (Tax code): VN

ITEM_AMOUNT (Item amount): 100

QUANTITY (Quantity): 100

PO_UNIT (Unit of measure): PC

Table GlAccountData

INVOICE_DOC_ITEM (Document item in invoice document): 00001

GL_ACCOUNT (G/L account): 400000

ITEM_AMOUNT (Item amount): 10.00

DB_CR_IND (Debit/credit indicator): S

COMP_CODE (Company code): 0001

TAX_CODE (Tax code): VN

COSTCENTER (Cost center): 1

Table MaterialData

INVOICE_DOC_ITEM (Document item in invoice document): 0001

MATERIAL (Material): MAT01

PLANT (Valuation area): 0001

DB_CR_INP (Debit/credit indicator): S

ITEM_AMOUNT (Item data): 10.00

QUANTITY (MENGE_D): 1

PO_UNIT (PO unit of measure): PC

TAX_CODE (Tax code): VN

---Sreedhar

Former Member
0 Kudos

Hi Arthi,

Please refer to the Function Module documentation. You will find the complete code with values to be filled in each of the tables.

Hope it helps....

Lokesh

Pls. reward appropriate points