IDoc Status Messages

Hi All, Is there any Function Module or standard report which will list out all the Status messages of an IDoc...Basically i need to capture all the segments which are in error state... In EDIDS table i am not able to link to a particular segment.
Please help me out
Thank You,
Regards,
Swaroop Patri...

HI,
<b>ALE/IDOC Status Codes/Messages</b>----
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
<b>Inbound Status Codes</b>
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
Regards
Sudheer

Similar Messages

  • Inbound Processing of iDoc Status Message

    Silly me - I thought this would be simple ...
    I am currently changing our bank interface from a customized ABAP solution to use more standard SAP utilities (particularly iDocs).  I have the configuration set up to use the PAYEXT message type sending PEXR2002 iDocs to a file port.  Our bank is receiving these documents and is returning an iDoc status message containing the status of each payment iDoc that they received from us.
    My problem is that I can't figure out how to get these status iDocs to update the status of the corresponding PEXR2002 iDoc.
    I am trying to execute an RFC interface to apply these status messages to my system using the following OS command:
    D:\usr\sap\VPR\SYS\exe\uc\NTAMD64\startrfc.exe -3 -d RT2 -u xxxxxx -p xxxxxx -c 220 -h SPR32K36 -s 00 -F EDI_STATUS_INCOMING -E PORT=ZFI_INT003
    The error message that I receive when this is run is:
    RFC Call/Exception: SYSTEM_FAILURE
    Group             Error Group 104
    Key                RFC_ERROR_SYSTEM_FAILURE
    Message        Status record 1 is invalid (TABNAM: 'EDI_DC40')
    The port (ZFI_INT003) is the file port that is configured for the outbound file.  in WE20, this port has the "Status File" tab set to use the logical file name where the status file is being stored on the server.  the startrfc command is connecting to the SAP system and opening the status file.  I'm not sure where I'm going wrong here. 
    Can someone please help get me pointed in the right direction?  I've obviously missed something here.
    Thanks,
    Glen

    Hi,
    call function modules:
    EDI_DOCUMENT_OPEN_FOR_PROCESS
       EDI_DOCUMENT_STATUS_SET
       EDI_DOCUMENT_CLOSE_PROCESS
    kind regards,
    HP

  • IDOC Status message

    HI
    I have to pick IDOC status message in my report program.  For this I am referring the table EDIDS. My doubt is some times the IDOC status message is storing in the field ‘STATXT’ and some times the idoc status message is storing in the fields STAPA1, STAPA2, STAPA3,STAPA4.  How come I know  I mean from which field I need to pick status message in my report program. I am giving idoc number as input to the table EDIDS. If possible please send me the sample code to resolve this problem. I will give points.
    Thanks a lot in advance.

    Hi,
    STAPA1, 2, 3 & 4 are the place holder values for the message..
    If you have a message in SE91..like
    Sales order & created.
    The & will be given in the program where it displays the message.
    MESSAGE s208(00) WITH vbak-vbeln.
    The vbak-vbeln value will be stored in field STAPA1.
    Thanks
    Naren

  • Remove Idoc Status Message

    Hi,
    Is there any way we could remove the IDoc status message after IDoc posted successfully? I have created the customized idoc status and want to remove the standard message since it is overlapping message.
    Any helps is very much appreciated.
    Thanks.
    regards,
    Faread

    Hi,
    IDOC systat01 can be used to change
    the IDOC status very easily
    (you put the idoc number and new idoc status basically)
    http://help.sap.com/saphelp_46c/helpdata/EN/75/4b3c1cd14811d289810000e8216438/content.htm
    REgards,
    Vasanth

  • IDOC status "Message scheduled on outbound side"

    Hi,
    I am working on scenario file->XI->SAP R/3(Using IDOC). I am getting outbound status of IDOC as "Message Scheduled on Outbound side". When I go and see SM58 for user WF-BATCH there exists a entry with status Transcation Recorded". In SM58 if I manually click Execute LUW then only I am getting an IDOC posted in my R/3 box, but this should happen automatically.
    Can any one tell me what should I do so that it gets executed automatically?
    Thanks In Advance.
    Yaseen Mahammad.

    Most of the time it is because of the Queues and Logical system. I,e If there is no proper logical systems are created/maintained then it will give problem.
    And it also depends on the rfc Dialog users.
    Just check this thread-
    Problem with IDOCS
    Also check in the IDX1 entry...
    Thanks,
    Moorthy

  • IDOC Status Messages Documentation

    Can anyone help me in sharing the link to see complete documsntation of various IDOC Statues.
    Thanks in advance.

    Hi Vinita,
    I don't know if there is a documentation like the one you are looking for. The reason is, that IDOC applications may set the status number in a different manner.
    You can look at the short texts in table TEDS2 - this should be self-explaining and just a few status are used.
    If you still have questions, please describe the situation including IDOC and Message type, in- or outbound.
    Regards,
    Clemens

  • Mody idoc Status Message Content?

    Hi,
    I am sending idocs to another server and if there is an sending-error the idoc reports a status 02 with the HTTP Status. Could I modify this standard message? I want to tell the "user" what to do if he gets e.g. HTTP Status 403.
    Thnx

    Hi,
    check port settings and check tht wether all are active or not .
    hope tht there might be some problem there.....
    Regards,

  • Change the Status Message description of IDOC

    Hi All,
    As per the requirement, we need to change the Description of the standard IDOC status messages.
    Example:
    STANDARD : Status 51 - Application Document not posted
    DESIRED       : Status 51 - Application Document not posted, can be reprocessed
    We have found the maintenance view to change the same : VEDI_STATS.
    Is it advisable to do so?
    if Yes Why? and if No then Why?
    Note: I'll be changing ONLY description and nothing else.

    Hi,
    I would suggest not to change the status using VEDI_STATS.
    .. if you want to change do it at function module level for each message type. where you can change the idoc status to which ever message you want to.
    Regards,
    Nagaraj

  • IDOC Response Message

    Hi,
         My scenario is File to IDOC .. from the source I'm getting the data in a xml file and I'm loading it to SAP through IDOC.. scenario is working fine... but I want to send back the response message of IDOC posted successfully or if any Errors.
    from the XI point  i know that through BPM we can achive this.. but in the SAP-R/3 side  how can we send the Response message.. is it need to use any other IDOC for capturing these messages and send it  back to the XI system or any other options please suggest me..
    I wnat to send back the IDOC status  messages (Success or Failure ) . please suggest me .
    Regards
    Jain

    hi,
    you have to just configure ale audit at the receiver side and a idoc adapter in XI.
    this link will be helpful:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    regards,
    ujjwal kumar

  • How to send status message in SOAP to IDOC scenerio without BPM

    Hi,
    I have a SOAP to IDOC scenerio in which we require to send the status message back to user from XI that " IDOC has been sent successfully to SAP system"
    We do not want to use BPM bacause of performance issues.
    Can you please help me how to achieve this synchronous response without BPM.
    Note: We require the status message from XI that the IDOC has been successfully posted to WESAP system

    Idoc only support async behaviour. U can't get the Idoc response as per ur requirement without BPM.
    Better to go for abap proxy or RFC.
    Or u may get the ack till XI.
    Regards,
    Prateek

  • How to Read Idoc - Segment fields values and status messages

    Hi,
      I am having one requirement as i want to read the segments along with the field values and also i want to read all the status messages.
    first i read the idoc data from EDIDS and segments data from EDID4 and the staus messges from T100. but still i am not getting all the status messages.
    is there any other table which contains the information of IDOC segments and field values and also the status messages.
    Regards,
    Kumar

    You need to use
    V_MSGNO = EDIDS-STAMNO.
    CALL FUNCTION 'MESSAGE_PREPARE'
      EXPORTING
        MSG_ID   = EDIDS-STAMID
        MSG_NO   = V_MSGNO
        MSG_VAR1 = EDIDS-STAPA1
        MSG_VAR2 = EDIDS-STAPA2
        MSG_VAR3 = EDIDS-STAPA3
        MSG_VAR4 = EDIDS-STAPA4
      IMPORTING
        MSG_TEXT = V_TEXT.
    WRITE: / V_TEXT.

  • Idoc Status 53 but Applicaton document not posted message type PORDCR

    Hi,
    Need your help. I am using message type PORDCR and Basic type PORDCR04 to create Purchase order through inbound Idocs. I am getting correct status '53' Application document posted along with the new Purchase order number. When I am trying to see it in EKKO / or ME23N  I could not see this purchase order.
    Can anyone please let me know what could be the possible reason for document is not getting posted in in database but Idoc status is correct.?
    Thanks in advance.
    Regards,
    Deepak

    check SM13 and ST22 to see if there are any errors there

  • Inbound IDOC Mass processing - No status message

    Hi Friends,
    I am updating a database table using inbound IDOC. But in batch job when XI passes multiple IDOCS,
    for some IDOCs there is no status message even though i coded for status message.
    If i rerun IDOC in BD87 then it work fine.
    please help.
    regards,
    madan

    Hi Madan,
    Since you are loading multiple idoc to the system due to high load in the production system data is not commiting properly. So use external commit work statement in you code. this will reduce the performance but logic will work.
    COMMIT WORK [AND WAIT].
    Effect
    The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the current SAP LUW in the process. In this case, COMMIT WORK performs the following actions:
    It executes all subroutines registered using PERFORM ON COMMIT.
    The sequence is based on the order of registration or according to the priority specified using the LEVEL addition. Execution of the following statements is not permitted in a subroutine of this type:
    PERFORM ... ON COMMIT|ROLLBACK
    COMMIT WORK
    ROLLBACK WORK
    The statement CALL FUNCTION ... IN UPDATE TASK can be executed.
    Triggering an internal event for the Persistence Service of the Object Services.
    If event handlers are registered by the Persistence Service, these collect the changes to the objects managed by the Persistence Service and transfer them via CALL FUNCTION ... IN UPDATE TASK to a specific update function module that is registered as the last update module.
    This executes all high-priority (VB1) update function modules in the order of their registration and in a common database LUW. If you do not specify the addition AND WAIT, the program does not wait until the update work process has executed it (asynchronous updating), but instead is resumed immediately after COMMIT WORK. However, if the addition AND WAIT is specified, program processing after COMMIT WORK will not continue until the update work process has executed the high-priority update function modules (synchronous updating).
    When all high-priority update function modules are completed successfully, the statement executes the low-priority (VB2) update function modules in the order of registration together in a common database LUW.
    After the execution of high-priority update function modules, the individual function modules registered using CALL FUNCTION ...IN BACKGROUND TASK|UNIT are executed in a separate database LUW for each destination.
    Within an update function module started using COMMIT WORK, the execution of statements that lead to a database commit is not permitted. In particular, the following are forbidden:
    Thanks,
    Raghav

  • Search idocs using status message EDIDS

    Hi,
    Is it possible to find out the idocs using status message?
    For example, I need the idocs example in test system which has error message "Vendor & is not defined in company code &"
    How to search idocs using error message?
    Thanks for your help.
    Regards,
    Yogita

    Hello Yogita
    You have to select within table EDIDS directly:
    Example:
    STATXT = Item &: Only &2 &3 from material &4 are available
    STAPA1 = syst-MSGV1
    STAPA2 = syst-MSGV2
    STAPA3 = syst-MSGV3
    STAPA4 = syst-MSGV4
    STATYP = syst-msgty (E, W, I, S, A)
    STAMID = syst-msgid
    STAMNO = syst-msgno
    Regards
      Uwe

  • Add message to iDoc status

    I created Z_ functional module for inbound Sales Order iDoc processing.
    I want to add my own warning message to iDoc status:
        CLEAR idoc_status.
        idoc_status-docnum = idoc_contrl-docnum.
        idoc_status-status = '64'.
        idoc_status-msgty  = 'W'.
        idoc_status-msgid  = 'ZMSERIES'.
        idoc_status-msgno  = '005'.
        APPEND idoc_status.
    When i test in Test Tool WE19 using button "Inbound functional module" message successfully added to iDoc (WE02).
    When i click "Standard inbound" - there is no my message in iDoc status.
    Maybe i should use another status number? Instead of '64'?

    I dont think you should change status number, but i ask you to check it once with proper configuration settings

Maybe you are looking for

  • Oracle database does not start timezone mismatch

    Hi I am new on oracle database. My server has restart and now when I try to start oracle database I get this error can anyone help to come out this error. oracle@host [~]# /home/u01/app/oracle/oracle/product/10.2.0/db_1/bin/emctl start dbconsole TZ s

  • I Think My Harddrive is Dying!

    My PB, is making a very strange noise and is starting up very slowly. The sound is definitely coming from the HD area and sounds like a grinding/moaning sound. While it will eventually get to the desktop, opening apps is taking forever and sometimes

  • Image Quality issue with script

    So I recently wrote a simple script to output an image at a bunch of different resolutions. However, I am running into an image quality issue that I don't run into when I do the same thing manually. Here is an example image showcasing the image: http

  • JTextArea to String

    I'm writing a program that is essentially a basic text editor. I am trying to pass the text from the JTextArea to a seperate class which will be a "Find Text" dialog. What is the best way to go about doing this? Thanks in advance for any help!

  • Service Order -- When Date Changed -- Appointment need to changed

    Whenever Date on the Service Order is changed, then already existing Appointment Date needs to updated with the new new date. To meet this requirement, I was thinking about using Events (AFTER_CHANGE). But is it possible to meet this requirement with