Changing of Exchange Rate in MIGO via BADI/User Exit

Hi gurus, I am facing a scenario where I have to amend the exchange rate before posting of GRS. Is there a BADI or User Exit that I could use?

Hi,
While creating Purchase order we mention the Exchange Rate there in Header Detail for Delivery/Invoice Tab. To do excahange rate before GR means Change the exchange rate in PO.B ecause in mIGO the excahnge rate will be taken from PO.  u can change the exchange rate in Me21n or in OB08.I f the excahange rate selectedas fixed you can't change the excahange rate keep as it is and fix the indactor as fixed.  Hope it works. Thanking you.

Similar Messages

  • Changing Exchange Rate for MIGO using BADI

    Hi all,
    While processing <b>IMPORTS GR</b>.....
    How can I change the Exchange Rate by using <b>BADI</b>
    Regards
    Rajkumar

    Hi,
    While creating Purchase order we mention the Exchange Rate there in Header Detail for Delivery/Invoice Tab. To do excahange rate before GR means Change the exchange rate in PO.B ecause in mIGO the excahnge rate will be taken from PO.  u can change the exchange rate in Me21n or in OB08.I f the excahange rate selectedas fixed you can't change the excahange rate keep as it is and fix the indactor as fixed.  Hope it works. Thanking you.

  • Change exchange rate according BLDAT via BADI - FI_TRANS_DATE_DERIVE

    Hello all,
    i need to change exchange rate according document date in FB60. I implemented BADI for that purpose according oss note 575249. Translation date has been updated according document date but exchange rate is still derived from posting date. My new translation date is ignored for exchange rate derivation. Where should be a problem?
    Thanks, zd.

    Hi,
    Can you please tell us which BADI did u implemented. Did you used FI_TRANS_DATE_DERIVE ?
    Did u finally got the solution for it??
    Thanks for help.

  • Change of Exchange rate in VA02

    Dear Experts
    We have sales order which is having around 5 line item and in that 1st line item alone has been invoiced in January and later items still not invoiced
    In the month of February, the invoice for 1st line item has been cancelled , so to avoid exchange rate difference when we create invoice for cancelled invoice, we have maintained exchange rate in Sales order Header details-Accounting tab manually and created invoice successfully with old exchange rate.
    Now i want remove the exchange rate in Sales order because it will affect the other line items which has not yet invoiced but when in go to va02-Sales order header details-Accounting -Exchng rate-acct field was grayed out.
    Kindly help me out how to remove the exchange rate from sales order header details-Accounting tab or is there any way that it should not effect the line items for which still invoiced has not created
    Thanks and regards
    Ramarao.pokuri
    9010272000

    Hi,
    Ideally, we should not touch the exchange rate. It should always be automatically determined by the system.
    However in this case, the first line item is controlled manually.
    For the rest of the line items, please select the relevant condition type on which the exchange rate is effected. Doube click on the condition type. There you can see the exchange rate between various currencies. In this place you can change the exchange rate manually. This will be copied to invoice if the pricing is not redetermined in teh invoice. If there is redetermination of prices in invoice, you may have to do the same thing in invoice also.
    Lemme know if you have any doubts.

  • Change the exchange rate of a line item manually

    My company has an issue regarding the exchange rates.  We are in a country using EURO.
    Though from one of our vendor we take prices in USD. In our pricing procedure in the sales orders we post the price of the vendor and in the prices we maintain another condition type for our profit.
    In the case of the vendor price that gives us USD, we have want to give the price in the usd and the system to translate the usd in eur (in the next line of the procing procedure) accourding to an exchange rate that the user will give per line item.
    At the moment the system thanslates the price to eur accourding to the exchange rate from the system (automatically) and I haven't have the possibility to change the predifined exchange rate manually as I want to do.

    Hi,
    Exchange rate are maintained in the T.Code "OB08".
    Goto the T.Code "OB08".
    Change the exchange rate as per your requirement.
    If you want to get different currency then goto the T.Code "XD02".
    Enter your customer number,Company code and sales area.
    Goto Sales area data.Sales tab.
    Change the currency to your value as per your requirement.
    If you create a new order with that customer,then we will get this new currency.
    After creating the invoice,pass the accounting document number into "FB03" and enter the company code and fiscal year.
    Enter.
    Click on "Currency".
    It gives you the value in base currency.
    Regards,
    Krishna.

  • Implications of change of Exchange Rate Type from P to M in Version in CO

    Hi SAP Experts,
    We have a requirement to change the exchange rate type in Versions. In fact, exchange rate type P has been configured in Version 0. This version is being used in Costing Variant PPC1. Price updations are being made with this costing variant. Costing Variant PPC2 is being used for internal evaluations. No price updations have been done using this costing variant.
    Client wants exchange rate type M in a new version to use in costing variant PPC2. I have created a new version X and assigned exchange rate type M in new version X. I have assigned the same version in Receiver version of Profitability Analysis and Version for indicators actual.allocations in Orders/Projects tab in T-code OKEQ. In Settings for Operating Concern, I have assigned currency type "Operating Concern currency" and exchange rate type M. Cost center activity price planning (KP26) has been done with new version X for all the cost centers.
    My question is "Will the above changes affect any Plan or Actual values of other versions existed in the system ?"
    Please let me know will there any affect on already planned data in the system with any version.
    Thanks in advance.
    Best Regards,
    K.S.K

    I don't think it's going to impact other versions but you may need to do simple test for other versions. One more thing is versions are controlling area specific and the M or P rates will be applied based on value date you setup in OKEQ configuration.
    You don't need to assign the version for  'Version for ind.act.alloc.'  indicator until unless you use WBS for project planning. By default it will be assigned to zero version.
    Thanks
    BR

  • BADI / USER-EXIT to change Vendor Material Number in ME21n

    Dear Sir,
    We are looking for a BADI/USER-EXIT  in Tcode ME21n , which can change the Value of  "Vendor Material Number" (Vendor Material Number is available under Item Detail in "Material" Tab . The value which need to be populated in the Field "Vendor Matreial Number" is  equal to first 4 character of the Item Code .
    I request the SAP Experts to kindly guide me with a sample Code please .
    I will be highly grateful for the kind help pl .
    Regards
    B Mittal

    Hello B.V.,
    User-Exit:
    First open the relevant Module Pools for ME21n via SE38. Then search for all CUSTOMER_FUNCTION 'xxx' where xxx is a 3 digit number. This number is linked to a User-Exit EXIT_<Module Pool>_xxx. Then investigate this function for it IMPORT parameters. In your case there has to be an interface for "Vendor Material Number".
    For to implement the required changes use the by SAP delivered include ZX<something> inside this function.
    BAdI:
    1. Search in IMG
    2. Find Enhancement Point in the relevant Module Pool.
    Hope this helps,
    Heinz

  • BADI, User Exit before FI document is posted during GR posting in MIGO

    Hi Gurus,
    In transaction MIGO, whenever a goods receipt is posted, a corresponding FI document is then created. I am in need of a BADI, User Exit, or other forms of enhancements that is triggered before this FI document gets posted because I have to edit data in the header (BKPF) and detail (BSEG) part, specifically the fields BKPF-XREF1_HD (Reference key 1) and (BSEG-ZUONR) (Assignment).
    The field XREF1_HD is to be populated with the vendor number from MIGO (GOHEAD-LIFNR)
    The field ZUONR is to be populated with the PO Number from MIGO (GOITEM-EBELN)
    Regards to all,
    Joseph

    Hi,
    I am on 4.6C.
    We are using EXIT_SAPLF048_001 of enhancement F180A001 for the same.
    Please note that control comes here for no of SAP transactions, hence you need to take care of it by executing your logic only for a particular SAP transaction.
    I hope this helps,
    Regards
    Raju Chitale

  • BADI/User exit for MIGO fi postings

    Hello Experts,
    I have one requirement regarding at the time of MIGO accounting entry is generating based on the OBYC settings,now the client want along with this entry, want to create one more FI document through background,In the background we will give the debit g/l and credit g/l.That means at the time of MIGO two FI documents has to generate one is with OBYC setting gl's and second FI entry is from programe hard coded gl's.
    For this requirement has any BADI/USER Exit.I appriciate your valuable inputs.
    Regards,
    Nivas.

    Hi,
      May I know why you need two accounting documents?
      You may refer the similar thread: BADI / Exit required for MIGO for posting FI document
      And about the number ranges - I would suggest a custom number range object and a different number range for these additional documents.
      Also refer the doc: Methods to find Customer/User Exit's & BADi's for a Transaction Code!
    Regards,
    AKPT

  • BADi/User Exit in J1IEX/MIGO

    Hi.,
    While capturing excise invoice in MIGO, iI wanna to make excise material type NONCENVATABLE as default for those items which has JMIP (Inventorized duty) in Purchase Order.If the material is maintained as Raw/asset/consumable/tools & if JMIP condition is maintained for that material in PO,then while capturing excise invoice in MIGO,it should take the excise material type as NONCENVATABLE.
    Are there any Badi/User Exits for this?
    Please guide on this issue
    Thanks & Regards,\

    Check with function module "J_1IEX_DETERMINE_CHAPTER_ID" & "J_1IEX_FILL_EXCISE_ITEMS"..

  • Availability Check in VA02 via BADI or Exit

    Dear Gurus,
    We have a user requirement wherein, when we change the "delivery block" the "Schedule line category" should also get changed and the availability check which is happening in VA02 generally has to get triggered(Schedule Line Screen).
    We could change the "Schedule Line Category" with respect to the "Delivery Block", but the "Availability Check" is not getting triggered.
    We need to trigger the availability check also here.
    Is there any function module, BADI,User exit,Enhancement Spots for handling this?
    Should this be handled in the SPRO? If yes how?
    We tried using "RV_AVAILABILITY_CHECK", but this is not triggering "Availability Check" in BADI/User Exit.
    Kindly, help us for the same.
    With Regards,
    Jagan.

    Dear Carti,
    Thanks for the response.
    The enhancement spot we used is "ES_SAPFV45E" of program "SAPFV45E"
    CONSTANTS: C_VA01 TYPE TCODE VALUE 'VA01',
                C_VA02 TYPE TCODE VALUE 'VA02',
                C_AUART TYPE VBAK-AUART VALUE 'ZEOV',
                C_LIFSP TYPE VBEP-LIFSP VALUE 'ZN',
                C_ZC TYPE VBEP-ETTYP VALUE 'ZC',
                C_CP TYPE VBEP-ETTYP VALUE 'CP'.
    IF SY-TCODE = C_VA01 OR SY-TCODE = C_VA02.
    IF VBAK-AUART = C_AUART.
    IF VBEP-LIFSP = C_LIFSP.
       VBEP-ETTYP = C_ZC.
    ELSEIF  VBEP-LIFSP = ''.
         VBEP-ETTYP = C_CP.
    ENDIF.
    ENDIF.
    ENDIF.
    Please note that we have created a separate dummy program for "RV_AVAILABILITY_CHECK" function module wherein we have passed all the parameters as passed by the standard in VA02 schedule line screen manually.For checking purpose,while executing this program we are not getting any error and as well as we are not getting the desired result:
    TYPE-POOLS: V03V.
    TYPES: BEGIN OF T_V03V.
             INCLUDE STRUCTURE HV03V.
    TYPES:   EINTEIL TYPE V03V_XMVERF,
            END   OF T_V03V.
    DATA: BELEG LIKE  VBAK-VBELN,
           MATERIAL LIKE  VBAP-MATNR,
           POSITION LIKE  VBAP-POSNR,
           WERK LIKE  VBAP-WERKS,
           I_KUWEV LIKE  KUWEV,
           AVBBD LIKE STANDARD TABLE OF  BV03V WITH HEADER LINE,
           XMVERF_POS TYPE STANDARD TABLE OF T_V03V WITH HEADER LINE,
           EINTEIL TYPE V03V_XMVERF WITH HEADER LINE.
    CLEAR: BELEG,
            MATERIAL,
            POSITION,
            WERK,
            I_KUWEV,
            AVBBD,
            XMVERF_POS.
    REFRESH: AVBBD,
            XMVERF_POS.
    BELEG = '0053049158'.
    MATERIAL = 'GX720'.
    POSITION = '000001'.
    WERK = '1010'.
    I_KUWEV-KUNNR = '0000005001'.
    I_KUWEV-NAME1 = 'ABCD'.
    I_KUWEV-STRAS = '1ST STREET'.
    I_KUWEV-PSTLZ = '12345'.
    I_KUWEV-ORT01 = 'US'.
    I_KUWEV-LZONE = '0000000001'.
    I_KUWEV-ABLAD = 'XYZ'.
    I_KUWEV-KNFAK = 'T1'.
    I_KUWEV-DWERK = '1010'.
    I_KUWEV-VSBED = '02'.
    I_KUWEV-KTOKD = '0001'.
    XMVERF_POS-MATNR = 'AB720'.
    XMVERF_POS-WERKS = '1010'.
    XMVERF_POS-UPDKZ_WK = 'D'.
    XMVERF_POS-POSNR = '000001'.
    XMVERF_POS-MTART = 'KMAT'.
    XMVERF_POS-MTVFP = '01'.
    XMVERF_POS-SUMBD = 'A'.
    XMVERF_POS-CUOBJ = '0000000000000A1852'.
    XMVERF_POS-FABKL = 'T3'.
    XMVERF_POS-WZEIT = '15'.
    XMVERF_POS-DZEIT = '1'.
    XMVERF_POS-DISMM = 'PD'.
    XMVERF_POS-BESKZ = 'E'.
    XMVERF_POS-SOBKZ = 'E'.
    XMVERF_POS-KNTTP = 'E'.
    XMVERF_POS-KZVBR = 'E'.
    XMVERF_POS-VBELE = '0053049158'.
    XMVERF_POS-POSNE = '000001'.
    XMVERF_POS-VKORG = '1500'.
    XMVERF_POS-VTWKU = '15'.
    XMVERF_POS-GRKOR = '001'.
    XMVERF_POS-ANTLF = '9'.
    XMVERF_POS-AWAHR = '100'.
    XMVERF_POS-MEINS = 'PC'.
    XMVERF_POS-UMVKN = '1'.
    XMVERF_POS-UMVKZ = '1'.
    XMVERF_POS-VRKME = 'PC'.
    XMVERF_POS-VSTEL = '1010'.
    XMVERF_POS-LADGR = '0003'.
    XMVERF_POS-TRTRM = 'X'.
    XMVERF_POS-VSTRM = 'X'.
    XMVERF_POS-VSBED = '02'.
    XMVERF_POS-TRAGR = '0001'.
    XMVERF_POS-VFPPR_POS = 'X'.
    XMVERF_POS-KZAZU = 'X'.
    APPEND XMVERF_POS.
    EINTEIL-MBDAT = '20140411'.
    EINTEIL-TDDAT = '20140411'.
    EINTEIL-LDDAT = '20140411'.
    EINTEIL-WADAT = '20140411'.
    EINTEIL-EDATU = '20140411'.
    EINTEIL-PRGRS = '1'.
    EINTEIL-WMENG = '1'.
    EINTEIL-VFPMNG = '1'.
    EINTEIL-GRULG = '9999'.
    EINTEIL-ETENR = '0001'.
    EINTEIL-ETTYP = 'CP'.
    EINTEIL-BDART = '04'.
    EINTEIL-PLART = '6'.
    EINTEIL-SUMBD = 'A'.
    EINTEIL-VFPKZ = 'X'.
    EINTEIL-ATPPR = 'X'.
    EINTEIL-UPDKZ = 'U'.
    EINTEIL-LFREL = 'X'.
    APPEND EINTEIL.
    *XMVERF_POS-EINTEIL-MBDAT = '20140411'.
    *XMVERF_POS-EINTEIL-TDDAT = '20140411'.
    *XMVERF_POS-EINTEIL-LDDAT = '20140411'.
    *XMVERF_POS-EINTEIL-WADAT = '20140411'.
    *XMVERF_POS-EINTEIL-EDATU = '20140411'.
    *XMVERF_POS-EINTEIL-PRGRS = '1'.
    *XMVERF_POS-EINTEIL-WMENG = '1'.
    *XMVERF_POS-EINTEIL-VFPMNG = '1'.
    *XMVERF_POS-EINTEIL-GRULG = '9999'.
    *XMVERF_POS-EINTEIL-ETENR = '0001'.
    *XMVERF_POS-EINTEIL-ETTYP = 'CP'.
    *XMVERF_POS-EINTEIL-BDART = '04'.
    *XMVERF_POS-EINTEIL-PLART = '6'.
    *XMVERF_POS-EINTEIL-SUMBD = 'A'.
    *XMVERF_POS-EINTEIL-VFPKZ = 'X'.
    *XMVERF_POS-EINTEIL-ATPPR = 'X'.
    *XMVERF_POS-EINTEIL-UPDKZ = 'U'.
    *XMVERF_POS-EINTEIL-LFREL = 'X'.
    APPEND XMVERF_POS.
    CALL FUNCTION 'RV_AVAILABILITY_CHECK'
       EXPORTING
         AUFRUFER                = 'A'
         BELEG                   = BELEG
    *   CALL_MODUS              = ' '
    *   ERGEBNISUEBERGABE       = ' '
         MATERIAL                = MATERIAL
         POSITION                = POSITION
         VBTYP                   = 'C'
         WERK                    = WERK
         I_KUWEV                 = I_KUWEV
    *   DIALOG_FORCE            = ' '
    *   TRTYP_V_FORCE           = ' '
    *   VGTYP                   = ' '
    *   LOGIC_CONT              =
    * IMPORTING
    *   DIALOG                  =
    *   SPERRE                  =
    *   SETDELTA                =
       TABLES
         AVBBD                   = AVBBD
         XMVERF_POS              = XMVERF_POS
    *   MDVPK_QU                =
    *   VVBFS                   =
    *   XEKPO                   =
    *   XEKET                   =
    *   QUOTA                   =
    *   IQUOTA                  =
    *   XQUOT_VB                =
    *   XQUOT_CH                =
    *   XCATALOGUE              =
    With Regards,
    Jagan

  • BADI / user-exit for MD02 while creating Schedule Lines

    Hi experts,
    I have a problem with implementation that I'm designing.
    Current situation:
    While MRP run (MD02 or background) new Schedule Lines are being created in reference to MM Scheduling Agreement.
    Example:
    04.08.2014
    SchLne
    5500000415/00010
    200
    04.08.2014
    IndReq
    VSFB
    200-
    05.08.2014
    SchLne
    5500000415/00010
    300
    05.08.2014
    IndReq
    VSFB
    300-
    2 Schedule Lines where created - for wuantity 200 and 300.
    Target:
    There is a need to create more than one Schedule Line per day during MRP run. According to example there should be for example 2 Schedule Lines in 04/08 and 3 Schedule Lines in 05/08 all for quantity = 100. There is possibility to change Schedule Lines in ME38, but there is a need to make a change during creatin while MRP run.
    04.08.2014
    IndReq
    VSFB
    200-
    04.08.2014
    SchLne
    5500000415/00010 *
    100
    04.08.2014
    SchLne
    5500000415/00010 *
    100
    05.08.2014
    IndReq
    VSFB
    300-
    06.08.2014
    SchLne
    5500000415/00010 *
    100
    06.08.2014
    SchLne
    5500000415/00010 *
    100
    06.08.2014
    SchLne
    5500000415/00010 *
    100
    So instead of creating only 2 Schedule Lines, MRP should create 5.
    I'm looking for a BADI/user-exit to edit Schedule Lines which are to be created by MRP and change it tn reference to the needs.
    I found only one BADI:
    BADI:    MD_CHANGE_MRP_DATA
    method: CHANGE_MDPSX_MDBS
    The priblem is that this method is only being executed when there are Schedule Lines which already exist.
    Maybe some of you have done some extension similar to mine? Please give me advice where I should put extension.
    Thanks in advance!

    Dear Saravaran,
    Thanks for the reply.
    This will not suits to us. The provided BADI will works upto Posting the material document in transaction MIGO and it will not considered for the FI level entries.
    Hope you could have understand mine requirement.
    The requirement of mine is:
    While doing the GR with ref to PO the material documnet will be posted and subsequently FI documnet  will be  generated in Background. While generating the FI document i need to manipulate the values for the G/L. So that the manipulated values will be flow into BKPF and BSEG tables.
    Thanks.
    Regards
    Swamy

  • BADI/User Exit for KO02

    Dear Experts,
    When I'm setting the BUDGETED status manually to Internal Order (With out distributing the Budget to Order in IM52) and after if I m setting RELEASE status the system is accepting. So, I want to stop this without giving the budget in IO, it should not accept to release IO.
    This is not possible with User Status, coz' User may go and set manually "REL" Status.
    can anyone suggest me the BAdi/User Exit for KO02(Internal Order Change) tcode.
    Thanks,
    Sanju.

    When you set a User status , you can assign an Authorization Object on who can change the status .
    Follow the path in SPRO--> Controlling --> Internal orders --> Order Master Data > Status Management> Define authorization Keys for Status Management
    Define Authorization Keys for Status Management
    In this step you define authorization keys which you can use to set up authorization checks when you manually set or delete a user status. When the system sets a user status as a reaction to business transaction, it does not perform an authorization check.
    When you set or delete a user status, the system checks whether the user is authorized for this action. In addition to the status profile and the object type, the system also checks the authorization key assigned to the user status in question.
    Example
    You want to define that certain user statuses can be changed only by a specified employee group.
    To do this, create an authorization key and assign it to the relevant user statuses.
    In the general authorization maintenance you can then assign authorizations for this key via the authorization object B_USERSTAT.
    Activities
    1. Check whether you want to define authorizations for your user statuses.
    2. If necessary, create authorization keys as follows:
    a) Choose "New entries".
    b) Enter a key and an explanatory text in the appropriate fields and choose "Save".
    You have now created the authorization key.
    3. Assign the authorization key to one or more user statuses in your status profile.
    4. Define corresponding authorizations and include them in the relevant authorization profiles.

  • BADI/user exit for transcation code "BP" in CRM

    Hi Experts,
    Is there a BADI / user exit that is triggered after successful saving/updating of Business Partner using transaction code "BP"?
    We want to send general infos such as partner number, Name, Birth date, etc. about the business partner being created/updated using IDoc.
    We are using CRM WinClient 4.0.
    If you know  the steps on how this requirement will be done, kindly post them.
    Thank you very much.

    I don't have any CRM system at hand, but I'm sure there are some BAdI's for this. Look in SE18 for BP or BUS, and i'm sure  you will find something.
    One suggestion though: Before going for the BadI, try and see if CRM also uses change pointers for sending Idoc's . This case you wont need any user exits / badis, an probably no programming at all.
    Transaction
    BD50: Activate Change Ptrs for Mess. Type
    BD61: Activate Change Pointers - Generally
    and use report RBDMIDOC for triggering IDoc.

  • BADI / user exit for Tcode IW32?

    Hi
    Are there any BADIs  / user exits for changing component data in Transaction IW32 for a maintainance order?
    regards
    cs

    Enhancement                                                                               
    IWO10012                                Maintenance order: Priority handling on central header                                                                               
    Business Add-in                                                                               
    IWO_UI_USEFLEX                          BAdI for Calling Up an Alternative UI                  
    I hope it helps.
    Best Regards,
    Vibha
    Please mark all the helpful answers

Maybe you are looking for

  • Sum in word doesn't work in PLD

    I have used Sum in word button in PLD. But to my surprice it prints hundred for the value after decimal. For example value in  field is 133603.52 and the sum in word function prints One hundred thirty three thousand six hundred and three and fifty-tw

  • Cannot convert documents

    Cannot convert documents error: Multiple workflows cannot be active at the same time. Click OK to see the progress of the previously started workflow. Nothing happens when I hit ok. I have closed all files. I have removed reader and reinstalled it, I

  • ITunes Store Cache Reset

    in iTunes 9.1 Prefs>Advanced there is an option to reset the Store Cache. Does anyone know exactly what is reset? What is kept in that cache? What ramifications are there in resetting it?

  • Opening Compressed CAB Files

    Hi, I'm writing a java program that needs to open files compressed in the CAB file format. I'm not familiar with Microsoft products, and so far I haven't been able to find anything in Java that works. I thought I could use the ZipFile class, but that

  • Importing troubles Elements 9 organizer

    Im getting the following error when i try to import my pictures into the organizer in elements. Since it gives me this error it will not import all my subfolders in my watch folder and i have had to go through and import each subfolder manually avoid