Skip to Content
avatar image
Former Member

Idoc all segments not generated

Dear Everyone,

I am doing File to Multple IDOC scenario.Multiple Idocs are generated successfully but only one segment fields are coming.I used 5 segments while doing mapping.

E1KNA1M

E1KNVVM

E1KNVPM

E1KNB1M

E1KNB5M.

only E1KNA1M segment turned into GREEN,remaining 4 segments are still showing as GREY color only.but i mapped some fileds in all those 4 segments with source fields.IDOC also generated without errors.I need to get remaining 4 segments fields also.I couldn't find what the error is.Any help would be appreciated.

Thanks in Advance

Vinay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • May 19, 2011 at 12:38 PM

    check the mapping of that segment...

    you might have to use a splitbyvalue function to create context changes

    http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/frameset.htm

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 19, 2011 at 03:13 PM

    Dear Vinay,

    this could becaue of your contect settings. please check the context of each segement generation and use split by value whereever its required.

    Cheers

    Hidayat

    Add comment
    10|10000 characters needed characters exceeded

  • May 19, 2011 at 09:32 PM

    HI,

    If you need all the segments in all the idocs then map a consntat value for the segments.

    If you want the segments to come only if they have the element values, then put a mapping condition to check if a particular value exists in the element or not and createif it exists.

    Best Regards,

    Ravikanth Talagana

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 20, 2011 at 04:41 AM

    Hi,

    To get generate the fields of a segment and the segment occurence is 0...unbounded

    then you need to map the source field based on which the no of target segment has to be occured. if there is no such source field then need to map the constant to the target segment so that fields under that segment will get generated in the target mapping..

    Hope this clears your query..

    Regards

    Rajesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi,

      thanks for all of u r quick replys n helpful answers....i am trying to fix the problem based on all of u r suggestions.....

      vinay