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

Similar Messages

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

  • 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

  • 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

  • User exit today's date vs. last week

    hi all,
    Can anyone send me the ABAP code to get the previous week data from today's date (user entry).  I created a variable in qry but i need to write the user exit code.
    I'll assign points.
    thanks

    hi SKB,
    just sent 'how to derive var doc' to [email protected],
    try
      DATA: L_S_RANGE TYPE RSR_S_RANGESID.
      DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
      CASE I_VNAM.
      WHEN 'yourvar'.
        IF I_STEP=2.    "after the popup
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                  WHERE VNAM = 'variablename where user entry'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW - 7.
            L_S_RANGE-SIGN     = 'I'.
            L_S_RANGE-OPT      = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
      ENDCASE.
    hope this helps.

  • 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

  • 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

  • In Bdc I have huge volume of data to upload for the given transaction

    Hi gurus,
    In Bdc I have huge volume of data to upload for the given transaction, here am using session method, it takes lots of exection time to complete the whole transaction, Is there any other method to process the huge volume with minimum time,
    reward awaiting
    with regards
    Thambe

    Selection of BDC Method depends on the type of the requirement you have. But you can decide which one will suite requirement basing the difference between the two methods. The following are the differences between Session & Call Transaction.
    Session method.
    1) synchronous processing.
    2) can tranfer large amount of data.
    3) processing is slower.
    4) error log is created
    5) data is not updated until session is processed.
    Call transaction.
    1) asynchronous processing
    2) can transfer small amount of data
    3) processing is faster.
    4) errors need to be handled explicitly
    5) data is updated automatically
    Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is
    not bi-directional.
    BDC works on the principle of simulating user input for transactional screen, via an ABAP program.
    Typically the input comes in the form of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The transaction is then started using this internal table as the input and executed in the background.
    In ‘Call Transaction’, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling. It can also be used for real-time interfaces and custom error handling & logging features. Whereas in
    Batch Input Sessions, the ABAP program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.
    Batch Input (BI) programs still use the classical BDC approach but doesn’t require an ABAP program to be written to format the BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and invokes the transaction mentioned in the header record of the file.
    Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate fields and directly load the data into tables using standard function modules. For this reason, DI programs are much faster (RMDATIND - Material Master DI program works at least 5 times faster) than the BDC counterpart and so ideally suited for loading large volume data. DI programs are not available for all application areas.
    synchronous & Asynchronous updating:
    http://www.icesoft.com/developer_guides/icefaces/htmlguide/devguide/keyConcepts4.html
    synchronous & Asynchronous processings
    Asynchronous refers to processes that do not depend on each other's outcome, and can therefore occur on different threads simultaneously. The opposite is synchronous. Synchronous processes wait for one to complete before the next begins. For those Group Policy settings for which both types of processes are available as options, you choose between the faster asynchronous or the safer, more predictable synchronous processing.
    By default, the processing of Group Policy is synchronous. Computer policy is completed before the CTRLALTDEL dialog box is presented, and user policy is completed before the shell is active and available for the user to interact with it.
    Note
    You can change this default behavior by using a policy setting for each so that processing is asynchronous. This is not recommended unless there are compelling performance reasons. To provide the most reliable operation, leave the processing as synchronous.

  • User exit before TO creation to chage MAKTX field or FM to change it after

    Hi all,
         I need some WM Expertise help.
         When I create a Sales Order from program (with bapicreatefromdata2) , the system automatically create a delivery, and then, a transfer order with no immediate confirmation. The TO is manual confirmed. In bapicreatefromdata2 I completed on each item line the field ARKTX with a description (Example: red - material description ). This field is automatically completed in delivery( same field ARKTX). But I need this description also in transfer order for each line (field MAKTX). The TO is created automatically and  the field MAKTX is completed with the description from the material master.
         So, I need an user exit before TO creation to change the field MAKTX. I have tried user exit: MWMTO001 and is not working I think because the TO is created with no immediate confirmation. Also I putted break-point everywhere in program SAPML03T (standard program for TO creation)  and  I changed the settings in debugger mode. I checked System Debugging and Update Debugging. Nothing happened. I cannot find the place before TO is created.
         An alternative to this is to update LTAP (item table for TO) after TO immediate creation in include MV45AF0B_BELEG_SICHERN but I can't find a function module to update the table before TO manual confirmation. I tried L_TO_UPDATE_PREPARE but this I think is for confirmed TO.
         Any one who worked on this kind of things, Please help.
         Thanks in advice,
         Bogdan

    check these exits....                  
    EXIT_SAPMM06E_012 
    <b>EXIT_SAPMM06E_013</b>
    EXIT_SAPMM06E_014 
    EXIT_SAPMM06E_006 
    EXIT_SAPMM06E_007 
    EXIT_SAPMM06E_018 
    EXIT_SAPMM06E_016 
    EXIT_SAPMM06E_017 
    vijay

  • 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

Maybe you are looking for

  • Why did my Apple logo turn blue at start up?

    At start up, the Apple logo turned blue (originally gray).  The outline of the logo also became pixelated, containing the colors red, green, yellow, etc. I also have this problem where whenever I am using an application (during the first hour after s

  • Hiding the save button in transactions

    Hi all, Can anyone please tell me how I can hide the post button button in transactions FB60, FB65, FV60, FV65, FB70, FB75, FV70 & FV75. My client would want all transactions to be parked and authorised via workflow. Thanks for your help in advance

  • Is 4gb of RAM would be enough for AE CS5?

    Hi  guys, I have a problem that bothers me sometime. I have 4gb of RAM  running 64bit windows 7 and I use a lot of heavy programs like after  effects, 3ds max, CAD, photoshop, etc. Is 4gb enough for my computer or  should I increase my RAM? Please so

  • Why is TB re-syncing/re-load with GMail all messages each time I open TB? Slows down TB by much each time.

    Why is TB re-syncing/re-load with GMail all messages each time I open TB? It does slow down quite heavily. e.g. It takes almost 5 mins to just write a simple short email, since ''freezing'' at every 3-4 caracters. All other programs on the computer w

  • Error message when attempting to upload from Flip camera

    When attempting to download flip videos, I get a message stating that usb device was disabled because it was taking too much power from the computer. This just started suddenly.  I'd downloaded video from the same camera to this MacBookPro just the d