2007 Sep 26 3:25 PM
Hi all,
I have 6 internal tables with data and I need to pass 6 internal tables to the structure SDATA in the IDOC . how to do this ?
<b><REMOVED BY MODERATOR></b>
thanks ,
veena
Message was edited by:
Alvaro Tejada Galindo
2007 Sep 26 3:33 PM
create a structure/itab having all your 6 internal table entries
then,
loop at itab.
idoc_data-sdata = itab.
APPEND idoc_data.
endloop.
declare your idoc_data as
idoc_data LIKE edidd OCCURS 0 WITH HEADER LINE
create a structure/itab having all your 6 internal table entries
then,
loop at itab.
idoc_data-sdata = itab.
APPEND idoc_data.
endloop.
declare your idoc_data as
idoc_data LIKE edidd OCCURS 0 WITH HEADER LINE
2007 Sep 26 3:29 PM
HI,
Build a final internal table with the structure of consolidated fields from all the 6 internal tables and pass the data into final internal table by reading the internal tables.
Regards
Kannaaih
2007 Sep 26 3:30 PM
Hi
You can't simply pass the data into this SDATA field
this is a 1000 char single field
first note down the different segments of the Idoc and in their order of fields data you have to fill this field
because twhen you wants to fetch the data basck from this SDATA field it will be a problem
Regards
Anji
2007 Sep 26 3:33 PM
create a structure/itab having all your 6 internal table entries
then,
loop at itab.
idoc_data-sdata = itab.
APPEND idoc_data.
endloop.
declare your idoc_data as
idoc_data LIKE edidd OCCURS 0 WITH HEADER LINE
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |