0P_FVAEX

I am running a BEx query that uses variable 0P_FVAEX for Fiscal Year Variant.  When I execute the query, I get the following error message:
RS_EXCEPTION000
An Exception with the type CX_SY_DYNAMIC_OSQL_SYNTAX occurred, but was neither handled locally, nor declared in a Raising
The query also has variable 0P_COAR for Controlling Area.
I think it has something to do with the fiscal year variant because when I tyr to run it in the web, I get the error message that:  Variable 0P_FVAEX could not be replaced
But I figure I should correct it in BEx first.
Thanks,  Keith Johnson

Hi Keith,
Could this be related: We are getting CX_SY_DYNAMIC_OSQL_SEMANTICS error
You can also check note: 585202
Hope this helps...

Similar Messages

  • Could not determine value for variable 0P_FVAEX (or 0P_CTPCA)

    I get the below error while accessing a query on the planning Info Cube. I used the SAP Exit variable Most Current Data (Transactional InfoCube) (0S_RQTRA) in the query for the Characteristic - Request ID (0REQUID) to extract the data from the yellow request too.
    I do not use the below variables as in the below eror in my query at all. Please assist.
    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).
    System Response
    1.     Operation method of SAP-Exit-Variables 0P_FVAEX or 0P_CTPCA
    With queries from the CO application, both SAP-Exit-Variables look for an entry for 'controlling area'. With this controlling area from the selection screen, the SAP-Exit-Variables program reads the attributes for InfoObject 0CO_AREA (controlling area).
    With queries from the FI application, the SAP Exit Variable 0P_FVAEX looks for an entry for 'company code'. With this company code from the selection screen, the SAP Exit Variables program reads the attributes for InfoObject 0COMP_CODE (Company Code).
    0P_FVAEX determines the fiscal year variant (attribute 0FISCVARNT) from the attributes for 0CO_AREA (CO queries) or 0COMP_CODE (FI queries). 0P_CTPCA determines the currency type of the profit center local currency (attribute 0CURTP_PCA) from the attributes for 0CO_AREA.

    Hello,
    you need to take a closer look at your query. Somewhere you used one of the 0P_* exit variables, which work only for controlling related InfoCubes. Use your own variables.
    Regards,
    Marc
    SAP NetWeaver RIG

  • No value could be determined for variable 0P_FVAEX

    We are on BW 7.0 and BEx7.0
    I have activated BI Content of InfoCube  0WBS_C11 and all it's SAP delivered Query elements. The InfoCube is loaded with data already.
    When I run any of the query in BEx, I got the same error as below:
    Initial RANGE-LOW for customer exit variable 0P_FVAEX corrected to #
    No value could be determined for variable 0P_FVAEX
    Please help.
    Thanks

    Hi,
    There is no value for the variable 0P_FVAEX for fiscalyear variant. default it is populating #.
    In company code masterdata(attr & text) there should be fiscalyear variant for FI loading and Controlling area masterdata for other modules loading. 0FISCVART should be filled in masterdata (company code/ controlling area) then you can get report .
    If it is not there in the masterdata ask the functional consultant fill the company code data with fiscalyear variant.
    This should  solve the error.
    Thanks,
    Satya

  • This error message diagnosis is specific only to the variables 0P_FVAEX

    Could not determine value for variable 0P_FVAEX OR 0P_CTPCA.
    Can anyone please help me solving this error message which i am getting while executing BEx query.
    Thanks
    MK

    Hi Mac,
    CASE i_vnam.
    when 'ZCCAPRVR' .
    IF i_step = 2.
      LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAFVER'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            CASE loc_var_range-low.
             WHEN 'F01'. l_s_range-low = 'F12'.
             WHEN 'F02'. l_s_range-low = 'F01'.
             WHEN 'F03'. l_s_range-low = 'F02'.
             WHEN 'F04'. l_s_range-low = 'F03'.
             WHEN 'F05'. l_s_range-low = 'F04'.
             WHEN 'F06'. l_s_range-low = 'F05'.
             WHEN 'F07'. l_s_range-low = 'F06'.
             WHEN 'F08'. l_s_range-low = 'F07'.
             WHEN 'F09'. l_s_range-low = 'F08'.
             WHEN 'F10'. l_s_range-low = 'F09'.
             WHEN 'F11'. l_s_range-low = 'F10'.
             WHEN 'F12'. l_s_range-low = 'F11'.
            ENDCASE.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
         WHEN 'ZCCA01PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA01PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
         WHEN 'ZCCA02PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA02PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA03PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA03PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
         WHEN 'ZCCA04PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA04PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA05PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA05PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
    WHEN 'ZCCA06PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA06PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
    WHEN 'ZCCA07PV'.
       IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
      WHEN 'ZCCA07PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA08PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
      WHEN 'ZCCA08PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA09PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
      WHEN 'ZCCA09PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA10PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
      WHEN 'ZCCA10PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA11PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
      WHEN 'ZCCA11PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        WHEN 'ZCCA12PV'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = loc_var_range-low.
            ELSE.
              l_s_range-low = '000'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
      WHEN 'ZCCA12PT'.
        IF i_step = 2.
          CLEAR zzyear.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZCCAPRVR'.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            IF loc_var_range-low = 'F01' OR  loc_var_range-low = 'F02'.
              l_s_range-low = '060'.
            ELSE.
              l_s_range-low = '010'.
            ENDIF.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
        ENDIF.
        ENDCASE.
    Regards
    Mk

  • Error while executing query in BEX

    Hi All,
    I am experiencing an issue while executing query on FIAR_C03.
    "Abort No Values could be determined for variable 0P_FVAEX
    Error specify a value for 0P_FVAEX
    Abort system error in program SAPLRRKO and form APPEND_KHANDLE_1-01-
    I had searched SDN forums and found the similar error which is inculded in the below link:
    Bex Variable
    However, the solution specified is only for a particular 3 queries. Also the solution is that the 3 queries(Which are having errors) are replaced by another 3 queries.
    Can anybody help us in this regard.
    Regards
    YJ

    hi JY,
    try 858477 steps for other 'infected' webtemplates ?
    try implement correction in 660514 ?
    (also search other notes with keyword 0P_FVAEX
    e.g 585202)
    hope this helps.

  • Error while executing FIGL query

    Hello All,
    While executing a standard FIGL report in the Anayzer, I am getting the following error:
    No Value could be determined for variable 0P_FVAEX.
    I know that this error is related to Fiscal year variant
    Please let me know the reason and the solution for this error.
    Thanks
    Sneha

    Hi,
    i think value for 0P_FVAEX is being populated. This variable is not checked for Ready for Input and it is a custome exit variable. I think you need to populate this variable in the customer exit using some constant value or logic which determines correct fiscal year variant.
    hope this helps,
    Purvang

  • Error Message : " No value could be determined for Customer Exit Variable "

    Hello BI Experts ,
    I have created a "ZYTD_PERIOD" Customer Exit Variable  Interval  Mandatory and ready for input check mark removed.
    The reference character is '0FISCPER' .
    I want to have YTD figures when the user enter single Fiscal Year Period for variable 0P_FPER.
    So I have written below code in SE37 : EXIT_SAPLRRS0_001 and include program : ZXRSRU01
    ==================================================================
      case i_vnam.
                  WHEN 'ZYTD_PERIOD'.
                  IF I_STEP = 2.
                  LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = '0P_FPER'.
                  CLEAR L_S_RANGE.
                  L_S_RANGE-LOW0(4) = LOC_VAR_RANGE-LOW0(4).
                  L_S_RANGE-LOW+4(3) = '001'.
                  L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
                  L_S_RANGE-SIGN = 'I'.
                  L_S_RANGE-OPT = 'BT'.
                  APPEND L_S_RANGE TO E_T_RANGE.
                  EXIT.
                  ENDLOOP.
                  ENDIF.
    ===================================================================
    After that I use this 'ZYTD_PERIOD' variable in the query .
    Also I have used the variable 0P_FPER in another structure.
    When I execute the query by entering the value of 0P_FPER as 010.2009 or any other value ,
    I am getting below error message ,
    *No value could be determined for variable ZYTDPERIOD*_
    Below is details of this Error message ,
    Note that I have proper Master and Text data for 0CO_AREA and 0COMP_CODE loaded into BI.
    =======================================================================
    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).
    System Response
    1. Operation method of SAP-Exit-Variables 0P_FVAEX or 0P_CTPCA
    With queries from the CO application, both SAP-Exit-Variables look for an entry for 'controlling area'. With this controlling area from the selection screen, the SAP-Exit-Variables program reads the attributes for InfoObject 0CO_AREA (controlling area).
    With queries from the FI application, the SAP Exit Variable 0P_FVAEX looks for an entry for 'company code'. With this company code from the selection screen, the SAP Exit Variables program reads the attributes for InfoObject 0COMP_CODE (Company Code).
    0P_FVAEX determines the fiscal year variant (attribute 0FISCVARNT) from the attributes for 0CO_AREA (CO queries) or 0COMP_CODE (FI queries). 0P_CTPCA determines the currency type of the profit center local currency (attribute 0CURTP_PCA) from the attributes for 0CO_AREA.
    2. Cause of Error
    The attributes for the controlling area (InfoObject 0CO_AREA) or company code (InfoObject 0COMP_CODE) were not loaded into the BW system, or the attributes for the controlling area are not active in the BW system.
    Check whether this is the cause of the error in your BW system. Display the contents of table /bi0/mco_area or /bi0/mcomp_code using transaction se16.
    Application CO:
    Check whether the attributes 'fiscal year variant' (field FISCVARNT) and 'profit center local currency currency type' (field CURTP_PCA) are filled in the 'A' version (field OBJVERS) for the selected controlling area. If the fiscal year variant in the OBJVERS = 'A' is empty, then the error is with variable 0P_FVAEX. If the currency type of the profit center's local currency in OBJVERS = 'A' is empty, then the error is with variable 0P_CTPCA.
    Application FI:
    Check whether or not the attribute 'fiscal year variant' (field FISCVARNT) is filled in the 'A' version (field OBJVERS) for the selected controlling area. If the fiscal year variant is empty in OBJVERS= 'A', then the error is with variable 0P_FVAEX.
    Procedure
    Using InfoSource 0CO_AREA, load the attributes for the controlling area or company code into your BW system.
    Afterwards, activate the attribute changes in your BW system. To do this, use transaction rsa1, path 'Tools > Hierarchy/Attribute changes', functions button 'InfoObject list'. Choose InfoObject 0CO_AREA or 0COMP_CODE from this list, and activate the attribute changes.
    =====================================================================================
    Is there any special settings needed before writing BEx Customer Exit ?
    I have already created a project in CMOD and assinged a proper RSR00001
    and EXIT_SAPLRRS0_001 and project is active.
    Any help please ....
    Regards ,
    Amol

    My Code is as below ,
              case i_vnam.
                  WHEN 'ZYTD_PERIOD'.
                  IF I_STEP = 2.
                  LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = '0P_FPER'.
                  CLEAR L_S_RANGE.
                  L_S_RANGE-LOW0(4) = LOC_VAR_RANGE-LOW0(4).
                  L_S_RANGE-LOW+4(3) = '001'.
                  L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
                  L_S_RANGE-SIGN = 'I'.
                  L_S_RANGE-OPT = 'BT'.
                  APPEND L_S_RANGE TO E_T_RANGE.
                  EXIT.
                  ENDLOOP.
                  ENDIF.
                  ENDCASE.

  • Error message during BEx analyzer execute

    Using BEx analyzer, system show error message like below:
    Variable 0P_FVAEX could not be replaced;
    Program error in class SAPMSSY1 mehtod: UNCAUGHT_EXCEPTION
    System error in program CL_RSR_REQUEST and form TEXT_ELEMENTS_GET:VARIABLES_SUBMIT(see long text)
    Who can solve this problem? Thanks!
    Message was edited by:
            Almini Sanbra

    Dear sanbra,
    We have faced the same error and its resolved after applying the
    Following:
    I have applied the following Note
    1079186 Error when you filter by characteristic values
    Please also apply the following patches to your system:
    Support packages and patches ->SAP netweaver->SAP Netweaver->
    SAP Net weaver 2004s->Entry by component->BI java
    Update with the latest patches
    1)BIBASES12P_4-10003477.SCA Patch for for BI BASE SERVICES 7.00  SP12  4
    2)BIWEBAPP12P_4-10003476.SCA Patch for BI WEB APPLICATIONS 7.00 SP12  4
    3)BIIBC12_0-10003495.SCA SP for BI INFORM. BROADCASTING 7.00  0
    Regards,
    Suman Raju.
    ***********IF useful some points please***********

  • Problem with Variable 0I_CUFQU

    Hi all,
    We are using Fiscal year/ Period with variable SAP Exit 0I_CUFQU  in FIGL_V11 reports.
    Earlier It was working fine but after Patch Upgrade when I run the same report I am getting the Follwing error.
    Variable 0I_CUFQU could not be replaced.
    If anyone knows the answer please share the solution for the same.
    Regards,
    Ali.

    Hi Ali,
    All these variables use sap exit varaible 0P_FVAEX for thier internal calculation. this is a program error and cen be resolved by SAP note 1322757.
    The following SAP exit variables for BW queries may be affected by the error (the technical names for the variables):
    0P_PRFP1, 0P_PRFP2, 0I_CUFYE, 0I_PRFYE, 0I_CUFQU, 0I_PRFQU,
    0I_PRFY2, 0F_CUFPE, 0F_FPER, 0I_P2FQ0, 0I_P3FQU
    This note will correct the program error.
    Let me know if this works.
    Thanks,
    Amit

  • Scenarios for FICO report

    Hi gurus
         anybody please say a scenario for
    1)Exception
    2)Condition,
    3)Variables,
    4)RRI
    for FICO based reports... its urgent ..please help me out...
       i will assign points
    Thanks in advance
    pradeep

    See below scenarios on which you can implement Exceptions, conditions,........etc on keyfigs.
    1. Balance Sheet and P&L: Actual/Actual Comparison
    Technical name: 0FIGL_VC1_Q0001
    Based on: Virtual InfoCube 0FIGL_VC1
    Use
    This query is used to display the balance sheet and P&L in two different report periods. The report periods are broken down in the columns, the balance sheet structure/P&L is displayed hierarchically in the report rows.
    The balance sheet/P&L is created for exactly one company code. This must be entered using a variable.
    Filters
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    0COMP_CODE     Company code, variable 0P_COCD (individual value, required entry)
    0VERSION     Version, constant value “1”
    0CURTYPE     Currency type, constant value “10” (company code currency)
    0VTYPE     Version, constant value “10” (actual)
    0FISCVARNT     Fiscal year variant, variable 0P_FVAEX (SAP exit variable)
    User-Defined Characteristics
    InfoObject     Description
    0BUS_AREA     Business area
    0GL_ACCOUNT     General ledger account
    Rows
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    0GLACCEXT     Balance sheet/P&L item
    Columns
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    Structure     Key figures
    0FIGL_VC1_CK001     1.     •         Balance value, calculated key figure for the 0FIGL_VC1:
    0FIGL_VC1_CK001 = 0VAL_STOCK + 0VAL_FLOW
    Structure     Periods:
    Report period     1.     •         Selection for characteristic 0FISCPER, variable 0I_FPER
    Comparison period     2.     •         Selection for characteristic 0FISCPER, varianble 0FI_FPER2 (= copy of variable 0I_FPER)
    Absolute variance     3.     •         Formula:
    ‘Report period’ – ‘comparison period’
    Variance (%)     4.     •         Formula:
    ‘Report period’ % ‘comparison period’
    2. Bal. Sheet and P&L (Cost-of-Sales Acc.): Actl/Actl Comparison
    Technical name: 0FIGL_VC2_Q0001
    Based on: virtual InfoCube 0FIGL_VC2
    Use
    This query is used to display the balance sheet and P&L according to the cost-of-sales accounting method in two different reporting periods. The reporting periods are expanded in the columns, the balance sheet/P&L item (hierarchically) in the reporting rows.
    The balance sheet/P&L is created for a single company code that must be entered using a variable.
    Filters
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    0COMP_CODE     Company code, variable 0P_COCD (individual value, required entry)
    0VERSION     Version, constant value ‘1’
    OCURTYPE     Currency type, constant value ‘10’ (company code currency)
    0TYPE     Value type, constant value ‘10’ (actual)
    0FISCVARNT     Fiscal year variant, variable 0P_FVAEX (SAP exit variable)
    User-Defined Characteristics
    InfoObject     Description
    0BUS_AREA     Business area
    0FUNC_AREA     Functional area
    0GL_ACCOUNT     G/L account
    Rows
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    0GLACCEXT     Balance sheet/P&L item
    Columns
    InfoObject     Description of the InfoObject (and restriction or calculation formula)
    Structure     Key figures
         Balance sheet value, calculated key figure for InfoCube  0FIGL_VC2:
    0FIGL_VC2_CK001 = 0VAL_STOCK + 0VAL_FLOW
    Structure     Time periods
    Report time period     Selection for characteristic 0FISCPER, variable 0I_FPER
    Comparison period     Selection for characteristic 0FISCPER, variable 0I_FPER2 (= copy of variable 0I_FPER)
    Variance (absolute)     Formula: ‘Report period’ - ‘Comparison period
    Variance (%)     Formula: ‘Report period’ % ‘Comparison period’

  • SRM PO with fiscal year option.

    Hi Friends,
    We are in SRM 5.0, SP11, extended classic scenario, ECC back end with Funds/Grants Management active. All the PO's created at SRM sourcing will create a commitment on the Fund/Grant at ECC.
    The challenge we have here is to create PO's for the next Fiscal Year in such a way that the Fund/Grant commitment happens on the next Fiscal year. For example, i have to create a PO for fiscal year 2010 now itself and the commitment on Fund/Grant should be allocated for 2010 and not 2009.
    Can anyone suggest on how handle this, any BADI or Enhancement option available?
    Thanks!

    Hi
    0P_FVAEX is personalization with 0P_KEYDT Variable again Try to Fill the Key date at the Query Properties so that it will display the correct output of report. Filling Key date is the mandatory if you use 0P_FVAEX in your query.
    http://help.sap.com/saphelp_nw70/helpdata/EN/7a/8893404f673028e10000000a1550b0/frameset.htm
    Hope it helps.

  • 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

  • No Value could be determined for variable ZCE0018

    Hi experts,
    I am getting an error while running reports for few selections on Sales Org.(without giving site/store) as below
    It is working fine with some other sales org.
    *Selection covers data from multiple comp.codes which carry more than one Fisc.Yr Variant not possible to report in multiple Fy variants.Plz refine selections.
    *No Value could be determined for variable ZCE0018.
    Please reply me how to rectify this error.
    Thanks in advance.
    regards,
    <BMP>

    Hello,
    the description for the error is:
    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).
    System Response
    1. Operation method of SAP-Exit-Variables 0P_FVAEX or 0P_CTPCA
    With queries from the CO application, both SAP-Exit-Variables look for an entry for 'controlling area'. With this controlling area from the selection screen, the SAP-Exit-Variables program reads the attributes for InfoObject 0CO_AREA (controlling area).
    With queries from the FI application, the SAP Exit Variable 0P_FVAEX looks for an entry for 'company code'. With this company code from the selection screen, the SAP Exit Variables program reads the attributes for InfoObject 0COMP_CODE (Company Code).
    0P_FVAEX determines the fiscal year variant (attribute 0FISCVARNT) from the attributes for 0CO_AREA (CO queries) or 0COMP_CODE (FI queries). 0P_CTPCA determines the currency type of the profit center local currency (attribute 0CURTP_PCA) from the attributes for 0CO_AREA.
    2. Cause of Error
    The attributes for the controlling area (InfoObject 0CO_AREA) or company code (InfoObject 0COMP_CODE) were not loaded into the BW system, or the attributes for the controlling area are not active in the BW system.
    Check whether this is the cause of the error in your BW system. Display the contents of table /bi0/mco_area or /bi0/mcomp_code using transaction se16.
    Application CO:
    Check whether the attributes 'fiscal year variant' (field FISCVARNT) and 'profit center local currency currency type' (field CURTP_PCA) are filled in the 'A' version (field OBJVERS) for the selected controlling area. If the fiscal year variant in the OBJVERS = 'A' is empty, then the error is with variable 0P_FVAEX. If the currency type of the profit center's local currency in OBJVERS = 'A' is empty, then the error is with variable 0P_CTPCA.
    Application FI:
    Check whether or not the attribute 'fiscal year variant' (field FISCVARNT) is filled in the 'A' version (field OBJVERS) for the selected controlling area. If the fiscal year variant is empty in OBJVERS= 'A', then the error is with variable 0P_FVAEX.
    Procedure
    Using InfoSource 0CO_AREA, load the attributes for the controlling area or company code into your BW system.
    Afterwards, activate the attribute changes in your BW system. To do this, use transaction rsa1, path 'Tools > Hierarchy/Attribute changes', functions button 'InfoObject list'. Choose InfoObject 0CO_AREA or 0COMP_CODE from this list, and activate the attribute changes.
    Check through the context in the report what variables are affecting. Anyways it is a BW issue not SCM Logistics, please contact someone from BW-BEX or create a SDN thread in BW forum.
    Best Regards,
    Christian Rosa

  • Query error msg

    Hi Guru's.
    when i'm trying to run a query on 0COOM_CO2 cube, the system is throwing a error msg.
    error msg:
         No value could be determined for variable 0P_FVAEX.     
         Message no. BRAIN632     
         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).
         System response     
         1.  Operation method of SAP-Exit-Variables 0P_FVAEX or 0P_CTPCA
         With queries from the CO application, both SAP-Exit-Variables look for
         an entry for 'controlling area'. With this controlling area from the
         selection screen, the SAP-Exit-Variables program reads the attributes
         for InfoObject 0CO_AREA (controlling area).
         With queries from the FI application, the SAP Exit Variable 0P_FVAEX
         looks for an entry for 'company code'. With this company code from the
         selection screen, the SAP Exit Variables program reads the attributes
         for InfoObject 0COMP_CODE (Company Code).
         0P_FVAEX determines the fiscal year variant (attribute 0FISCVARNT) from
         the attributes for 0CO_AREA (CO queries) or 0COMP_CODE (FI queries).
         0P_CTPCA determines the currency type of the profit center local
         currency (attribute 0CURTP_PCA) from the attributes for 0CO_AREA.
         2.  Cause of Error
         The attributes for the controlling area (InfoObject 0CO_AREA) or company
         code (InfoObject 0COMP_CODE) were not loaded into the BW system, or the
         attributes for the controlling area are not active in the BW system.
         Check whether this is the cause of the error in your BW system. Display
         the contents of table /bi0/mco_area or /bi0/mcomp_code using transaction
         se16.
         Application CO:
         Check whether the attributes 'fiscal year variant' (field FISCVARNT) and
         'profit center local currency currency type' (field CURTP_PCA) are
         filled in the 'A' version (field OBJVERS) for the selected controlling
         area. If the fiscal year variant in the OBJVERS = 'A' is empty, then the
         error is with variable 0P_FVAEX. If the currency type of the profit
         center's local currency in OBJVERS = 'A' is empty, then the error is
         with variable 0P_CTPCA.
         Application FI:
         Check whether or not the attribute 'fiscal year variant' (field
         FISCVARNT) is filled in the 'A' version (field OBJVERS) for the selected
         controlling area. If the fiscal year variant is empty in OBJVERS= 'A',
         then the error is with variable 0P_FVAEX.
         Procedure     
         Using InfoSource 0CO_AREA, load the attributes for the controlling area
         or company code into your BW system.
         Afterwards, activate the attribute changes in your BW system. To do
         this, use transaction rsa1, path 'Tools > Hierarchy/Attribute changes',
         functions button 'InfoObject list'. Choose InfoObject 0CO_AREA or
         0COMP_CODE from this list, and activate the attribute changes.
         Procedure for System Administration     
    where do i start to debug it.
    Thanks in advance,
    Mav

    The variable 0P_FVAEX fills the fiscal year variant based on the following checks in the order:
    1. If you have a variable for 0CO_AREA the system looks into the first entry and determines the attribute 0FISCVARNT of 0CO_AREA.
    2. The same for 0COMP_CODE.
    3. Check if there is a variable for IM Program hierarchy and look for 0FISCVARNT.
    4. Check project data for fiscal year variant.
    5. Check CO area of the asset.
    6. Get Fiscal Year variant from Oracle company(!)
    7. Get FY variant from Oracle company code.
    8. Get FY variant from Oracle organization.
    So you need to use one of these info Objects in your variables.
    Best regards
       Dirk

  • How to see the ABAP Code behind SAP Exit Variables.

    Hi Everyone.
    I was wondering if anyone could help me with the steps to see the ABAP Code behind a SAP Exit Variable.
    Sometime back I remember of going to Transaction SE37 - Function Module and give the Variable name,
    Eg: 0F_ADAY, Hit F4 or something like that and was able to see the ABAP Code/Function Module/Exit written for that Variable.same
    But today I tried to do the same thing to see the code for Variable 0P_FVAEX but I was NOT able to see it.
    I think I am missing something.
    Can someone help me recollect what I am missing.
    Thank You for your time
    NOVICE

    Hi bi novice,
    big sorry for the late reply!
    The following variables are defined in function module RREX_VARIABLE_EXIT as case statement:
    '0CMONTH', '0CWEEK', '0CYEAR', '0CQUART', '0DAT', '0CWD', '0FYEAR', '0FPER', '0FYTCFP',
    '0FYTLFP', '0FYTCD', '0CYTCM', '0CYTLM', '0CYTCD', '0LYTCLD', '0CMONTHT', '0CWEEKT', '0CYEART', '0CQUARTT', '0DATT', '0FYEART', '0FPERT'
    Best regards,
    Andreas

Maybe you are looking for