cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI in BPM

Former Member
0 Kudos

hi,

i am working on a scenario where i need to use BAPI_ACC_DOCUMENT_POST

to post accounting documents.

process has to be created where 2 text files are read

1. Header lines(s)

2. Line Items(s).

In the process i need to send the data to the BAPI with 1 header line and corresponding line items. this proces must be repeated for every header line.

line items basically have to passed as 2 table parameters (ACCOUNTINGGL and Currency).

Please help.

Regards,

Tarun Bahal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This can be done but you will have to merge the two files before mapping to the bapi.

I have only used the bapi with a single file...

Most of the header is made up with constants when I did this...

Former Member
0 Kudos

can u explain how can the files be merged and how did u use single file to post BAPI in BPM

Former Member
0 Kudos

Use the file append to merge the files.

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Tarun ,

can u decribe ur question in detail, then i can help you to sort the problem.

regards

HONEY

Former Member
0 Kudos

Gurus

Please Help

Former Member
0 Kudos

i am sure some one can gimme some idea bout this!!