Missing segment in Idoc

Hi
Mine is an Idoc to File scenario. The mapping is fine and the interface is also working fine. However, there is one defect attached to it. The Idoc used is ARTMAS. When I trigger the Idoc for a range of articles from BD10, a particular segment is missing in the Idoc. I checked in WE02 and found out that a segment is missing in the Idocs generated. E1BPE1MEANRT is the segment that is missing. Because of this, the file created  at target side has the couple of fields with values missing. The source fields of these missing fields lie in E1BPE1MEANRT.
How do I fic this issue ?
Regards
Harish Babu

Hello,
Couple of suggestions:
If you want to populate the segment and fields in PI mapping, you can use mapwithDefault function and populate NULL values in PI.
OR
1. Check the fields in the segment E1BPE1MEANRT, and respective field data of Article is maintained or not. If not maintained, please update the same with the help of functional.
2. Check with the Abap team to debug the Bapi / program which populates the Idoc. The issue is inclined towards functional  / ABAP team.
-Rahul

Similar Messages

  • Some segments are missing in the idocs for master data zdebmas

    hi guru's,
    can any one hlep me here we facing the probelumm
    some segments are missing in the idocs for master data zdebmas
    , there is some issue on the generation of the Site Master IDoc (Message type: ZDEBMAS, Basic type: DEBMAS06).
    This is using the SAP standard program (RBDMIDOC) which reads the Site master change pointers.
    There is  some segments below is missing in the IDoc:
    how to chcek this probelumm...

    hi
    i got the function module. it is  triggerig whne i do changepointer running.
    what ever changes i made only that segments are onlycomming in to the idoc. but remaing segments are not comming.
    my req is to show all segments  even if i do changes in one segmet fields  dont change theay have send to the interfece all athe segments.i ahve to do some enhancemetns for that
    can u plse help me the login  or any function module which will fill the alla the segmetns .

  • Missing segment in invoice idoc

    Problem: A segment in IDOC is missing. This contains the internal record text of a pricing condition type... when i look at the condition type, no changes were made to it since it's creation and it is automatically determined in the pricing condition in sales order. The condition record text is optional but the business now wants to see this text.
    Question:
    1. I want to know the reason why this segment is missing?
    2. Does the condition type has something to do with it?
    3. How can I make this segment appear in the IDOC?
    thanks and i look forward to your replies...

    Hi,
    1. Check the FM module related to this IDOC. See where this segment is being populated. Put a break-point there and debug the code where it is failing to add this segment.
    2. Once you debug the code, you would come to know that if condition type has something to do with this or not.
    3. If you want this segment to populate on IDOC then find out the user-exit in IDOC processing ( most probably in FM ) and add this segment.
    If you tell me which IDOC/message type/process code you are using, i can tell you the user-exit and i might be able to answer too why the segment is not getting populated. Also let me know which segment you are talking about
    Let me know if you need any other information.
    Regards,
    RS

  • Reg: Missing segment E1EDP01 in  outgoing IDOC

    hello guys,
    I have got an issue in IDOC.
    The idoc has a missing segment E1EDP01.
    Flow is   SAP to EAI to VENDOR.
    I wnt to know why idoc is triggered without this segment E1EDP01.

    How is this IDOC created? own programm?

  • Missing segment during invoice for specific user

    Hi Experts,
    While doing a post goods issue and generating an invoice, the idoc generated from this has missing segments, this only happens when using a spcecific RFC user name (with all authorizations enabled), however, when using an ordinary sap account, the idoc is created successully with no missing segments. Do you have any advide on what seems to be causing the issue? Any help is very much appreciated.
    Thanks in advance.

    Hi
    CRM 5.0
    its not related to application,modification ..but my problem is the find label is working for some of the users.but some of the users find label is not there,
    plz let me know where i have to make corrections for this problem........

  • Filling up segments of Idoc of Invoice List

    Hi!
    Invoices and Invoice List are beeing created... everything would be fine, but some fields are missing in the Invoice List while existing in Invoices.
    I guess I need to find the code where these fields are filled up for Invoices and to add this code to appropriate place for Invoice List. How to do this?
    I think that needed segments are existing for Invoice List, just not filled up...
    By the way, how to find out Idoc number of Invoice List? If I have it, I could compare segments with Idocs of Invoices.
    Any ideas?
    Will reward,
    Mindaugas.

    I saw the Function module -
    Please look at code at :
    Include program : LVEDFF0R
    FORM REDUCTION_TABLE_CREATE.
      PERFORM IDOC_SEGMENTS_READ.
      PERFORM IDOC_ACTIVE_SEGMENTS_SET.
    ENDFORM.                    " REDUCTION_TABLE_CREATE
    Keep the break point at form routine and debug the the function module
    If you do not know how to do debugging then use following way :
    keep the break point in form routine above as i said
    Create invoice or invoice list
    when you maintain output type in invoice or invoice list -
    Now click on Further data ->select peridoc scheduling-> back and save it.
    Run RSNAST00 Program
    Output application : V3
    Object key : Invoice or invoice list number
    Output type : RD00 or LR00
    Medium = 6(EDI) ,A (ALE)
    when you execute the program and it will goto debugging.
    Thanks
    Seshu

  • How to generate a new segment in IDoc for multiple occurance of Control Num

    Hi Experts,
    In my scenario, i need to generate a new segment in IDoc(Target Structure) based on  Control Number Field in the Source Structure.
    The segment need to be created for multiple occurance of the Control Number.
    Ex:
    Control Number - 100 appears 5 times in Source Structure.This control Number is mapped to one of the Field in the Segment of  IDoc.
    Now my requirement is to generate the Segment 5 times with respective to this Control Number.
    please help me out to resolve this issue.
    Thanks,
    Kish.

    Hi,
    Here is the XML Structure of my Source:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:GoodsReceipt_MT xmlns:ns0="urn:WOL-com:XI:data:HJ:10">
       <row>
          <CONTROL_NUMBER>111</CONTROL_NUMBER>
          <LINE_NUMBER>1111</LINE_NUMBER>
          <CONTROL_NUMBER_2/>
          <OUTSIDE_ID/>
          <WH_ID>111111</WH_ID>
          <LOCATION_ID/>
          <HU_ID>11111</HU_ID>
          <NUM_ITEMS/>
          <ITEM_NUMBER>111111</ITEM_NUMBER>
          <CONTROL_NUMBER_3>LR</CONTROL_NUMBER_3>
          <LOT_NUMBER>11111</LOT_NUMBER>
          <UOM>11111</UOM>
       </row>
       <row>
          <CONTROL_NUMBER>111</CONTROL_NUMBER>
          <LINE_NUMBER>12222</LINE_NUMBER>
          <CONTROL_NUMBER_2/>
          <OUTSIDE_ID/>
          <WH_ID>12222</WH_ID>
          <LOCATION_ID/>
          <HU_ID>1222</HU_ID>
          <NUM_ITEMS/>
          <ITEM_NUMBER>112222</ITEM_NUMBER>
          <TRAN_QTY>112222</TRAN_QTY>
          <CONTROL_NUMBER_3>LR</CONTROL_NUMBER_3>
          <LOT_NUMBER>12222</LOT_NUMBER>
          <UOM>1122222</UOM>
       </row>
       <row>
          <CONTROL_NUMBER>222</CONTROL_NUMBER>
          <LINE_NUMBER>2222</LINE_NUMBER>
          <CONTROL_NUMBER_2/>
          <OUTSIDE_ID/>
          <WH_ID>22222</WH_ID>
          <LOCATION_ID/>
          <HU_ID>222222</HU_ID>
          <NUM_ITEMS/>
          <ITEM_NUMBER>2222222</ITEM_NUMBER>
          <TRAN_QTY>22222222</TRAN_QTY>
          <LOCATION_ID_2>33333333</LOCATION_ID_2>
          <CONTROL_NUMBER_3>LR</CONTROL_NUMBER_3>
          <LOT_NUMBER>22222</LOT_NUMBER>
          <UOM>22222</UOM>
       </row>
       <row>
          <CONTROL_NUMBER>333</CONTROL_NUMBER>
          <LINE_NUMBER>3333</LINE_NUMBER>
          <CONTROL_NUMBER_2/>
          <OUTSIDE_ID/>
          <WH_ID>33333</WH_ID>
          <LOCATION_ID/>
          <HU_ID>33333</HU_ID>
          <NUM_ITEMS/>
          <ITEM_NUMBER>333333</ITEM_NUMBER>
          <TRAN_QTY>33333333</TRAN_QTY>
          <CONTROL_NUMBER_3>LR</CONTROL_NUMBER_3>
          <LOT_NUMBER>33333</LOT_NUMBER>
          <UOM>333333</UOM>
       </row>
    </ns0:GoodsReceipt_MT>
    Now Control_Number 111 occurs 2 times, 222 & 333 occurs 1 time.
    Now one IDoc for 111,222 & 333 should be generated.
    But Control_number 111 appears 2 times.
    Now the data in the 2 rows should be passed to Single IDoc by repeating the segments inside the IDoc.
    As u said i changed the Occurance of IDoc to 0...unbound and imported as External Definition. I have done upto Generating IDoc for each unique Control_Number.
    I stuck up at repeating the Segments in the IDoc.
    So please help me out.
    Thanks,
    Kish.

  • Missing fields in IDoc FIDCCP02

    Hello Experts ,
    I am using FIDCCP02 IDoc to create a customer invoice.My item level data contains a field XMWST (Calculate Tax) which i can not find anywhere in the IDoc.Even BSEG-ANFBN ,BSEG-ANFBU,BSEG-ANFBJ,BSEZ-EGMLD,BSEG-HZUON fields are not present in the IDoc.I am mapping the above fields using LSMW.Please let me know how to map the above also it would be helpful if these fields are named differently in the above IDoc.
    Thanks and regards,
    Vijay Simha CR
    Moderator message : Duplicate post locked. Continue with the earlier post [Missing fields in IDoc FIDCCP02|Missing fields in IDoc FIDCCP02].
    Edited by: Vinod Kumar on Aug 31, 2011 5:45 PM

    Hello Shafiq,
    Thanks for your comment. I think it's a good idea to deactivate option to send IDocs immediately and create an own job to trigger it regularly. It would be great if according user exits would be triggered also only when the IDoc job starts. Otherwise I would have to create a copy of RSNASTED and enhance it to fill according values. Depending on the outcome I'll reward your anwser. Nevertheless thank you very much until then.
    Eddy

  • How to isolate error with a record/segment in IDOC with multiple records

    I have an IDOC with multiple records/segments (typically 1000 records/segments). Sometime XI can not process the IDOC because of some control characters in data.
    1. How can I pre-processed the IDOC to remove those control characters?
    Can I use XPATH expression/Java class to do it? How can I configure the XPATH expression/Java class in XI to pre-process the file?
    2. Until I have answer to 1st question. I would like to find out the error is exactly for which record? What configuration can I do in XI to isolate the error is with which record/segment in IDOC?
    Thanks in advance.

    Split the IDoc.
    with in the UDF, after the validations if every thing fine, pass as successful records to success_MT and pass it to target system using Branching in BPM.
    if errors found in the record, then store the error records in Hash table with in UDF, get the IDoc number, frame as a string and raise alert.
    U have to do this in the context of IDoc.
    If U wanna get the IDoc Number, Segment Name and field name for every failure, U can pass the expected error field name as constant to UDF, frame the sentence in the UDF like -> <b>IDoc 1234321 segment – SEG001 – field – FLD03 has a special character ‘*’</b>.
    If U wanna pass this string to source/target, U can do in error messages branch in BPM.
    U must use BPM for splitting the IDoc, since it is multi-mapping.
    reg.,
    Yallabandi.

  • How  can create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version

    Hi All,
                Can any one help, how  to create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version.This is my task.
    Given BADI name was----VENDOR_ADD_DATA_BI .
    Thanks

    Anil,
    look at this thread ..may be this helps you.
    Re: 824 IDOC and BADI/User Exit
    sateesh.

  • In exit EXIT_SAPLKD01_001 populate custom segment of idoc ext. cremas05

    Hi,
       I am using EXIT_SAPLKD01_001 where I need to populate 2 custom segments for idoc extension cremas05.
    I have created a function module separately where I have populated the 2 structures that is of same type as the segment structure.
    In the exit I have called the function module where the structures are populated.
    Now my question is how to populate the custom segments from the function module structures directly in the exit.
    Thanks and Regards
    P

    Hi
    Now I'm able to do this.... closing the thread.

  • E1EDKT1 segment in Idoc INVOIC02

    Hi,
    Im getting the following error when sending an INVOIC02 Idoc to ECC:
    "Error: Segment 'E1EDKT1', segmentnumber '000010' not correct in structure INVOIC02"
    I already refreshed the IDoc metadata and I see the segment in the repository and IDX2. The connection to the backend works fine: when I remove this segment the Idoc is processed succesful. What could be causing this problem?

    Hi Iddo Rijsdijk,
    It solved my issue as well. Thanks.
    - Netrey

  • Optional Segments in IDocs

    How do Optional segments in Idocs gets triggered ? Iam generating Idocs on R/3 Side and optional segments seems to be not getting created when I see on WE05 Tcode.
    My Question is does these segments will be created automatically if there is a data ?
    Please clarify

    Hi Ram,
    There needs to a specific coding for filling the segments be it optional or anyother. I believe the filling of the segment is being done in SAP R/3 and there might not be a code to fill these optional segments.
    Just simply write a code where you are filling other segmemts for the IDoc in case it's not there and it should work.
    Hope this helps.
    Nishant
    Message was edited by: Nishant Rustagi

  • Idoc segment to idocs

    Hello all,
    I am working on idoc to idoc scenario, i have to map a segment to idoc, exact requirement is
    " If there are 10  "E1P12" segments in the inbound IDOC then we need to create 10 outbound Delins IDOCs, each with 1 E1EDP10 segment.
    Can anyone provide me the steps to follow in this scenario.
    Thanks for all your help.

    one more
    For every Idoc generated on the target side the header data is populated frm source Idoc.(i.e) the same header repeated 4r all idocs right???
    In order to do tat u need to write a simple udf
    public void Test(String[] a,String[] b,ResultList result,Container container)
       //write your code here
    for (int i=0; i<a.length;i++)
         result.addValue(b[0]);
    use this udf under all header element(eg.element1 under header tgt side)
    then mapping ll be
    E1EP12----->
                          Test-------->Split By Value---->element1
    src element---->

  • Segment to idoc..

    Hello all,
    I am working on the scenario where i need to mapp a segment to idoc.
    means if i am having 10 segments then 10 idocs should get created.
    If there are 10 EDP10 segments in the inbound IDOC then we need to create 10 outbound Delins IDOCs, each with 1 EDP10 segment.
    I have to display the header part from other segment with each idoc created.
    Please explain in detail.
    Thanks for all your help.

    Hi siddhesh,
       Try the below logics...
       It will working fine for me in Orders IDOC.
        If you have a Multiple E1EDPO1 for each E1EDPO1 need to create a
        Each IDOC.
        and also Each IDOC have Only one E1EDPO1.
        But Header segments Like EIEDKO1 comes only one time.
        This also should be enable each IDOC in the Receiver.
      First for Multiple IDOC:
        E1EDPO1Remove ContextSplitByValue(Each)Collapse ContextIDOC
      Second for enable each E1EDPO1 for each IDOC:
        E1EDPO1SplitByValue(Each)E1EDPO1
         other elements need to simple map.
         Like..
         Posex--Posex
         Action--Action
      Third For header need to use Each IDOC:
        EIEDKO1(Context IDOC)                     ---
        E1EDPO1(Change the context to IDOC)---UseOneAsMany-E1EDKO1
        E1EDPO1                                          ---
        Other elements also need to map like above.
        Consider the field ACTION
         ACTION(Context IDOC)                       ---
        E1EDPO1(Change the context to IDOC)---UseOneAsMany-ACTION
        E1EDPO1                                           ---
       In useoneasmany we need to keep first and second node context should be same.
    Regards,
    Prakasu

Maybe you are looking for

  • How do I use my Time Capsule to back up my wife's MacBook Pro running 10.4.

    I just installed a Time Capsule. I've extended the range with two Airport Expresses. I've connected my MacBook running 10.6.3 to the wireless network. I've connected my wife's MacBook Pro running 10.4.11 to it. I've connected my wife's 3G iPhone to i

  • I can not accept the new terms and conditions of iTunes Store.. Why?

    Today I wanted to install the application Twetter on my iphone, but the app store is a pop-up window that says that I had to accept the new terms and conditions itunes store ...Now, I have read 58 pages of the contract, but there is no button on the

  • Sales tax Field in PDF Form

    How do I create a sales tax field when creating a PDF form?

  • Import package problems

    hi: if my program need to import package A which store in : C:\Documents and Settings\sharon\My Documents\project and my java file also store in the same folder, but i always got this error: C:\Documents and Settings\sharon\My Documents\project\test.

  • Getting error in upgrading from Sap 2005 to sap 8.8

    Hi everyone, I am upgrading my client from sap 2005 to sap 8.8.During the pre check wizard system is getting some error and creating the log file.The coming error is: Test result: Not completed due to SBOErr -2004 in function CDagCheckUTBRecordIncons