User exit to update extended segment in idoc for va01

Hi Experts,
I am working on Outbound IDOC interface for VA02 and VA01
I am using ORDERS05 IDOC type
i want to create one custom segment
and i want to fill that custom segment
but i am not able to find user exit to update this custom segment
please help.

Akshay,
I think you want to send order response for the orders created via Va01 or edited by Va02
To do this steps are:-
1) Use FM IDOC_OUTPUT_ORDRSP to send order response (ORDERS05)
2) Find the function exits in this Fm using search string as " Call Customer-function".
3) Use include in the exits to write code to append new segments to the IDOC. Look for the Tables parameter in the Exits which are of structure type EDIDD. Insert new Segment details in this table and your IDOC will be generated with required values.
Hope this helps!!
Harry

Similar Messages

  • User exit to update Vendor Confirmation in ME22N

    Hi,
    I am adding a subscreen at the header level using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST. This new sub screen at the header level will have fields like confirmation category, delivery date..etc., and a push buttom called 'CONFIRM'. When the user selects the line items to be confirmed and clicks the 'CONFIRM' button the data from the customer subscreen should be copied to the item details(in Confirmations tab).
    The problem is with the confirmation tab. I need an user exit to update this. When the PO is saved confirmation should be created and EKES table should be updated.
    Any useful information will surely be rewarded
    Thanks in advance
    Antony.

    Hi
    Following enhancements are available....
    Transaction Code - ME22N                    Change Purchase Order
    Exit Name           Description
    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MM06E011            Activate PReq Block
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    Hope this helps to solve ur problem....
    <b>do reward if useful....</b>
    regards
    dinesh

  • User Exit to update user status at VA01/VA02

    Hi Expert
    Please help identify any User Exit to update User Status stored in tables (JSTO/JEST), at time of sales order (Business Object 2032) creation / change.
    Requirement is to set check mark on a specific user status in case of a material master is missing HTS code.
    Regards-Aamir

    Hi,
    If your requirement is to set the check the HTS field in the material master, you can make the field as Mandatory without which the  Material cant be saved
    You can make this field mandatory in OMS9 transaction code with field status as 89 and the field is MARC-STAWN
    Please revert if you need more details
    regards,
    santosh

  • User exit to update characteristic attributes in sales order

    Hi all,
    I am having one queer requirement.
    We are having variant configuration. We are manufactiuring a material which is having lenght as one of the characteristic.
    While creating the sales order the user will enter the value against length. This we have to pull in the inspection lot with range.
    For ex. if the length required by customer is 1000 mm then depending upon the tolerance limit say +/-1.5 %, another characteristic should get updated with the allowed range (here in this example the lower range  985 and upper range 1015) against another characteristic.
    This characteristis will sever as class characteristic for QM master inspection characteristic.
    Here the problem is the functionality can't be mapped with object dependency in satandard SAP (you can't derive range with object dependency), so I am looking for user exit to update the second characteristic depending upon the value of first characteristic and allowed percentage.
    The user exit should be effective for sales order creation as well as sales order change.
    Please help.

    Hello Nikhil,
    I am looking for the tolerance limit to upadte against one char only and not two separate chars.
    If the range is against only one char (and that too again in numeric format and not characteristic format) same shall can be pulled against master inspection characteristic in inspection lot.
    Looking forward for the soution.
    Mimiri

  • How to find which are the user exits that updating z table.

    There was a question posted by someone else which said:
    I have a z table. my requirement is to find the user exits that update the value to this table?
    but my requirement is to get only those user exits that update my z table.
    Before that question was rejected, it got 5 replies which made me think that this tip is worth sharing.
    So the steps are:
    Do a where-used list search from SE11
    Click on Search Range button at bottom
    Type UPDATE (you can also add Insert, Delete etc to select-option) to ABAP Key Words field
    Say No to the popup that asks whether to include Fields of the Table
    Result will show relevant programs with code snippets doing static Update on that custom table.

    EWK1 would be too performance heavy in this case. It scans the source code to get the result.
    You can however, download the list of programs given in where-used list, and give that as limiting condition in EWK1 or some other code scanning utility.
    Using my method, where-used list of table is taken from database tables, and then code scanning is done only on the that list, not on entire Z* programs.
    Try it yourself to notice the speed difference.

  • Re: User Exits on Updating and Integrating

    Carl,
    I sent this out to the list some time ago. But in case
    you missed it here it is again.
    Below is a zip file (UUencoded) containing instructions
    on integrating Forte with Microsoft SourceSafe. It may
    contain enough information for you to figure out how to
    tap the repository callouts that happen on integrations.
    -Fred
    [email protected]
    >
    I was reading an old Forte v3.0 presentation on whats new in Forte v3.0.
    One of the proposed features was a set of primitives for defining user exits
    on updates and integrations.
    I haven't seen any facility for this in Forte v3.0g though. Has this in fact been
    done ? Does anyone have any information on this.
    Thanks,
    -Carl
    Carl Schei
    Technical Forte Consultant
    South Africa
    +27 31 3641765 (w)
    email : [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>------------------------------------------------------------------------
    Any views expressed in this message are those of the individual sender,
    except where the sender specifically states them to be the views of
    Reuters Ltd.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Although not a direct answer to your question, this blog series will help you to understand the difference better :
    /people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners
    /people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework

  • User Exits on Updating and Integrating

    I was reading an old Forte v3.0 presentation on whats new in Forte v3.0.
    One of the proposed features was a set of primitives for defining user exits
    on updates and integrations.
    I haven't seen any facility for this in Forte v3.0g though. Has this in fact been
    done ? Does anyone have any information on this.
    Thanks,
    -Carl
    Carl Schei
    Technical Forte Consultant
    South Africa
    +27 31 3641765 (w)
    email : [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    You can use the BADI:MB_MIGO_BADI. In this badi you could check the header by using the method status and header.
    Hope this solves your problem.
    Regards,
    Narayani

  • VA02 user exit - cannot update append structure field in XVBAP/VBAP

    Hi Guys,
    I am currently using one of the many user exits in updating XVBAP to update the VBAP sap table in VA02.
    However I am encountering a problem when updating a customized append structure field. When I change the value of the append structure field only it doesnt update in VBAP upon save event. Only when I also change a sap standard field (ARKTX) the append structure gets updated.
    Is there a way to resolve this wherein even if I just XVBAP-<append structure field> only ... the corresponding field in VBAP gets updated?
    THanks guys and hope to hear from you soon.

    Hi,
    Which userexit subroutine are you using to move the append structure field values to the XVBAP table?  Are you having the user enter values on a screen during VA02 for the append structure fields, or are you setting those values within the code when the user saves?  For the purposes of this response, I will assume you are not having the user enter the values, and that (from what you have described) you are using subroutine userexit_move_field_to_vbap. 
    While userexit_move_field_to_vbap sounds logical at first, you should be aware that this subroutine (which is called at the end of module vbap_fuellen) may only be called when one of the chain fields (in the flow logic of the VA02 screen) is changed.  If you search for all the calls of module vbap_fuellen in screens of SAPMV45A, you will see that most of them have a list of chain fields with "on chain-request" logic.  Since your append structure fields will not be listed in the flow logic of the standard VA02 screen, changing one of the append structure fields alone would not trigger the PAI module vbap_fuellen.  Of course, changing a standard VBAP field (ARKTX was your example) could trigger the vbap_fuellen module (as long as it was one of the chain fields) which would consequently trigger the userexit_move_field_to_vbap subroutine.
    You may want to consider trying USEREXIT_SAVE_DOCUMENT_PREPARE.  Please explain further if I have misunderstood your question. 
    Anyone else out there have any ideas?  Does my analysis make any sense?
    Best Regards,
    Jamie

  • BADI or User exit to update the data in a PO(ME22N or ME21N)

    Hi,
    I require a BADI or an user exit to update all the line items of a PO...
    Please let me know if there is a badi or user exit that triggers before the saving of the PO..and also updates the values of all the item data fields..
    Thanks in advance
    Regards
    Shiva

    Hi,
    we have checked above BADI;s but will not suffice the requirement;
    The requiement is
    While Creating PO(ME21N) and Changing PO(ME22N):
    When the user tries to Save the PO:
    All the line items should be accessible and can be editable.
    If the validation fails, error message should be displayed on
    the screen and user should be able to edit at that location.
    Please let me know if there is any other way or enhancement point for the same...
    Regards
    Shiva

  • IDOC user exit to update the document flow of the delivery

    Hi all,
    Scenario:-
    There is an inbound idoc for delivery through which the delivery is getting posted ...while reprocessing the idoc (BD87) i need to update the dates on document flow of the delivery. The date to be updated is coming from the idoc.
    I have the function module(RV_DOCUMENT_FLOW_UPDATE_U) to update the document flow but i am not sure in which user exit it can be placed. I tried checking for some exits but nowhere i can find the delivery number to which i need to update through the FM.
    I am using the standard idoc with the message type as -DELORD and the basic type as 'ORDERS03'.
    Kindly provide user exit where i can use the date coming from the idoc (IDOCDATA) and where i can find the delivery no also.
    Thanks,
    Neslin.
    I have closed the other thread there is no more duplication.

    I already checked VEDA0001, but the tables for the delivery is not getting populated as it is processing through BD87(Reprocessing Idoc). Is it advisable to use the export import parameter?. Exporting the idoc data from any of the user exit in VEDA0001 and importing it in some other exit where the vbeln is available.?
    Thanks,
    Neslin.

  • Idoc user exit to update the document  flow of delivery

    Hi all,
    Scenario:-
    There is an inbound idoc for delivery through which the delivery is getting posted ...while reprocessing the idoc (BD87) i need to update the dates on document flow of the delivery. The date to be updated is coming from the idoc.
    I have the function module(RV_DOCUMENT_FLOW_UPDATE_U) to update the document flow but i am not sure in which user exit it can be placed. I tried checking for some exits but nowhere i can find the delivery number to which i need to update through the FM.
    I am using the standard idoc with the message type as -DELORD and the basic type as 'ORDERS03'.
    Kindly provide user exit where i can use the date coming from the idoc (IDOCDATA) and  where i can find the delivery no also.
    Thanks,
    Neslin.
    Edited by: neslin on Jul 12, 2010 5:44 PM
    Moderator message: cross-post locked.
    Edited by: Thomas Zloch on Jul 12, 2010 2:27 PM

    Check for the enhancement VEDA0001
    Go to smod and refer to the further documentation for the same..
    Hope it helps.
    Thanks and regards

  • Which user exit in FM IDOC_INPUT_ORDERS  to take IDOC segment E1EDP01 Plant

    If the EDI inbound create order  IDOC segment E1EDP01-WERKS is populated with plant code. Can some one please inform what user exit in FM IDOC_INPUT_ORDERS I need to modify to capture the plant code (E1EDP01-WERKS )  from IDOC and use to create and save that plant on a new order.
    We saw that in "LVEDAF5N" other fields like  E1EDP01-LPRIO are being moved from the incoming IDOC, but nothing for E1EDP01-WERKS.
    We are hoping that we can use any of the SAPLVEDA exist ......EXIT_SAPLVEDA_XXX but not sure which one.....so if some one out there has some information please share ......

    Try with the below exits.
    EXIT_SAPLVEDA_004
    EXIT_SAPLVEDA_005
    Thanks,
    Srinivas

  • User Exit to call program to create IDocs.

    Hi All,
    For any creation/changes of material master using MM01/MM02 (after save ) one of the user exit will trigger.
    From the user exit, I have to call the custom program to create MATMAS IDOCs.
    if any failures in changes/creation of material master. It has to roll back eveything created by program.
    Please let me know how to achieve this with out calling an event.
    Thanks - Vinay

    There are a number of standard methods to automatically create the IDOC.  You can activate the change pointers and depending on need, use BD64 to create a distribution model, and create the necessary WE20 setups to create the outbound IDOC.
    If you have to process the IDOC using custom logic, you can define that as well - although it's not clear why you need a custom generating program.  You can insert code into one of the IDOC user-exits to manipulate the content if needed.  Also, don't overlook the pre-delivered stuff from SAP that provides filtering out of segments and the like.
    There are a few good SAP PRess books about doing ALE distribution -- if this is an unfamiliar area, it's worth the cost to buy one -- if you spend any time around IDOCS, you'll appreciate it.

  • User exit to modify the segment E1IDB02 data

    Hi SAP Experts,
    I have a requirement to change the data in the segment E1IDB02  field FIIKONTO before generating the IDOC.
    I'm using the transaction code F110 for payment and the program in payment run transaction is RFF0EDI1,  message type PAYEXT and the Basic Idoc type PEXR2002.
    I have tried the user exit 'EXIT_SAPLIEDP_002' to modify the data, but it is not triggering that user exit I guess, even tried by putting 'BREAK-POINT' as well but still it is not stopping the control at that particular point.
    This is for outbound idoc creation.
    note : I have activated everything like project, function module etc.
    Please kindly let me know whether I am using the correct user exit or not and if not please kindly provide me the correct user exit.
    Thanks in advance.
    kalikonda.

    Hi Pawan,
    Thanks for your prompt reply.
    I tried all ways as you told but still it is not stopping.
    Also implemented the sap note 937966 (RFFOEDI1: User exits EXIT_SAPLIEDP_002 and PEXR2002)
    but still no result.
    Is there any other way where I can modify the data in the segment  E1IDB02?
    Thanks,
    kalikonda.

  • User-exit after updating PO from Order response ?

    Hi All,
    We are looking for a user-exit after the Purchase order is updated from an order response.
    With this user-exit we would like to trigger a WF to the user to carry out transaction YE22N, with the WF the user(PO creator) can execute and update the PO.
    Any feedback, tips would be helpfull and for sure points reward.
    Thanks & Regards,
    Nameeth

    Hi Anand,
    Sorry for the confusion., try to explain here.
    During the updation of PO from inbound ORDSP IDoc, we have a transaction YE22N to confirm if the changes in ORDSP is accepted or not.
    So we would like to automate this so that after the PO is update/saved from ORDSP IDoc, then we can trigger a workflow to send email to the PO creator.     
    If its still confusing then, "I would like to know if there is a user-exit or if Workflow can be triggered after updating PO" ?
    Regards,
    Nameeth

Maybe you are looking for

  • Connecting iphone to PC hotspot

    Hello, I have iphone 5S.I have internet connection through LAN with my PC.I made it a hotspot and made internet sharing available.But when I switch ON wifi in iphone. my hotspot network with "No authentication" is detected.When I click on it to conne

  • Forms - Calls to stored procedures instead of standard database actions

    After discovering Reports, I'm now getting started with Forms in APEX. :) While I like the basic functionalities offered by the different Wizards, there's one thing that bothers me. After creating your form, you basically get 3 buttons (not counting

  • Since upgrade to iOS6 Facetime is grainy.  any suggestions?

    since upgrade to iOS6 Facetime is grainy.  any suggestions?

  • Why in my Layout section the All floating section not work in Abobe Elements 12?

    I have Adobe Elements 12, and I'm having trouble in the Layout section at the bottom of the screen.  Within the Layout section I can use all the layouts except the All floating.  When I first used Elements 12 this was working but all of a sudden it s

  • RFUMSV00-VAT TAX REPORT

    Hi All, Can somebody provide the guide line / over all view/ importance  of the below selection parameters at the above report : RFUMSV00 / Transacion: YBE_FIXX_VAT Radio button of New posting Radio button of Old posting If the Tax Procedure assigned