OLAP Variable with user exit for Infopackage Selection 0fiscper

Hi Frds/ Guru's ,
                I have a requirement to use a OLAP Variable for Fiscal year period 0fiscper(Characteristic ) in the Infopackage Selection. . I need to extract the data for Previous Year and Current Year , that is to be automatically selected with a OLAP Variable . The standard one's provided by SAP are not satisfying my requirement,as they are getting populated with SAP Exit and I am not getting the ranges .I am planning to create a variable and use the processing type as Customer Exit and Populate it with ABAP code in respective Enhancement RSR00001.
Even Can I create a ABAP Routine ? Please suggest me which is better to do in respect to performance of dataload  , will be really glad if anyone can provide some code for doing this as u might have faced the situation sometime .
I have checked with all the threads available , could get some idea but will be really thankful if u gimme some hints in writing the code , at Exit level and routine level .
Thanks,
Krish

thnx

Similar Messages

  • Formula variable with User Exit

    Hi,
    Can we create a Formula Variable of processing type USER EXIT...which will display a constant Value Y
    Any syntax would be helpful
    Thanks

    Hi,
    check this for formula variables with user exits;
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/customer-exit-to-derive-formula-variable-to-text-variable-sap-bw-35-3030684
    Also Check the issues and solution :
    Formula Variable with User Exit....Problem
    Thanks
    Hemav

  • Formula Variable with User Exit....Problem

    Hi
      My requirment is to create a Formula Variable on User Exit that will give me Current Cal Year...so that i can use that vale in Formulas
    Created Formula Variable with processing Type Customer Exit single Value,Mandator and Unchecked the Variable input ready
    The below code in CMOD
    WHEN 'XXXXXXX'.
    Year  = sy-datum(4).
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = Year.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    APPEND l_s_range TO e_t_range.
    But when i execute the query i am getting the below error
    No value could be determined for variable xxxxxxx.
    Incorrect call of OLAP layer CL_RSR_OLAP; error in BW-BEX-ET
    Diagnosis
    This error diagnosis is specific only to the variables 0P_FVAEX or 0P_CTPCA !
    Termination message BRAIN 632 appears:
    Could not determine value for variable 0P_FVAEX (or 0P_CTPCA).
    WHAT WRONG I AM DOING...please update me

    Use the code:
    WHEN 'XXXXXXX'.
         IF i_step = 2.
              Year = sy-datum(4).
              CLEAR L_S_RANGE.
              L_S_RANGE-HIGH = Year.
              L_S_RANGE-SIGN = 'I'.
              L_S_RANGE-OPT = 'EQ'.
              APPEND l_s_range TO e_t_range.
         ENDIF.
    Let me know, if it is work or not!
      - Balajee Kannan

  • Numeric  Variable with USER-EXITS

    Hi all,
          I've created a Variable which type is numeric values in BPS0 and it's value is from a USER-EXITS,ex. Z_FUC_A, in my Z_FUC_A there's a export PARA which name is CNT and it's type is UPC_Y_VAR_NUMBER,in Z_FUC_A,I'm sure CNT has got it's value,asume CNT =100.but in BPS0,the Numeric  Variable can't got this value,it's always 0.000000,I don't know why.
          anyone can help me,thanks alot.

    I solve this by myself,thx everybody

  • Problem with User exit for Purchase Order creation/change

    Hi Everyone,
    I have a requirement where I have to implement an enhancement for the standard transaction(ME21N/ME22N). I need to modify a particular field of the item table (EKPO) based on a few comparisons from the header values (After save of PO). I am using the enhancement MM06E005 and its corresponding exit  EXIT_SAPMM06E_013. While debugging I notice that the value is getting changed; but as soon as the control comes out of the FM, the change is not being reflected. Hoping to find a solution for this.
    Thanks & Regards,
    Indudhar P.G

    Hi Guys,
    Now I am using the BADI "ME_PROCESS_PO_CUST". But the control is not stopping at the method even though I set a breakpoint. It just saves the PO after I click save. Is this because my document type of PO is Stock Transfer Order. Can I use this BADI for STO's? and moreover how do I process each item line in this method. Does "ls_mepoitem = im_item->get_data( ).
    "  fetch all the item lines?
    Thanks and Regards,
    Indudhar P.G

  • User Exit for KO01

    Hi,
    Can anyone help me with user exit for KO01.The requirement is that when the user
    enters <b>Order Type</b> after setting <b>Controlling Area</b> there must be a check validating the order type with controlling area i.e to restrict the order type based on controlling area.Here i cannot use the authorization concept as same the user has authorization for two or more Controlling Area's.
    This validation must happen in the initial screen before going to creation of internal order.
    It will be of great help if anyone can guide me out.
    Thanks,
    Vamsi Krishna

    Hi,
    Thanks a lot for replying.Actually i know that these are the existing user exits.
    COOPA002 ,COOPA003 , COOPA004 , COOPA_01.. but if i keep a breakpoint on these and execute KO01, It is not going into to debugger for any of the above user exits.
    I Exactly want the exit which will processed after pressing enter in the first screen of
    KO01...so that i can validate Order Type with CO area
    Thanks,
    Vamsi Krishna

  • Funtion Module for user exits for variables used in BEx Queries.

    Hi,
    This is for BW Query customer exit variable (zvar2) for include ZXRSRU01 and exit :EXIT_SAPLRRS0_001.
    Can anyone please suggest the function modules that can be used to do the following.
    1)Read value of zvar1 from selection screen whatever
    user enters at run time.
    2)How to define the zvar2 in the include. zvar2 is the
    variable created in BEx to be populated from this
    customer exit.
    3)How to use case statment where once the value for zvar1
    is determined then,
    Case zvar1.
    when zvar1 = 0 , then zvar2 = 10
    when zvar1 = 1 , then zvar2 = 20
    3) Assign zvar2 value as computed in the case statement.
    Can anyone please help with the code to achieve this.
    Any information regarding function modules that can help write user exits for variable reading and input will be greatly helpful.
    Thanks
    Sarah.

    Hi Sarah,
    You don't need any FM for your issue.
    Please try thie sample code :
    DATA: VAR_INPIUT LIKE RRRANGEEXIT.
    CASE I_VNAM.
      WHEN 'ZVAR2'.
       CLEAR L_S_RANGE.
       IF I_STEP = 2."PROCESSED AFTER VARIABLE INPUT
    *Reading value of ZVAR1
        LOOP AT I_T_VAR_RANGE INTO VAR_INPIUT
          WHERE VNAM = 'ZVAR1'.
          CASE VAR_INPIUT-LOW.
    *FILLING ZVAR2
           WHEN 0.
              L_S_RANGE-LOW     = 10.
           WHEN 1.
              L_S_RANGE-LOW     = 20.
          ENDCASE.
          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
    Joe

  • How to create user Exits for selecting ranges of the month

    Hi Bw Experts,
    Right now i need to create a user exits for my report which is coming from Infocube which has 12 months and 12 qtys. But if my client want to see the content of the report for e.g 1 to 3 months in selection screen means then we need to create a variable and user exit to accomplish this problem or is there any solution by which we can solve the problem. Try to suggest me and steps to achieve.
    Thanks in advance,

    Hi,
    Thanks for your input. But the questions is 12 amounts and 12 qtys not 12 months sorry for the typoerror. We are not carrying month field. But the User want to see the for e.g 1 to 3 months data means then how it is possible to accomplish this issue. Try to suggest me.
    Thanks in advance
    Message was edited by:
            mano_biw durai

  • Query with user-exit hierarchy variable and input ready hierarchy node var.

    Hello everyone.
    we are using several hierarchies (2005, 2006 and 2007) of the same info object 0FUNDS_CTR (one for each fiscal year). We would like to be able to use same reports regardless of chosen fiscal year (selected hierarchy) and ever more, to select node inside proper hierarchy. At the moment reports use 3 parameters:
    1) fiscal period from - fiscal period to
    2) hierarchy name
    3) hierarchy node
    Our goal is to get report with only 2 parameters:
    1) fiscal period from - fiscal period to
    2) hierarchy node
    since hierarchy name could be derived (user exit) from fiscal period.
    When user selects hierarchy node he is being asked to select hierarchy name (despite of user exit for hierarchy name) and key date (populated with current date).
    We would like to avoid step of user selecting hierarchy. Is it possible?
    Any other approaches to problem would be appreciated.
    Kind regards,
    Josko.

    Hi Jörg,
    As mentioned, I_STEP = 3 is  processed once per query, not once per varaiable.
    If this statement is placed within case-endcase for I_VNAM it never will be processed.
    Please take a look on this, it might be helpful..
    Regards
    Joe

  • User exit for 0INFOPROV with InfoCube in BWA

    Hello Everyone,
    We recently added few InfoCubes into BWA and due to the reporting requirements and the way the reports were designed we had to create a user exit for 0INFOPROV in order to populate the InfoCube name based on the selection criteria for the report.
    But when we run the report, the report is ending up with an error message and we are not able to execute any queries on top of that multiprovider with the user exit embedded.
    If we remove the user exit and hard code the value for 0INFOPROV it works fine.
    Can anyone please let me know how you guys have dealt with the user exit for BWA.
    Let me know if additional details are to be provided.
    Thanks
    Dharma.

    Hello Vitalty,
    Thanks for looking into the message.
    The issue is, when we have a restricted keyfigure which has selection on 0INFOPROV to populate the InfoCube name through user exit the query is ending up with error messages.
    The error messages state
    "Error Error while reading data; navigation is possible
    Error Errors occurred during parallel processing of query 21, RC: 3
    Error The following errors occurred during parallel processing of query 22
    Error Error reading the data of InfoProvider ZCSLSMR10$X
    Error Inconsistent input parameter (parameter: <unknown>,  value <unknown>)
    Thanks for your time.
    Any help would be really appreciated.
    Thanks
    Dharma.

  • 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

  • MRP Run with User Exit key for Follow up material

    Dear Gurus,
    I want to run MRP only for followup materials by using User exit key. For example i have a material X(with discontinued Indicator as 1) and it's follow material is Y.
    So we have a user exit key as ZFL, with coding as shown below. Now when i run MD01 with user exit key ZFL and parametre as 1, it only runs MRP for material X and not for material Y. What else we need to do so that when i run MD01 with user exit key ZFL, it shoudl consider both X and Y. 
    WHEN 'ZFL'.
    DATA : BEGIN OF ITAB5 OCCURS 0,
    KZAUS LIKE MT61D-KZAUS,
    END OF ITAB5.
    TRANSLATE USER_PAR TO UPPER CASE.
    SPLIT USER_PAR AT ',' INTO TABLE ITAB5.
    IF ITAB5[] IS INITIAL.
    EXIT.
    ENDIF.
    CLEAR: NO_PLANNING, STOP_PLANNING.
    READ TABLE ITAB5 WITH KEY KZAUS = MT61D-KZAUS.
    IF SY-SUBRC <> 0.
    NO_PLANNING = 'X'.
    ENDIF. 

    Hi Kumar,
         You can use either MRP Type, MRP Controller, MRP Group in this user exit to control the MRP run. For these set of Materials you have to assign any of same value or at least differentiate these material from other material. Then only you can control the MRP by using this user exit even though if you use different MRP Group and MRP Controller. In User Exit, you may have to add your dependent material's MRP Group/MRP Controller. Make sure that these set of materials are different than all other materials.
    If you don't have any plan to run MRP for other materials then as per Ajit suggestion you make that material's MRP type as "ND". But, in your business case they may want to activate the MRP for all the material not now but may be latter.
    Thanks

  • Please help me with user-exits or baids for TCode : FOE2 & FOE1

    Hi  Experts
    Please help me with user-exits or baids for TCode : FOE2 & FOE1.
    I found these but not picking values from VIMI01,VIOB03 and VIOB41.
    User-exits
    FVCH0001                                CH-specific enhancements: Esp. POR
    ISRE0001                                Determine bank procedure account no.
    ISRE0002                                IPD reporting data retrieval
    Business Add-in
    FVD_HANDLE_FORMULA                      Processing of Condition Formulas

    Hi,
    ASk your basis regarding the CI_CSKB table active issue, and first of all i dont see any table with the name CI_CSKB.
    And check this exit-COOMKS03 whether it works for your screen exits.
    Cheers!!
    VEnk@
    Edited by: Venkat Reddy on Nov 4, 2008 5:59 PM

  • User exit for me29n with project wise

    hi gurus,
    is there any user exit for me29n .. i want to Restrict my authorizastion based on project, that is only user from that particular project should be able to release.. is it posible
    With Regards,
    Shakthi Raj N.
    <<Phone number removed>>
    Edited by: Matt on Jan 28, 2009 10:02 AM

    Hi
    To find out the user exits:
    Goto System->status. Obtain program name.
    In Attributes obtain Package name.
    Goto tcode CMOD. Specify the pkg and pgm naem. It will give you a list of user exits.
    Hope this helps
    Regards,
    Jayanthi.K

  • How to create user exit for MIGO check  "item OK" Field select/unselect?

    Hi All,
       I want to know User Exit for MIGO Screen. when I click check button it will be show "Item OK " Field select or not.
    MIGO Screen post if Item ok field select both parent id and line id . otherwise it will be show error message?.
    Can Please  every one tell me how to do user exit for MIGO?
    mail id: [email protected]
    thanks,
    S.Muthu,

    Hi,
    check the BADI <b>MB_MIGO_BADI</b> ( method: POST_DOCUMENT).
    COMD enhancment <b>MBCF0005</b>
    Regards

Maybe you are looking for

  • Recurring Inspection - Retest

    Dear QM  gurus, We have the following scenario and i need help for the same. a material MAT1 in plant PL01 have the batch number BATCH01. having next inspection date is 20.08.2011. (inspection type 09 active, 180 days inspection interval) I want to c

  • SCSM 2012 - Self Service Portal installation Error

    Hi Everyone, I am trying to update SCSM 2010 with 2012. So far I have successfully installed Database Server and Warehouse server, and now I am trying to install the self service portal but it is giving me an error saying "Setup has failed because of

  • Hotdial /PLAR in CCM 4.1

    Hi, I have CCM 4.1 and i am configure hotdial as Below steps but it's not working (it's say your call is not completed is dial please unsure your Directory is dial.) 1. First i create Partition.(Put Hotdial-20009, Hotdialto20009) 2. Then create a CSS

  • Source Tables for Integration Directory(Config)

    I'm trying to identify all of the tables used in the configuration....So I can pull the data and help me generate a report on the configuration of our system, documenting each Configuration scenario from   thru all the Rvcr Dets and Interface Detu202

  • Dynamic field mapping

    Hi all, During a mapping, is there a way to get a reference on the java object we're working on, specifically with TransformationFieldMapping ? My goal is to achieve a custom mapping between a database 'varchar' column and a java 'Object' field, with