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

Problem with repititive screen processing in BDC

former_member192818
Active Participant
0 Likes
381

Hello,

I am trying to post a General Ledger document with multiple line items using transaction FB01. This involves the header screen, and a debit entry screen and a credit entry screen, for each line.

Using SHDB, I recorded the transaction for posting for one set of screens- one header, debit entry, credit entry.

In the program I have seperated the header and put the debit, credit processing logic in a loop, to accommodate the multiple line items via BDC processing.

After the call transaction, I see the resulting document in the system has only one set of documents and no more. Is there any sample code anybody has? Any pointers? that will enable me to put the debit and credit entries in a loop using BDC.

Thank You for your help.

Sumit.

1 ACCEPTED SOLUTION
Read only

former_member181966
Active Contributor
0 Likes
365

Hi Sumit,

Can you please post your code, so we can take a look and advise/suggest you.

Thanks

3 REPLIES 3
Read only

former_member181966
Active Contributor
0 Likes
366

Hi Sumit,

Can you please post your code, so we can take a look and advise/suggest you.

Thanks

Read only

0 Likes
365

Hey Saquib,

The program is at the link

http://sumit1.googlepages.com/zctbfi109_journal_entry_in

Thank you.

Sumit.

Read only

former_member192818
Active Participant
0 Likes
365

Hello,

I had some problem in recording the transaction properly. I also had to do some preprocessing of data before it was copied into the screens for processing.

Thank you for your help.

Sumit.