User exit to overwrite the exchange field value in me31k

Hi All,
I am trying to find a user exit to overwrite the field EKKO-WKURS on me31k screen. I have tried a couple of exits in enhancement MM06E005 but non are getting called.Only exit  'EXIT_SAPMM06E_006' is called but it is not changing the value of wkurs.
I had added the following code in exit 'EXIT_SAPMM06E_006'
I_EKKO-WKURS = '0.8888'.
but the screen value is not changed.Please let me know if any other enhancement exists to do this ? or whether my code itself is wrong.
I have a 'ME_PROCESS_PO_CUST' which is activated for overwriting PO header exchange rate for me21n transaction only.Is that causing a problem ?
Please help.
Kind Regards,
Shital

Hi Shital!
Have you been trying ME_PROCESS_OUT_CUST badi? It is for contract processing.
I can't advice you a method, because i don't know at what moment u need to change currency value.
May be INITIALIZE or OPEN methods will help you.

Similar Messages

  • Billing user exit to overwrite the service rendered date with billing date

    Hello,
    My client would like to determin the rebate conditions based on billing date. However, the system only uses the service rendered date for rebate determination.
    Therefore, I am trying to overwrite the service rendered date with billing date at the time of billing creation.
    Could you please let me know what user exit I can use?
    I can't user the user exit RV60AFZC because the billing date is not determined when this user exit is running.
    Your help would be appreicated! I will give you good points! Thanks

    Hi Londa,
    Try using one of the following includes for your requirement.
    (a.) rv60afzz
    (b.) rv60afza
    (c.) rv60afzb
    (d.) rv60afzd
    (e.) BAdi SD_CIN_LV60AU02
    or if you are working with ECC 6.0 use the Enancement Spot ES_SAPLV60A available from SE80 by giving package VF and then selecting Enhancements and then expanding Enhancement Spots
    Hope these are helpful to you. Reward accordingly.
    Thanks and Regards,
    Maddineni Bharath.

  • How to retrieve the value of field in user exit EXIT_SAPMF(in the include)

    Hello All,
    I am using user exit EXIT_SAPMF02K_001 for limiting the user to input the PAN number upto 10 character and first 4 character should be alphanumeric.I have done the logice and its running fine. The problem i am facing is that i could not get the screen input in the include where i have written the code ie. i am not able to get the screen field when the user exit is executed .In short i m not getting the value of the field ie(J_1IMOVEND-J_1IPANNO) in the code which i have written in the include.
    Can you pls tell me how do i get the value of the field PAN in the code . I have debug the program and it doesnot show any value.
    Reply ASAP.
    Thanks in Adv.
    Pravesh Deshbhratar

    Hi ,
    The Transaction code used is FK02.
    Secondly when i am using the debugger the i m getting into the INCLUDE Of the User Exit EXIT_SAPMF02K_001.
    So i dont think i am using incorrect user exit.
    what is required is field value in the include of EXIT_SAPMFO2K_001.
    Thanks
    Pravesh

  • Badi and user exit active at the same time ?

    Hi All,
    Please let me know whether
    1> I can have a BADI and a user exit both active at the same time for the same enhancement?
    2> I can have a BADI and a user exit both active at the same time but they are for different purpose.
        eg: BADI       -- > to change statistical date of po item line on ME21N screen
              User Exit -- > to change the exchange rate on PO header on me21n screen
    Please response to the second point... as this is what I am working on.
    Regards,
    Shital

    Hello,
    Thanks for your response.This is my code.
                             WSA_header = IM_HEADER->GET_DATA( ).
                              wsa_header-wkurs = '0.6668'.
                           CALL METHOD im_header->set_data
                                EXPORTING
                                       im_data = wsa_header.
    Kind Regards,
    Shital

  • User exit to sense the field value change ?

    Hi Guru,
    Our ABAPer created 4 customized fields in "Addition data A" and the requirement is once the value of these customized fields' are changed, copy (overwrite) the changed value to material description on the "sales" View
    Is there any user exit can sense the value change from the customized fields ?
    Thanks
    Eric
    Edited by: Eric Y on Aug 11, 2008 11:45 PM

    USEREXIT_CHECK_VBAP in program MV45AFZB is called when the field is changed.
    /Torben

  • BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N

    Hi,
    I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
    Please could anyone help me with this .
    Regards,
    Sushanth H.S.

    Hi!
    User Exits in Transportation
    In Transportation, there are enhancements that you can use with transaction CMOD.
    For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
    You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
    Business Add-Ins in the transports
    Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
    Customer-specific functions can be executed before the save time and after the database update.
    The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
    AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
    BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
    IN_UPDATE: BADI is called up after the database update.
    Standard Settings
    Creating a BADI method:
    Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
    On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
    Afterwards, go to the heading and activate the interface.
    Regards
    Tamá

  • How can i do a variable User exit that present the values before execute

    Hi Gurus,
    How can i do a variable User exit that present the values before execute, i need this:
    a variable that calculate SYS-DATUM until 30 days before (I got the code) but this  variable run automatic because is user exit, i want this variable but first present the values, not execute automatic, this is because the users want the report that automatic present the values , help

    Hi,
    Refer the below links,
    http://documentation.softwareag.com/natural/nat424mf/pdf/ops_mf/conf_usrex.pdf
    http://www.erpgenie.com/component/content/article/1097
    http://www.apentia-online.at/UP/Apentia/files/Article/SAP_BW_User_Exits_and_BAdIs.pdf
    Hope it helps you,
    Regards,
    Ravindra.

  • User Exit for making the field Bill of Lading Mandatory in Delivery

    Please suggest an User Exit for making the field Bill of Lading Mandatory in the Delivery document when we create an inbound delivery.

    Hi,
    I'm not sure, pls check these
    USEREXIT_SAVE_DOCUMENT_PREPARE
    EXIT_SAPLV46H_001
    NOTIF_EVENT_SAVE
    thanks
    Mohanprabu C

  • User exit to change the value of ltbp-wempf

    Hi,
    Is there any user exit to modify the value of ltbp-wempf during Transfer requirement creation ?

    It is also ok, if i can get a way to modify MSEG-wempf during production declaration. (MFBF)

  • Exchange Rate: Routine to copy  the "Exchange Rate" value From TCURR table

    Dear experts,
    I have created a cutomised Key Figure (ZEXCHRATE) with the 0currency as the unit and this field is included in my ZCOPA_C21 Infocube.
    In the update rule, it was then appointed with a simple routine below;
    (PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: TCURR.
    DATA: IT_TCURT Type TCURR occurs 0 with header line.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CSZCOPA_TPL_IS
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/VZCOPA_C21T-/BIC/ZEXCHRATE
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
      SELECT        * FROM  TCURR appending corresponding fields of table
      IT_TCURT
             WHERE  KURST  = 'M'
             AND    FCURR  = 'USD'
             AND    TCURR  = 'IDR'.
          AND    GDATU  = ___.
          AND    UKURS  = ___.
      Sort IT_TCURT by GDATU descending.
      Loop at IT_TCURT.
        Move IT_TCURT-UKURS to RESULT.
        Exit.
      Endloop.
    result value of the routine
    RESULT = space.
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine)
    Which will basically copy all the contents of TCURR into an internal table (IT_TCURT), sort it and then only copy out the UKURS (Exchange rate) data into the customised ZEXCHRATE to get the latest exchange rate value.
    Routine was checked and its fine.
    The problem is, upon checking the update rule, it returned an error message;
    "No Unit maintain for Key Figure Exchange Rate Local".
    Double checked the declaration of ZEXCHRATE, the unit was there.
    My questions;
    1. Is this the correct way of doing it ? I just want to be able to show the exchange rate value in my query (hence the existence of ZEXCHRATE).
    2. Is there an alternative way of achieving the same result ?
    Your help or advice will be greatly appreciated.
    Thanks
    KG

    Hi Sreeni,
    Referring to the " but the conversion from VEF to USD is happening at a rate @0.23256 which is valid till 02/13/2013 only" part in your post, the date given in OB08 for currency rate is valid from and not valid till.  Hence, please check the setting once.  Once you enter the rate from 02/13/2013, the rate is valid till you enter another date later than 02/13/2013.
    Regards,

  • Need a user exit to modify the quantity schedules in a sales contract

    Hi,
      I am using ECC 6.0 with IS OIL. Need a user-exit to update the quantity schedule(table OIA05) in the sales contract VA42.
    I have a new field called timestamp in the table OIA05 which needs to be updated with the timestamp value.
    I tried the user exit MV45AFZZ in USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT to update the values. But the new values are not being reflected. Can you please help me in this regard.
    Thanks,
    Best regards,
    Ajith

    that will allow me to append an initial line with <accit> pointing to the line. Therefore I just have to modify <accit> and the new line will then have my changes?
    Yep, that is exactly it.    So after the APPEND statement, simply fill the fields of the <accit>.
    append initial line to im_document-item ASSIGNING <accit>.
    <accit>-field1 = 'Blah'.
    <accit>-field2 = 'Blah'.
    Regards,
    Rich Heilman

  • User Exit to stop the creation of PO

    Dear All,
    I have a typical problem , we have 2 servers both running on ECC 6.0.
    I tried creating a PO and I kept a break point in the exit EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) in server1 and the control stops here and I can check all the values from the table EKKO .
    I implemented my user exit in server 2 in the same exit EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) , when I tried to debug , I was suprised to see that the control never comes in this FM EXIT_SAPMM06E_013 , but server 1 and server 2 are both ECC6.0
    Is there any customization which I had to check from my end , so that the control can go through this user exit.
    Even if I don't implement this user exit , shouldn't the flow be going the way it was in server 1 ( I mean control going through EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) Kindly advise..
    Best Regards,
    Srinivas Gummadi.

    Hi Srinivas,
    You need to create a project in CMOD and assign the enhancement to the project.
    The project should be activated otherwise the user exit will not be triggered.
    Regards,
    Vinod

  • How to find user exit implemented in the program

    how to find user exit implemented in the program or standerd transaction

    try this program to get the list of all the user exits for a transaction...
    *& Report  Z_USER_EXIT                                                 *
    *REPORT  Z_USER_EXIT                             .
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
      TABLES : tstc,     "SAP Transaction Codes
               tadir,    "Directory of Repository Objects
               modsapt,  "SAP Enhancements - Short Texts
               modact,   "Modifications
               trdir,    "System table TRDIR
               tfdir,    "Function Module
               enlfdir,  "Additional Attributes for Function Modules
               tstct.    "Transaction Code Texts
    *& Variables
      DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
      DATA : field1(30).
      DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
      SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
      SELECTION-SCREEN SKIP.
      PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
      SELECTION-SCREEN SKIP.
      SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
      START-OF-SELECTION.
    Validate Transaction Code
        SELECT SINGLE * FROM tstc
          WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
        IF sy-subrc EQ 0.
          SELECT SINGLE * FROM tadir
             WHERE pgmid    = 'R3TR'
               AND object   = 'PROG'
               AND obj_name = tstc-pgmna.
          MOVE : tadir-devclass TO v_devclass.
          IF sy-subrc NE 0.
            SELECT SINGLE * FROM trdir
               WHERE name = tstc-pgmna.
            IF trdir-subc EQ 'F'.
              SELECT SINGLE * FROM tfdir
                WHERE pname = tstc-pgmna.
              SELECT SINGLE * FROM enlfdir
                WHERE funcname = tfdir-funcname.
              SELECT SINGLE * FROM tadir
                WHERE pgmid    = 'R3TR'
                  AND object   = 'FUGR'
                  AND obj_name = enlfdir-area.
              MOVE : tadir-devclass TO v_devclass.
            ENDIF.
          ENDIF.
    Find SAP Modifactions
          SELECT * FROM tadir
            INTO TABLE jtab
            WHERE pgmid    = 'R3TR'
              AND object   = 'SMOD'
              AND devclass = v_devclass.
          SELECT SINGLE * FROM tstct
            WHERE sprsl EQ sy-langu
              AND tcode EQ p_tcode.
          FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
          WRITE:/(19) 'Transaction Code - ',
          20(20) p_tcode,
          45(50) tstct-ttext.
          SKIP.
          IF NOT jtab[] IS INITIAL.
            WRITE:/(95) sy-uline.
            FORMAT COLOR COL_HEADING INTENSIFIED ON.
            WRITE:/1 sy-vline,
            2 'Exit Name',
            21 sy-vline ,
            22 'Description',
            95 sy-vline.
            WRITE:/(95) sy-uline.
            LOOP AT jtab.
              SELECT SINGLE * FROM modsapt
              WHERE sprsl = sy-langu AND
              name = jtab-obj_name.
              FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
              WRITE:/1 sy-vline,
              2 jtab-obj_name HOTSPOT ON,
              21 sy-vline ,
              22 modsapt-modtext,
              95 sy-vline.
            ENDLOOP.
            WRITE:/(95) sy-uline.
            DESCRIBE TABLE jtab.
            SKIP.
            FORMAT COLOR COL_TOTAL INTENSIFIED ON.
            WRITE:/ 'No of Exits:' , sy-tfill.
          ELSE.
            FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
            WRITE:/(95) 'No User Exit exists'.
          ENDIF.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'Transaction Code Does Not Exist'.
        ENDIF.
    Take the user to SMOD for the Exit that was selected.
      AT LINE-SELECTION.
        GET CURSOR FIELD field1.
        CHECK field1(4) EQ 'JTAB'.
        SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
        CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

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

  • User exit when saving the user profile

    Hi All,
    Is there any user exit exist which get triggered whenever any SAP user profile is saved.
    Thanks in advance,
    Harkamal

    Hi harkamal,
    <b>I dont think that any user exit is present for the code :SU01.</b>
    If you want to check the user exit. please find the below code and execute in SE38  you will get the Userexit related to the  TCode.
    *& Report Z7CC_USEREXIT_TRANSACTION_CODE
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.

Maybe you are looking for

  • How do I transfer files from an old macbook to the new air?

    I just received a new macbook air...I am stumped on how to transfer files and more specifically on how to get the Microsoft office for mac onto the harddrive since there is no cd drive!

  • Optimum setting for LiveTrace

    Using Adobe Illustrator CS3 Livetrace feature. But why is the tracing function in Flash render more effective (and closer) vector objects (specially with low resolution pictures)? What is the optimum setting for Livetrace?

  • How do I download Camera Raw?

    I just downloaded LR5 and wanted download Camera Raw. When I went to the directed page in the Product site I got a go description of the Camera Raw but no instructions on how to download.

  • Cant find adobe audition trial

    ive installed the download assistant but it doesnt show me the audition trial - when i go to the adobe page to download the trial it just tells me to download and install the download assistant again - and around in circles= could it be adobe wants m

  • How do I change Imac OS 10.7 color depth?

    Im using an Imac with Mac OS 10.7.3.  I am trying to use a Citrix to open some files but I get the error message that display is configured for 65536 colors and is not supported.  I need to us 24 or 32 bit color.  I cannot figure out how to make this