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

Similar Messages

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

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

  • No price could be determined for material/batch DWFB1.1-07GL2/ plant DAAL

    Hi Gurus,
    While doing GR (MB31) of Finish product  DWFB1.1-07GL2 in plant DAAL, we are getting this error.
    No price could be determined for material/batch DWFB1.1-07GL2/ plant DAAL
    Message no. CK465
    Diagnosis
    The system could not calculate a price for material/batch DWFB1.1-07GL2/ in plant DAAL for valuation view 0, because none of the valuation strategies in valuation variant 007 was successful.
    We kept price control for finised good material master rececord is 'V'
    I assigned valuation  variant 007 to the plant DAAL.
    Pls. suggest the solution.
    Praveen

    hi,
    Please check same valuation variannt has been configured in order costing variant or apprearing order control data.
    Did you maintained MAP for that material in material master?
    Regards,
    Ashok

  • Shipping data could not be determined for the material

    hi all,
    while creating STOs for i get a message that shipping data for the material canoot be determined for the material. the plants are maintained as customers. the shipping tab in item detail in STO order is not appearing. the shipping point is getting dertmined for sales orders from the same plant and material. am also able to ceate STOs between other pair of plants.
    thnx in advance
    saurabh
    Message was edited by:
            saurabh diwakar

    Hi,
    Shipping point is determined by <b>"shipping conditions"</b> + <b>"loading group"</b> + "<b>plant"</b>.
    <b>Shipping conditions</b> are fetched from customer master / or if maintained in the sales doument type they are fetched from there.
    <b>Loading group</b> fetched from material master.
    <b>Plant</b> fetched from CMIR / CMR / MMR.
    You do the shipping point determination using the transaction code <b>"OVL2"</b> If <b>SC or LG or PLANT</b> are deviating from the entries in the customer or material master then also you will not get the shipping point.
    Reward points if solution helps.
    Regards,
    Allabaqsh G. Patil

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

  • No structure could be determined for internal activity

    Hi,
    When i do the cost estimates (CK11n) for a Finished good, i get the error 'No structure could be determined for internal activity XYZ (Cost Center: ABC)'.
    I have maintained prices for the activity & cost center combination in KP26.
    Is there any other place i need to check?
    Please advise.
    Thanks in Advance,
    Safi

    Hi,
    You need to check if the activity rates are maintained for the Cost center and Activities combination in KP26.
    While running the cost estimates (CK11n) go to the itemization view (F6) and verify that the activity costs for the material are Not zero (This would be now Zero for the cost center and activity combination-when error is displayed).
    Thanks,
    Safi

  • Error CK 694 No structure could be determined for internal activity

    Hi everybody
    When I do confirmation, I have an error like this: CK 694 No structure could be determined for internal activity
    In KP26, I defined plan price for Exactly Cost center and activity, Price indication is 3.
    In costing variance
    In OPL1, Actual Cost for Activity I choose 1. Plan Price...
    In OKTZ, I define Cost Element in Cost Component Structure
    I don't use  Activity Group.
    I don't know how to fix this error. Does anybody help me ? Please
    Thanks.
    QuangDD

    Dear,
    CK11N check the cost component structure for this material
    Check whether secondary cost element is assined to that activity.If it is assigned then check cost component structure in IMG where that secondary cost element is assigned or not.
    Please refer this thread also,
    PRODUCT COSTING ERROR -CK11N
    Regards,
    R.Brahmankar

  • 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

Maybe you are looking for

  • Syncing Music Library in 'Shared' Folder

    Our music collection sits in the 'shared' user folder on our family MAC, and the iTunes in our individual accounts point to that folder. This way we only have 1 copy of the music but all have our own XML file for playlists and such. Currently, the Ap

  • Parameter in the select

    hi, SELECT hp.party_name CustomerName,   csi.incident_number SRNumber,   csi.incident_date SRDate,   csi.close_date SRCloseDate,   mtl.concatenated_segments SRItemName,   csi.summary Summary,   csi.problem_code,   csi.incident_address SRAddress,   cs

  • Script to change WP Document margins

    Almost all of the word processing documents I use utilize margin settings of .5 inches all the way around. The default settings are 1 inch. Can someone provide me with an applescript I can run to quickly reset the margins? It's a pain to do it manual

  • Nokia 808 Gallery Share problem

    Hello everyone! I met a problem that I can not upload image gallery facebook. The flickr, twitter youtube sharing works flawlessly, but when facebook, you'll want to sign and return to the gallery. A similar problem can be as fmobi. Have pointed towa

  • My 6th ipod finally works....guess how?!!!

    Hi I've just worked out that after 6 ipods not working over 3 yrs...technical support have just told me to unplug isight from my imac and the ipod worked! crazy, but to use it while ipod is connected i need to update the software if anyone can pls he