User exit to populate data

Hii ,
I have to send IDOC  ORDERS05 to be extended to add custom fields and code an appropriate user exit . Is there any user exit to populate data ??
They have told me to use RSEOUT00 program to send the orders05 idoc . My main concern is which user exit  will I use to populate data ??what are the basic steps to populate data and send the idoc  Please let me know .
Thank you

Hi,
Please note that user exits provided in the function module IDOC_OUTPUT_ORDERS.
Use T/Code SE80 and explore function group "XVED". This will give you all the user exit functions in IDOC_OUTPUT_ORDERS.
You can write your code in Zinclude programs .
Ex: ZXVEDU03
  CASE SEGMENT-SEGNAM.
    WHEN 'E1EDK01'.
      CLEAR: WK_PLANT, WK_EQUNR, WK_BNDDT,WI_WERKS.
      CLEAR: WK_PLANT_DONE, WK_PRICE_DONE, WK_EQUNR_DONE, WK_BNDDT_DONE.
      CLEAR: WK_BAAN_LINE_PRICE_DONE.
      CLEAR: WK_BAAN_HEAD_PRICE_DONE.
      PRICING_CTR = 3.
    WHEN 'E1EDK14'.
      MOVE SEGMENT-SDATA TO E1EDK14.
      PERFORM Z_EXIT_E1EDK14.
    WHEN 'E1EDP19'.
      XVBAP = DXVBAP.
      MOVE SEGMENT-SDATA TO E1EDP19.
      PERFORM Z_EXIT_E1EDP19.
      DXVBAP = XVBAP.
and soon....

Similar Messages

  • User Exit to Populate Data in Uploading Point Field of Transaction MIGO

    Hello.
    I'm looking for a User Exit or any better way if possible, to populate data in Uploading Point at Transaction MIGO.  
    Basically my client do not want to enter directly information in this field,  in order to avoid data entry errors.
    That's why I'm looking for the user exit, to populate the information and my client selected from there.
    I appreciate your help.
    Hector

    Hi
    You can use the enhancement MB_CF001 includes a function module that is called up
    immediately before the COMMIT WORK when a goods movement is posted.
    All the material document data is passed on to this function module from
    the following tables:
    o   MKPF    (Material document header)
    o   MSEG    (Material document items)
    o   VM07M   (Update data)
    This data can be passed on to other programs.
    Regards
    Antony

  • User exit to populate data into append structure of EKET ??

    Hi all,
    My requirement is to extend the table EKET to add few more columns . Is there any user exit available for this ?  I tried appending a structure .After the columns are added what is the exit to be used to populated data into the new fields ?
    Are there any OSS notes which will explain the process on how to extend the table EKET ?
    Please help me with this .
    Regards,
    Varun .

    Hi Varun,
    You can explore this solution.
    - Create new output type for purchase order (for application EF) and assign medium '8' (special function) in transaction NACT.
    - Create new program (SE38) for medium '8' (special function).
    REPORT ZZUPDATE_EKET MESSAGE-ID E0.
    FORM SPECIAL_FUNCTION_PROCESSING USING RC
                                           US_SCREEN.
      DATA: BEGIN OF I_EKET OCCURS 0.
              INCLUDE STRUCTURE EKET.
      DATA: END OF I_EKET.
      RC = 1.
      SELECT *
      FROM EKET
      INTO TABLE I_EKET
      WHERE EBELN = NAST-OBJKY(10).
    *Now you can use FM ME_UDPATE_DOCUMENT to update EKET.
    ENDFORM.                    "SPECIAL_FUNCTION_PROCESSING
    - Maintain condition record for above new output type (NACR) so that new message type would run upon save of purchase order.
    Hope this will help and give an idea.
    Regards,
    Ferry Lianto

  • V50EPROP User Exit: Foreign Trade Data Proposal

    Hello All,
    I want to use EXIT_SAPLV50E_003 from V50EPROP(User Exit: Foreign Trade Data Proposal in MM and SD) enhancement to update the EXART field of the EIPO table.
    I have written code etc and when I run the VL02n and click on the save button, my code in EXIT_SAPLV50E_003's include does not get called at all. where as the debugger I put in EXIT_SAPLV50E_006's include gets called.
    PLease tell me anything I have missed in configuration of activation of user exit?

    Hi,
    have you create and activate project from CMOD ?
    Bye
    Roberto

  • User exit for component data in ME21n/ME22n

    Hello,
    I have a requirement to issue an error message if a component quantity is not evenly divisible by the end item quantity.  The component data (BOM) is entered after clicking the components button on ME21n/ME22n at the item level detail.  I need to evaluate the data after a user clicks save, but I cannot find a user exit where the data is passed into, or where it is defined as global data where I can reference it in a user exit.  The data is stored on the screen in structure MDPM and stored in the database in table RESB.
    I appreciate any help,
    David

    Thanks for pointing me in the right direction.
    I was able to put my code in EXIT_SAPMM06E_012 and retrieve the component data through (SAPLEINK)XMDPM[]
    Below is the code I used to assign the data to be able to evaluate it.
    FIELD-SYMBOLS: <z_mdpm_x> TYPE ANY.
    DATA: i_mdpm_x TYPE STANDARD TABLE OF MDPM_X.
    Fetching Component data
      ASSIGN ('(SAPLEINK)XMDPM[]') to <z_mdpm_x>.
      CHECK sy-subrc = 0.
    Assigning data into an internal table
      i_mdpm_x[] = <z_mdpm_x>.
      CHECK i_mdpm_x[] IS NOT INITIAL.
    David
    Edited by: David Herrema on Oct 20, 2010 3:03 PM

  • Service master user exit to populate work center description

    Hi experts,
    In IW31 work order, I need a user exit to populate the work center description to PR delivery address for control key PM03 with Service Master.  I have tried and search in vain for other BADI or user exit but none works.
    Is there anyone have solution on this?
    Thanks.
    Regards
    PSK

    My abaper has tried a few IWO1_PREQ_BADI, IW010009 and WORKORDER_UPDATE.
    Operationally, user require the work centre address as the delivery address of the services due to the company has 24 physical workshop locations.
    Anyway, will also try to create the fields in AUFK table as recommended.

  • User Exit to Populate Document number and latest Version in ME21N

    Hi,
    I am looking to populate :
    Document Type (DRAW-DOKAR)
    Document Number (DRAW-DOKNR)
    while creating Purchase order (ME21N).
    I know the tables DRAD and DRAW can be used to get Document Info by populating EKPO-MATNR as Object key.
    But is there a user exit to populate it at the time of PO creation.
    Found a BADI Document_Number01 but that does not take EKPO-MATNR as input parameter.
    Any inputs are really appreciated.

    hi,
    check these exits.
    MM06E003                                Number range and document number
    M06B0004                                Number range and document number
    M06B0003                                Number range and document number
    also check these badi's.
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer
    ME_PURCHDOC_POSTED                      Purchasing Document Posted

  • PO User Exit to Populate Field Validity End During Creation

    Hi Gurus,
    I'm currently designing a program that will perform auto-deletion of Purchase Orders that have no GRs after the latest Delivery Date of the PO line items. Our client is very strict in managing their purchasing activities hence the requirement. I'm planning to use the Validity End field on the Header level of the PO. Now, what I want to happen is that during PO creation (whether via ME59 or ME21N), a user exit will auto-populate the Validity End field using a pre-defined formula that will add a couple of days (buffer) to the delivery date.
    Is there such a user exit that can auto-populate Validity Start and Validity End?
    Thank you,
    Aivan

    Hi,
    Check the BADI :ME_PROCESS_PO_CUST
    Which can be worked for your requirement.

  • User exit to populate profit center in production order change (CO02)

    Hello,
    The requirement is to populate the profit center in production order change (Tcode CO02). I know the user exit that can populate profitcenter in CO01 but it's not called in CO02. Ther other user exits that I found are for checking but not for changing
    Is there a user exit /BADI that can acheive this requirement?
    Thanks a lot for your advise.
    Joe

    Hi,
    Use the user exit PPCO0007 ,function module EXIT_SAPLCOZV_001
    HEADER_EXP-PRCTR
    Thanks,
    Shailaja Ainala.

  • User exit for additional data B for sale order item .

    Hi., all
    my client requirement is
    (  This business requirement will make the Last Price for a given item be visible during order entry.  )
    u2022Retrieve & display during order entry, the most recent unit price given to a customer for a specific item, from the Billing data.
    . Display the Last Price under Additional Data B Screen
    add new field (last extended price) in additional data b screen.
    after that 1.     Using the Sales Order Material Number (VBAP-MATNR), Sales Order Sales Organization (VBAK-VKORG), Sales Order Distribution Channel (VBAK-VTWEG), Sales Order Division (VBAK-SPART), Sales Order Sold-to Number (VBPA-KUNNR for VBPA-PARVW=u2019AGu2019) to access the Billing Items By Material Index Table (VRPMA) and specify a billing date (VRPMA-FKDAT) of less than 60 days from current Sales Order requested delivery date (if specified at header VBAK-VDATU or at the schedule line level (VBEP-EDATU).  This will result in all the billing documents where the Sold-to bought the item but isnu2019t completely refined as of yet.  Retain the billing document (VRPMA-VBELN), item (VBPMA-POSNR), and billing date (VRPMA-FKDAT) in a temporary table to pass to number 2 as the input.
    2.     Use the billing document (VRPMA-VBELN) and item (VRPMA-POSNR) to read the Sales Document Partners Table (VBPA) where the partner function (VBPA-PARVW = u201CSHu201D) and the Sales Order Ship-To (VBPA-KUNNR for VBPA-PARVW=u2019WEu2019) to select ONLY billing documents that are for that given ship-to location.  This filters out only billing documents relevant for that ship-to location. 
    3.     From the resulting list of billing documents, select the most recent date (VRPMA-FKDAT) which will refine the search for the last Billing Document (VRPMA-VBELN) and item (VRPMA-POSNR).
    4.     Using the most recent Billing Document (VBPA-VBELN), access the Billing Document Item Table (VBRP). To result in the Last Extended Price as VBRP-KZWI1.
    5.     This price will be an extended price which needs to be calculated as a u2018unit priceu2019.  For this billing item, select the sales unit (VBRP-VRKME) to determine if the sales unit is in cases or eaches. 
    a.     If the unit of measure is in cases, then simple math is required to divide the Last Extended Price (VBRP-KZWI1) by the billing quantity (VBRP-FKIMG).  Standard rounding should apply when .005 results in a .01.
    how to achive this ?

    Hi Chakravarthy,
    use the Exits provided in SAPMV45A -includes MV45*ZZ and screen exits as well 8309 8310 8459, 8460. Just be sure to
    use zznnnnnn include in the SAP provided forms instead of coding directly in the forms.
    You can check below user exits:
    MV45ATZZ :For entering metadata for sales document processing. User-specific metadata must start with "ZZ".
    MV45AOZZ:
    For entering additional installation-specific modules for sales document processing which are called up by the screen and run under PBO (Process Before Output) prior to output of the screen. The modules must start with "ZZ".
    MV45AIZZ:
    For entering additional installation-specific modules for sales document processing. These are called up by the screen and run under PAI (Process After Input) after data input (for example, data validation). The modules must start with "ZZ".
    MV45AFZZ and MV45EFZ1:
    For entering installation-specific FORM routines and for using user exits, which may be required and can be used if necessary. These program components are called up by the modules in MV45AOZZ or MV45AIZZ.
    Reddy

  • User Exit for reading data from a hierarchy in BW-BPS

    Hello Forum,
    How can i fetch all the records from a particular node in a Hierarchy using a user exit in a variable in BW-BPS,
    Plz Help,
    Regards,
    KK

    Hi,
    This is a sample code that may help you.
    DATA: BEGIN OF wa_val,
            from TYPE rsleaffrom,
            to   TYPE rsleafto,
          END OF wa_val,
          tb_val LIKE wa_val OCCURS 0 WITH HEADER LINE,
          tb_grpval_ce LIKE wa_val OCCURS 0 WITH HEADER LINE,
            tb_ce_val   TYPE rshi_t_hienode,
            tb_ce_intervl TYPE rshi_t_interval,
            wa_hiedirkey TYPE rshi_s_rshiedirkey,
            tb_node_val TYPE rshi_t_hienode,
            tb_interval TYPE rshi_th_interval,
            wa_interval TYPE rshi_s_interval,
    SELECT SINGLE hieid objvers FROM /bi0/haccount
                    INTO wa_hiedirkey
                    WHERE nodename = group-name.
      CALL FUNCTION 'RSSH_HIERARCHY_READ'
        EXPORTING
          i_rshiedirkey     = wa_hiedirkey
          i_date            = sy-datum
        IMPORTING
          e_t_rsnodes       = tb_node_val
          e_th_rsinterval   = tb_interval
        EXCEPTIONS
          invalid_hierarchy = 1
          name_error        = 2
          iobj_not_found    = 3
          OTHERS            = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    thanks
    pratyush

  • User exit for save data in T.code PA40 ABAP-HR

    Hi Expart,
    what is the user exit which is trigger when we save the data through pa40 transaction which check the latest update in the database.
    Kindly give me exit name .

    Hi Vikash ,
    Please refer to below Exits :
    HRPBAS01            User Exit for HR Master Data
    HRPC0001            HR: PC download authorization
    HRRPAI01            User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
    PARA0001            Enhancement for Determining the Number of Periods
    PARA0002            Enhancement for Calculating Annual Salary; IT0008,14,15
    PBAS0001            PA: Pers.Admin./Recruitment: Default values and checks
    PBAS0002            PA: Enhancements for Personnel Administration - Menu
    PBASRP01            PA: User exit distributed reporting
    Hope this will help you.
    Regards,
    Nikhil

  • User exit for actual dates in CJ20N

    I have a req,  When i start any activity i enter date in user field in actual dates as displayed in below pic
    Now when i enter date in user field it should be copied to actual  start date field in dates tab as shown in below pic
    Kindly suggest the user exit needed for it
    Best Regards,
    Nitesh H Panchal

    Hi Nilesh,
    Try this with Substitution & Validation rule.
    You want AFVGD-ISDD should have same detail as of AFVGD-USR08.
    However with the help ABAPer you can achieve this easily.
    Regards,
    Pranav

  • User Exit for delivery Date Update in ME41

    Hi,
    I want to Create one User Exit which will Update the Delivery Date of All Line Items ,same as of Item one.
    Detail : When creating RFQ using tcode ME41, create with Reference to PR, add your collective Number and copy few line items from your PR, say 5 items selected, now  when come to RFQ it asks to change item details if require,
    now here i want to change Delivery date of item one and when putting new delivery date, and press enter then it should update all (remaining 4 ) items delivery date same as of item one. so that user do not need to update all items delivery date one by one.
    is there any user exit/Enhancement Spot available which get triggered after pressing enter when changing the items?
    Thanks in advance.
    Regards,
    Sujeet

    Hi,
    Check these enhancements:
    ME590001           
    MEETA001           
    MEFLD004           
    MELAB001
    Jitendra

  • User  exit to populate BSEG field during billing doc release

    Hi,
       Can anyone identify for me a suitable user exit during Billing Document Release that will allow me to populate a field in bseg?
    Many thanks,
    Ross

    I got it, thanks anyway.

Maybe you are looking for