IDoc: E1EDL44 2 contains different field names in segments

Our client picks up delivery data sent over EDI and a Middleware program to put it in a form.
The Middleware picks up the customer material number from KDMAT of the HU data.
For 1 particular material X KDMAT is not available in the idoc record E1EDL44 2.
With not available I mean KDMAT is not in the list of field names.
This leads to inconsistencies on our client's form for which we are penalized.
For material Y in the same record E1EDL44 2 (different segment) KDMAT is available.
This one is populating correctly on the client's form.
I checked VD52 for material X and there exist an entry for KDMAT.
What more do I need to analyze?
How do I solve this issue?
Best regards,
Geert

Hi,
Are you talking about an outbound interface or inbound interface.
If it is an outbound interface, if the Customer Material number is maintained in VD52 transaction then it would automatically come into the IDOC, if it is not coming then check the FM and the corresponding user exit, some custom code would have cleared that value in the idoc segment.
Thanks,
Mahesh.

Similar Messages

  • IDOC type abc contains error (Unable to read segments)

    Hi All
    While importing IDOC in IR i am getting error "IDOC type abc contains error (Unable to read segments)".
    We have added one extra field into our existing customised IDOC into R3 and successfully releases. Previous IDOC having version 640 and modified IDOC having version 700.
    In IDX2 i have successfully imported IDOC metadata and one extra added field also i can see there. But while importing into IR its showing me error "IDOC type abc contains error (Unable to read segments)".
    I have tried to import different IDOC using same user and it was successfully imported means there is no authorization error.
    Please suggest me where could be the problem?
    Regards
    Dheeraj Kumar

    Do The following:
    1) Delete the IDX2 entry and try to reimport once again....and in the IR also do the same.
    2) Have a look into this SAP Note- 742093
    3) Check the IDX1 entry , RFC destination entry... may be not pointing correctly.
    4) If any field which is mandatory in the idoc must not be disabled...take care about it.

  • IDOC / Integration Builder  -- contains errors (unable to read segments)

    HELLO,
    I have a problem. I have created a new IDOC. but when I imported to the KIntegration Builder it says:
    Import started...
    ZHRMD_IT.ZHRMD_IT: Error
      + Error: IDoc type ZHRMD_IT contains errors (unable to read segments)
    Import failed with 1 error.
    The rare thing is that the idoc is a copy of another idoc of SAP (HRMD_A06) but I have taken out some E1Pxxxxx.
    Its like a reduced Idoc but as a new idoc.
    Can Someone help me, please.
    How can I see what segment is wrong in the new idoc (ZHRMD_IT)?
    Thank you
    Pablo Mortera.

    Hi,
    As per the error , you are importing some custom idocs.
    Go to WE30 and check that, all the segments in the idoc has got released or not ..
    <i>All the segments are the sap stardard segments.</i>
    >>You may be using standrad segments, but in custom idocs right.Anyway check, idoc and its segments are released or not..
    Then start importing the idoc into IR..
    Regards,
    Moorthy

  • IDoc to File with different file name and data based on the IDoc header dat

    Hi,
    I got a requirement to implement IDOC to file senario.  In this the Converted file should have the file name and file content based on IDoc Header data.  Means If one of the IDoc header field value is
    'A'  - then the file name recieved by reciever system should be 'A.txt' and with the columns A  B  C  D  F.
    'B'  - then the file name recieved by reciever system should be 'B.txt' and with the columns C  D  F.
    In both the case IDoc message type is same.
    Please suggest me what i need to do to achieve this.
    Thanks in Advance. ...
    Regards
    Sri

    Hi,
    As per my requirement, we need to create one file for each IDoc based on IDoc header data. SAP program generates 10 IDocs for each run. All 10 IDoc's message type is same.  Each IDoc has one header record with the file name. Base on the  name in the IDoc header record, file needs to be created with different columns and file name. Means..
    IDoc 01- Header Description contains 'A' - than file will be generated should have name as 'A.txt' and columns 'parent'  'child' 'descripion'.
    IDoc 02- Header Description contains 'B' - than file will be generated should have name as 'B.txt' and columns 'Name' 'Department' 'Description'.
    IDoc 10- Header Description contains 'J' - than file will be generated should have name as 'J.txt' and columns 'Order No'  'Materail' 'Description'.
    Hope this will give more clarity on my requirement. Please let me if you are still not clear on requirement.
    Thanks for your all help..
    Thanks & Regards
    Sreeni

  • SQVI: Joining Different Field Names

    Hey all,
    Is it possible to join two fields that are not of the exact same technical name?
    We are trying to join tables KSSK and WLK1.  We want to link the assortment (FILIA in WLK1) to the assortment object (OBJEK in KSSK).
    Would this be possible?
    Thank you,
    Ryan

    Well...WLK1 is empty on my system, so it's hard to tell...
    Maybe I will do it like this...Select data from KSSK first, and the LOOP it taking only 10 characters from field OBJEK...For each iteration of the LOOP I will do a SELECT SINGLE of WLK1...If there's no data, then that registry should be gone...and so on...
    Of course, not the best solution...But can't seem to find anything else...
    Greetings,
    Blag.

  • Changing the field names in a CFQUERY object

    Hello, I wonder whether you know the answer to this?
    I want to change the names of the fields in a CFQUERY result
    set after I have retrieved the results from the database (ie. I
    can't use "AS" in the original SQL statement). I can think of 2
    ways to do this - use the query-a-query (CFSQL) feature or just
    build and populate a new query object, as set out below:
    <cfquery name="CustList" datasource="name">
    SELECT CustId,CustName,CustAddress FROM Customers
    WHERE OrderStatus='P'
    </cfquery>
    OPTION#1:
    <cfqueryname="GenericList" type="query">
    SELECT CustId AS Id,CustName AS Name,CustAddress AS Address
    FROM CustList
    </cfquery>
    OPTION#2:
    <cfset GenericList = QueryNew("Id,Name,Address")>
    <cfloop query="CustList">
    <cfset unused = QueryAddRow(GenericList)>
    <cfset unused =
    QuerySetCell(GenericList,"Id",CustList.CustId)>
    <cfset unused =
    QuerySetCell(GenericList,"Name",CustList.CustName)>
    <cfset unused =
    QuerySetCell(GenericList,"Address",CustList.CustAddress)>
    </cfloop>
    Do you know which of these would be more efficient? And is
    there a better way, whereby I can maniplulate the names of the
    columns in the original query (ie. so that I can rename the
    "CustName" field to "Name" and then use "CustList.Name" directly)?
    Thanks!

    Thanks guys!
    If there is a close to zero overhead to the simple
    query-a-query then that seems like the way to go, with no need to
    look for a means of manipulating or modifying the original query.
    The reason I want to change the field names is so that the
    rest of my code can contain references to "CustList.Name" whereas
    otherwise I would have to do something like
    "Evaluate('CustList.#NameField#')" which is horribly messy. And the
    way the original query is generated means I can't use "AS" in it,
    but I still want to use the same code to work with that query
    result and other query results that share similar/related data with
    different field names.

  • Technical Field name for Usage

    Hi,
    Could anyone please tell me whether there is any SAP standard field (technical) name & Segment structure for u201CUsageu201D  for the automatic determination of Item Category.
    More details:
    User wants to send sales order through a non SAP application. So when the order comes to SAP through IDoc, I want the item category to be determined automatically. As you all knew, the rule for automatic determination of item category is Sales order type + Item cat. Group + Usage + HLevItCa. So I just need technical field name for Usage for XI mapping.
    Is there SAP standard field for Usage just like we have field name (PSTYV) & segment structure (E1EDP01)for item category? Or it should only be achieved through any user exit? Could anyone ever done such setting? Could you please give me some inputs.
    Thank you.
    Regards, Sats.

    HI
    VWPOS - Item Category usage
    Check using path
    SPRO --> Sales and Distribution --> Sales --> Sales Document --> Define item Category Usage
    Thanks & Regards
    Edited by: WISH on May 17, 2010 12:13 PM

  • Facing problem in getting data in different field

    hi,
    i have made a report in ALV format. n the whole code is this..
    TABLES: VBAK,vbap.
    type-pools: slis.       "ALV Declarations
    SELECT-OPTIONS:
    s_sales   for    vbak-kunnr    obligatory,
    s_date    for    VBAK-audat    obligatory.
    *Data Declaration
    types: begin of s_sales,
      kunnr like vbak-kunnr,
      ernam like VBRP-ernam,
      audat like VBAK-audat,
      aufnr like VBAK-aufnr,
      KBMENG like vbap-KWMENG,
      matnr like vbap-matnr,
      matwa like vbap-matkl,
      end of s_sales.
    DATA: IT_VBAKUK TYPE STANDARD TABLE OF s_sales INITIAL SIZE 0,
          WA_sales TYPE s_sales.
    *ALV data declarations.
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid.
    *start-of-selection.
    START-OF-SELECTION.
      perform data_retrieval.
      perform build_fieldcatalog.
      perform build_layout.
      perform display_alv_report.
    *&      Form  build_fieldcatalog
          text
    form build_fieldcatalog.
      fieldcatalog-fieldname   = 'KUNNR'.
      fieldcatalog-seltext_m   = 'Customer Code'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'ernam'.
      fieldcatalog-seltext_m   = 'Customer Name'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'stadat'.
      fieldcatalog-seltext_m   = 'Order Date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'aufnr'.
      fieldcatalog-seltext_m   = 'Order No'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'KWMENG'.
      fieldcatalog-seltext_m   = 'Quantity'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'matnr'.
      fieldcatalog-seltext_m   = 'Material Code'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'matkl'.
      fieldcatalog-seltext_m   = 'Material Description'.
      fieldcatalog-col_pos     = 7.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    "build_fieldcatalog
    *&      Form  build_layout
          text
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
    endform.                    "build_layout
    *&      Form  display_alv_report
          text
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = gd_repid
          is_layout          = gd_layout
          it_fieldcat        = fieldcatalog[]
          i_save             = 'X'
        TABLES
          t_outtab           = IT_VBAKUK
        EXCEPTIONS
          program_error      = 1
          others             = 2.
      if sy-subrc <> 0.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  data_retrieval
          text
    form data_retrieval.
      select vbakkunnr VBakernam VBAkaudat vbakaufnr vbapKWMENG vbapmatnr vbap~matkl
      up to 10 rows
        from vbak inner join vbap on vbakvbeln = vbapvbeln
        into table IT_VBAKUK.
    endform.                    "data_retrieval
    When a execute this query it get this result:
    Customer code Customer No. Order Date      *Order No. *        *Quantity *        Material code  Material Description
    0000001390     0000001390     0000001390     0000001390     0000001390     0000001390     0000001390
    0000001175     0000001175     0000001175     0000001175     0000001175     0000001175     0000001175
    0000001175     0000001175     0000001175     0000001175     0000001175     0000001175     0000001175
    0000001175     0000001175     0000001175     0000001175     0000001175     0000001175     0000001175
    0000001175     0000001175     0000001175     0000001175     0000001175     0000001175     0000001175
    0000001001     0000001001     0000001001     0000001001     0000001001     0000001001     0000001001
    0000002200     0000002200     0000002200     0000002200     0000002200     0000002200     0000002200
    0000002200     0000002200     0000002200     0000002200     0000002200     0000002200     0000002200
    0000002200     0000002200     0000002200     0000002200     0000002200     0000002200     0000002200
    0000002200     0000002200     0000002200     0000002200     0000002200     0000002200     0000002200
    You can see in all column data is repeating even tough i have given different field name...
    Kindly give me solution of this problem.
    Thanks n Regards.

    hi,
    i have these field:
    *select VBAK~KUNNR VBAK~ERNAM VBAK~AUDAT VBAK~AUFNR VBAP~KWMENG VBAP~MATNR VBAP~MATKL
      up to 10 rows
        from VBAK inner join VBAP on VBAK~VBELN = VBAP~VBELN
        into table IT_VBAKUK.
    endform.*
    I want to add these field in my parameter by using WHERE clause but don't know how to restrict these field using where clause.
    Kindly give me some example related to this.
    Regards

  • Field name issues when spawning from template

    I am currently spawning a template multiple times in my document (with the field names being changed), but I am NOT spawning them at the end.  Rather, they all must get spawned to the same page.  This results in every corresponding field on every spawned page having the same prefix, e.g. P1.template.field.
    How can I avoid this?  Also, is there any way to remove the prefix from just a few field names that I actually WANT to be the same?
    Thanks!

    For your first question, can your provide a bit of background and describe what you're trying to accomplish?
    To simplify this, pretend I have a single template.  My template has a textbox that the user fills.  When the user reaches the end, he must spawn a new page.  This page should appear immediately after the current one so he can continue typing.  However, if the user wants to go back and insert a page between two others, the document lets him do that.  The problem is that now the newly spawned page has the same field names as the page right after it because both were spawned at the same page number in the document.
    For your last question, you can have more than one (hidden) template in a document, so you could set up another for just the fields that you want to be the same, and spawn it.
    I would like these fields to appear on the same page as all the other fields... can you do that with multiple spawns?   For example, I have a text box on every spawned page with a title in it.  I'd like that text box to be identical on all the pages and reflect any changes to the title made on any of the pages.  If all the text boxes have different field names, I could write some script to change all the others, but I'd rather not have to add extra code if I can keep those few field names the same.

  • Variables for Field Names.

    This may be a silly one for ya but I am having a brain fart
    now.
    I am doing a dynamic form where the form questions are
    created fro a database.
    The different field names are dynamic variables generated via
    itererations (++) from the database table.
    The problem is that when I submit the form I need the field
    names as the insert or update value to populate the values
    statement in the query. I am having a problem locking down the
    actual values to use for the insert or update statement.
    I will need to use a loop to iterate through the variables.
    Look at the code form the form.
    Thanks in advance.
    Gene

    Too much code for me to analyze.
    But see if any of these development tricks lead the way for
    you.
    On your action page:
    <cfdump var="#form#>
    <cfoutput>
    <cfloop collection="#form#" item="field">
    #field# = #form[field]#<br>
    </cfloop>
    <cfoutput>
    <cfoutput>
    #form.fieldNames#<br>
    <cfloop list="#form.fieldNames#" index="field">
    #field# = #form[field]#<br>
    </cfloop>
    <cfoutput>

  • How to find same field name from all tables?

    Dear All,
    I want to find those tables that contain a field name, say COMPANY_CODE, from all user tables. How can I do that by writing SQL?
    Many thanks,
    Andrew

    SELECT table_name
      FROM user_tab_columns
    WHERE column_name = 'COMPANY_CODE'Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Field Name in IDOC is missing

    Hi to All,
    I created a sample program for outbound IDOC creation with one segment (contains two fields). When I populate the value in those fields, then IDOC created successfully with two fields. When the value is INITIAL to any fields then those field name is not displaying in the IDOC. But I want to display the field name even if its value is INITIAL.
    Can anyone suggest solution for this issue?
    Thanks in Advance,
    Regards,
    Raghu

    Hi rajesh
    i have created a test file by taking the idoc structure and then i am trying to test the scenario by placing the file in the Integartion Engine.
    The data which i have given for 3 segements(Header,Detail,Footer), the header dat and the footer data are coming out fine in we05. But for the detail segement i am giving values for 6 fields, only 2 filelds values are being displayed in weo5, remaining data is not being shown.
    In the sxmb_moni the status of the message is sucessful.It is shwoing sucess flag.
    Thank you

  • The contained field name "ADTAGR" does not exist in any of the database tab

    hı all
    how can l  solved thıs problem
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
    not caught in
    procedure "PUT_QMFECAT" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    An Open SQL clause was specified dynamically. The contained field name
    "ADTAGR" does not exist in any of the database tables from the FROM clause.
    Information on where terminated
        Termination occurred in the ABAP program "SAPDBZQNQ" - in "PUT_QMFECAT".
        The main program was "ZQMR_BILDIRIM ".
        In the source code you have the termination point in line 732
        of the (Include) program "SAPDBZQNQ".
    Error occurred during batch input processing
        The termination is caused because exception "CX_SY_DYNAMIC_OSQL_SEMANTICS"
         occurred in
        procedure "PUT_QMFECAT" "(FORM)", but it was neither handled locally nor
         declared
        in the RAISING clause of its signature.
        The procedure is in program "SAPDBZQNQ "; its source code begins in line
        715 of the (Include program "SAPDBZQNQ ".
    FORM put_qmfecat.
      DATA: l_tab_fields  TYPE  rsfs_tab_fields.
      DATA: l_ds_clauses  TYPE  rsds_where.
    Dynamische Feldselektion
      MOVE 'QMFECAT_C' TO l_tab_fields-tablename.
      READ TABLE select_fields WITH KEY l_tab_fields-tablename
                                    INTO l_tab_fields.
      IF sy-subrc <> c_rc00.
        CLEAR l_tab_fields.
      ENDIF.
    Dynamische Selektionskriterien
      MOVE 'QMFECAT' TO l_ds_clauses-tablename.
      READ TABLE dyn_sel-clauses WITH KEY l_ds_clauses-tablename
                                 INTO l_ds_clauses.
    DB-Zugriff
      >>>>> SELECT (l_tab_fields-fields) FROM qmfe
      INTO CORRESPONDING FIELDS OF TABLE qmfecat_tab
       WHERE qmnum  =  rqmqmel-qmnum
       AND kzloesch =  space
       AND (l_ds_clauses-where_tab)
       ORDER BY PRIMARY KEY.
    regard sinan
    Edited by: eyup_sinan on Jan 6, 2012 3:21 PM
    Edited by: eyup_sinan on Jan 6, 2012 3:30 PM

    You seem to have made a copy of the standard program. You'll have to make sure that you are handling this field correctly in your code.
    Rob

  • Need billing text field name for IDoc mapping

    Hi Friends,
    our users use CRM web application to send orders to SAP via IDocs. They want to have billing text (In German it is called Rechnungstext or Faktura text) so that they can enter some text here if they want to enter something. My question is, what is the field name and IDoc segment for billing text? We need this information to map in XI.
    Br, Sats.

    The solution is:
    The standard Idoc text segment can be used for the text in sales order. From SD side the text types have to be customized. This is necessary for the XI mapping.
    Regards,
    Sats.

  • Method t create dynamic structure if the field name contains space

    HI all,
    I am creating a dynamic internal table. Everything id fine but when creating dynamic structure if field name contains space its giving me dump.Can you please suggest me any other methos which takes space in the field name.
    Iam using the following method:
      gr_struct_typ  ?= cl_abap_structdescr=>create( p_components = gt_component ).
    In the gt_component i have one of the field with space like ( RU STAND) and its giving error.
    Any help will be appreciated.
    thanks
    Suku.

    Hello Sukumar
    If the space in the fieldname is a mistake then you could simply use:
    CONDENSE ld_fieldname NO-GAPS.
    However, I guess your fieldname should contain this space:
    >...suggest me any other methos which takes space in the field name.
    >
    Well, have you ever seen a field or column name in SAP standard containing a space in its name???
    Regards
      Uwe

Maybe you are looking for

  • ERROR       partner 'localhost:sapgw00' not reached

    Hi, i have BI system with portal. when i am trying to connetct portal with url http://<hostnaem>/<ip>:<portnumber>/irj/portal ---it is displaying as 500 internel server error with java.lang.NullPointerException: null . i am keeping  here two logfiles

  • Business area is a required field

    Hi Experts, While releasing a billing document we are getting the following error. Field Bus. Area is a required field for G/L account xxxx xxxxxx. The GL account involved is a Balance sheet account. Which settings needs to be checked to pick the Bus

  • Windows 8 on macbook pro

    hey guys im new to these forums, so hopefulluy im asking this question in the right place so i have completly install windows 8 on my bootcamp, but folloing a tutoiral, its great, but there is one important piece missing, my nvidia graphics drivers,

  • Date format in XML sys.dbms_xmlgen

    hello all, i have posted this question in "general XML " forum also....so please dont mind i am using following query to generate insert SQL statements SELECT 'insert into ' || table_name || ' (' || (select rtrim(extract(xmlagg(xmlelement(e, t.column

  • Agent determination for RFQ

    Hi All, My requirement is like this. When an RFQ is created in ME41, the workflow has to trigger and based upon some conditions, i have to find the approver from a ztable. When i create a RFQ the workflow is getting triggered and my flow is going goo