01-05-2015 3:03 PM
hi all,
i had the idoc type with 1 parent segment with 4 child segments, while i am passing values in parent segment let it be
1st data
field 1 = A1;
field 2 = B1;
field 3 = C1;
and
2nd data
field1 = A2;
field 2 = B2;
field 3 = C2;
when i am checking the idoc in WE02 it is fetching only 1st data.
can any one solve this problem?
01-05-2015 3:11 PM
if there is multiple entries in the segment (in WE19) , how to get all the entries in the IDOC (in WE02)
while passing through custom function module. is there any standard code for the idoc
01-05-2015 3:11 PM
if there is multiple entries in the segment (in WE19) , how to get all the entries in the IDOC (in WE02)
while passing through custom function module. is there any standard code for the idoc
01-06-2015 3:32 AM
Hi Tony
what`s your minimum number and maximum number of this segment in WE30?
WE02 definitely can get all entries if the segment have in 'data records'.
regards,
Archer
01-06-2015 3:43 AM
01-06-2015 3:57 AM
Hi zang,
i had other requirement like to populate the data in custom table through the idoc , ie the fields that i shown above should be maintained in the custom table when idoc triggers,
i have written the code according to that but it is also adding the duplicate data in table with the real data can you provide any standard code?
01-06-2015 5:58 AM
Sorry, Did not following you. You want extract data from custom DB table, then generate a IDoc and send it out, right?
Using this FM 'MASTER_IDOC_DISTRIBUTE', refer this thread:http://scn.sap.com/thread/137924
regards,
Archer
01-06-2015 6:33 AM