Skip to Content

Help Needed for Mapping for a Flat File to an IDOC

Hi,

I am doing a Flat File(using File Content Conversion) to an IDOC. In the Message Mapping I have to Map the Fields of the Flat File to that of IDOC(GLAMAST.GLAMAST01). Since the IDOC is on the Right hand Side so the RED (Mandatory Fields) have to be populated and in that there is a "segment" field and it is xsd:string. As it is a REQUIRED Field so we have to Map it.

I just want to know what should be the Value of this Field. I have Tried with Constants but the Change list is not getting Activated. It's Saying the Mapping is not Complete. Any suggestions regarding this will be hugely Beneficial. Can anyone tell me what should be the Value of this Field.

The Scenario is Flat File --> XI --> SAP R/3.

Thanking in anticiation. Expecting for a Reply soon. Useful answers will be awarded Points.

Thanks and Regards

Chakra and Somnath

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jul 10, 2006 at 05:05 PM

    Hi,

    Just map a constant to SEGMENT . It should work.

    Also, make sure all mandatory fields are mapped and you have not missed on anything.

    Regards

    Vijaya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 10, 2006 at 05:09 PM

    Hi ,

    Just map constant value 1 to this SEGMENT.

    Make sure that all SEGMENT attributes are mapped with constant value 1.

    Hope this helps,

    Regards,

    Moorthy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 10, 2006 at 05:10 PM

    Somnath,

    The best option is you disable the EDI_DC40 segment so that the values are taken automatically during runtime. Go through the weblogs :

    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified

    /people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload

    which may help you. If you dont want to do this then you can fill:

    EDIDC-RCVPOR, EDIDC-RCVPRN, EDIDC-RCVPRT, EDIDC-SNDPOR, EDIDC-SNDPRN, EDIDC-SNDPRT. And for segments you can assign a constant with a value 1.

    ---Satish

    Add comment
    10|10000 characters needed characters exceeded