cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ACC_DOCUMENT_POST RF05A-NEWKO Mapping

Abapper0114
Explorer
0 Kudos
1,118

Hello Experts,

My requirement is to convert BDC to BAPI format. Where should I put RF05A-NEWKO in the BAPI? The only parameters I used was DOCUMENTHEADER, ACCOUNTPAYABLE, CURRENCYAMOUNT and RETURN. Thank you!

Accepted Solutions (0)

Answers (2)

Answers (2)

jakob_steen-petersen
Contributor
0 Kudos

Sorry something is going wrong when doing comment on iPad…

but: newko is used to hold multiple account types (Customer, Vendor, GL etc). In the bapi you need to separate, so gl goes in the ACCOUNTGL table and vendor in VENDOR table.

 

jakob_steen-petersen
Contributor
0 Kudos

The GL lines you should fill in the ACOUNTGL table of the BAPI.

 

Abapper0114
Explorer
0 Kudos
Yes but isn't the field GL_ACCOUNT required for this table? We were not provided value for this field and none in the program.
jakob_steen-petersen
Contributor
0 Kudos
GL_ACCOUNT is the account number. NEWKO is in the online transaction used to hold all types of accounts (Vendor, Customer, GL etc)