Value of variable  cannot be determined

Hi Guys,
We are using authorization values for the BPS planning template. The user gives the value for COSTCENTER, the background checks the authorization and fills the rest of the values.
The variable is set with check on restrictions of values required by the user.
The variables are working in the UAT system but not in the development for a ID with similar authorizations. The error message says
===================================================================
Value of variable ZCOSTCNT cannot be determined
Message no. UPC_FW149
Diagnosis
You are using variable ZCOSTCNT, but the system cannot determine the value of variables. The replacement type 'user-specific values' is set up for the variable, but no values are maintained for your user ID. In addition, the indicator 'Input allowed by user' is not set for the variable. This means the variable cannot be used.
System Response
The action desired by you cannot be executed.
Procedure
Contact your administrator in order to have one of the following changes carried out:
Input of values for variable ZCOSTCNT and your user ID.
Set the indicator 'Input allowed by user' for variable ZCOSTCNT. This means you can enter the desired values yourself when you call up the function. You can possibly also use another variable for the characteristic.
====================================================================
I dont see any difference in the systems excpet the hierarchies used in the authorization object.
CaValue of variable ZCOSTCNT cannot be determined
Message no. UPC_FW149
Diagnosis
You are using variable ZCOSTCNT, but the system cannot determine the value of variables. The replacement type 'user-specific values' is set up for the variable, but no values are maintained for your user ID. In addition, the indicator 'Input allowed by user' is not set for the variable. This means the variable cannot be used.
System Response
The action desired by you cannot be executed.
Procedure
Contact your administrator in order to have one of the following changes carried out:
Input of values for variable ZCOSTCNT and your user ID.
Set the indicator 'Input allowed by user' for variable ZCOSTCNT. This means you can enter the desired values yourself when you call up the function. You can possibly also use another variable for the characteristic.
====================================================================
I dont see any difference in the two systems, excpet the hierarchy for cost center used in the authorization object. When I checked RSECADMIN, I can see the ID is properly authorized
Appreciate if anyone can throw some light on the issue.

RSECADMIN will not help with this issue: the system is complaining about User-specific authorization within BPS.
You can check the athorization from the Planning Workbench: look at the entries for the ZCOSTCNT in your planning area for the required user. If necessary add the required authorization; though you need exclusive access to the planning area to do it from the workbench.
You can also check the assigned values by browsing the table (from Tcode SE16) UPC_VAR_CHA_SEL . It possible also to maintain the values from text file uploads using program Z_BPS_VAR_UPLOAD (from "How to ... Upload User-specific Variable Selectins in BW-BPS)., which is useful in the live environment when there are many settings to maintain.
Stephen

Similar Messages

  • BPS: Value of variable Current variable cannot be determined

    Hi
    I have a BPS app. where I need to get current month. I've created a variable with replacement type User Exit and developed a function module that returns current month based on sy-datum.
    However when I use the variable in a planning function it returns the error
    'Value of variable Current Calendar year/month ( ZHCCURM ) cannot be determined' and in the diagnosis is says 'The replacement type 'user-specific values' is set up for the variable, but no values are maintained for your user ID. In addition, the indicator 'Input allowed by user' is not set for the variable. This means the variable cannot be used'
    So it seems that the system think I have a variable w. replacement type 'User sepcific values'. We're on SAP NW 7.0.0 and I looked for notes but cannot find any relevant.
    Anyone seen and solved this problem please let me know.

    Import
    I_AREA     TYPE     UPC_AREA-AREA                               Planning Area
    I_VARIABLE     TYPE     UPC_VAR-VAR                               Variable
    export
    ETO_CHARSEL         TYPE      UPC_YTO_CHARSEL             Characteristic Selections      
    FUNCTION XXXX.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_AREA) TYPE  UPC_AREA-AREA
    *"     REFERENCE(I_VARIABLE) TYPE  UPC_VAR-VAR
    *"  EXPORTING
    *"     REFERENCE(ETO_CHARSEL) TYPE  UPC_YTO_CHARSEL
      DATA: wa_charsel     TYPE upc_ys_charsel,
                  v_curr_month    TYPE NUMC4,
                     v_subrc          TYPE sy-subrc,
                     i_varsel          TYPE TABLE OF upc_ys_api_varsel,
                wa_varsel          TYPE upc_ys_api_varsel.
      CALL FUNCTION 'API_SEMBPS_VARIABLE_GETDETAIL'
        EXPORTING
          i_area     = i_area
          i_variable = 'ZCURRYR'
        IMPORTING
          e_subrc    = v_subrc
        TABLES
          etk_varsel = i_varsel.
      IF v_subrc = 0.
        READ TABLE i_varsel INTO wa_varsel INDEX 1.
        IF sy-subrc = 0.
          v_curr_month = month from system date.
          wa_charsel-chanm = '0calmonth'.
          wa_charsel-sign = 'I'.
          wa_charsel-opt = 'EQ'.
          wa_charsel-low = v_curr_month.
          APPEND wa_charsel TO eto_charsel.
        ENDIF.
      ENDIF.
    ENDFUNCTION.

  • Abort Could not determine a value for variable 0DAT from the authorizations

    Hi All,
    I encountered an error '/ Abort Could not determine a value for variable 0DAT from the authorizations\' when executing my query on a multiprovider in BW 3.5.
    Can anyone help me in finding a solutionn to this issue.
    Thanks,
    Kartik.

    Hi Kartik,
    I am sorry as that note is for NW2004s. Please check if 0DAT variable installed from a business content? if not then I think thats the cause of the problem.
    Hope this helps,
    Bye...

  • 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

  • Values of Formula Variables are not determined

    I have created a Purchase Order for services where the quantities for services line items are determined on the basis of predefined formulas. Values for all the variables are provided in PO and quantity is calculated on the basis of those values. When I try to adopt the services during the creation of Service Entry sheet with reference to PO, system shows the below error message:
    Please enter a value for variable(s) NO OF PERSONS (Form.Val.1)
    Message no. SE252
    Diagnosis
    You wish to have the system determine the quantity using a formula but have not entered any values for the variables in the formula.
    Procedure
    Maintain the values of the variables.
    Example
    For example, in a formula for calculating a volume, specify the values for the variables "length", "width", and "height".
    The values of formula variables are not adopted from the PO. Please suggest the solution or possible cause of error.

    I have gone through the note you suggested. But in my case each variable is created with specific name and assigned to the formulas.
    The formulas are getting adopted in RFQ but not in service entry sheet.
    Edited by: abapuser on Dec 21, 2010 6:46 AM

  • Operator 'EQ' The value of left operand cannot be determined.

    Hi,
    I have designed workflow for BO 'FIPP'. This BO has two events CREATED and COMPLETED.
    On CREATED event I have put start condition as
    &parkeddocument.Flagcomplete& = X    or
    &parkeddocument.Idoc_check&    = X.
    When I created a FI doc through FB60 this start condition is evaluated properly and workflow works properly.
    But when I am trying to execute this event using function module 'SAP_WAPI_START_WORKFLOW' or
    'SWE_EVENT_CREATE_FOR_UPD_TASK' in a progam,  I am getting error in SWEL as "Operator 'EQ' The value of left operand cannot be determined."
    When I checked in SWEL for event triggered error is displayed as "Operator 'EQ' the value of left operand cannot be determined"  and it refers to FM SWB_CHECK_FB_START_COND_EVAL.
    For FlagComplete is source is database field VBKPF-XPRFG (ABAP dictionary) and
    for Idoc_check is virtual field.
    The workflow failing when evaluating start conditions.
    Could you please suggest if I need to change anything in start condition or use any difffernt approach.
    Regards,
    Amit R.

    Hi Imthiaz,
    Thanks for the reply.
    If I use FM 'SWE_EVENT_CREATE_FOR_UPD_TASK' what are the value I do need to pass in table EVENT_CONTAINER.
    Right now I am passing only value of FlagComplete and Idoc_check attributes present on this BO and both of them are used in start condition.
    at the moment data  I am passing is
    OBJTYPE, OBJKEY and  EVENT and in container data for only FlagComplete and Idoc_check.
          CALL FUNCTION 'SWE_EVENT_CREATE_FOR_UPD_TASK'
               EXPORTING
                    OBJTYPE           = L_BOR_OBJTYPE
                    OBJKEY            = L_BOR_OBJKEY
                    EVENT             = L_BOR_EVENT-EVENT
               TABLES
                    EVENT_CONTAINER   = WE_EVENT_CONTAINER
               EXCEPTIONS
                    OBJTYPE_NOT_FOUND = 1
                    OTHERS            = 2.
    Is it sufficient
    Regards,
    Amit R.

  • Error-Specify a value for variable

    Dear All,
    We upgraded our BW system to BI 7 SP 15. We are getting following error when executing queries in Bex.
    Specify a value for variable Company Code
        Message no. BRAIN629
    Diagnosis
        The variable cannot be empty. You must make an entry in the variable
        maintenance for variable Company Code.
    System Response
    Procedure
        Enter a value. Use the search help (F4) if necessary.
    Procedure for System Administration
    Interesting thing is that this error is faced by only 2 users in all upgarded systems.
    We created test user with same roles and we are getting error for these test users as well. All other users can run these queries without any problem. When we gave them sap_allprofile, it worked but I dont think this an authorization issue as these user can execute reports in web without any error.
    Second interesting thing is that, I applied note 1085822. This solved the problem. But on next day while closing this issue formally we found it is not working again and giving the same error.
    I checked other notes but these are not suitable for SP15.
    Any pointer/help will be well appreciated.
    Regards,
    Niraj

    Hi All,
    Resolved this issue by giving authorization obj S_BDS_D value display.
    Regards,
    Niraj

  • VKORG, VTWEG, SPART cannot be determined for customer C3000 , vendor VENDOR001

    Message Type is ORDERS & basic Type is ORDERS05.
    While executing IDOC, we are getting error message 51 with below message.
    Message no. VG204
    VKORG, VTWEG, SPART cannot be determined for customer C3000 , vendor VENDOR001.
    Relation with SAP values is maintained table EDPAR. but while executing IDOC through IDOC_INPUT_ORDERS, System is not collecting values from EDPAR table.
    Do we have user exit available to resolve this issue.
    Please help.
    Thanks & Regards,
    Ashish Mankar/Ganesh.

    Hi Guido,
    One of my clients are getting the same error, and without a complete access to their system its proving very difficult to resolve.
    I know about VOE4 - Mapping, where the supplier 'maps' the customers cost-centre/business unit/int ref etc to suppliers account number.
    Just wondering what is the difference between VOE2 and VOE4?
    Thanks,
    Tanzim

  • IDoc status error 51 : A company code cannot be determined for LS

    Hi,
    We are trying to post an Idoc into R/3 but getting the IDoc status code 51 :  A company code cannot be determined for LS
    What could be the possible reason?
    Should we use Party in Receiver IDoc scenarios?

    Hi,
    I have quite the same problem. I built an IDOC with WE19 and I have the message "A company code cannot be determined for LI 0000031004".
    As explained in note OSS 117808, the partner number (31004) and partner type (LI) are read from the control record of the IDOC. I enter this values in OBCA and OBCE customizing points, to determine the company code 'LC'. It doesn't work.
    PT Rao, what do you call "activate partner profile" ?
    Thanks in advance.
    Regards,
    Arnaud

  • Program error: Object type of receiver cannot be determined

    Hello Experts,
                   Am getting this error "Program error: Object type of receiver cannot be determined" when creating internal orders using BAPI_INTERNALORDERS_CREATE. I read many forums, but they are not answered. I didn't get any solution. Any Solution Please.
    Thanks in Advance

    Here is my Code
    TYPE-POOLS : TRUXS.
    TYPES:BEGIN OF TY_COAS_SVALD,
          AUART TYPE AUFART,         "Order Type
          BUKRS TYPE BUKRS,          "Company Code
          KTEXT TYPE AUFTEXT,        "Description
          GSBER TYPE GSBER,          "Business Area
          WERKS TYPE WERKS_D,        "plant
          KDAUF TYPE KDAUF,          "Sales Order Number
          KDPOS TYPE KDPOS,          "Item
          USER0 TYPE AUFUSER0,       "Applicant
          USER1 TYPE AUFUSER1,       "Applicant's telephone number
          USER2 TYPE AUFUSER2,       "Person responsible
          USER6 TYPE AUFUSER6,       "Department
          KOKRS TYPE KOKRS,          "Controlling area
          AUFWAERS TYPE AUFWAERS,    "Currency
          END   OF TY_COAS_SVALD .
    DATA : IT_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA:T_COAS TYPE STANDARD TABLE OF TY_COAS_SVALD INITIAL SIZE 0,
        WA_COAS TYPE  TY_COAS_SVALD.
    PARAMETERs : p_file TYPE IBIPPARMS-PATH.
    at SELECTION-SCREEN on VALUE-REQUEST FOR p_file.
      PERFORM browse_file.
    INITIALIZATION.
      CLEAR:WA_COAS.
      REFRESH:T_COAS.
    START-OF-SELECTION.
    PERFORM LOAD_FLAT_FILE.
    PERFORM SUB_CALL_BAPI_FOR_KO01.
    FORM browse_file .
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
       FILE_NAME           = p_file
    ENDFORM.                    " browse_file
    FORM LOAD_FLAT_FILE .
    DATA : LT_RAW TYPE TRUXS_T_TEXT_DATA.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          I_FIELD_SEPERATOR          = 'X'
         I_LINE_HEADER              = 'X'
          I_TAB_RAW_DATA             = LT_RAW
          I_FILENAME                 = P_FILE
        TABLES
          I_TAB_CONVERTED_DATA       = T_COAS
       EXCEPTIONS
         CONVERSION_FAILED          = 1
         OTHERS                     = 2
      IF SY-SUBRC <> 0.
      ENDIF.
    ENDFORM.                    " LOAD_FLAT_FILE
    FORM SUB_CALL_BAPI_FOR_KO01 .
      DATA:L_MASTERDATA  TYPE BAPI2075_7,
           LE_MASTERDATA TYPE BAPI2075_2,
           T_BAPI TYPE STANDARD TABLE OF BAPI2075_6 INITIAL SIZE 0,
           WA_BAPI TYPE BAPI2075_6.
    clear:l_masterdata,
          le_masterdata,
          wa_bapi.
    refresh:t_bapi.
      LOOP AT T_COAS INTO WA_COAS.
      L_MASTERDATA-ORDER_TYPE = WA_COAS-AUART.
      L_MASTERDATA-COMP_CODE = WA_COAS-BUKRS.
      L_MASTERDATA-ORDER_NAME = WA_COAS-KTEXT.
      L_MASTERDATA-PLANT = WA_COAS-WERKS.
      L_MASTERDATA-BUS_AREA = WA_COAS-GSBER.
      L_MASTERDATA-SALES_ORD = WA_COAS-KDAUF.
      L_MASTERDATA-S_ORD_ITEM = WA_COAS-KDPOS.
      L_MASTERDATA-APPLICANT = WA_COAS-USER0.
      L_MASTERDATA-APPLICANT_PHONE = WA_COAS-USER1.
      L_MASTERDATA-PERSON_RESP = WA_COAS-USER2.
      L_MASTERDATA-DEPARTMENT = WA_COAS-USER6.
      L_MASTERDATA-CO_AREA = WA_COAS-KOKRS.
      L_MASTERDATA-CURRENCY = WA_COAS-AUFWAERS.
      WA_BAPI-SALES_ORD = WA_COAS-KDAUF.
      WA_BAPI-S_ORD_ITEM = WA_COAS-KDPOS.
      WA_BAPI-COMP_CODE = WA_COAS-BUKRS.
      APPEND WA_BAPI TO T_BAPI.
    CALL FUNCTION 'BAPI_INTERNALORDER_CREATE'
          EXPORTING
            I_MASTER_DATA       = L_MASTERDATA
    IMPORTING
       E_MASTER_DATA       = LE_MASTERDATA
    TABLES
       SRULES              = T_BAPI
       RETURN              = IT_RETURN
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDLOOP.
      WRITE : / IT_RETURN-TYPE, IT_RETURN-MESSAGE.
    ENDFORM.                    " SUB_CALL_BAPI_FOR_KO01

  • BAPI_GOODSMVT_CREATE Dlv. type cannot be determined

    Hello experts,
    I trying to perform a post goods receipt with a PO using BAPI 'bapi_goodsmvt_create' (I want to simulate a MB01, I use gm_code = 01 in the bapi). I have the following error message:
    Dlv. type (dlv. catgry  for mat. 704A46220023 and BWART 101) cannot be determined (message id = VL and message number = 295).
    Do you have any idea where it comes from? I am quite new in ABAP and I am a bit lost with this message.
    Thanks in advance for your help.
    Lionel

    Hi Lionel,
    don't worry!
    Maybe the material is not enabled on this plant?
    Did you try to book the Goods receipt in Transaction MIGO?
    If you want to book it the same way the Transaction does you can make a breakpoint at "call function bapi goodsmvt_create" in Debugger mode and save/copy the data to se37.
    In se37 you can test all the different values.
    To undo the booking of 101 try 102 later on for tests.
    Maybe also SAPNOTE 540185 can help you for the current Topic.
    https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D35343031383526http://
    BR
    Bernhard

  • How to swap column values using variable in sql?

    Hi,
    I have a table and i want to swap two column values using variable
    please help me

    Hi,
    Let us assume that the DeptNAME and DeptNo columns are of type VARCHAR2. However, DeptNO column is VARCHAR2(10) and DeptNAMe is VARCHAR2(100).
    First of all DeptNo column needs to be modified to be 100.
    i) ALTER TABLE DEPT MODIFY DEPTNO VARCHAR2(100);
    Secondly, you will swap DEPTNAME and DEPTNO values using the SQL as follows:
    ii) update dept t1
    set deptname = (select deptno from dept2 t2 where t1.deptno = t2.deptno),
    deptno = (select deptname from dept2 t2 where t1.deptno = t2.deptno);
    Now, finally you want the deptname columns to be VARCHAR2(10)
    iii) ALTER TABLE DEPT MODIFY DEPTNAME VARCHAR2(10).
    If DEPTNO is a NUMBER column, you cannot alter the datatype unless the table is empty; in that case the whole swapping requirement would be moot.
    Trinath Somanchi,
    ( http://www.myospages.com )

  • Real estate object cannot be determined from entries

    Hi All,
    When i am posting GLs  (T.codes FB50L & FB50),  i got error like  Real estate object cannot be determined from entries,
    For this i am using the one expence account and one bank account,
    As we know for the bank acccounts Value date is mandatory, If i give the value date the system is showing the above error,
    If i dont give the value date system is allowing to post,
    Give me the solution and what is the cause of the error,
    Thanks ,
    Kalyan.

    Hi
    You are posting outgoing payment for GL through FB50/L.
    Use F-07 - Outgoing payment other then customer/vendor.
    Regards
    Sampath

  • How to change the value of variable in .bpel file

    Hi,
    How can i change the value of variable in .bpel file at time of deployment.
    Can it be possible with configplan.xml or deployment descriptor?
    Thanks
    Richa

    You cannot change the value of variable in .bpel file using config plan. If you want to change value at runtime , you can use Preference variable. Below is the blog to help you understand more.
    http://eelzinga.wordpress.com/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
    Cheers,
    Durga
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • Error that "specify a value for variable posting period (single value entry

    hi
    My query is running testing fine in RSECADMIN under some username..but when i try and open it using analyzer (under same username) it gives me error that "specify a value for variable posting period (single value entry, mandatry)" it does'nt even asks to enter variable values and gives this error message.
    However the same query appears to be working fine under different username.
    plz advise.

    Hi Abhinav,
    Just do one thing compare the Roles of two different users for which Query is getting executed and not.
    Check the Object S_RFC.
    Compare the Objects detail for Both the Users.
    Please Assign points if useful.
    Regards,
    Rajdeep.

Maybe you are looking for

  • Does anyone know of an iPad app that can lock the iPad after a period of months (i.e., 6 months)?

    Does anyone know of an iPad app that can lock the iPad after a period of months (i.e., 6 months)? I am looking to give ipads to contestant participants and need a way to automatically lock the device once the set duration (measured in days, weeks, mo

  • [Solved] Aspire One - Can't get touchpad to work

    I'm in the process of installing arch on a hdd One, and i've copied the xorg.conf from the AA1 Arch wiki. http://wiki.archlinux.org/index.php/Ace - Fxorg.conf When i test the config, the "X" image displays but i can't move it with the touchpad. This

  • Best way to use w/ 2 computers

    I have: 1) an imac (the main computer i use.) 2) ibook (used when I want to sit on the couch at home, or while mobile in town) 1) iTouch (just mobile use and meetings) 3) other computers (friends, work, vacations, libraries) I need help with setting

  • Join on all_synonyms and all_objects stalls

    I have used this query for many years to see what synonyms can access tables and views within a user account. It has worked through Oracle 8 up to Oracle 11.2.0.3.0 Now, on one database, Oracle 11.2.0.3.0, this select stalls: Select 'S' IND from dual

  • Cfexecute, batch file, and a ftp script

    I have a batch file which works fine when entered in at the command prompt; C:/temp/mybat.bat but when I use cfexecute it fails. Now this may be more of a case of what I am calling than CF itself. here is the output: C:\CFusionMX7\runtime\bin>"C:\Pro