Generating outbound idoc  - During Oubound delivery deletion using VL02(N).

Hi All,
There is a requirement for me to send an outbound idoc from SAP System, when a outbound delivery is deleted in SAP system using transaction VL02N. The functionality is to achieve the same using message control/output control.
When an item of the delivery is deleted then the idoc is getting generated correctly.
But when the outbound delivery itself is being deleted no idoc is getting generated in fact the output determination itself is not taking place.
Could anyone please give me some inputs on this.

Hi,
Could anyone please reply to my query. Points will be definitely awarded. Thanks in advance.
Goutham.

Similar Messages

  • 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

  • Generate outbound idoc for Customer Master

    Hi Developers,
    I have requirement to generate outbound IDOC for Customer Master Data. I need to send customer master data through an Outbound IDOC. Can we generate an outbound DEBMAS06 idoc? Can someone help me finding a solution to this problem?
    Thanks in advance for helping.
    Regards,
    Gajendra

    Hi,
    If you have done all the required settings (logical system, partner profiles, distribution model), then either transaction BD10 / BD14 will help you generate the IDOC.
    If you want to send the idocs automatically, then you will to configure some program.
    Unlike transaction data, Master data IDOCS are not triggered immediately, you will have to do the required configuration in SPRO.
    Transaction SPRO
    SAP Customizing Implementation Guide -->
    SAP Web application Server --> Application Link Enabling --> Modeling and Implementing Business Processes -->
    Master Data distribution --> Replication of Modified Data --> Creating IDOCS from Change Pointers
    Take a look at this thread.
    Re: automatic Idoc outbound
    Regards,
    Ravi
    Note : Please mark the helpful answers
    Message was edited by: Ravikumar Allampallam

  • 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.

  • Generate Outbound IDoc In CRM

    Hello Experts!
    Upon create and/or update of an Opportunity in CRM, I'd like the system to automatically generate an Outbound IDoc. 
    I've already configured the following:
       1.  Define Logical Systems and Assign Client to Logical System - Transaction SALE
       2.  Maintain RFC Destinations - Transaction SM59
       3.  Define the Ports - Transaction WE21
       4.  Maintain Distribution Model - Transaction BD64
       5.  Generate/Create Partner Profile – Transactions BD82 and WE20
       6.  Distribute Model View – Transaction BD64
    Upon creation of an Opporunity and viewing transaction WE02, I unfortunately do not see any created IDocs  
    The only part I'm missing (as far as I can tell) is how to tell the system to actually generate the IDoc upon create and/or update of an Opportunity.
    Does anyone know how I can accomplish this?
    Thanks!

    I figured it out...  Here are the steps I was missing:
    7.  Configure External Interface Adapter (XIF) with Subscription 'All Business Transactions' - Transaction SMOEAC
    8.  Assign Site ID to Interface Type with BDoc Type 'BUS_TRANS_MSG' and Interface Name 'CRMXIF_ORDER_SAVE' and Complete = checked - Transaction CRMIX_C1
    Hope this information helps anyone looking to send IDocs out of CRM
    Also, this procedure can be used to send Business Partner IDocs, too

  • Need to Trigger an outbound Idoc when shipment manually deleted thru VT02N

    Hello All,
    Can anyone help me on this issue. I need to Trigger an outbound Idoc when shipment is manually deleted thru VT02N transaction.
    Please help me, how to do the output detemination or if is there any event trigger mechanism for this.
    Waiting for your response.
    Thank you.
    Sridhar Kanchibotla

    Hi,
    We need to display all the IDOC data on a Smartform layout. But we dont need the IDOC to be used for our requirement. So we want to make sure that IDOC is triggered but will not stay in 02 or other status.
    We have a process to monitor the failed idocs (02 status) and we do not want our idoc to have failed status. So we need the idocs to be tirggered directly with status 31 (thanks for letting me know that i cant use status 68 for outbound idocs).
    Thanks!

  • How to generate Outbound idoc for Material Reservation

    Hi Experts,
    I want to send outbound IDoc when a material reservation is created with tcode MB21.
    I have been working on this issue and finding the solution in SCN for a week...
    I found some messages similar to this but I could not find out the correct way how to do that.
    At this moment, I configured BD64/WE20 referring the following topic which seems to be feasible solution but could not find any outbound IDocs created, unfortunately.
    Implement ALE_RESERVATION_CREATE
    I appreciate if someone can help me how to create outbound IDoc with MB21 or advice some possibility of missing configuration or steps.
    Best Regards,
    Kenji

    Hi;
    Have been able to find the solution to create the IDoc MRESCR after entering a reservation? 
    I am in the same situation and I do not see the IDoc output in the BD87. 
    It would be nice if you share the solution.
    Thanks in advance

  • Automatically generate outbound IDoc of FIDCC1

    Hello,
    I need to be able to automatically generate an Idoc of the type FIDCC1 when an BKPF document (Vendor Invoices)is saved via FB10. Could you please direct me to the be approach.

    Hey Andrew,
    Being able to test an IDoc is not the same as ALE enabling an IDoc. You have to go to SALE and activate the IDoc.
    Please check note number 114814 for more information on the same.
    Thank You.
    Sumit.

  • Outbound idoc process for sales order using message control

    Hi All,
        I am changing sales order using VA02 , while saving sales number IDOC is creating but I am unable to see the data filling into segments. I think idoc is triggaring in background.
      Can you please tell how I can see the data filling in to segments
    Thanks in advance,
    SN

    keep the break point in the program RSNAST00
    at this particular code.
    perform (tnapr-ronam) in program (tnapr-pgnam) using returncode
                                                             us_screen
                                                             if found.
    and also Activate update Debugging , before pressing the save button in VA02.

  • Stop generating delivery IDOC output (outbound IDOC)  if goods issued!

    How to stop generating delivery IDOC output (outbound IDOC)  if the delivery has been goods issued?! Any user exit or BADI for this?!
    Thanks

    We take a routine in output requirement! it's done!

  • 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

  • Custom error in outbound idoc FIDCC1

    Hi all,
    I am generating outbounds idocs for FI documents and i need to put some of them in error. I need the FI Document created and the idoc in error so that i can reprocess it later. To do that i am using the User Exit EXIT_SAPLF050_007
    Enhancement - F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    ""Lokale Schnittstelle:
    *" IMPORTING
    *" VALUE(MESSAGE_TYPE) LIKE EDMSG-MSGTYP
    *" TABLES
    *" IDOC_DATA STRUCTURE EDIDD
    *" CHANGING
    *" VALUE(IDOC_CONTROL) LIKE EDIDC STRUCTURE EDIDC
    *" VALUE(DISTRIBUTION) LIKE BOOLE STRUCTURE BOOLE
    *" OPTIONAL
    IDOC_CONTROL-status = '26'.
    The problem is that in the UserExit i set the Idoc Status to some value diferent than 3 (Data passed to port OK) but finally the idoc is created with the status 3.
    Does anybody know how to change the idoc status in the creation from 3 to for example 26 or 27? ( an error idoc status ).
    thanks!!

    Hi,
    In the partner profile, set the option as Collect IDOC's option.
    Create a background job in which the first step of that should be your custom program and the second step is RSEOUT00 program.
    In your custom program, validate the idoc if you feel your idoc is correct then leave it like that and if you feel there is some problem in the idoc then flag that error idoc for deletion that means that error idoc will not be sent to your partner.
    For flagging an outbound idoc to deletion is nothing setting the idoc status to 31. This you can do with the program RC1_IDOC_SET_STATUS.
    Thanks,
    Mahesh.

  • 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

  • SENDING WBS ELEMENT IN OUTBOUND IDOC  ORDRSP

    Hi Experts,
    i need to update idoc ORDRSP (to distribute Sales order) with field WBS ELEMENT  , you can find this under item tab "Account assignment" field COBL-PS_POSID
    I generated outbound idoc on several sales orders but none of them has this information.
    do you know how to have this information populated in this idoc ?
    Thanks and regards

    Hi,
    You need to do the following steps to create a custom segment and populate values into that:-
    1. Create a custom segment using the T Code WE31
    2. Add the created custom segment to the orders05 basic type by creating a new extension using WE30 transaction
    3. Maintain a new entry in WE82 transaction for the message type, basic type and extension
    4. Update the extension in all the necessary partner profiles WE20
    5. You have lot of function exits in the function module IDOC_OUTPUT_ORDRSP, you can see them as customer function in that function module. You need to write the code in that include
    6. Create a project for the function exit and activate the project.
    Once you do all the above 6 steps then you can see values populated into the custom segment.
    Thansk,
    Mahesh.

  • Outbound idocs getting delyed sometimes

    Hi All,
    I am generating outbound idocs using master_idoc_distribute FM and sending to Tibco..my issue is some times idocs reaches very late (15min) and some times fast even I choose tigger immediately option in we20..could any body tell me what would be the reason..
    Below is my code..
    Call Master_idoc_distribute
    Commit work..
    If I use FM: 'EDI_DOCUMENT_DEQUEUE_LATER' before commit work..does it rectifies my problem..or anything else I have to performu2026.please let me know..

    Hi,
    Try using the statment
    call function 'DEQUEUE_ALL'.
    See Standard function module "MASTERIDOC_CREATE_REQ_MATMAS", line no 1049 for reference.
    Regards
    Vinod

Maybe you are looking for

  • RuntimeException while Role Mining (OIA integration with Waveset)

    HI All... I would appreciate some help with the following, If anybody has any ideas.... plz. My Appologies if it is in the wrong category but there is no Identity Analytics category. My PoC Environment consists of Vm #1 Centos 5.5 (64bit) JDK 1.6.0_2

  • IDoc Monitoring in NWA: PI Perspective

    Hi I am a fresher PI Developer working on Netweaver 7.3. I came across IDoc monitoring tab in NWA, but it doesn't show the IDoc's processed within the last few days. Apart from this, there is also a IDoc metadata tab in IDoc monitoring in NWA. I coul

  • How to upload a .CSV file using GUI_UPLOAD

    Hi Experts,       In my report, I need to upload .CSV file using GUI_upload..So how to do ....Plz provide solution...

  • Itunes wont play out of my audio interface

    when ever im playing song from itunes, it always plays in the mac and not through my audio interface. how can i make it come through my audio interface. i have a 01x as my audio interface in my recording studio

  • Count @section

    Hi, Is there a way to count each time an @section is executed? I'm using the @section to update header information and it is resetting the page number for each change in a particular field. I was wondering if there is any workaround to this behavior.