No value could be determined for variable 0P_KEYD2

Hello Gurus,
I am creating a report for Vendor Ageing. I have included the characteristic 0PSTNG_DATE (with restriction variable - 0P_KEYD2) . when I execute the query it gives the following error :-
No value could be determined for variable 0P_KEYD2.
Do I need to edit the SAP Exit for modifications. The query does'nt prompt me for a Key Date.
Thanks in advance..

Hi,
Did you not find any code for the variable in the include program. Try activating the variable in the business content using before and after data flow.
Also check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/ea/fd740780b135428ed0016168974284/content.htm
Bye
Dinesh
(Do not forget to assign points!!)

Similar Messages

  • No value could be determined for variable (Material)

    Hi,
    I have Planning filter where im restricting the Material with a Zvariable. This is a Customer Exit variable. This works fine in development but throws me error No value could be determined for variable (Material) in QA system.
    Could some one help me in resolving this in
    Thanks

    either your code is wrong or you just have no data.
    debug the code, check if you do have the desired data according to your code.
    regards
    Cornelia

  • 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

  • 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

  • Text Variable error "No value could be determined for variable " Brain 632

    Hi,
    I want to display current fiscal period as description in the colomn of a query.
    Ex. If current fiscal period is 005.2009 in the colomn it should display 2009005
    For that I have created a text variable.(Is it correct to create a text variable for this?)
    But it gives me following error.
    "No value could be determined for variable " Brain 632 Error.
    Please help.

    I assume that your requirement is suppose a user enter a date as 01/12/2010 - 31/12/2010 in the selection screen then he should get the data for this  range in one keyfigure and 01/11/2010 - 31/11/2010
    For this requirement you have to create one customer exit variable on calendar day :
    I have taken into account only the two values .
    Important is to take into account what if a month has 31 days and previous month has 30 days.
    The user exit will trow an error in this case .
    You need to handle this in the code .
    Data :
    day type string,
    year type string ,
    Month type string ,
    LS_Calday type Date.
    IF i_step = 2.
      CLEAR loc_var_range.
      READ TABLE i_t_var_range INTO loc_var_range
        WITH KEY vnam = 'Z_PCG1'.
    day = loc_var_range-low+6(2) .
    Year=loc_var_range-low+0(4).
    Month =loc_var_range-low+4(2) .
    if month = 01 ,
    year= year -1 .
    month = '12'
    concatenate year month day into LS_Calday .
    else if month = 03
    and day =31 or day = 30 or day = 29 .
    day = 28 .
    month = month -1 .
    month_high = month 
    concatenate year month day into LS_Calday .
    else if month = 05 or month = 07 or month = 10 .
    month = month -1 .
    concatenate year month day into LS_Calday .
        CLEAR l_s_range.
        l_s_range-low  = LS_Calday .
         l_s_range-sign = 'I'.
        l_s_range-opt  = 'EQ'.
        APPEND l_s_range TO e_t_range.
      ENDIF.
    ENDIF.
    restrict the first keyfigure with the user input variable and second with this customer exit variable .

  • Error while executing customer Exit Variable (No value could be determined for variable.  BRAIN 632)

    Hello,
    I created a customer exit variable which has to show the range between the first and last day of the previous month. The query will be executed every first of the month.
    Variable is declared as: Customer exit, based on 0CALDAY, Interval, Mandatory and NOT input.
    When i debug the query, it is making the calculation but its not populating my variable; when I execute the query from RSRT, the output test shows a message:
    ENo value could be determined for variable ZRANGE_PREVMONTH.                            BRAIN               632ZRANGE_PREVMONTH
    Below the code i'm using (SAP 7.4)
    ***Customer Exit to calculate previous month.
    IF i_step = 2.
         CASE i_vnam.
              WHEN 'ZRANGE_PREVMONTH'.
    DATA:  LS_RA_SID  TYPE   RSR_S_RANGESID.
    DATA:  yyyy(4) TYPE n.
    DATA:  mm(2) TYPE n.
    DATA:  dd(2) TYPE n.
    DATA:  fst_date LIKE sy-datum.
    DATA:  fst_date2 LIKE sy-datum.
    LOOP AT i_t_var_range_c INTO loc_var_range
        WHERE vnam = '0DAT'.
          dd = sy-datum+6(2).
          mm = sy-datum+4(2).
          yyyy = sy-datum+0(4).
          fst_date2 = sy-datum.
          IF dd = '01' AND mm = '01'.
            mm = '12'.
            yyyy = yyyy - 1.
          ELSEIF dd = '01' AND mm <> '01'.
            mm = mm - 1.
          ELSEIF dd <> '01'.
            mm = mm - 1.
          ENDIF.
          CLEAR: fst_date.
          CONCATENATE yyyy mm '01' INTO fst_date.
          fst_date2 = fst_date2 - 1.
          CLEAR: ls_ra_sid.
          ls_ra_sid-sign = 'I'.
          ls_ra_sid-opt = 'BT'.
          ls_ra_sid-high = fst_date2.
          ls_ra_sid-low = fst_date.
          APPEND ls_ra_sid TO e_t_range.
    ENDLOOP.
    ENDCASE.
       ENDIF.

    Hi Fernanda,
    Try this:
    DATA:  LS_RA_SID  TYPE   RSR_S_RANGESID.
    DATA:  fst_date LIKE sy-datum.
       CASE i_vnam.
              WHEN 'ZRANGE_PREVMONTH'.
    fst_date = sy-datum - 1.
    concatenate fst_date(6) '01' into ls_ra_sid-low.
          ls_ra_sid-sign = 'I'.
          ls_ra_sid-opt = 'BT'.
          ls_ra_sid-high = fst_date.
          APPEND ls_ra_sid TO e_t_range.
    ENDLOOP.
    ENDCASE.
       ENDIF.
    Just post here for any queries..
    Regards,
    Loed

  • 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 showing - No price could be determined for subcontracting in CK11N

    Hi,
    We are facing a problem in CK11N that while we are creating Material Cost Estimate with Quantity Structure, getting an error message..
    No price could be determined for subcontracting
    Message no. CK468
    Diagnosis
    The system could not calculate a price for the subcontracting because none of the valuation strategies in valuation variant 001 was successful.
    System Response
    If the system issues a warning message or an information message, the costing item is used in the cost estimate with a zero value.
    If the system issues an error message, it sets the status "KF" (costed with errors).
    If the system issues a termination message, the cost estimate cannot be processed.
    Procedure
    If you have authorization for Customizing, check the valuation strategy for subcontracting in valuation variant 001.
    I read many thread already, but no solution is suit my requirement..
    please help..

    We run the transaction OPN2 and select 001- Planned valuation - mat. Valuation Variant. Db Click on it and select Subcontracting tab.
    There Strategy Sequence is defined as under:
    Priority......Strategy Sequence
    1...............Effective price from Purchase Order
    2...............Net Purchase Order price
    3...............Effective price from Quotation
    and in Quotation in Purchasing option, there is selected - Auto quota arrangement.
    please guide.

  • ( error no CK 465)  No price could be determined for the material

    Hi,
    While costing for a material i am getting the error messages as folloows
    1) No price could be determined for the material   error no CK 465
    2)Cost component split costed with value of zero  CK240
    Materail procurement type is F - External procurement  so i hope no need BOM and routing , they were not created.
    Material has price control indicator - S
    Material type - ZVAR (Finished product variant)
              What could be the reason for this error and what is the solution
    THannks & regds
    Ramachandra

    Hi Experts,
    I also got the same error how to solve it.
    Many materials costed with errors how to resolve those.
    Error Messages are: 465,240,322,597,168
    Please let me know the solution.
    I have Run the cycle on 29-02-2012, Today i.e 0n 01-03-2012 MM consultant wants to close the period of February.
    Is it required to resolve the errors before closing the february period?
    Can we resolve the errors after closure of the period.
    Please guide me. Most urgent
    Jyoshna

  • IW48 - Error NO PRICE COULD BE DETERMINED FOR INTERNAL ACTIVITY

    While i confirm the work order by useing IW48 t-code that showing an Error i.e. "NO PRICE COULD BE DETERMINED FOR INTERNAL ACTIVITY 1422 0000004230"
    The Mesagge No is CK466
    I would like to know how to change the message type from error to warning as I want to keep the price of activity type with no value (zero price).
    Thank you
    Edited by: carlos stoffel lemos on May 19, 2010 10:58 AM

    hi Tesjag
    Thank you for your input.
    I have read the program that you have mentioned and in fact fyi the message type can be maintained in table T100C via transaction code OBA5. hte standard defaults as an error as you have mentioned but this can be changed on the tarnsaction that i have mentioned.
    thank you

  • Error: No vendor could be determined for article 124

    Hi Friends,
    I am getting an error" No vendor could be determined for article 124" while maintaing Sales view for article. I have given supply source as Standard in basic view and also maintained purchasing view. I entered this vendor in sales view, but error comes. Pl help to solve this.
    Also, How price calculation is done in article master? I have give net price in PIR and add mark up 10% and how the system arrives at sales price. Pl help.
    Regards,
    Ram

    Hi Ram,
    Function in Pricing that enables you to calculate sales prices for the materials that are carried by a retail company in different steps of the value chain, and to store them as condition records in the system.
    Calculating sales prices for materials is arranged according to the usual order of goods flow in retailing. Thus, the two main elements of sales price calculation are:
    Determining purchase prices (purchase price determination)
    Determining sales prices (sales price determination)
    The margin is also calculated as a characteristic key figure for the relationship between sales and purchase price. Various different procedures are used for determining sales and purchase prices. The sales price can, for example, be calculated from the purchase price using a planned markup; it can, however, also be derived from competitor prices.
    The sales price calculation function also allows mass maintenance of conditions. Sales price calculations can be performed for a range of materials and organizational levels. The different organizational levels here, for example stores and distribution centers, represent the various steps in the value chain
    Source:help.sap.com
    Also pl look into the following link:
    http://help.sap.com/saphelp_45b/helpdata/en/12/085091470311d1894a0000e8323352/frameset.htm
    Hope this helps you.
    Regards,
    S.V.ManiKumaar

  • ATP Check Issue - No business system could be determined for logical system

    Dear all
    Got an issue while executing ATP check on a planned order in product view,
    with a message: "No business system could be determined for logical system"
    CIF setting wise:
    regular business system group maintained and assigned in place,
    master data wise:
    business system group info fine in product master,
    Is there anywhere suggested to check under ATP setting:
    category, check mode, business event, check control/check instruction?
    Your kindest enlighting is appreciated,
    Thank you,
    mandy

    Dear Mandy,
    usually this error is caused by a missing customizing entry:       
    spro:                                        
    Integration with SAP Components
       Integration via APO Core Interface (CIF)
         Basic Settings for Creating the System Landscape                             
           - Maintain Business System Group
           - Assign Logical System and Queue Type :
    Please read the documentation for these two transactions and create the systems.
    You need to specifiy there all systems that are in your BSG. The documentation for the customizing of 'name logical system' in APO  says:                                                                               
    To enable the transfer of data between SAP R/3 and SAP APO, you need to name both the SAP APO system in which you are working and the SAP R/3  system to which you want to transfer data as logical systems.          
    I hope this helps.
    Regards,
    Tibor

  • Error in F-02 : "No chart of accounts could be determined for Company Code

    Hi SAP GURUs,
    When we tried to post an Journal Entry it is giving the error message as "No chart of accounts could be determined for company code".
    Could you please help me with the reason & resolution for this.
    Best Regards,
    Pavan

    Dear,
    Please try tcode obd4, define a/c group with COA.
    hope it helps
    regards

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • No fax number could be determined for partner

    Hi,
    I received this message when I was trying to see output type after creating, saving sales activity (VC01N), then come back to this sales activity > Goto> Output. My output type is not shown here. So I went to Determin Analysis, I found 3 messages here 541 Output found, 570 No fax number could be determined for partner <xxxxx>, and 516 Fax number could not be determined. Condition type is set for fax output. This output type is also set for printer and external send. They are working fine. Some how only for fax output, fax number is not found for the partner. Any light on this topic is appreciated.
    This partner is contact person of the customer. Fax number found for this partner in XD03.
    If you need more information please let me know.
    Thank you,
    Surya.

    Hi Surya,
    U need to check and see the fieldnames of fax number and its ID(sequence number) and also FTP/URI fields and its ID...
    use tables adr3 and adr12
    first you must determine address-no. (e.g. from table kna1 / lfa1 or other master data).
    or do like this:
    1) goto LFA1 table take the address number(ADRNR) of the purticular vendor by using vendor number(LIFNR).
    2)then goto ADRC table, enter the address number(ADRNR).now u'll get all the communication details of the purticular customer.
    kindly reward if found helpful.
    cheers,
    Hema.

Maybe you are looking for