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!

Similar Messages

  • How to trigger an Outbound IDOC with a default status 68

    Hi,
    How an Outbound IDOC can be created/triggered with a default status 68??
    I have a requirement where the outbound IDOC should always get created with status 68. Once an Outbound IDOC is created, I should not be changing its status manually or using a program.
    Basically we don't want any IDOCs created in other status and changing to 68 once an IDOC is created with a different status.
    Currently i'm using fm 'IDOC_OUTPUT_DELVRY' to trigger an outbound idoc, and the idocs are triggered with different status 30, 2, 3 etc... By using a program i can change the status of the IDOC. But what we need is "Whenever an outbound idoc is triggered, it should always have status 68".
    Please let me know the ways to achieve this functionality.
    Thanks!

    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!

  • Outbound idoc when good receipt is performed

    Hi Gurus,
    I've been trying to create an outbound idoc as good receipt is performed in 46c.  I've looked into MBGMCR and STPPOD message types and they don't work.  I did some configuration so that I could manually create an outbound file going into MB02 tcode.  Your expert instructions to creating an outbound idoc when good receipt is done is greatly appreciated.
    Thanks,
    S.

    Hello,
    I've looked into WMMBID02 IDOC with Message type WMMBXY, and looked further into idoc documentation.  It is used for inbound GR transactions.  Below is what I intent to do.  We issue a PO to vendor via edi, vendor ships goods to us, and using MIGO, goods receipt transaction is performed.  What I intent to do is to create an outbound idoc when MIGO is performed, so that I can let the vendor know that we received the goods.
    Thanks,
    S

  • How to trigger outbound IDOC when data changed in BP through Inbound IDOC.

    Hi,
        In our system whenever we create a new Business Partner, these data is send across to SAP R/3 (as BDOC) and to Mainframe system  (as outbound IDOC). Whenever we change any Business Partner record the data is send across to SAP R/3 (BDOC) and to Mainframe system (as outbound IDOC).
        This functionality is working fine.
        Currently we are getting a value for one standard field (Customer_Group3) of Business Partner as an inbound IDOC. The value of the inbound IDOC is reflecting in the field (Customer_Group3) in Business Partner Transaction. Once the inbound IDOC is received, the modified value is send across to SAP R/3 as BDOC. But the modified value is not send across to Mainframe system (outbound IDOC). The outbound IDOC is not getting triggered.
    Kindly help

    Is your mainframe system configured as Site in SMOEAC. If so are you using XIF Adapter.

  • Trigger a process(IDOC) when Data in Z-table updated

    Hi All,
    I am working on an interface and the outbound IDOC from R/3 to XI needs to be triggered when a particular field value in a Z*table changes.
    So far I am able to trigger the IDOC from the calling Z*prog which updates this table, but I need some exit, PAI etc which will get triggered only when the data in table is updated.
    Current Flow chart:
    Z-prog starts--->Updates a Z-table--->if sy-subrc=0--->I create an IDOC from the Z-prog itself
    What I need:
    Z-table is updated--->check if particular filed value changed--->Trigger IDOC
    Is it possible to do this.
    Many thanks
    Shirin

    Hi Balu,
    I am triggering my IDOCS from the Z*program itself.
    The trigger point is when I have successfully updated the table (sy-subrc = 0).
    Then I have used the code below to populate my IDOC. I have also maintained a distribution model, so that is the reason I pass only the idoc type in edidc segment and do not pass any port , receiver etc.
    Hope you find the code useful.
    Regards
    Shirin
    Reward points if this was helpful.
    *Local Data Declaration
      DATA:  wa_msg_header TYPE zca_msg_header,
             wa_edidc      TYPE edidc,
             wa_edidd      TYPE edidd,
             i_edidc       TYPE edidc OCCURS 0,
             i_edidd       TYPE edidd OCCURS 0,
             wa_trailer    TYPE zca_gs_trailer,
             wa_count(10)  TYPE n,
             wa_allocation_response TYPE zca_allocation_response.
    *Populate IDOC segments
    * 1. Save the message type and the basic IDoc type* in the control segment
      MOVE 'ZMT_ALLOCATION_RESPONSE' TO wa_edidc-mestyp.
      MOVE 'ZGS_ALLOCATION_RESPONSE' TO wa_edidc-idoctp.
    * 2. Populate the Genius specific Message Header 'ZCA_MSG_HEADER'
      wa_msg_header-source        = 'SOURCE_SYST'.
      wa_msg_header-destination   = 'DESTINATION-LS.
      wa_msg_header-message_id    = ''.  "Populate this in XI
      wa_msg_header-date_time     = ''.  "populate this in xi.
      wa_msg_header-message_typ   = 'I'.
      wa_msg_header-status        = 'S'.
      MOVE 'ZCA_MSG_HEADER' TO wa_edidd-segnam.
      MOVE wa_msg_header    TO wa_edidd-sdata.
      APPEND wa_edidd       TO i_edidd.
      CLEAR wa_edidd.
    * 3 Populate the ALOCATION_RESPONSE segment
      CONCATENATE 'EXAM'
                   sy-datum
                   sy-uzeit
                   INTO
                   wa_allocation_response-uid.
    * wa_allocation_response-uid                 =  i_set_number  .
      wa_allocation_response-set_number          =  i_set_number .
      wa_allocation_response-trigger             =  '1' .              "Always default to Allocation Change   .
      wa_allocation_response-next_a_exam         =  i_next_a_exam .
      wa_allocation_response-miles_to_a          =  i_miles_to_a .
      wa_allocation_response-next_b_exam         =  i_next_b_exam .
      wa_allocation_response-miles_to_b          =  i_miles_to_b.
      wa_allocation_response-next_major_exam     =  i_next_maj_exam  .
      wa_allocation_response-miles_to_major_exam =  i_miles_to_maj_exam .
      MOVE  'ZCA_ALLOCATION_RESPONSE' TO wa_edidd-segnam.
      MOVE   wa_allocation_response   TO wa_edidd-sdata.
      APPEND wa_edidd                 TO i_edidd.
      CLEAR  wa_edidd.
    *4 Populate the Trailer record 'ZCA_TRAILER'
      wa_trailer-data_marker  = 'T'.
      wa_trailer-checksum     = wa_count.
      MOVE 'ZCA_TRAILER' TO wa_edidd-segnam.
      MOVE wa_trailer       TO wa_edidd-sdata.
      APPEND wa_edidd       TO i_edidd.
      CLEAR  wa_edidd.
    * Check for distribution model and create the IDOC
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
        EXPORTING
          master_idoc_control            = wa_edidc
        TABLES
          communication_idoc_control     = i_edidc
          master_idoc_data               = i_edidd
        EXCEPTIONS
          error_in_idoc_control          = 1
          error_writing_idoc_status      = 2
          error_in_idoc_data             = 3
          sending_logical_system_unknown = 4
          OTHERS                         = 5.
    * No need for error handling here as the IDOC will be created and ststus record will
    * mention the latest ststus including any error message.

  • Trigger an outbound idoc to sender system after inbound idoc has status 53

    Hi all,
    We have two different partners (say A and B)which send inbound idoc to ECC of same message type WMMBXY. This updates goods movement. The partner A collects the idocs(WE20 partner profile setting) and partner B trigger's immediately. Now our requirement is after successful processing of idocs (satus 53) we need to send another type of idocs to the sender regarding the updation/ changes occured in ECC.
    Since partner A collects the idocs how can we check that it reaches 53 status and send the outbound idoc to A.
    Kindly help me in solving this issue.
    Thanks,
    Aravind

    Create a new process code WMMB to ZMMB & assign a FM ZL_IDOC_INPUT_WMMBXY
    & call the standard FM L_IDOC_INPUT_WMMBXY , check the status or any error other wise create a new IDOC using
    Master_IDOC_CREATE, hope the solution works for you

  • Need some help in outbound IDOC  !

    Hi friends i have written an outbound IDOC generation code Where i am able to create idocs.
    When I am viewing them in WE02....I can see the yellow sign.
    IF i process them through WE14....IT IS BEING CONVERTED TO GREEN.
    Can I call that  screen with in my IDOC generation report program and give the unique number as input to it....?
    as to automate the process ?

    Yes you can do that but why it is showing yellow light? If it can be 'trigger immediately' then it may not wait for you to start WE14.

  • Configuration to trigger the EDI IDOC when posting

    Hi all,
    Can I know what is the configuration needed in order to trigger the EDI message type INVOIC IDOC when posting to certain company code (eg: AP10)?
    As I know for order acknowlegment need to do some configuration in Tcode v v13 in order to trigger the EDI...
    Please help.
    Thanks a lot.

    Hi,
    Please refer the below link:
    SAP IDoc Configuration Overview:
    http://www.topxml.com/biztalkutilities/walkthroughs/SAP%20IDoc%20Configuration.pdf
    SAP Network Blog: IDOC: EAN mapping in EDI orders:
    /people/michal.krawczyk2/blog/2006/12/22/idoc-ean-mapping-in-edi-orders
    Hope this helps.
    Please assign points as way to say thanks

  • Triggering Outbound IDoc, when doing the Goods Receipt in MIGO

    Hi All,
    I want to create an idoc(outbound), when i do the Goods Receipt(MIGO, Movement type 101).
    1. Can we trigger the IDoc through output Determination.(I have configured for VL01n -outbound delivery & VL31n-inbound Delivey.It works... But is there any same way for MIGO)
    2. Is there any other way to trigger the IDoc when document saves in MIGO.
    Please Help On this.
    I m eagerly awaiting for Solution.

    Hi,
    Go through the following link:
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=waytotriggertheIDocwhendocumentsavesin+MIGO&cat=sdn_all
    It might help you.
    Thanks
    Rajesh Kumar

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

  • Inbound and outbound Idoc for shipment

    Hi all,
    I woul need to configure an Idoc type both in outbound and in inbound for a shipment document.
    For the outbound process I'm trying to use the Idoc:
    message type SHPMNT_TNDR
    basic type SHPMNT04
    Is it right from your point of view?
    I don't know which Idoc type I've to use for the inbound process considering that I've to use it in order to add, on an existing shipment document, the stages distances.
    Could someone of you help me!!
    Thanks,
    A

    Hi,
    thank you for the previous answer.
    Really the inbound Idoc should change an existing shipment document in some field.
    I'm trying to build this Idoc type with the WE19 t-code but if I try to elaborate the Idoc I'm not able to process it succesfully (i'll obtain status 51 - message: "Idoc can not be processed without error").
    I'm inserting in this Idoc with WE19 the TKNUM (document number), the field E1EDT18-QUALF=CHA (that should be mean change), E1EDT18-PARAM=1 (IDoc fields are only copied if they are empty) and few some other information like the forwarding agent.
    Do someone have a suggestion for me in order to create this Idoc, in order to test it and change some fields in my shipment document?
    Thanks!!

  • Need to trigger an idoc from transfer order on confirmation

    Hi,
    I need to trigger an outbound idoc on the confirmation of a Transfer Order, but I don't know how to do.
    The IDoc type i'll use WMTOID02.
    Any Help would be greatly appreciated.
    Regards,
    Supaporn R.

    Hi
    I think you need to do some configuration using OMKY transaction, pls take help from functional consultant
    Regards
    MD

  • Trigger IDoc when outbound documents are deleted

    Hi Experts,
    I am working on a scenario where in when delivery document is deleted then we need to have a IDoc to be triggered and sent to the receiver.
    I understand that when we create/change delivery, there is a way to trigger IDoc (i.e., through message control). But when we delete a delivery, I am not sure, we have standard mechanism to trigger an IDoc. Can we have a standard way of making this happen?
    Thanks & Regards,
    Suraj Kumar

    Hi,
    In the NACE transaction, Click on the APPLICATION V2 and create a new OUTPUT type with Z as prefix
    In the Processing Routine Tab in the control data enter the MEDIUM as  6 which is the  EDI and  maintain the PROGRAM & SMARTFORM as developed by the ABAPer
    Now maintain the CONDITION RECORDS with the MEDIUM 6  and the LS as Partner function
    Now with the Help of your ABAPer, define  the PARTNER PROFILES in WE20 and the Message types .
    This will trigger the OUTBOUND idoc to the other system.
    Please check these settings and revert back if you need more details
    regars,
    santosh

  • VL01N - needs to trigger outbound idoc

    Hi all,
    As per requirement please tell me information of how to trigger the outbound idoc on save that consist of delivery data with ref to sales order data.
    I am not able to create the Output type please tell me steps if possible of provide me some link that helps me.
    Regards,

    Hello,
    You have to create an OUTPUT in the configuration and maintain the condition records in VV21 for the Partner LS which means an output for IDOC
    For this configration, Goto the spro
    SPRO->LOGISTIC-EXECTION>SHIPPING->OUTPUT DETERMINATION->MAINTAIN OUTPUT DETERMINATION FOR OUTBOUND DELIVERIES---.DEFINE OUTPUT TYPES.
    Try to create the output type and maintain the condition records .
    Revert back if you need any clarifications
    regards,
    santosh

  • Change Business Partner in CRM to trigger OutBound IDOC in R/3 system

    Hi Team,
    I am stuck on a requirement, We have a scenario were the Business Partner is created in CRM system
    which creates a BDOC and is passed to R/3 system through an Inbound IDOC which  triggers the Outbound IDOC to PI system. So far good.
    The scenario we are getting stuck is when a Business partner is changed in CRM an IDOC triggered in R/3 system but this being a change the Change pointers are not called hence the IDOC which is supposed to be triggered for the PI system is not getting triggered.
    Can you please tell me what steps should I take to trigger this Outbound IDOC from R/3 system?
    I did some anlyasis and found a table which COM_BUPA_CALL_FU which contains a set of function module which is triggered in the sequence. Is this the solution or if you have any different do let me know.
    Thanks,
    Imran

    Hi,
    Did you add the entry for your new custom 'Z' long text inPITX Tcode in R3 side. Every long texts in CRM should be linked to R3 long text here. If there is no entry please add one and try changing the text in CRM.
    Hope this helps,
    Karuna.

Maybe you are looking for

  • How to export the report in HTML format for desktop application

    Hi, i have wrote the JRC desktop application to export the report and i am able to export it in PDF and other formats as mentioned in "ReportExportFormat" API. i would like to know is there any API there which can export the report in HTML format. i

  • My 4th Generation Nano skips songs and won't play some of them

    So, over the past couple of days while I put my 4th Generation Nano on Shuffle mode, it will skip over some songs. Not a delayed reaction, but... say I skip one song. Then it'lll skip over a few, and when I hit the back arrow, it won't play it. Also,

  • Negative values in screen?

    Dear experts, how do I declare negative values on a field of a table control? now it gives short dump. Thanks in advance, Roxani

  • N8 - FourSquare and Twitter - Cannot Login

    Hello, I have tried and tried to login via the FourSquare and Twitter app on my N8 - and always get an authentication error.   If I log on to the web version on the N8 - I get in no problem. I have tried many times, so I doubt it is being typed in in

  • Zen 6.5 vs Altiris 6.0

    any docs out there that test both ? thanks