Resend an outbound idoc

Hi experts,
Can you please let me know how to resend an outbound idoc. It is HR master data related outbound idoc. Some idocs have been sent previously from SAP to business connector to a third party application. But the idocs did not reach the application. Is it possible to resend the same idocs from SAP again.
Thanks in advance,

Hi,
For HR data, you can resend using program RHALEINI in the order of organizational objects O,S,P, C
Thanks
Krithika

Similar Messages

  • Urgent --- How to resend an outbound IDoc which is in status 03

    Hi Experts,
    I've a rquirement to resend an outbound IDoc which is in status 03. I don't want to use BD87  or WE19 to reprocess.
    Please provide me some FM or some technique by which I may use in a Z-program to accomplish the above requirement.
    Even if IDoc no is changed....that won't cause any problem....i just need to resend the IDoc.
    Thnx in advance
    Rudresh
    Mumbai

    Test: Outbound Processing from IDoc
    Use
    This test program selects one or more outbound IDocs and forwards them to the external system. You can choose the IDocs according to various criteria (for example, recipient or business message).
    Prerequisites
    You require outbound IDocs which were generated without errors (no error status). The partner profiles, therefore, must be maintained completely.
    Outbound processing must stop when the outbound IDocs have been generated, to allow the test program to intervene. You can make sure that this is the case by setting the output mode to "Collect IDocs" in the partner profile for the IDoc interface. If you now generate an outbound IDoc for the partner (for example, via the application or the test tool), the IDoc is only generated in the R/3 System and is not forwarded to the external system. This test program, therefore, is simply used to start a selection run which retrieves your IDoc(s) and sends them to the external system. The program is report
    RSEOUT00, which is also generally scheduled with the output mode "Collect IDocs" in live operation. 
    Activities
    Start the test program from the initial node of the IDoc interface by selecting Test ® Outbound from IDoc.
    You can decide whether the output mode is set to "Start subsystem" or "Do not start subsystem" in the partner profile. This defines whether the external (sub) system processes the IDocs further.

  • Outbound idoc resend

    Hi all . I have come up with a requriement. The scenario is as the following
        once we raise a sales order and save it ,an outbound IDOC gets triggered and send to the customer via EDI. after some time customer asks for one more copy and there is a need to change the values of some of the fields and resend to the customer. This can be done in two ways
    1.Go to va02 make the requried changes and issue the output
    2. change the idoc which is already processed and resend it
        our client wants to go for the second option.
    Can anyone help me out
    1.' Where we can change and resend an already processed outbound idoc '?
    2.if we make any changes in an outbound idoc at idoc processing level will the changes reflect in the order?
    3. Can we restrict the user to change certain fields only?
    Any inputs given by you people will help me a lot.
    Thanks in advance
    Srini

    Hi srini,
    As i Understand the senario, Their might be some changes to the document required by the customer. This also needs to reflect in the changes in Order.
    It will be complex way to update both the IDOC and order, if you are changing in the IDOC and resending it. It would be more wise to go ahead with the first option making changes in through VA02 and then sending it accross . And most of the companies do not hold the IDOCs for too long & hence it would be wise to make changes in VA02 and send the IDOC once more. This can be done by minor code change based on the edit checks business wants to perform.
    Well if you still want to go ahead with the second option here are answer to the questions.
    .' Where we can change and resend an already processed outbound idoc '?
    First the IDOC status needs to be changed from program RC1_IDOC_SEt_status
    then you need to reporces it throught program RSEout00
    2.if we make any changes in an outbound idoc at idoc processing level will the changes reflect in the order?
    The changes will not reflect in the order unless you have a code written in SAPLxved.
    3. It is not possible to restirct the change to certian fields only.
    Reward points if this helps
    Thanks,
    Kamal
    Message was edited by:
            Kamalakar vp

  • Resend Outbound IDOC

    Hi
    I am trying to achieve a functionality wherein i want to RESEND  and not reprocess my Outbound Idoc ( only if the Out IDOC is in status 03 or 12 ) .
    the aim is to copy the existing IDOC verbatim ( without allowing the user to modify any fields ) , generate a new number and  resend it .
    This is same functionality as in we19 with the difference being for modification of fields in the newly generated IDOC and the other problem is i am not authorised to do a we19 in production environment.
    Hence i need to replicate the we19 functionality inside we05.
    so the user shud be able to run transaction similiar to we05 , see all idocs as per message type , select any IDOC he wants (with status 03 or 12 ),  press the " resend " button which we will add in the code  and then a copy is made and send to the receiver system .
    Can someone help me with a FM which does the resending functionality as described above?.
    Regards
    Bhavana

    Using RSEOUT00 seems like a good method.
    http://www.it-maverick.com/index.php/contracting/edi-skills/71-resend-an-multiple-sap-idocs-via-edi

  • Editing an Outbound Idoc and resending

    Hello all,
    I have looked but can't find the answer to my questions.
    I have an outbound idoc (invoice) - I have used BD87 to edit the idoc.  the idoc is now in a status of 32.
    How do I resend this idoc?
    when I hit process I am taken to a screen showing me
    Idoc          |Old Status|New Staus|Status Text              |Error Text
    5917058     |32            |               |Doc was edited     |Changed data record was saved
    How do I resend the edited idoc?
    I know the answer is simple - I just don't see it.
    Thanks
    Edited by: Helen Wadino on Nov 11, 2008 3:57 PM

    I believe you created a new idoc num with the BD87 after editing. The old idoc num is still there and probably failed. Did you try re-submitting the new stat 32 idoc in BD87?
    Or, you may want change the status of the idoc:
    PARAMETERS: docnum like edidc-docnum.
    update edids set status = '30' where docnum eq docnum and status eq '03'.
    Edited by: Tom M. on Nov 11, 2008 4:00 PM
    Edited by: Tom M. on Nov 11, 2008 4:01 PM
    Edited by: Tom M. on Nov 11, 2008 4:07 PM

  • Convert custom outbound idoc to CSV file

    Hi
    I need to send generate a flat file that will be sent to a non SAP partner. A requirement is that the messages go via  the IDOC system. This makes it possible to resend them if necessary.
    So there are 2 stages
    1) create IDOC. I have done this
    2) read IDOC and convert to flat file
    stage 1
    =====
    I have defined a custom IDOC, partner profile etc and developed a Function Module to create the outbound IDOCs The FM is triggered by a message in the NAST table. . This works OK.
    So I now have custom outbound IDOCs in the DB with status 30 (ready for dispatch) (WE05).
    Stage 2
    ======
    Now I want to convert these custom IDOCs into simple flat files (CSV like).
    How do I go about making this happen? I guess I need to develop another Function Module. But I dont know how to tie this FM into the system. My questions are:
    How will the FM be triggered
    what is the interface of the FM
    will I need to configure a 2nd partner profile for stage 2 (which is fine)
    Peter
    Note1 - there is no EDI converter available so must solve this in ABAP
    Note2 - I do not want to create the flat file at the same time as I create the IDOC. This would defeat the purpose of going via IDOCs

    No, EDI is only one method of transferring data.  There's no need for an EDI subsystem in this case.
    To the OP, since it seems the you have decided that you must use IDOC processing in this case, I would go ahead and use a file port (or an XML port).  You will drop an IDOC formatted flat file into the specified location (for each IDOC, based on your logical file definition).  For you, this will merely be a temporary holding location.  You can then use a simple program to read the file, re-format it, send it, then move the original file to a 'processed' location.  Of course, you could also just throw away the generated files and read the IDOCs directly with the standard functions available and (re)generate/send the files as required. 
    It's often done this way with 3rd party EDI providers, where the company in question is required to use EDI by their customers but do not have the required systems in place.

  • Outbound IDOC process - Using standard  or Custom Program

    Hi all,
    i'm having some doubts regarding IDOC's outbound processing.
    I'm trying to understand 2 scenarios:
    1- Trigger Standard Outbound IDOC without writting any Z program ou IDOC FM.
    It's possible to trigger a outbound idoc for exemple, whenever a sales order is created. To do this is, i suposed i don't need to write any code at all, correct?
    What i need to do is create a logical system (SALE), define Transmission protocol (WE20, in here i associate the partner, and the outbound message type? After this point is the idoc automatic triggered?
    If not, what is the correct procedure?
    2 Trigger Ountbound IDOC using Z program.
    Whats is diferent from the point 1 to this situation?
    Best regards,
    Pedro

    Kali,
    1. You can search in SE37 using IDOC_OUTPUT* for finding out corresponding function modules. It is based on message types.
    2. You can search user exit in above mentioned function module. So first get the correct populating FM & then you can search for Call Customer Function inside the code for user exit.
    3.Again ans is same as in point 1.

  • Is it possible to generate outbound idocs for FI invoices? How?

    Is it possible to generate Outbound idocs for FI invoices? How? or else i have to write program to get data in file and pass it to translator. Please help.

    Dear Gabriel
    Before letting you know the possibility, can you please let me know why you want such a requirement, since standard has not provided such copy control, to my knowledge.
    As you would know order type KB is for consignment fillup where you are just transferring the goods from FG unrestricted to your own warehouse and that is why in standard you can see the copy control KB --> F8 which means you can raise proforma against delivery and not against fillup order.
    So think of whether really you wanted to raise proforma against fillup order which is NOT recommended by SAP.  However, still if you feel that the requirement is so to have, you can make the settings in VTFA.
    thanks
    G. Lakshmipathi

  • Function Module to Generate Outbound IDOC for Sales Documents

    Hello Experts,
    Can someone please help me, I need to know which function module to use in order to generate the outbound IDOC for sales documents.  Some of the fm's I have come across are the following:
    IDOC_OUTPUT_ORDERS, but actually for Purchase Orders
    IDOC_OUTPUT_ORDRSP, but did not generate any IDocs for my sample Sales Order.
    Points will be given for any help provided.
    Thanks in advance.

    Hi Nagaraj,
    I tried using the IDOC_OUTPUT_ORDERS but I keep getting an error that the Purchase Order <xxx> does not exist, even though the document I tried is a sales order.  For everyone's reference here is the code:
    form process_data.
      DATA v_idoc       TYPE edidc-docnum.
      DATA i_edidd      TYPE TABLE OF edidd.
      DATA wa_idoc_ctrl TYPE edidc.
      LOOP AT i_nast INTO wa_nast.
        CLEAR i_msgs[].
        CALL FUNCTION 'WFMC_PROTOCOL_GET'
          EXPORTING
            cps_nast        = wa_nast
          tables
            messages        = i_msgs
         EXCEPTIONS
           NOT_FOUND       = 1
           OTHERS          = 2.
        LOOP AT i_msgs INTO wa_msgs WHERE arbgb EQ 'E0'.
    *--- Check first if there is an IDOC
          IF wa_msgs-msgv1 IS INITIAL.
            CONTINUE.
          ENDIF.
          v_idoc = wa_msgs-msgv1.
          CLEAR i_edidd[].
          CLEAR wa_idoc_ctrl.
          CALL FUNCTION 'IDOC_READ_COMPLETELY'
            EXPORTING
              document_number                = v_idoc
            IMPORTING
              IDOC_CONTROL                   = wa_idoc_ctrl
    *         NUMBER_OF_DATA_RECORDS         =
    *         NUMBER_OF_STATUS_RECORDS       =
            TABLES
    *         INT_EDIDS                      =
              INT_EDIDD                      = i_edidd
            EXCEPTIONS
    *         DOCUMENT_NOT_EXIST             = 1
    *         DOCUMENT_NUMBER_INVALID        = 2
              OTHERS                         = 3.
          CALL FUNCTION 'IDOC_OUTPUT_ORDERS'
            EXPORTING
              object                              = wa_nast
              control_record_in                   = wa_idoc_ctrl
    *       IMPORTING
    *         OBJECT_TYPE                         =
    *         CONTROL_RECORD_OUT                  =
            tables
              int_edidd                           = i_edidd
    *       EXCEPTIONS
    *         ERROR_MESSAGE_RECEIVED              = 1
    *         DATA_NOT_RELEVANT_FOR_SENDING       = 2
    *         OTHERS                              = 3
          IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          COMMIT WORK.
        ENDLOOP.
      ENDLOOP.

  • Automated error email notification when outbound IDOC fails

    Hi,
    The requirement is that whenever the outbound IDOC of message type PAYEXT, basic type PEXR2002, fails, then email has to be trigerred to a group id.
    I had suggested to write a report program that runs as a job. If the IDOC goes to error status then mail will be sent from this report. Client prefers it to be done through workflow.
    There is a standard process code for outbound IDOC failure handling EDIO (we40). standard task 7989 has been assigned to this process code. I dont want to modify this standard task as I am not sure of impact.
    Terminating event for this task is 'ERRORPROCESSCOMPLETD'.
    I have developed the workflow that has trigerring event 'ERRORPROCESSCOMPLETD' and bound with the IDOC number. This will send mail to the group id with the IDOC details
    Now issue is that, I am not sure if standard process EDIO will be trigerred automatically, or should we configure anywhere. Since this is standard outbound IDOC, I am not able to add the process code in partner profile.
    Please give your inputs or any other alternate solution to send mail through workflow when  outbound IDOC fails.
    Thanks in advance.

    Hi,
    I guess in your outbound partner profile for PAYEXT. you need to add process code  EDIO in message control TAb. WHich will cause to trigger the workflow which will send the notification.

  • Outbound IDOC WPDTAX  not getting generated

    Hi
    I am not  able to generate outbound IDOC WPDTAX through WPMA transaction.
    We are using TAXUSJ as the tax procedure.
    Tax Condition type UTXJ and JR1 has been maintained in the system.
    On looking at the code against WPMA ,
    POS_TAX_GET is called to calculate taxes.
    It does not have a fetch against all the condtion tables for tax.
    The above condition has been maintained in table A053.While the above program fetches data against only A003.
    Can somebody help?
    Regards,
    Amit.

    Hi  Amit,
    For TAXUSJ, the conditions maintained are time dependent conditions.
    However , IDoc type WPDTAX01 does not support time dependent conditions.
    Only time independent conditions will be transferred with the help of Idoc type WPDTAX01.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/3f/81e33bfa5d11d38d1f080009d10d9a/frameset.htm
    Regards,
    Lisa

  • Message type for Scheduling Agreement - Outbound IDoc

    Hi All,
    I have to create an Idoc for Scheduling Agreement through a Z program based on some conditions. I have bit confusion, whether i can use Idoc type for Orders(e.g ORDERS01..05) & Message type ORDERS / ORDCHG to generate Outbound Idoc.
    Already there is process code for for ORDCHG mappig IDOC_OUTPUT_ORDCHG & ORDERS mappig IDOC_OUTPUT_ORDERS.  Whether there will be any impact on this.
    Appreciate your help.
    Regards,
    Anbalagan.

    Hi Anji,
    Thanks for the Reply. But i think ORDRSP is for Order Confirmations.
    But I have to send Outbound Idoc for a Schedule Agreement.
    Whether the same  Idoc type & Messge type used for SO/PO(e.g ORDERS05, ORDERS/ORDCHG) can be used for Scheduling Agreement.
    Please Advice.
    Regards,
    Anbalagan

  • Error while creating an outbound idoc using idoc type delvry02

    hi,
         i getting the following error while creating an outbound idoc(outbound shipping notification) using message type " DESADV" and IDOC TYPE " DELVRY02"
    ERROR:
                " SPECIFY EITHER ADDRESS NO OR ADDRESS HANDLE"
    MESSAGE NO: AM053
    Help would be appreciated.
    regards
    leo

    The message is kind of self-explanatory. It seems that some address (delivery address ?) is required but is missing from the IDoc. If it's a syntax error, then the segment with error will appear in red in WE05 transaction.
    It is also possible that you have filled some field that you should have left blank and now SAP is trying to find an address based on that field.
    Check your IDoc contents. It's really hard to tell from the distance since the requirements and configuration could be very different in different systems. Sometimes the OSS note search by message ID and number is also helpful.

  • Consuming an outbound iDoc from a Java Web Dynpro application on EP front

    Hi,
    I am trying to consume an outbound iDoc from a SAP system into a Java Web Dynpro application. The result would be displayed on the Enterprise Portal. Could anyone help me with the process to be followed for the same.
    Regards,
    Chandrima.

    Hi,
    I am trying to consume an outbound iDoc from a SAP system into a Java Web Dynpro application. The result would be displayed on the Enterprise Portal. Could anyone help me with the process to be followed for the same.
    Regards,
    Chandrima.

  • Creation of Inbound Idoc for the Outbound Idoc in same client

    Hi,
    My requirement:
    Whenver an PO is created an Outbound IDOC is generated in system ABC with client 100.I want to pass this IDOC data to create an Inbound Idoc for Sales Order(SO) in the same client.
    It would be helpful if anyone can answer on how to Transfer the Outbound Idoc after it crosses the port.
    I found there is a field for function module in WE21,can this be used to get the requirement done.
    Please suggest.
    Regards,
    Amar

    Example of a program that create and post an inbound idoc....maybe that will help you:
    report  zzinbound_idoc.
    data: g_idoc_control_record like edi_dc40 occurs 0 with header line.
    data: g_edidd like edi_dd40 occurs 0 with header line.
    data: g_e1bpache09 like e1bpache09.
    parameter: mode type c default 'A'.
    refresh: g_idoc_control_record, g_edidd.
    clear:   g_idoc_control_record, g_edidd.
    *-Build Control Record -*
    g_idoc_control_record-mestyp  = 'ACC_DOCUMENT'.   "Message type
    g_idoc_control_record-idoctyp = 'ACC_DOCUMENT03'. "IDOC type
    g_idoc_control_record-direct  = '2'.              "Direction
    * Receiver
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-rcvpor = 'SAPDE2'.     "Port
        g_idoc_control_record-rcvprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-rcvprt = 'LS'.             "Partner type
    g_idoc_control_record-rcvpfc = ''.               "Partner function
    * Sender
    g_idoc_control_record-sndpor = 'A000000002'.      "tRFC Port
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-sndprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-sndprt = 'LS'.             "Partner type
    g_idoc_control_record-sndpfc = ''.               "Partner function
    g_idoc_control_record-refmes = 'Customer clearing'.
    append g_idoc_control_record.
    *-Build Idoc Segments -*
    *---E1KOMG
    clear g_edidd.
    clear g_e1bpache09.
    g_edidd-segnam               = 'E1BPACHE09'.
    g_edidd-segnum               = 1.
    move g_e1bpache09 to g_edidd-sdata.
    append g_edidd.
    *-Create idoc -*
    *-Syncronous
    if mode = 'S'.
      call function 'IDOC_INBOUND_SINGLE'
        exporting
          pi_idoc_control_rec_40              = g_idoc_control_record
    *     PI_DO_COMMIT                        = 'X'
    *   IMPORTING
    *     PE_IDOC_NUMBER                      =
    *     PE_ERROR_PRIOR_TO_APPLICATION       =
        tables
          pt_idoc_data_records_40             = g_edidd
        exceptions
          idoc_not_saved                      = 1
          others                              = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *-Asynchronus
    else.
      call function 'IDOC_INBOUND_ASYNCHRONOUS'
        in background task as separate unit
        tables
          idoc_control_rec_40 = g_idoc_control_record
          idoc_data_rec_40    = g_edidd.
      commit work.
    endif.
    write: / 'Well done!'.

Maybe you are looking for

  • Closing service purchase order

    hi all i have a service purchase order, i have taken some services through service entry sheet, done invoice verification of the services. now i have no services coming from vendor, i want to short close at this stage. can anybody suggest the method

  • Sales Quantity  with Unit  . Multivalue Error.

    Dear  all, I  have  crosstab  with   sales qty  in  y axis  and  x axis  is structure.   when i  concatenate   salesqty   and unit    and drop it in    crosstab  it gives   error  with  multivalue  .please   suggest  solution .     x axis  structure 

  • I need a Adobe Edge simple machine tutorial!

    Hello, I'm looking for a tutorial that will help me make one of the fallowing machinesin adobe edge; 1. A lever is a stiff bar that rests on a support called a fulcrum which lifts or moves loads. There are three classes of levers. 2. A pulley is a si

  • Edit Flash text without opening Flash?

    In earlier versions of Dreamweaver, it was wasy to click on a flash text objet and edit the font and text. Now, in CS4, it defaults to the whole Flash program, which is most annoying. Is there a way to "unhinge" this function so that it works the old

  • Occasional black display since upgrading to 10.4.10

    New issue since upgrading to OSX 10.4.10. Now my 3 1/2 year old Apple Studio Display (flat screen LCD) occasionally goes black for a second, then the image returns. This has happened sometimes once a day or more frequently, sometimes the monitor goes