BI 7 Bex Query - User exit variables after variable screen re-processed

User exit variables are not re-calculated after the variable screen is called up to re-run report with a new selection.  Is there some way to force the user exit variables to change?   I am aware of note 1064273 but this doesn't seem to help in these circumstances.
Example:
My Bex Query uses OI_FYPER for a static characteristic selection and  I have defined a customer exit formula variable which uses the values in OI_FYPER.
All works fine when the query is run first time but if the user calls up the variable screen to change the selection and re-run the query, the customer exit formula variable is not re-calculated (customer exit is called but only with ISTEP = 3).
Software version is NS2004S (BI 7.0)  SPS10, BI ABAP SP11, BI JAVA SP10, BI Front End Package 1401 rel 354.

hi.. i just came to know about this in another thread..
I_STEP 3 does not have I_VNAM stored. So, to access values at I_STEP3 :
data: l_range TYPE RRS0_S_VAR_RANGE.
if I_STEP = '3'.
read table I_T_VAR_RANGE into L_RANGE with key VNAM = 'OI_FYPER'
if SY-SUBRC = 0.
...code as required...
endif.
endif.
Customer-Exit for analysis Authorizations: i_step = 3, i_vnam is empty

Similar Messages

  • User-exit not triggered(variable)

    Hi mates,
    I have two variables A (fiscal year), B(calmonth interval) and both of type user-entry(replacement type).  I defined C varible of type user-exit(replacement type). In C, i'm reading A & B values and checked whether B's interval is in A.
    eg: A input is 2007 (means 04.2006 to 03.2007).
    B  input interval 03.2006 to 10.2006.
    In C i'm checking whether B's interval is in A (fiscal year).
    Based on B's value, dynamically i have to show  input & output layouts. I defined one function module for C, but it's not triggering after entering input values in plng folder.
    How to trigger user-exit immediately after user enter input values? (without selecting dependent input or output layout tabs, these input or output layout uses varible B interval values for dynamically showing calmonth columns).
    Previously i defined few varibles like above, there user-exits triggered only after i choosing related input or output layout tabs.
    thanks,
    Raju

    The user exit written in the variable will be triggered if that variable is used anywhere in folder or layout or function or called in the logic of any other variable. In your case, C is not used anywhere that why it is not executing this code. For the required functionality, you have to create planning function of type exit and place this code. Run this function on layout open or folder opening something like this.

  • What are the User Exit Available after saving a Billing Documents

    Hi,
    What are the User Exit Available after saving a Billing Documents
    Regrds,
    Binayak

    Hi
    Check the following Exits for VF01 Tcode
    V61A0001                                Customer enhancement: Pricing
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    SDVFX010                                User exit item table for the customer lines
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    Business Add-in
    SD_CIN_LV60AU02                         BADI for billing
    VOR_WA_FAKTURA                          Billing before Goods Issue
    Reward points if useful
    Regards
    Anji

  • User Exit for For Variable G_Set_Formula_Exit on Report Writer

    Hi SAP Experts,
    I want to create user exit for formula variable for Cost Center Group with alphanumeric type ( like 1KOSET- but 1KOSET is a set variable). I will use it as one of my row formula in report writer.
    There is one alphanumeric user exit example, which is Controlling Area (#S010) in GS13. SAP message said that I can create other alphanumeric user exit by using user exit G_Set_Formula_Exit.
    Can someone advice on how to implement this user exit?
    Your advice on this issue is highly appreciated.
    Thanks,
    CW

    Hello Ce Wie,
    Were you able to implement G_SET_FORMULA_EXIT? I am also very interested on this issue.
    Thanks!
    Josep

  • How to find user exit for a perticular screen?

    Dear all,
    Can some one tell me how to find user exit for a perticular screen?
    ex: MC88 screen can we figure out are there any user exit for that screen!!
    Regards,
    Vj

    User exits are built into the Standard SAP code. You just activate them and insert your code into the include programs.
    Here is a program that will list the user exits per transaction code. Not perfect, but it may help.
    report z_find_user_exit no standard page heading.
    tables: tstc, tadir, modsapt, modact,
            trdir, tfdir, enlfdir, tstct.
    data : jtab like tadir occurs 0 with header line.
    data : hotspot(30).
    parameters : p_tcode like tstc-tcode obligatory.
    at line-selection.
      get cursor field hotspot.
      check hotspot(4) eq 'JTAB'.
      set parameter id 'MON' field sy-lisel+1(10).
      call transaction 'SMOD' and skip first screen.
    start-of-selection.
      perform get_data.
      perform write_list.
          FORM get_data                                                 *
    form get_data.
      select single * from tstc
                  where tcode eq p_tcode.
      check sy-subrc eq 0.
      select single * from tadir
                where pgmid = 'R3TR'
                  and object = 'PROG'
                  and obj_name = tstc-pgmna.
      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.
        endif.
      endif.
      select * from tadir into table jtab
                 where pgmid = 'R3TR'
                   and object = 'SMOD'
                   and devclass = tadir-devclass.
      select single * from tstct
              where sprsl eq sy-langu
                and tcode eq p_tcode.
    endform.
          FORM write_list                                               *
    form write_list.
      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.
    endform.
    SMOD, is where you can find the system modifications provided by SAP. CMOD is where you will implement them. If you are looking for all the enhancements provided, then go to CMOD, follow the menu, 'Utilities-->SAP Enhancements'. This will take you to a screen where if you just execute it, you will get all the enhancements provided by SAP.
    It is always difficult to find a user exit if all you have is a program name or a transaction code, unless you do a program like Rich suggested. But even there, you will not be able to find user exits that are implemented as sub-routines(also called forms not sapscript forms). Most of the user exits are documented under the corresponding task under IMG structure. So use transaction code SPRO, go to the IMG structure, choose the application area that your program or transaction might be and then you should find a task that talks about enhancements. If you execute that task most often it will take you to CMOD and sometimes to SE38. But all you want to know is there in the documentation attached to the task. Then you can go to CMOD and see which components are there.
    Regards,
    Amey

  • Writing a User exit for a Variable in Bex Query

    Hi Guys,
    I need some urgent help on this.  I appreciate your help.
    I have a variable ZVAR1 ( Store id) in a query.  This processing type is manual entry.
    There is another variable ZVAR2 (0Orgunit).  The value in ZVAR2 should be populated by converting the ZVAR1 value that the user entered.
    The master data 0orgunit has the marriage between these two.
    So i guess I need to write a user exit to populate ZVAR2 from ZVAR1.  How can I do that.
    Please help me out on this.
    Thanks a lot,

    Hi,
    You can read the value of ZVAR1 from I_T_VAR_RANGE in your exit coding.
    Then perform the required manipulation to populate ZVAR2.
    Thanks,
    Balaji

  • User exit for Date variable in Bex

    Hi All,
    I have a report based on an ODS which displays employee and its records. 'BegDate' is the only field in the variable selection screen. The requirement is to display all the records for which the 'Begdate' should be less than equal to the given date(in the variable selection screen). Obviously, I need to go with a user exit in background. I want to know -
    1. What should be the properties that has to be set to the date variable ?(I need only one selection box and not two which we generally have for ranges)
    2. Based on the date, how should I fetch the records? I need to fetch it from the active table of my ODS ?
    3. What is the correct syntax? I am getting some different results through my exit. Please specify the exit code clearly.
    Regards,
    Srinivas

    Why do you want to have an exit for this? As far as I understood you have a variable which contains a single date and you want to display all entrys where a given InfoObject has a value less than or equal to the value.
    You can do this the following way.
    Choose Restrict on your InfoObject
    Right at the top there is a box where you can choose Value ranges (or similar, only have the German client at hand)
    Next you get three boxes at the right middle side. Choose Less than or Equal in the top of the three. One of the boxes disappears.
    Press the button with the two squares right besides the lower box.
    In the drop down box at the top you can choose variables. Finally select the standard single value variable you want to use.
    Best regards
    Dirk

  • User exit triggered after clicking on PGI button in vl02n

    What is the user exit which gets triggered after clicking PGI booton in vl02n.
    i used 'MV50AFZ1' which interrupts the process of creating material document.
    so pls tell me any User exit which can be used before the process of creating material doc gets started

    Hey,
    Have you tried with this?
    MV45AFZZ
    MV45AIZZ
    MV45AOZZ
    MV45ATZZ
    or...
    VMDE0004
    VMDE0003
    VMDE0002
    VMDE0001
    V53W0001
    V53C0002
    V53C0001
    V50S0001
    V50R0004
    V50R0002
    V50R0001
    V50Q0001
    V50PSTAT
    V02V0004
    V02V0003
    V02V0002
    V02V0001
    Not sure if possible...buy maybe
    Bye,

  • User exit in after posting MIGO

    All experts:
        do there some user exit after posting the MIGO, I want to posting the goods receipts data to other Transaction code after do the MIGO at one time, thank you for advance.

    Hi Philip,
    I think we can go ahead, with program SAPFPAYM.
    There is an enhancement point in
    INCLUDE fpaym_end.               "End Of Selection of program SAPFPAYM. At the end of this include you can call your function module.
    You may need the help of an ABAPer to call your FM,as this FM may need some inputs, which may or may not  available within the program  SAPFPAYM.
    IF you need to pass any thing through the selection screen of this program,(for ex:path of the file), you can even make it available with the help enhancement point available with  INCLUDE fpaym_top.               "Global Data Declarations in program SAPFPAYM.
    Thanks and Regards,
    Antony Thomas

  • User exit/BADI AFTER the database commit in va01 va02

    Hi All
    I need an user exit/BADI <b>AFTER the database tables are updated</b> when save button is pressed on VA01/VA02, both these user exits are fired before that.
    Regards
    Badari

    Check out all these exits
                                                                                    SDTRM001            Reschedule schedule lines without a new ATP check            
    V45A0001            Determine alternative materials for product selection        
    V45A0002            Predefine sold-to party in sales document                    
    V45A0003            Collector for customer function modulpool MV45A              
    V45A0004            Copy packing proposal                                        
    V45E0001            Update the purchase order from the sales order               
    V45E0002            Data transfer in procurement elements (PRreq., assembly)     
    V45L0001            SD component supplier processing (customer enhancements)     
    V45P0001            SD customer function for cross-company code sales            
    V45S0001            Update sales document from configuration                     
    V45S0003            MRP-relevance for incomplete configuration                   
    V45S0004            Effectivity type in sales order                              
    V45W0001            SD Service Management: Forward Contract Data to Item         
    V46H0001            SD Customer functions for resource-related billing           
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan 
    SDAPO001            Activating Sourcing Subitem Quantity Propagation

  • User Exit/BADI after database commit in VA01/VA02

    Hi All,
    Can you tell me an user exit/BADI in VA01/VA02 which I can utilize AFTER the database commit but still utilize the tables/structures like xvbap, xvbkd etc? Thanks.
    Best Regards,
    Avimanyu

    Hi Sengupta,
    Usually there are no user-exits after COMMIT.
    What you need to do is register a call which will be executed after COMMIT, from one of the available user-exits.
    To do this, SAP provides 2 methods:
    1. PERFORM xxx ON COMMIT
    2. Function Module with attribute "Update Module"
    Check ABAP keyword help for more information for PERFORM xxx ON COMMIT.
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/34/8e72cc6df74873e10000009b38f9b8/frameset.htm">http://help.sap.com/saphelp_46c/helpdata/en/34/8e72cc6df74873e10000009b38f9b8/frameset.htm</a>
    Hope this helps.
    Regards,
    Sumant.
    PS: Reward points if this is helpful.

  • User Exit / Badi after (inbound idoc) database commit

    Hello Folks,
    I want to know the User Exit/Badi that can be used after inbound idoc gets posted, as i want to use perform on commit statement.
    Thanks & Regards,
    Nishanth Kumar

    Hi Sengupta,
    Usually there are no user-exits after COMMIT.
    What you need to do is register a call which will be executed after COMMIT, from one of the available user-exits.
    To do this, SAP provides 2 methods:
    1. PERFORM xxx ON COMMIT
    2. Function Module with attribute "Update Module"
    Check ABAP keyword help for more information for PERFORM xxx ON COMMIT.
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/34/8e72cc6df74873e10000009b38f9b8/frameset.htm">http://help.sap.com/saphelp_46c/helpdata/en/34/8e72cc6df74873e10000009b38f9b8/frameset.htm</a>
    Hope this helps.
    Regards,
    Sumant.
    PS: Reward points if this is helpful.

  • User Exit issue after upgrade from 4.6c to ECC 6.0

    Hi Experts,
    After upgrade we are facing some issues regarding user exit. In 4.6c we have implemented several user exit to do customization in several module like SD,FI and HR. But after upgrade it has been identified that SAP has already provided this functionality in ECC 6.0. Now our problem is when this transactions are called or executed control is going to both custom and standard code. Which took long time to execute and causing performance issue.
    Is there any ways to identify which are the functionality SAP has provided in ECC 6.0 so that we can delete our custom user exits.

    Hi
        List all the user exits which you have modified and check in OSS notes you will get the OSS note with all the details what functionality has been changed.  Based on this you can delete or retain the user exits which ever you want.
    Regards,
    JB

  • User exit trigerred after billing document is generated

    The objective is to set the Sales Order Item Level System Status. Using a line item that is created in VA01, I have to create a reference item in VA02. For both the line items created I have to generate billing document in VF01. After the billing document is created (when I give save in VF01), using the billing document number I have to set the Billing and delivery system status to completed.
    The functional specification provided me with a user exit USEREXIT_NUMBER_RANGE in RV60AFZZ. But the exit is getting triggered before the billing document number is generated. So I am unable to set the status.  Can you suggest me a user exit that would be triggered after the billing document is generated?

    if your invoice is relevant for accounting posting - you may use one of SD/FI exits (check RV_ACCOUNTING_DOCUMENT_CREATE and search for call customer-function).
    OR you may define new output type for your invoice and put your logic there, nast-objkey will have invoice number.

  • VF02 user exit just after saving

    Hi,
    Please tell the user exit or BADI which will work in VF02 alone. Requirement is, whatever changes have been made for quantity in the document, has to be reflected in the Z table in the background.
    Please clarify.
    Regards,
    Tom Jerry.

    Hi,
    Below are the list of user exit available for billing:-
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy). USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
    User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    USEREXIT_RELI_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAP_AVBPAK
    The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
    EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    EXIT_SAPLV60B_003: Change the customer line in costing
    The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
    EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
    EXIT_SAPLV60B_005: User exit for accruals
    Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
    EXIT_SAPLV60B_006: Change the control line ACCIT
    You can use exit 006 to add information to the control line.
    EXIT_SAPLV60B_007: Change the installment plan
    You can use exit 007 to add information to the installment plan
    parameters in the GL account item.
    EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
    After the accounting document is filled in with data, you can use exit 008 to change the document once again.
    EXIT_SAPLV60B_010: Item table for customer lines
    You can use exit 10 to influence the contents of customer lines before they are created.
    EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    You can use this exit to change inbound parameters in order to influence account determination.
    with regards
    Vivek.

Maybe you are looking for

  • BI 7.0 Front End requirements

    Dear Friends, We are implementing BW with BI 7.0 vesrion. Can any body let me know the what suppose to be the GUI to be used. What aditional components required for BEX and Web reporting... Thanks, Sudha..

  • Decode or NVL2?

    What should be used when we have a choice of using decode or NVL2, how will it affect the performance?

  • Some weblogic real time questions....

    Hi All, Have some weblogic related real time questions. I am posting them below. I would appreciate you kind replies to them. if two managed servers is there Same Domain is configured in both servers, but one physical server is crashed then how can y

  • Windows 2012 network teaming broken "host unmanageable"

    Hello, we are in the process of migrating servers to new hardware using the Platespin Migrate tool. That process has been tested in controlled Proof Of Concepts now for Windows 2003, 2008 and 2008R2, but now we come to Windows 2012 and we run into an

  • How to back up and then purge personal information from iPad 2?

    I want to take advantage of the trade in offer at Apple for the iPad.  Before the trade in, I will back up my iPad2 to my iMac.  I will also need to purge all personal information from the iPad2. 2 questions: 1.  Once the iPad2 is backed up to the iM