Application Development and Automation 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: 
Read only

Posting Vendor invoice details using BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
948

Hi Techies

M uploading f-02 data using bapi: BAPI_ACC_DOCUMENT_POST.. But m facing a problem while uploading vendor invoice details.. here goes the vendor line item data ..

doc type : KR

posting key :40

vendor account :410000

Amount :100

cost center: 1000

Text: text.

in BAPIACAP09(bapi for vendor item) i cant find costcenter which i can see in GLdata... where should i pass this cost center value???

Thanks...

Hi Techies

M uploading f-02 data using bapi: BAPI_ACC_DOCUMENT_POST.. But m facing a problem while uploading vendor invoice details.. here goes the vendor line item data ..

doc type : KR

posting key :40

vendor account :410000

Amount :100

cost center: 1000

Text: text.

in BAPIACAP09(bapi for vendor item) i cant find costcenter which i can see in GLdata... where should i pass this cost center value???

Thanks...

4 REPLIES 4
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
719

For vendor invoices GLaccount will have cost centre data.the first line is always of vendor when you create vendor invoice in which vendor number is passed.

In GLaccount apss your cost centre data.

Nabhheet

Read only

0 Likes
719

Can you explain clearly and send me the code plz..

Read only

0 Likes
719

Please pass the cost centre in th GL account line.Code will try topost you soon.

Nabheet

Read only

0 Likes
719

Thanks Nabheet.. my issue was solved...