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

How to pass the contents of an internal table to the IDoc FIDCC2?

Former Member
0 Kudos
277

Hi,

I have an internal table. Using its contents, I have to create an Idoc and do GL posting.

I have to use FIDCC2 Idoc and the function module IDOC_INPUT_FIDCC2.

Can u please let me know how to pass the contents of the internal table into the idoc FIDCC2 and do the GL posting?

Regards,

Balaji. R

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
231

In the out bound program.......

1) Loop the Internal table

2) Move internal table fields into Segement fields (SDATA).

3) Append into IT_DATA_RECS.

2 REPLIES 2
Read only

Former Member
0 Kudos
232

In the out bound program.......

1) Loop the Internal table

2) Move internal table fields into Segement fields (SDATA).

3) Append into IT_DATA_RECS.

Read only

Clemenss
Active Contributor
0 Kudos
231

Hi balaji,

use function IDOC_INBOUND_FROM_FILE. This will do half the process.

Documentation is missing, but program RSEINB00 explains something,

also some links

[http://help.sap.com/saphelp_nw70/helpdata/EN/dc/6b7f1543d711d1893e0000e8323c4f/frameset.htm]

[]

[]

[]

Hope it helps.

Regards,

Clemens