Application Development 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: 

Generating Idoc from xml file using function module IDOC_XML_FROM_FILE

Former Member
0 Kudos

Hi all,

we are generating the idoc from xml file using fm IDOC_XML_FROM_FILE. only some segments of xml file are creating data records in idoc, but all the segments in the xml file are not creating data records in idoc.

please help me.

thanks inadvance,

Regards,

adi.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Adi,

Are you getting any exception from the function module? If not, I would suggest you debug and check where the segments are getting skipped.

Regards,

Shyam

2 REPLIES 2

Former Member
0 Kudos

Hi Adi,

Are you getting any exception from the function module? If not, I would suggest you debug and check where the segments are getting skipped.

Regards,

Shyam

0 Kudos

No exceptions from the function module. FM sy-subrc = 0.

all the segments of the xml file updating into g_t_data_records-sdata, but data segments are not creating in idoc.

Regards

Adi