How to process Idoc status file within Sap?

Hi All,
We would like to process received status file to update the sent IDOC's. Our current setup is that we send/push  the Outbound Idoc to external EDI sub system and pull the status file for processed Idoc from external EDI system to our R/3 server.
Sap Documentation explains the scenario, where this process is triggered from external system using startrfc program, whereas our scenario is to trigger the status update process, once the file is pulled to our system from unix using edi_status_incoming function module.
Your anwers are much appreciated.
Kind Regards,
Sandhya

Hi Sandhya,
Once the Idocs are sent to the EDI Subsystem, the SAP will have the status that the Idoc has reached the partner sub system. I hope, the workflow should be able to trigger back the status file to the SAP System after the Idoc is processed at the EDI Subsystem.
Please check with the workflow that is attached.
Else, if this is using the FM or Message Control, then check the configuration under MN04.
I'm also trying to find the solution for the same.
Regards,
-Syed.

Similar Messages

  • How to upload a Flat file into sap database if the file is in Appl'n Server

    Hello Sap Experts , Can you tel me
    " How to upload a Flat file into sap database if the file is in Application Server.
    what is Path for that ?
    Plz Tel Me its Urgent
    Thanks for all

    Hi,
    ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
    *& Report  ZUPLOADTAB                                                  *
    *& Example of Uploading tab delimited file                             *
    REPORT  zuploadtab                    .
    PARAMETERS: p_infile  LIKE rlgrap-filename
                            OBLIGATORY DEFAULT  '/usr/sap/'..
    DATA: ld_file LIKE rlgrap-filename.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
        name1 like pa0002-VORNA,
        name2 like pa0002-name2,
        age   type i,
        END OF t_record.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
          wa_record TYPE t_record.
    *Text version of data table
    TYPES: begin of t_uploadtxt,
      name1(10) type c,
      name2(15) type c,
      age(5)  type c,
    end of t_uploadtxt.
    DATA: wa_uploadtxt TYPE t_uploadtxt.
    *String value to data in initially.
    DATA: wa_string(255) type c.
    constants: con_tab TYPE x VALUE '09'.
    *If you have Unicode check active in program attributes then you will
    *need to declare constants as follows:
    *class cl_abap_char_utilities definition load.
    *constants:
    *    con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *START-OF-SELECTION
    START-OF-SELECTION.
    ld_file = p_infile.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
          MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
          APPEND wa_upload TO it_record.
        ENDIF.
      ENDDO.
      CLOSE DATASET ld_file.
    ENDIF.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *!! Text data is now contained within the internal table IT_RECORD
    * Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.

  • What is the Successfull processed IDOC status number?

    Hi Experts
    What is the Successfull processed IDOC status number?
    arjent Please.
    Thanks in advance
    Sekhar

    Hi Chandra,
    Below are IDoc Process Codes
    For outboud Idocs:
    1 IDoc created
    2 Error passing data to port
    3 Data passed to port OK
    4 Error within control information of EDI subsystem
    5 Error during translation
    6 Translation OK
    7 Error during syntax check
    8 Syntax check OK
    9 Error during interchange handling
    10 Interchange handling OK
    11 Error during dispatch
    12 Dispatch OK
    13 Retransmission OK
    14 Interchange Acknowledgement positive
    15 Interchange Acknowledgement negative
    16 Functional Acknowledgement positive
    17 Functional Acknowledgement negative
    18 Triggering EDI subsystem OK
    19 Data transfer for test OK
    20 Error triggering EDI subsystem
    21 Error passing data for test
    22 Dispatch OK, acknowledgement still due
    23 Error during retransmission
    24 Control information of EDI subsystem OK
    25 Processing despite syntax error (outbound)
    26 Error during syntax check of IDoc (outbound)
    27 Error in dispatch level (ALE service)
    28 Not used
    29 Error in ALE service
    30 IDoc ready for dispatch (ALE service)
    31 Error - no further processing
    32 IDoc was edited
    33 Original of an IDoc which was edited
    34 Error in control record of IDoc
    35 IDoc reloaded from archive
    36 Electronic signature not performed (timeout)
    37 IDoc added incorrectly
    38 IDoc archived
    39 IDoc is in the receiving system (ALE service)
    40 Application document not created in receiving system
    41 Application document created in receiving system
    42 IDoc was created by test transaction
    50 IDoc added
    For Inound Idocs
    51 Error: Application document not posted
    52 Application document not fully posted
    53 Application document posted
    54 Error during formal application check
    55 Formal application check OK
    56 IDoc with errors added
    57 Test IDoc: Error during application check
    58 IDoc-Copy from an R/2 connection
    59 Not used
    60 Error during syntax check of IDoc (inbound)
    61 Processing despite syntax error (inbound)
    62 IDoc passed to application
    63 Error passing IDoc to application
    64 IDoc ready to be transferred to application
    65 Error in ALE service
    66 IDoc is waiting for predecessor IDoc (serialization)
    67 Not used
    68 Error - no further processing
    69 IDoc was edited
    70 Original of an IDoc which was edited
    71 IDoc reloaded from archive
    72 Not used, only R/2
    73 IDoc archived
    74 IDoc was created by test transaction
    Regards,
    Satish

  • How do I create rules files in Sap Data Services

    Hello Guys,
    I'm new with Bo Sap Development Data Services, and am migrating SSIS packages 2008 for the bods.
    I am studying the process of cleanup and word processing via bods.
    But I noticed that my installation does not have Rules Files.
    My question is:
    How do I create rules files in Sap Data Services library with support for Portuguese?

    Hello Ramana,
    So with version 4.2 of Sap Data Services do not currently have the rules files?
    How to mount files for text comparison Cleanse facing Addresses, Names, Clients, Companies? If you can give me some help link?
    Thanks again ...

  • Can anyone pls tell how to process idoc manually ??

    hi experts ,
    my process chain got failed at INFOPACKAGE STEP ITSELF which updating data from r/3 to cube via dso ... and in IP monitor screen it is showing that "SOME IDOC PROBLEM "
    i went to to BD87  and checked for idocs status ..my outbound idoc has problem .... its saying that "error passing data to port "
    and on drilling down, it is showing error msg like  """code page couldn't find page for receiving system """"".. (with red status )
    ,if i process these idocs manually ,will it resolve the issue ?? can any  one pls tell me how does this error looks like ???
    and can you please tell me how to process IDOC MANUALLY ??
       IS IT LIKE  "SELECTING IDOC --> RIGHT CLIK --> PROCESS" ??????
    please help with your suggestions
    HELP FULL ANSWERS WILL  BE REWARDED WITH POINTS ..
    Thanks in advance ....
    Harry

    1. Status 02 to 03 : RBDAGAIN / Tcode BD83 > Calls IDOC_PROCESS_ERROR function module.
    2. Status 30 to 03 : RSEOUT00
    3. Status 29 : Problem in ALE settings
    You can refer this link for more details : http://goo.gl/p5XPl
    See status of record and process below programs using submit report by passing Idoc number
    Program RBDMANI2 for status 51 & 52
    Program RBDAPP01 for status 64 ,66
    Program RBDAGAIE for status 32 and 69 (Edited IDocs)
    Program RBDSYNER for status 26
    Program RSEOUT00 for status 30
    Re-process IDocs failing in 29 status, use program RBDAGAIN.
    + Attention : Use these tcodes with extreme caution+

  • Hi friends, how to process a text file.?

    1)how to process a text file.?

    Hi Ganga,
    Use following scenarios:-
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-ii
    /people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i
    /people/divya.vidyanandanprabhu/blog/2005/06/28/converting-xml-to-pdf-using-xi
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    Vishal
    Reward points for useful reply

  • How to process the PDF files at one time

    Hello,
    I'm using WebDynpro for ABAP and Adobe Interactive Forms as offline forms.
    I collect PDF files from received e-mails.
    I want them to be taken in at one time.
    (for example,
    system job read PDF files and create data in ERP,
    or I upload the files one time.)
    Please let me know
    - How to process the PDF files at one time.
    Best regards,
    Koji

    When you click the edit button in recents, try clicking the clear button in the upper left.

  • How to send IDocs from a non-SAP system to a SAP system

    Hi everyone i am new to SAP R/3 System.
    Currently i am required to send IDocs from a non-SAP system to a SAP R/3 System.
    There is a guide on Cost-Effective and Quick Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface. But its from a SAP system to a non-SAP system and i am able to do that.
    Is there any step by step guide where they teaches you how to send IDocs from a non-SAP system to SAP system via similar method?
    Thank You!

    Hi,
    I hope this link may help you......
    http://publib.boulder.ibm.com/infocenter/iisinfsv/v8r1/index.jsp?topic=/com.ibm.swg.im.iis.ds.entpak.sapr3.use.doc/topics/c_pack_r3_Introduction.html

  • How do to encrypt a file in sAP

    hi guys,
               How can we encrypt  a file in SAP.The input file has a extention of .csv
              Can anyone provide help about this Topic . I would be really greatful to any help .
    Thanks in advance

    hi,
    May be you can try these FM.
    Use the following FM to encrypt
    CALL FUNCTION 'FIEB_PASSWORD_ENCRYPT'
    Use the following FM to decrypt
    CALL FUNCTION 'FIEB_PASSWORD_DECRYPT'
    Hope this is helpful, Do reward.

  • How to check idoc status through code

    Hi All,
    Can we check idoc status from within the code? My requirement is that once the idoc is transmitted correctly(status 12) to the system (outbound),I need to update a few fields in my custom table.
    Please share some information if available on this.
    Thanks and Regards,
    Ameya Kulkarni

    Hi
    The table EDIDC will contain the necessary information.  Please check.

  • How to render a pdf file within flex

    Hi,
    could any one suggest, how to open a pdf file within flex.
    we have an application built on flex3.
    please suggest.
    regards,
    John

    Hi,
    Is it a Flash or AIR app?
    If it's an AIR app, then use the HTML/web, where you then can navigate to the URL of your PDF.
    If it's an Flash app, then set the wmode to transparent: http://kb2.adobe.com/cps/127/tn_12701.html#main_Using_Window_Mode__wmode__values_
    And then create an iframe in your HTML page, where you load you PDF, set the iframe z-index, so it gets shown on top of the Flash object. Then you kan use the javascript bridge to interact with the iframe.
    Best regards
    Martin

  • Incoming Invoice Idoc, how to process payment status?

    Hello @ all!!
    I have to set up an interface between an SAP and a non-SAP System. As the title indicates, I have to book incoming invoices into SAP (and send outgoing invoices).
    I will use the Idoc-type ACC_INVOICE_RECEIPT (will be generated by the non-SAP System and sent to our SAP-System).
    So far, so good.
    The Problem is: payments?
    I have absolutely no idea how I should go about to process payments (made for this invoice).
    This 'payment' or 'payment-stop' -information (the date of the paymentas well) should also be transferred between the two systems...
    Is there an Idoc-type for that?
    Or does anybody have any suggestions to how this could be accomplished?
    Thanx a lot guys (and girls of course!)
    Greetz!
    NoogiE
    Message was edited by: Pieter De Fré

    Hi Sandhya,
    Once the Idocs are sent to the EDI Subsystem, the SAP will have the status that the Idoc has reached the partner sub system. I hope, the workflow should be able to trigger back the status file to the SAP System after the Idoc is processed at the EDI Subsystem.
    Please check with the workflow that is attached.
    Else, if this is using the FM or Message Control, then check the configuration under MN04.
    I'm also trying to find the solution for the same.
    Regards,
    -Syed.

  • How to do idoc to file cenario?

    Hi,
      how we can do idoc to file cenario in sap-xi,
    pls  explain me?

    Hey,
        For Idoc to File Scenario you need to do ALE settings on R3 side as well XI side.
    refer to the following Steps.
    Steps for ALE settings:-
    Steps for XI
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the R3 system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto IDX1.
         Create a new port.
         Give the port name.
         Give the client number for the R3 system.
         Select the created Rfc Destination.
    Step 3)
         Goto IDX2
         Create a new Meta data.
         Give the Idoc type.
         Select the created port.
    Steps for R3.
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the XI system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto WE21.
         Create a port under transactional RFC.(R3->XI)
         Designate the RFC destination created in prev step.
    Step 3)
         Goto SALE.
         Basic settings->Logical Systems->Define logical system.
         Create two logical systems(one for XI and the other for R3)
         Basic settings->Logical Systems->Assign logical system.
         Assign the R3 logical system to respective client.
    Step 4)
         Goto WE20.
         Partner type LS.
         Create two partner profile(one for XI the other for R3).
         Give the outbound or inbound message type based on the direction.
    Step 5)
         Goto WE19
         Give the basic type and execute.
         fill in the required fields.
         Goto IDOC->edit control records.
         Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)
         Click outbound processing.
    Step 6)
         Go to SM58
         if there are any messages then there is some error in execution.
         Goto WE02.
         Check the status of the IDOC.
         Goto WE47.
         TO decode the status code.
    Step 7)
         Not mandatory.
         Goto BD64.
         Click on Create model view.
         Add message type.
    BD87 to check the status of IDOC.
    In case if not authorized then go to the target system and check in SU53, see for the missing object
    and assign it to the user.
    Once this is done you can import the idoc in Your XI in the Imported Objects.
    Now create the Data type and message type for the receiver file Structure.
    Map the Idoc with the receiver file structure.
    Do your Interface mapping and the required configuration Steps.
    reward points if useful.
    regards,
          Milan

  • How to process large data files in XI  ?  100 MB files ?

    Hi All
       At present we have a scenario as follows
      It is File to IDoc ....Problem is the size of the file
      We need to transfer 100mb file to SAP R/3 system ? So this huge data how to
      process ?
    Adv thanx and regards
    Rakesh

    Hi,
    In general, an extra sizing for XI memory consumption is not required. The total memory of the SAP Web Application Server should be sufficient except in the case of large messages (>1MB).
    To determine the memory consumption for processing large messages, you can use the following rules of thumb:
    Allocate 3 MB per process (for example, the number of parallel messages per second may be an indicator)
    Allocate 4 kB per 1kB of message size in the asynchronous case or 9 kB per 1kB message size in the synchronous case
    Example: asynchronous concurrent processing of 10 messages with a size of 1MB requires 70 MB of memory
    (3MB + 4 * 1MB) * 10 = 70 MB With mapping or content-based routing where an internal representation of the message payload may be necessary, the memory requirements can be much higher (possibly exceeding 20 kBytes per 1kByte
    message, depending on the type of mapping).
    The size of the largest message thus depends mainly on the size of the available main memory. On a normal 32Bit operating system, there is an upper boundary of approximately 1.5 to 2 GByte per process, limiting the respective largest message size.
    please check these links..
    /community [original link is broken]:///people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts
    Input Flat File Size Determination
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    data packet size  - load from flat file
    How to upload a file of very huge size on to server.
    Please let me know , your problem is solved or not..
    Regards
    Chilla..

  • How manage outbound IDoc with QRFC in SAP CRM 5.O

    Hi experts,
    I want to manage outbound IDoc with QRFC. For doing it I selected the flag Query Processing in transaction WE20. When I run the program QRFC Monitor (RSTRFCM1) the system shows this error message:
    Status is SYSFAIL.
    "[SAP.111.9129] WMSAP Adapter: Missing notification
    - Message type: IDOC INBOUND"
    Can someone help me?
    Thanks a lot in advance,
    Lorenzo

    Hi,
    if you want to find out how to do outbound IDOCs
    with qRFC you can check my new book:
    /people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi
    in one of the scenarios it describes exactly what
    you're looking for (among other things)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • Can i use discount coupon to join subscription

    i have a discount coupon, can i use it to join creative cloud? Message was edited by: juan23d

  • Compensation for OS X Mavericks if I purchase Mountain Lion now?

    I am forced to upgrade to Mac OS X Mountain Lion so I can use Adobe products and download my Canon software, I know they are releasing Mac OS X Mavericks soon, is there some kind of compensation since I am purchasing it within the same few months? It

  • Is there any Macpro that plays well with FCPX?

    Is there a Macpro out there that plays 3 cam 1920 x 1080 Pro Res multicam perfectly without dropping frames and still plays perfectly without rendering for things like dissolves?   My late model Imacs do this perfectly even with slow Lacie drives, bu

  • Unable to read application data record. / Translation cancelled

    Hi all urgently need to sync my BB with outlook (v. 2002), using desktop manager 5 / pack one.  BB is set up as corporate w. wireless synch, which i disabled to have synch configuration done.  then when syncing it would go over all 900 handheld recor

  • How many orders cancelled after conference

    I have two phones on order from apple store placed them a couple of weeks ago. I was completely disappointed with Steves press conference. He didn't answer the questions which needed to be answer why has Iphone 4 got a inferior antenna to other phone