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

Insert data into bkpf and bseg

Former Member
0 Likes
1,711

Hi,

I just want to know if there's a Function that inserts data into BKPF and BSEG tables, I have done some operations with BSEG data and I need to insert the data that have been generated into these two tables, I don't want to use "insert into" because I don't know if there's more data that need to be filled in this two tables for example BELNR I don´t know hos this datum is created.

I would appreciate any help!!

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,198

hi check this...

use these for inserting values...into the tabels

BAPI_ACC_DOCUMENT_POST

regards,

venkat

Hi,

I just want to know if there's a Function that inserts data into BKPF and BSEG tables, I have done some operations with BSEG data and I need to insert the data that have been generated into these two tables, I don't want to use "insert into" because I don't know if there's more data that need to be filled in this two tables for example BELNR I don´t know hos this datum is created.

I would appreciate any help!!

Thanks.

4 REPLIES 4
Read only

Former Member
0 Likes
1,199

hi check this...

use these for inserting values...into the tabels

BAPI_ACC_DOCUMENT_POST

regards,

venkat

Read only

0 Likes
1,198

You can also use a call transaction to FB01 or FB50.

Read only

0 Likes
1,198

Hi,

I'm now using FB01 with BDC programming to post a document, but now I want to insert a new account with it's amount (credit or debit) in BSEG (or corresponding tables) how can I do this? wich transaction does this?

Thanks!

Moisés Grappí

Read only

0 Likes
1,198

Hi,

Use the transaction SHDB.

Regards,

Fernando