Error in Idoc (Status - 51Missing data - HRALX00_ORG315)

Hi Experts,
We are getting the below error (Status - 51(Missing data)) when we try to process the Inbound Idoc (SRM) from R/3 to SRM system
"It has been determined that the employee 00108937 has been received for the first time. However, not all the data that is needed to create a business partner has been received. In this case, the infotype 1001 and the subtype A209 have not been entered for the employee."
But when I check these Info type in table HRP1001 these values are maintained in R/3.
Suggest us how to determine the Outbound Idoc for the particular employee in R/3 and the root cause for the error.
Regards
Paul

Hi,
He pls debugg the outbound IDOC .Below are the steps to be followed.
1) Put the breakpoint in the FM
2) Goto the application document repeat the output and save.
3)Goto program RSNAST00 give the document number and execute.
Hope this helps..
Regards,
Sharath

Similar Messages

  • Error in idoc status

    hI all,
    can any one tell me "ERROR_WRITING_IDOC_STATUS " why this exception will raise.
    Thanks,
    Prakash .S

    Just check this.
    CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
            EXPORTING
                 VALUE(MASTER_IDOC_CONTROL) LIKE  EDIDC STRUCTURE  EDIDC
                   " Control record of master IDoc
                 VALUE(OBJ_TYPE) LIKE  SERIAL-OBJ_TYPE DEFAULT ''
                 VALUE(CHNUM) LIKE  SERIAL-CHNUM DEFAULT ''
           TABLES
                  COMMUNICATION_IDOC_CONTROL STRUCTURE  EDIDC
                   "  Control records of created comm. IDocs
                  MASTER_IDOC_DATA STRUCTURE  EDIDD
                   " Data records of master IDoc
           EXCEPTIONS
                  ERROR_IN_IDOC_CONTROL
                   " Incorrect entry in IDoc control record
                  ERROR_WRITING_IDOC_STATUS
                   " Error when writing IDoc status records 
                  ERROR_IN_IDOC_DATA
                   " Incorrect entry in IDoc data records
                  SENDING_LOGICAL_SYSTEM_UNKNOWN
                   " Own logical system unknown

  • Error Inbound IDoc - Status 51

    Hi,
    i am new in working with SAP and I am trying to integrate an inbound IDoc type WPUBON via WE19 transaction, l solved all the issues related with ports and partner profiles(they were the first errors). But when I want to check if the process has been done well with the WE05 transaction I get two error messages, both of them with status 51:
    The transactions for intermediate document 0000000000052247 could not be written
    Message no. /POSDW/INPUT004
    Document flow: Error reading model data of object relationship se
    Message no. /POSDW/CORE028
    Diagnosis
    Error reading model data of object relationship se
    System Response
    The document links could not be updated.
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    Check the format of the document links transferred to the POS Workbench.
    Thank you very much in advance!!
    Best regards,
    Ander
    Edited by: AAnder on Nov 3, 2010 11:46 AM

    General process for a correct IDOC infrastructure is:
    Create RFC destination  --> SM59 (You can point to local machine for tests)
    Create RFC port to process IDOC  --> WE21 with the RFC create before
    Create FILE port to process IDOC --> WE21
    Create  LOGICAL SYSTEM (BD54)    --> IDOC2FILE
    Define partner in  WE20 with partner type "LS"  --> WE20 ... add message
    RECEIVER port ( created in  WE21 )
    FROM   WE19 GENERAte IDOC with LOCAL SYSTEM as sender And FILE PORT as receiver
    WE19 is  FOR TEST...
    tell me if you can understand, sorry for my english ....

  • HR ALE : Error in Idoc Status table

    Hi,
    We are transporting HR Master data from one client to another (message type HRMD_A) and extension ZRMD_A06. For this purpose we are using the PFAL transaction. So far, we are able to send employee data to the receiving client, all Pnnnn tables also get updated correctly ( we have applied some translation rules in our user exit).
    The problem we are facing is that the idoc in our receiving client is in status 51, even though all data commit to the database tables.I checked the status records, for every segment it says "Infotype nnnn cannot be updated on database table Pnnnn " I checked the entries in T777D as suggested in the message, and everything looks fine.
    Has anybody encountered this problem before? Do we need to maintain any settings/configuration for the same? All suggestion welcome!
    Thanks in advance!
    Regards,
    Nejuma Iqbal

    Hi Nejuma Iqbal
    At present I also have to work on ALE for HR Master Data from Production to other systems like Development and Test. I shall appreciate if you give me guideline on how to use the Tcode PFAL.
    Thanks
    Plavini

  • Confirmation  - error in process - idoc status 29

    HI ,
    i got one new problem today.
    This is one of the case when one user createsconfirmation of the Purchase order and then Confirmation status goes to error in process. i check in RZ20 and found error in Idoc which is generated from that confirmation,When i check the status record it says error in ALE.status 29. Only an inactive partner profile was found with the following key and this is my PRDCLNT100 (production system address).
    I can see that all other confiramtions are getting posted but having an issue with one confirmation.
    2ndly how i can delte error in process Confirmation . So that we can create new confirmation , or is there any other way to get my present confirmation status to Posted.
    Smriti

    Hi Smriti,
    Regarding working on the faulty IDOC
    In WE19 check what Function module will be used to post the data, you can see it when you go to 'standard inbound'. Then you can debug it when you click to the button 'inbound function module', here enter the function module and click 'call in debugging mode' and 'in foreground', then press the button 'enter'. Now you are in the debugger and can check why the error occurs and what should be filled.                                 
    If you know the error number set watchpoint at sy-msgno = *** or just set breakpoint at statement message.
    If this is only happening for one confirmation, the standard approach to delete this is the following.
    Issue:
    The corresponding IDOC for the confirmation document has not been processed successfully and ended with error in the backend.
    Solution:             
    Because of this there is entry left in the table bbp_document_tab,              
    which is not allowing to cancell the confirmation document.                                                                               
    Please find the attached note 338985, which contains the procedure to           
    to delete entries from table bbp_document_tab.
    Hope this helps,
    Kind Regards,
    Matthew

  • IDOC Status 26: EDI: Syntax error in IDoc (segment cannot be identified).

    Hi All,
    I have created IDOC extension for IDOC Basic type "PROACT01" and have followed all required necessary steps but getting IDOC
    Status 26. EDI: Syntax error in IDoc (segment cannot be identified). The exact error is:
    Please check Error Details and the details of the steps I followed for Setting up IDOC Extension:
    Error Detail :
    EDI: Syntax error in IDoc (segment cannot be identified)
    Message no. E0078
    Diagnosis
    The segment ZPROSEG does not occur at the current level of the basic type PROACT01 (extension PROACTEX).
    This error can have several reasons:
    The segment ZPROSEG is assigned to a group whose header segment does not occur.
    The segment ZPROSEG does not exist in the syntax description of the basic type PROACT01 (extension PROACTEX).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Procedure
    Please check the IDoc or the syntax description of the basic type PROACT01 (extension PROACTEX).
    Can you please look at this problem and suggest what is wrong with IDOC Extension/Custome Segment?
    Below is the Details of the Steps which I have followed:
    1. Tcode WE31 - Created new custom Segment ZPROSEG with 4 fields. Released segment.
    2. TCode WE30 - Created IDOC Extension PROACTEX for Basic Type PROACT01. Released IDOC extension.
         Here when I run syntax check warning appears "No predecessors exist".  I am not sure if its okay!!
    3. TCode WE82 - Added Extension PROACTEX in the Message Type PROACT with BASIC Type PROACT01.
    4. TCode WE20 - Added IDOC Extension PROACTEX in the predefined partner profile in WE20 transaction.
    5. Added the following code in the Customer Exit EXIT_SAPLWVMI_001 include ZXWVMIU01 .
    DATA segnam(27).
    READ TABLE dedidd WITH KEY segnam = 'ZPROSEG'.
    IF sy-subrc NE 0.
    LOOP AT dedidd WHERE segnam = 'E1EDP31'.
    CLEAR dedidd.
    dedidd-segnam = 'ZPROSEG'.
    zproseg-matnr = 'Mat1'.
    zproseg-lgort = '001'.
    zproseg-gernr = 'SNo1'.
    zproseg-labst = 2.
    dedidd-sdata = zproseg.
    APPEND dedidd.
    ENDLOOP.
    ENDIF.
    Finally ran  transaction WVM2 (Transfer of Stock & Sales Data) to generate IDOC, its creating IDOC but when checked IDOC in WE05 its getting Status Error "26".
    Looking forward for your reply.
    Many thanks in advance.

    Hello,
    Actually you are appending the Z segment instead of inserting into the correct position. So the segment is added at the last, so hierarchy of segments is collapsed.
    So get the index of the previous segment E1EDP31 and increase the index by 1 and INSERT the Z segment with that new index as below.
    LOOP AT dedidd WHERE segnam = 'E1EDP31'.
    lv_index = sy-tabix. " <<--
    ADD 1 TO lv_index. " <<--
    CLEAR dedidd.
    dedidd-segnam = 'ZPROSEG'.
    zproseg-matnr = 'Mat1'.
    zproseg-lgort = '001'.
    zproseg-gernr = 'SNo1'.
    zproseg-labst = 2.
    dedidd-sdata = zproseg.
    *APPEND dedidd.
    INSERT dedidd INDEX lv_index. " <<---
    ENDLOOP.
    Here actually we are insering the record inside the LOOP and it regenerates the index again. It is not actually a good practice.
    So the best practice is get the index and generate the segment inside the loop, store them into another internal table, come out the loop and insert the Z segments into DEDIDD by looping the new internal table.

  • IDoc Status 56 error F21_IDOC_INSERT_WITH_FAIL_STAT

    Hi,
    I am trying to create an inbound idoc in a particular client and trying to post it in the same client using standard function module.
    IDoc type is CREAMAS and Basic Type is CREAMAS04. The function module to process this IDoc is "IDOC_INPUT_CREDITOR".
    I am building the data records, control data inside my program and passing it to the function module "IDOC_INBOUND_WRITE_TO_DB". This function module creates an IDoc but it goes in status 56. I could see the error message from Subroutine F21_IDOC_INSERT_WITH_FAIL_STAT in program SAPLEDI1. When i manually process the idoc in we19 data is posted to SAP sucessfully.
    Can anyone help me why my idoc is going to status 56 though all the segments are correct?
    Thanks
    Slasher

    Hi Guys,
    Thanks for your reply...The issue is solved. I had to define the port setting sender Partner profile.
    Hence closing this request.
    Thanks
    Vasanth

  • Regarading IDOC status 26 ,syntax error

    Hi All,
    we have some problem to create IDOC type ORDERS05 for Purchase Order.
    *ERROR STATUS 26:*
    (SYNTAX ERROR IN IDOC (SEGMENT CANT B IDENTIFIED))
    msg number E0078:
    The segment E1EDK14 does not occur at the current level of the basic type ORDERS05 (extension ) AND
       e1edk14 segment missed.instead of 5 ,it shows only 4.
    *ERROR STATUS 26:*
    (SYNTAX ERROR IN IDOC (MANDATORY DATA MISSING))
    msg E0072:The segment E1EDK01 has the attribute 'Mandatory' in the syntax description of the basic type ORDERS05 (customer enhancement ).
    header data was totally different.
    it contains street fields,n country ,,like dat,instead of document number
    However, the segment is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment is missing.
    This happens for order create (ORDERS) and for order change (ORDCHG)
    Do you have any idea to solve the problem? I'm using a standard IDOC.

    hi
    Usually posting program contains your logic which exists in process code this process code contain function module nothing but posting program
    and also
    check whether u r using
    1) sap standard program
    2) user defined program
    3) enhancing sap program using user exits
    if it is standard program check all ur ALE settings once again
    if ur using user defined check ur program logic and compare it with idoc structure
    if ur enhancing sap standard program check partner profiles using correct message & idoc type
    check your user exit logic
    reward if u find helpful
    Thanks&Regards
    Nagesh.Paruchuri

  • Error handling problem with outbound idoc status 02 and  XML HTTP Port

    I set up an ALE scenario to send master data out of SAP via an XML HTTP port.  All goes well until the idoc receives error 02. 
    It looks like idocs in this error status with the use of an XML HTTP port can not be reprocessed via the standard SAP techniques.  Program RBDAGAIN takes them out of the list for reprocessing (even though the connection is back up and running).
    Is there any solution to still use the standard ALE error handling ?

    Hi Karin,
    Looks like based on note 701597, you can only reprocess these idocs manually via a workitem.  I qouted the relevant text below:
    3. Error handling with status '02':
    An HTTP IDoc in status '02' should not automatically be sent once again.
    Up to now, the RBDAGAIN report was used to resend incorrect IDocs.
    However, this report was adjusted and now deletes all IDocs in status 02
    to be routed to a HTTP port from the list of selected IDocs. IDocs to a
    HTTP port in status '02' should only be sent manually via a work item.
    Regards:
    Rex

  • BI extraction error --  Application document not posted - IDOC Status 51

    Hi,
    I am getting the following error while extracting data from ECC to BI.
    'Application Document not posted'
    I went to BD87 in ECC and found that the Idoc Status is 51 and the message is
    'Request REQU_4C65QV...V9QRNZ2X9TV9QRNZ does not exist in target system N05CLNT100'.
    I have already checked partner profile parameters with Basis and they claim everything is okay.
    Do you have any ideas what might be the issue?
    Thanks,

    Hello Rajendra,
    You can review the note 417307 which contain information about the MAXSIZE of a  package size. This is a collective note which contain more notes to other extractors.
    417307 - Extractor package size: Collective note for applications
    549184 - FAQ: What is important for extraction
    157652 - Main memory requirement for extraction from R/3
    You can review the table ROIDOCPRMS and check if the parameter StatFrqu contains a 'X' or a number? You can set this option to 99.
    You can also review the correction note 1147326.
    Check as well if the user ALEREMOTE have the proper profiles configured in both source and target system, sometimes the user is missing the profiles, to check this, read the note 150315.
    I hope that the information can help you.
    Regards,
    Daniel

  • Error in Idoc with status 26

    Hi,
    IDOC  showing an error messge when syntex check.
    EDI: Syntax error in IDoc (segment cannot be identified)
    Diagnosis:
    The segment E1EDP19 does not occur at the current level of the basic type ORDERS01 (extension ).
    This error can have several reasons:
    The segment E1EDP19 is assigned to a group whose header segment does not occur.
    The segment E1EDP19 does not exist in the syntax description of the basic type ORDERS01 (extension ).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Please help me....
    Regards,
    Sudha

    Hi,
    I have pasted a portion of my code:
    DATA: BEGIN OF GT_EDIDC OCCURS 0.
            INCLUDE STRUCTURE EDIDC.
    DATA :END OF GT_EDIDC.
    DATA: BEGIN OF GT_EDIDC1 OCCURS 0.
            INCLUDE STRUCTURE EDIDC.
    DATA :END OF GT_EDIDC1.
    DATA: BEGIN OF GT_EDIDD OCCURS 0.
            INCLUDE STRUCTURE EDIDD.
    DATA :END OF GT_EDIDD.
    DATA : BEGIN OF GT_Z1ZPSOBJLOC OCCURS 0.
            INCLUDE STRUCTURE Z1ZPSOBJLOC. ' segment name
    DATA : END OF GT_Z1ZPSOBJLOC.
    * Control Record
    FORM BUILD_CONTROL_RECORD .
      GT_EDIDC-MESTYP = C_MESTYP.
      GT_EDIDC-IDOCTP = C_IDOCTP.
      GT_EDIDC-DIRECT = C_1.
      APPEND GT_EDIDC.
    ENDFORM.                    " built_control_record
    *&      Form  built_data_record
    * Data record
    FORM BUILD_DATA_RECORD .
      LOOP AT GT_Z1ZPSOBJLOC INTO WA_Z1ZPSOBJLOC.
        GT_EDIDD-MANDT = SY-MANDT.
        GT_EDIDD-SEGNAM = C_SEG.
        GT_EDIDD-SDATA = WA_Z1ZPSOBJLOC.
        APPEND GT_EDIDD .
      PERFORM DISTRIBUTE_DATA.
      ENDLOOP.
    ENDFORM.                    " built_data_record
    *&      Form  distribute_data
    * Distribute Data
    FORM DISTRIBUTE_DATA .
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
        EXPORTING
          MASTER_IDOC_CONTROL            = GT_EDIDC
        TABLES
          COMMUNICATION_IDOC_CONTROL     = GT_EDIDC1
          MASTER_IDOC_DATA               = GT_EDIDD
        EXCEPTIONS
          ERROR_IN_IDOC_CONTROL          = 1
          ERROR_WRITING_IDOC_STATUS      = 2
          ERROR_IN_IDOC_DATA             = 3
          SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
          OTHERS                         = 5.
      CASE SY-SUBRC.
          WHEN 1.
          MESSAGE E004.
        WHEN 2.
          MESSAGE E005.
        WHEN 3.
          MESSAGE E006.
        WHEN 4.
          MESSAGE E007.
        WHEN 5.
          MESSAGE E008.
        WHEN OTHERS.
    * Do Nothing
      ENDCASE.
      COMMIT WORK.
    * Clear IDOC data internal table after use
      CLEAR GT_EDIDD.
      REFRESH GT_EDIDD.
    ENDFORM.                    " distribute_data
    Hope it proves useful.
    Regards,
    Gayathri

  • Error in idoc with status 20 "Error triggering EDI Subsystem"

    Dear All,
    I have query related to IDOC Status 20.
    I am tirggering IDOC with standard t-code from IS-Retail system. I have created two ports a) TRFC port and b)File port .
    <b>We are having sending and receiveing application on two different OS i.e one XI on Windows and IS Retail on AIX(Unix). I am not able to send idoc to another system. I am getting these IDOC status in WE05 (STATUS 01 , 30 , 03 , 20 )</b>
    Keeping the above fatcs in mind could you please tell me how to remove the <b>error with status 20 "Error triggering EDI Subsystem".</b>

    Hi prabhat,
    You should have checked the automatic triggering possible at the file port level and the partner profile setting could be 'start subsytem'.
    Go to WE21 and do the access test for the file port.
    Once you done and find no issues then go to SM59 and test the connection for the RFC destination assigned to the ports.Possibly it has to do with the RFC destination.
    Other reasons could be yours is a test client and got refreshed recently.so the production client settings might be causing this error.Check with your basis to get it working.
    other reason could be the logical system assigned to the client should be having production client's name.
    Check these.
    I am sure you should be able to solve this issue.
    Thank you.
    regards,
    karun.M

  • Idoc status 53.Yet application data is not posted.

    IDOC status is 53. But application data is not partially posted.iam generating 2 idocs, one for type INFREC01 and other for COND_A01. iam  Generating IDOC using a fm IDOC_INBOUND_ASYNCHRONOUS. purchase info record is posted succesfully. but condition info record is not posted.
    for both the idoc its shows green status-53. moreover data in EINA EINE KONH KONP is updating, but its not displayed in transaction ME13.
    Kindly help me.

    Hi,
    Check the config stuff if you are usng the right IDoc...See partner profiles and the message types.
    thanks

  • Inbound idoc error in 51 Status of at least one serial number of item

    Dear Experts,
    There is one inbound IDOC which is in error with status 51 showing error Status of at least one serial number of item  is not allowed.
    Can you please advice why this error is coming.
    Thanks & Regards,
    Nikhil Kanegaonkar.

    An inbound IDOC in error will have the status 51, & it is marked for deletion it has a status of 68.
    http://www.dataxstream.com/2009/10/mass-status-change-sap-idoc/
    http://wiki.sdn.sap.com/wiki/display/ABAP/IDoc+Statuses
    Edited by: Krupaji on May 6, 2011 2:38 PM

  • Some question on IDOC (Control Record/Data Record/Status Record)

    Dear all,
    I am new in this area, and would like to enquire some question on this topic.
    When I view a IDOC via WE02, each of the IDOC record will consist of Control Record/Data Record/Status Record).
    Questions:
    I notice that the data records consists of many segment (i.e. E1EDK01, etc) which are use to store application data.
    1 - My question is do I have to manually create all these segment and do a mapping to my application field one by one (i.e. that is when I want to create a brand new message type from scratch)?
    2 - If question no. 1 is Yes, how to do it, what are the transaction code to create it? can you show me the step by step.
    3 - I don't have to create the Control record and the status record for my new message type right ? because those field value will automatically pull out from partner profile and system status message, am I correct?
    Thanks.
    Tuff

    Hi Tuff,
    As everything in SAP, with IDOCs too there are
    1) Standard IDOCs
    2) Standard IDOCs(Extending - Enhancement to an IDOC, to accomodate for custom values)
    3) Custom IDOCs
    And every IDOC has,
    Control record - EDIDC Structure - This mostly reflects the partner profile information, along with few more details which are used for IDOC extension, Sequencing etc
    Data Records - EDID4 Structure - These records contain the actual business data of the document in concern. So for ORDERS05 it would contain order details, INVOIC02 - Invoice details so on...
    Status Records - These records capture the status of an IDOC from the time it is received/sent from your system and a corresponding business document is created/changed. So this will have messages like "IDOC sent to the port OK" etc which are status from the communication layer(ALE) to application specific messages like "Sales Order XXX created" or "Invalid Material" etc.
    You would have noticed something called as Process code in the partner profile, this is associated with a FM(or work flow task etc) which has the business logic coded in.
    So in case of an Inbound IDOC, the sending system updates the IDOC - Control and Data records, and sends it to the receiving system. On the receiving system the IDOC's control record is validated against the partner profiles set, if an entry is found then using the process code it finds the associated FM which will decode the data from the IDOC data records as per the IDOC type and then use it to post data into SAP (VIA BDC, Batch Input, BAPI etc).
    And all this while the Status records are being updated accordingly.
    So with the above context will try to answer your questions,
    1 - My question is do I have to manually create all these segment and do a mapping to my application field one by one (i.e. that is when I want to create a brand new message type from scratch)?
    In case of a custom IDOC, yes you will have  to.
    In case of a standard IDOC, you wouldn't have you just have set up the necessary configuration (Partner Profile, Process code etc)
    In case of a standard IDOC extended to accommodate for some custom values(for which there are no fields in standard IDOC - Let us say you have added some new fields on VA01) - In this case you can still use the standard Process code and Standard FM associated with it, SAP provides several Function exits in these FM's which you can leverage to add your custom logic.
    2 - If question no. 1 is Yes, how to do it, what are the transaction code to create it? can you show me the step by step.
    There are several documents available on the net and on SDN detailing step by step approach for all the above three cases,
    just search for step by step guide for IDOCS - sap.
    3 - I don't have to create the Control record and the status record for my new message type right ? because those field value will automatically pull out from partner profile and system status message, am I correct?
    Again it depends, in case of using a standard IDOC you wouldn't have to. But in case you have some customizations/enhancements then you might have to.
    For Ex: updating the control record accordingly for indicating that you have extended the standard IDOC. Or append custom messages to the status record as per the business logic.
    Try out the examples you find on the net and post any specific questions you might have.
    Regards,
    Chen

Maybe you are looking for