cancel
Showing results for 
Search instead for 
Did you mean: 

File to idoc mapping

former_member187437
Contributor
0 Kudos

Hi all

I dont know much about idocs. I am creating a file to idoc scenario. i have done with(hope so) all the other settings, design and configuration. BUt dont know how to do the mapping.how the control segment fields have to be mapped. what are the mandatory fields in idoc?

Accepted Solutions (1)

Accepted Solutions (1)

former_member187437
Contributor
0 Kudos

Thanks for all your responses.

I did as you mentioned. But I am getting a error in the call adapter stage.

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>

<SAP:P1>XML IDoc conversion: No known segments identified</SAP:P1>

Any idea where i have gone wrong?

Former Member
0 Kudos

Have you maintained necessary configuration on XI ?

IDX1 -> Port maintenance in the idoc adapter ?

port (sap+sysid),client , logicalsystem , description.

Porblem is with meta data itz either not getting loaded or if some changes have been made then delte the meta data using idx2 and try scenario again.

<b>Cheers,

*RAJ*</b>

Former Member
0 Kudos

Aarthi,

Import the IDOC metadata in XI using the tcode IDX2.

Regards,

Sarvesh

Answers (3)

Answers (3)

Former Member
0 Kudos

You just right click on those Idoc fields and say Disable fields. The control segment of the IDoc will be populated automatically by XI and hence even though those are mandatory parameters the mapping will work.

Hope that helps.

Regards

Rajeev

Former Member
0 Kudos

Hi,

Just supress EDI_DC40 segement. Idoc adapter will fill this at run time.

select the segement -> right click -> disable.

<b>Cheers,

*RAJ*</b>

Former Member
0 Kudos

Hi Aarthi,

You can leave the control records of the Idoc blank since XI fills them up. This is because XI would be the sender for the idoc. If you select "Header mapping" then you have to map control records else not.

Also in the idoc data segments all fields with a red dot are mandatory. If you do not have a field from the file to map with the mandatory idoc field then either you can suppress it or map it to a constant.

Hope this helps.

Regards.