User Exit to Override ASN IDOC field

Hello Experts,
I am looking for an user exit to override ASN IDOC field while sending IDOC to third party tool. Below is the scenario
Once we do the PGI on outbound delivery SPED output creates ASN and it triggers ZASN output. We use basic type DELVRY03 to send IDOC to third party tool. Now before sending ASN to third party tool we would want to send them a flag so based on that they perform auto receipt process in their system.
I have selected Export Indicator (EXPKZ) field from IDOC since this hasn't been mapped with third party tool. Once we get an user exit to update the Auto Receipt flag in the Export Indicator field in IDOC we will map it in XI/PI so that it will go to third party tool for further processing.
I have a logic to identify the ASN which needs to set auto flag but I am struggling where and how to put that logic, what user exit suffice the requirement?
Thanks in Advance
Jay

If my understanding correct Before you send inbound delivery information to third party system you will send one Flag to Third party system to do goods receipt.I have one question if system failed to create /user cancelled Outbound delivery then how will you stop auto goods receipt in Third party system ?.Also After goods receipt GR messages failed in sap as there is no ASN created in system.
If you want to send the flag before ASN creation then at Speed message level you split the Idoc message into two parts one for flag the message two third party system and another one to create Inbound delivery.

Similar Messages

  • Which option to choose:idoc user exit or copy standard idoc?

    Hi gurus,
    We are using idoc technolody to implement the interface between R3 and 3rd party system.
    Most of idocs are inbound processing, and it seems standard idoc can't meet our all requirements.
    So we are considering the option:i choose doc user exit or create new idoc by copying standard idoc.
    Which way do you like better?What are the advantages and disadvantages of them?
    Any help will be appreciated.
    BTW, our customer will upgrade their R3 4.7 system to ECC6.0 after this project the next year.

    Hi,
    By making changes in the User-Exits, if you can achieve what you are looking for then I would recommend to use user-exits. SAP programs are not bug free and SAP keeps on updating them by releasing hundreds of notes every day. If customer is upgrading to new version in near future then using standard programs are the best option.
    Cheers,

  • User exit to extend BD10 idoc

    Hi all,
    Please provide a user exit to extend BD10 idoc.
    Thank you.

    Hi,
       Enhancement MGV00001.
      Exit FM is EXIT_SAPLMV01_001 to fetch data from database.
      Exit FM is EXIT_SAPLMV01_001 to post data.
    You can use Badi BADI_MATMAS_ALE_CR also to fetch data from database and populate it to idoc for
    Matmas.
    Thanks,
    Asit Purbey.

  • User Exit for checking Purchase Requisitioner Field in CJ20N Transaction

    Hi,
    I want user Exit for checking Purchase Requisitioner field while making PR through CJ20N transaction. I have trie EXIT_SAPLEBND_001 user exit. Problem in this user exit is I am not getting Purchase Requisitioner No & Item No in I_CEBAN
    structure.
    Please suggest what to do ?
    Regard's
    Shabbir

    Hi,
    You can check with this BADI ME_PROCESS_REQ_CUST. 
    Kindly refer below mentioned link for further details:
    Badi ME_REQ_POSTED  For CJ20N Transaction
    Hope this will help you.
    Regards,
    Mudita

  • User Exit required for ASN EDI

    Hi I need to populate a field in an Outbound IDoc
    The name of the FM is IDOC_OUTPUT_DESADT
    How do I find this exit perfectly, with minimum time

    Hi,
    Have you looked user exits available in include program LVED2FZZ?
    These user exits are called from FM IDOC_OUTPUT_DESADT.
    In here you can code your own logic to populate ASN value.
    You need to register the object in order to modify the program.
    Regards,
    Ferry Lianto

  • BADI or Enhancement or User Exit for CRMXIF_ORDER_SAVE _M01 IDOC for SO

    HI ,
    Scenario : Outbound
    When Ever a Sales order Creates in CRM it will go to ECC and External Party using PI.
    We are using IDOC as CRMXIF_ORDER_SAVE_M01 for the Data exchange. There is some logic to be written for the External IDOC.
    We found CRM_ORDER_MAP BADI for the writting the logic for the Segements and fields. But this logic is reflecting in ECC and External IDOC.
    Can we can any BADI or User Exit to write the logic to reflect only External IDOC not for ECC.
    Thanks
    Sim

    Help need !!!

  • USER EXIT or BADI for Vendor field in MIRO

    Hi Experts,
    In MIRO transaction vendor field gets defaulted from Purchase Order. So my requirement is to changes that vendor with alternate payee.
    To <u>replace the vendor with alternate payee</u> I need the <b>USER EXIT or BADI</b>, kindly help me on this will be useful for us.
    Thanks in Advance.
    SAP Consultant

    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material do
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Ma
    No of Exits:          8
    BAPI-step by step procedure
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all BAPI's
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    Rewards if useful.................
    Minal

  • User Exit for validating overall limit field and expected limit field-ME2xN

    Dear Gurus,
    Can you please suggest me any user exit or BAdi to validate the overall limit field and expected limit field in transaction ME2xN.
    Or any other way to to achieve this functionality in ME2xN.
    Our Requirement is while raising a service PO in the Limits tab the 'Overall limit' should be same as 'Expected Value', at present the user can enter overall limit greater than 'Expected Value'.
    Regards,
    Priyank Joshi

    this will not work. you cannot add another structure (AUFK) on top of CEBAN. all characteristics have to be of one structure and since you want to release a PR it has to be CEBAN. before attempting to program something around that why do you not go to tx. OLME -> PR -> Release Strategy -> With Classfication -> Release Strategie and run it in a simulation mode. you will then see how it reacts.
    there's a white-paper on service.sap.com explaning in detail release-strategies. it's a good one and a good read too!

  • User Exit to make Payment Term field non editable in item level .

    Hi all,
    User wants to make the Payment Term field in sales order as non editable and  Payment terms is copied from Customer Master to Sales order.
    I use user exit MV45AFZZ (USEREXIT_FIELD_MODIFICATION) to make Payment Term field non editable in header level.
    I am not able to do it in item level. Pl help to to make Payment Term field non editable in item level.
    Thanks,
    sunil

    Hi,
    You can try implicit enhancement in the include MV45AF0T_TCTRL_U_ERF_AUFTRAG_I
    use below code.
    DATA: WA_COLS LIKE LINE OF TCTRL_U_ERF_AUFTRAG-COLS.
       LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
       IF WA_COLS-SCREEN-NAME = 'VBAP-ZTERM'. " Check the field name
       WA_COLS-SCREEN-INPUT = 0.
       WA_COLS-SCREEN-OUTPUT = 1.
      MODIFY TCTRL_U_ERF_AUFTRAG-COLS FROM WA_COLS.
       ENDIF.
    ENDLOOP.
    It better to control it via a custom authorization object.
    put a authorization create a custom authorization object so that you can restrict it for a certain users.
    AUTHORITY-CHECK OBJECT 'ZTERM'
             ID 'ACTVT' FIELD '02'.
    IF SY-SUBRC NE 0.
       LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
    ENDLOOP.
    ENDIF.
    Regards
    Aromal

  • User Exit /Badi to display Plant field in Accounting Doc Generated in MIGO

    Hi All,
      when we do GR in MIGO FOR Movement type '101' , it creates a material document and accountign document. In the Accounting Document , we need the plant field to be displayed with the plant from the Purcahse order in the Addtional Account assingments subscreen. ( the same document can be seen in FB03).
    Is there any user exits or Badi available for this particular scenario. R we missing anything in the functional configuration.
    Kindly let us know. Thanks in advance,.
    Regards,
    Leo.

    Hi,
    You can use the badi MB_DOCUMENT_UPDATE method MB_DOCUMENT_BEFORE_UPDATE
    or badi MB_MIGO_BADI method POST_DOCUMENT.
    You need to call a function module IN UPDATE TASK in order to save the data in DB, you can use an update statement within this FM...
    Create the FM with processing type: Update Module and Start Delayed.
    Regards.

  • Table I_KOMP in PO Pricning Item User Exit is not populating CHARG field

    Hi,
    I have activated the user exit EXIT_SAPLMEKO_002 which is used for pricing.
    But the while creating PO the structure I_KOMP is not getting populated with CHARG i.e BATCH field which I want to use for pricing calculations.
    Is there any thing to do so that the CHARG field in I_KOMP strucure is populated
    Please help me for the same
    Regards
    Sujit Sawant

    Hi,
    I have activated the user exit EXIT_SAPLMEKO_002 which is used for pricing.
    But the while creating PO the structure I_KOMP is not getting populated with CHARG i.e BATCH field which I want to use for pricing calculations.
    Is there any thing to do so that the CHARG field in I_KOMP strucure is populated
    Please help me for the same
    Regards
    Sujit Sawant

  • User Exit / Badi after (inbound idoc) database commit

    Hello Folks,
    I want to know the User Exit/Badi that can be used after inbound idoc gets posted, as i want to use perform on commit statement.
    Thanks & Regards,
    Nishanth Kumar

    Hi Sengupta,
    Usually there are no user-exits after COMMIT.
    What you need to do is register a call which will be executed after COMMIT, from one of the available user-exits.
    To do this, SAP provides 2 methods:
    1. PERFORM xxx ON COMMIT
    2. Function Module with attribute "Update Module"
    Check ABAP keyword help for more information for PERFORM xxx ON COMMIT.
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/34/8e72cc6df74873e10000009b38f9b8/frameset.htm">http://help.sap.com/saphelp_46c/helpdata/en/34/8e72cc6df74873e10000009b38f9b8/frameset.htm</a>
    Hope this helps.
    Regards,
    Sumant.
    PS: Reward points if this is helpful.

  • QM01 USer Exit to fill Coordinator Partner field for notification type Q3

    am working on Notification creation Transaction QM01. The requirement is,
    The user selects Notification type "Customer Complaint" & Provides Sales Order Number & Item number.
    In the Reference Objects Tab, User fills Coding , Description , Subject fields.
    Now when the user clicks on Save, I should fill the Coordinator field(To see this field the navigation is, in the menu Goto-> partners ) automatically based on some input criteria.
    So when I Click on Save button before any user exit/BAdi gets called, I am getting the erorr message "Enter the mandatory partner".
    I have cheked a few user exits & none of them gets called after save & before the error popup.
    please give idea about implicit enhacnement ?
    Could you please let me know how to fill Coordinator field automatically?

    Hi ,
    You can check  following user exit.
    QQMA0029
    QQMA0019
    QQMA0025
    Thanks
    Shambhu

  • QM01 USer Exit to fill Coordinator Partner field

    Hi Experts,
    I am working on Notification creation Transaction QM01. The  requirement is,
    The user selects Notification type "Customer Complaint" & Provides Sales Order Number & Item number.
    In the Reference Objects Tab, User fills Coding , Description , Subject fields.
    Now when the user clicks on Save, I should fill the Coordinator field(To see this field the navigation is, in the menu Goto-> partners ) automatically based on some input criteria.
    The Coordinator field is set as mandatory in VOP2 Transaction. So when I Click on Save button before any user exit/BAdi gets called, I am getting the erorr message "Enter the mandatory partner".
    I have cheked a few user exits & none of them gets called after save & before the error popup.
    Could you please let me know how to fill Coordinator field automatically?
    Regards,
    Sudhakar Rayala

    Foundout a work around for it....Solved myself using implicit enhacnement

  • User exit for inventory to incorporte field in LI20

    Hi experts,
    In LI20, we celar the differences in WMS. here system is showing the % and it not showing the quantity and it is not in layout.
    My client is aksing to incorporate that field Quantity.
    As per my developement team there will be user exit for inventory. Can any body help on this issue or is there any way to
    acheive this issue.
    Thanks in advance.
    Thanks
    Raghu

    Hi Raghu,
    You can actually get this information via transaction LX17. In there you can change the shown layout and add additional fields such as book quantity (total quantity) and counted quantity. There is also LI13n where you can see the counted quantities.
    Hope this helps.

Maybe you are looking for