Pre-validation user exit to replace input values (unit of measure)

Hi experts,
I have a quick question in regard to applying a user exit when saving data through an input template into a real-time cube. I'm not a planning expert, but what I'm trying to achieve is to replace a field value with another one before any validations take place (folks submit a row with UoM 'TIB' and I need to change that to 'TB' before saving the data?
The issue here is that in the above exampe 'TIB' is a UOM that gets extracted from a non-SAP source and there's no ETL process in place that could take care of that before it gets input/loaded into BW (IP). Also that UOM isn't maintined in BW.
Thanks a lot,
Fabian
Edited by: Fabian Binz-Scharf on May 18, 2011 11:23 PM
Edited by: Fabian Binz-Scharf on May 18, 2011 11:23 PM

Hi,
I would add a rebooking function directly after the step where the data is loaded or entered and just change the value of UOM in the rebooking.
regards
Cornelia

Similar Messages

  • Validation user exit / BADI

    Hello to you all,
    Does anyone know of validation user exit / BADI of FI documents that were created outside of the FI? Like invoice verification in logistic?
    I found a BADI AC_DOCUMENT for substitution,
    I am now looking for validation
    Thanks In advance,
    Yoav

    Hi Yoav,
    The LIV invoice posts a MM based document and a Finance document.
    A Validation in Finance will affect the posting for the Finance document mentioned above, even though it comes from LIV - MM.
    If you want to affect the MM document, then I would suggest you post this thread on the ABAP and MM boards as some of the users there may know a user exit that can be used to validate the values posted.
    Hope this helps.

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

  • Validation user exit at asset master data

    hi all,
    at asset master data creation level, if you want to validate company code vs asset class vs equipment type, how do you define validation user exit? Also, we have so many company codes. Do we have to individually validate rules for each and every company code?
    Regards,
    Rob

    Hope the below user exits are useful:
    AAPM0001 |Integration of asset accounting and plant maintenance
    AINT0001 |Extended checks when posting an asset   
    AIST0002 |Customer fields in asset master
    Pls assign points as wa to say thanks

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

  • Validation \ User-exit \ BADI \ BTE for F-43 for missing exchange rate

    Hi,
    I maintain the exchange rate on a daily basis in TCURR exchange rate table.
    But, let's say that, by accident, in one day I fail to input the exchange rate.
    In this case, when I input a invoice in F-43, I'd like for the system to issue a warning (blocking) message saying that there is no exchange rate for that specific posting (translation) date.
    I tryed to create a validation for F-43. But the conditions available in validation are just too simple and I couldn't achieve my goal.
    However, I saw I can attach an user exit to the validation or an user exit directly in F-43.
    I found in SMOD the following user-exits for F-43 (in package FBAS), but I don't know how to use them:
    F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002 FIDCC1: Change IDoc/do not send
    F050S003 FIDCC2: Change IDoc/do not send
    F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001 Balance Sheet Adjustment
    FARC0002 Additional Checks for Archiving MM Vendor Master Data
    RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00 Line item display: Checking of selection conditions
    RFKORIEX Automatic correspondence
    SAPLF051 Workflow for FI (pre-capture, release for payment)
    Can you help me to attach an user-exit to a validation or an user exit directly in F-43 to do the specified validation?
    Or maybe this can be done with a BADI \ BTE?

    Thanks for the reply.
    I succeded creating the validation with an user-exit. I made the following steps:
    1) I created the validation in GGB0 (for document header), issuing a standard message (420 "Exchange rate not found") from message class (ZRSAU) - which is a copy of RSAU message class (in the beggining I put no pre-requisites, checks or rules, just the message).
    2) In OB28 I attached the validation (with call point document header) and I made it active (without batch input).
    3) I copied the RGGBR000 program (which is standard program with an example of validation) into ZRGGBR00 (it should be maximum 8 characters).
    Then I changed the ZRGGBR00 program (form U100) comparing the translation date (from BKPF) with the date from table TCURR (and exchange rate type M, and documents currency other than local currency).
    If the program doesn't find any exchange rate in TCURR in that date, it issues the error message (assigned in GGB0).
    4) In GGB0, I put the U100 user exit as a check and rule
    5)  In GCX2, I attached the ZRGGBR00 program to the GBLR application area (which is for user exits for validations / rules).
    Now it's working fine!

  • User Exit to derive characterstics values of COPA

    Hi
    I Am posting an FI document using the standard program rfbibl00 or through FB01.
    I have to post data to the PA segements too .
    But the problem is that i need to derive the value of Brand based upon the value to Profit centre.
    Can you help if ther is any user exit hat will be triggered where i can put in this code to derive the brand.
    Thanks
    Nikhil

    Hi,
      The follwoing user exits are available:
    Exit Name           Description
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    regards
    Aveek

  • User exit for string input in a query

    Hi All,
    I am writing a query where the user would enter a string for materials, depending on which all those materials which match that pattern should be displayed in the result set of the query.
    This report is to display the stock value of all such materials.
    I want to write a user exit for the same but have no knowledge of how to do it.
    Pl help me with the code and some documents on writing a user exit.
    Thanks,
    Sharmishtha

    You have to write Customer Exit for it.
    Take help of this how to guide:
    https://websmp103.sap-ag.de/~sapdownload/011000358700002762582003E/HowToDeriveVariableValue.pdf
    Basically nur exit code you have to make use of CP (compare pattern) in opt paramter of code:
    http://help.sap.com/saphelp_nw04s/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/content.htm

  • Profit Center Master Data - Validation - User Exit

    Hi,
    I need to add few validation to the profit center master data. If there is any user exit that I can use or is there any validation like OB28 (we have for financial accounting document) that can be used.
    Please help me out.
    Regards,
    Binay Agarwal

    We are on version 4.6C. Requirement is that while creating profit center, two fields, Budget Holder and CC Board Member field should be updated via some valid user id that exist in SAP.
    This user id would be used in work flow. This fields are free field and would accept anydata. But subsequent processes would be hindered. Same thing has been implemented for Cost center and we were able to get hold of user exit but I am struggling to find the same for profit center.
    As far as I am aware there might not be any user exit for KE51 tcode. Now only point is is there any other way (like validation) which can be setup before the data us saved so that we have control over the data being saved in these two fields.
    Regards,
    Binay Agarwal

  • User exit vriable with several values

    Hi,
    I need to use a user exit defined variable containing several values; as of now I have only used single values and plain ranges... any tips on which values to assign to the E_T_RANGE table line ?
    many thanks

    Hi Thibault,
       You can do this as multiple single values.
    Create an internal table and fill with required values. Loop from this internal table and append values one by one as multiple single values into E_T_Range.
    Sample code.
    Loop at lt_data.
    e_t_range-sign = 'I'.
    e_t_range-option = 'EQ'.
    e_t_range-low = Lt_data-<field1> .
    append e_t_range.
    endloop.
    Hope it Helps
    Srini

  • Validation user exit

    Hi,
    I'm looking for some connection between purchasing document (BELNR) and COVP table to use it in a user exit.
    And another thing: what segments are available for a programmer during validation? is there any way to check it out? i'm using COBL segment to perform my select data for my validation exception but I need a key field like BELNR to do it right. 
    Regards,
    Martin

    Hope the below user exits are useful:
    AAPM0001 |Integration of asset accounting and plant maintenance
    AINT0001 |Extended checks when posting an asset   
    AIST0002 |Customer fields in asset master
    Pls assign points as wa to say thanks

  • FI validation user exit

    hello experts,i want to implement a user exit to validate the FI document items condition combination in the TCODE ob28.
    As below example:
    if the credit item's G/L account is 123456,then the debit's G/L account must be 789012,how could i achieve it ?Thanks you in advance.

    Hi Damon,
    If you want to do validation we have two option.
    1. FI consultant can do without exit or any program change with simple validation.
    2. Copy the standard validation i.e RGUGBR00 and create new ZRGUGBR00 and give create new validation i.e form and write the logic.
    same thing add in GGB0 as exit.
    assign program ZRGUGBR00 in t-code GCX2.
    Regards,
    Raman

  • How to pass parameter in Validation User Exit

    Hi All,
    We need to create a Validation to match USER ID with PERSON RESPONSIBLE (that is maintained in Funds Center master record). This is required to ensure that only person responsible can release budget.
    How can I pass "Funds Center" as a parameter to the User Exit so that I can run database query to find person responsibel of that Funds Center.
    Regards,
    Hanif

    Hi Alex,
    I belive i could not explain the problem properly... let me write it again.
    1. I maintained Validation using  FMVABD.
    2. In PREREQUISITE I checked budget release operation using BPJA_VALID-VORGA = 'KBFR'
    3. In CONDITION I used a user exit U100.
    4. Made a copy of RGGBR000 as ZRGGBR000 and assigned it using GCX2.
    5. Added following ABAP Code in FORM U100.
    <CODE>
    b_result = B_FALSE.
    SELECT SINGLE * FROM FMFCTR WHERE BOSSID = SY-UNAME AND FICTR = '??????'.
    IF SY-SUBRC = 0.
      b_result = B_TRUE.
    ENDIF.
    </CODE>
    '??????' In the second condition of WHERE CLUASE I want to mention Fund Center for which Budget is being released.
    Another point is while maintaining validation using FMVABD, under TABLE FIELDS tab, one can find BPJA_VALID-FISTL (means Funds Center) but but I can not use in my ABAP Code.... it gives error message "BPJA_VALID" is unknown.
    My appolgies for lengthy explanation... but hope it will help understanding the issue.
    Regards,
    Hanif

  • Documents and guidelines for validating user exits

    Hey guys ... i need documents / checklists / Information regarding how to validate user exits developed . Any thing that specifiec the Do s and Donts.
    Thanks in advance
    Message was edited by: Vignesh K.R.

    hi revathi,
            I have written a program to retrieve all the custom programs, fm , and user exits. Now I want to pass each prog, each function group , each user exit to uccheck to get errors of individual by using submit statement for 'rsuniscan_final' executable program. What is the syntax to write this. I want to do the same for every function group, user exit , each infotype and programs unicode errors.
    thanks & regards,
        Sekhar.

  • COR1 -User Exit -for changing Component values

    Hi,
    We have following exits for COR1.Can anybody help me in locating the right match for my requirement.My need to change the item requiremnet quantities in material tab of COR1 t-code.
    I tried PPCO0008 & PPCO0001.For some reason it does'nt reflect the changes.
    For PPCO0008 even though i keep a break-point it is not stopping at this.
    Any ideas?
    CCOWB001            Customer exit for modifying menu entries                        
    COIB0001            Customer Exit for As-Built Assignment Tool                      
    COZF0001            Change purchase req. for externally processed operation         
    COZF0002            Change purchase req. for externally procured component          
    PPCO0001            Application development: PP orders                              
    PPCO0002            Check exit for setting delete mark / deletion indicator         
    PPCO0003            Check exit for order changes from sales order                   
    PPCO0004            Sort and processing exit: Mass processing orders                
    PPCO0005            Storage location/backflushing when order is created             
    PPCO0006            Enhancement to specify defaults for fields in order header      
    PPCO0007            Exit when saving production order                               
    PPCO0008            Enhancement in the adding and changing of components            
    PPCO0009            Enhancement in goods movements for prod. process order          
    PPCO0010            Enhancement in make-to-order production - Unit of measure       
    PPCO0012            Production Order: Display/Change Order Header Data              
    PPCO0013            Change priorities of selection crit. for batch determination    
    PPCO0015            Additional check for document links from BOMs                   
    PPCO0016            Additional check for document links from master data            
    PPCO0017            Additional check for online processing of document links        
    PPCO0018            Check for changes to production order header                    
    PPCO0019            Checks for changes to order operations                          
    PPCO0021            Release Control for Automatic Batch Determination               
    PPCO0022            Determination of Production Memo                                
    PPCO0023            Checks Changes to Order Components                              
    STATTEXT            Modification exit for formatting status text lines              
    Rgds
    Praveen

    Hi
    Try this Exit.
    PPCO0007  Exit when saving production order
    in that EXIT_SAPLCOZV_001  Function Exit.
    The structure has the fields and it will trigger while saving.
    Regards,
    Bala Krishna

Maybe you are looking for