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

BAPI for FB50

Former Member
0 Likes
1,683

HI,

i have to upload the data to FB50,

at the header level i need : company code, Document date and posting date

at Item level :for Credit --- G/L Account, Debit/Credit indicator

for Debit -- - G/L Account, Debit/Credit indicator ,Qty, Text, network, Transaction no.

i found the header data in BAPI_ACC_DOCUMENT_POST but i am not getting the item level fields

can you help me which BAPI to use and what are the parameters.

10 REPLIES 10
Read only

Former Member
0 Likes
1,424

You have to know what type of item you are posting (AR, AP or GL) and use the appropriate table. Check the documentation or search SCN. There are plenty of examples.

On the other hand, maybe you want BAPI_ACC_GL_POSTING_POST

Rob

Edited by: Rob Burbank on Mar 10, 2009 4:30 PM

Read only

0 Likes
1,424

i am posting GL Account only

then which BAPI is appropriate

Read only

0 Likes
1,424

You have your answer in above post.

Read only

0 Likes
1,424

is it BAPI_ACC_GL_POSTING_POST

or BAPI_ACC_DOCUMENT_POST

Read only

0 Likes
1,424

Either - check the documentation to see which seems best suited to your requirements.

But since you are only interested in GL postings, check BAPI_ACC_GL_POSTING_POST first.

Rob

Read only

0 Likes
1,424

Either of the two should work

BAPI_ACC_GL_POSTING_CHECK      Accounting: General G/L Account Posting
BAPI_ACC_GL_POSTING_POST       Accounting: General G/L Account Posting

Read only

0 Likes
1,424

I am using BAPI_ACC_DOCUMENT_POST,

here at document level i am getting following errors, please suggest

T ID NUM MESSAGE

E RW 609 Error in document: BKPFF $ HLD

E RW 612 No currency line exists for line item 0000000000

E RW 602 Required field DOC_TYPE was not transferred in parameter DOCUMENTHEADER

Read only

0 Likes
1,424

Please check the long text for these messages. It should help.

Rob

Read only

0 Likes
1,424

now i am getting errrors

E RW 609 Error in document: BKPFF $ HLD

E RW 612 No currency line exists for line item 0000000000

i am not getting what happening.

Read only

0 Likes
1,424

Hi there!

I am getting the following error also:

E RW 612 No currency line exists for line item 0000000001 (accountgl table)

E RW 612 No currency line exists for line item 0000000002 (accountpayable table)

I am trying to post a down payment using BAPI_ACC_DOCUMENT_POST.

How did you solve this issue?

Thanks

Ezequiel