Showing all Characteristic values from Master Data in WebI report

I want to show master data when there is no data in Cube, I have created constant variable with 1 value in Bex and I am using that in the crystal report but it's still not showing master data. Can anybody help me on this.
Thanks,
Ravi

Hi Ingo,
Thanks for your quick reply, I have created formula with constant value 1. Do I need to put that formula in rows or columns or as Free Char?
Thanks,
Ravi

Similar Messages

  • Issues In Reading Attribute Values From Master Data

    Hi All,
    I have a requirement where, i need to read an attribute value from master data. I have a characteristic YCSTATMCG (AT Cost Group Code) which is the master data from where i have to read the attribute, 0PROFIT_CTR (Profit Center). The attribute thus read, has to be populated into another characteristic, YPROFIT_C.  But YCSTATMCG referes to another characteristic, YCSTCG. Here is the FOX Code I wrote with YPROFIT_C as the changing characteristic and 0AMOUNT as keyfigure.
    DATA V_ATCP TYPE YCSTATMCG.
    DATA V_PROFIT TYPE YPROFIT_C.
    DATA V_PROFITC TYPE YPROFIT_C.
    DATA V_AMOUNT TYPE F.
    V_ATCP = OBJV().
    MESSAGE I020(YCO_CFT) WITH V_ATCP.
    V_AMOUNT = {0AMOUNT,  # }.
    V_PROFIT = ATRV('0PROFIT_CTR' , V_ATCP).
    MESSAGE I020(YCO_CFT) WITH V_PROFIT.
    {0AMOUNT, V_PROFIT} = V_AMOUNT.
    But this is not working. The ATRV() function is not reading the attribute values at all. Any solutions and suggestions is highly valued.
    Thanks in advance
    Swaroop

    Hi,
    even i have the same situation.
    i just want the attribute value of a char to be populated into another characteristic in the planning query.
    my question is whether i should populate the keyfigure field also in the FOX code.
    if so should i populate both 0amount and 0quantity fields as i have 2 keyfigure fields.
    Thanks for your help
    Nishanth

  • Characteristic values as hyperlinks in a web report

    Hi All
    I have a web report with only one characteristic and some key figures. And the number of values for that characteristics are 5 and they are always fixed (structure). In my report I need to make each of that characteristic value a hyper link. I have 5 separate reports which should  be linked to these 5 characteristic values.
    I think this can be achieved by using a table interface. If yes, could any one please provide me with the code for the method CHARACTERISTIC_CELL in the ABAP class?
    Or, is there any other better solution?
    Points will be assigned!
    Thank you

    Its very simple! Check this out
    [http://sap.ittoolbox.com/groups/technical-functional/sap-bw/web-based-reporting-jump-target-to-another-query-by-one-click-489775]
    Regarding modifying the existing methods, in the 'Methods' tab select a method you want to redefine and click on the 'Redefine' button. And then double click on the method name, it takes you to the editor screen where you write your code.
    [Screen shot!|http://img139.imageshack.us/img139/5796/tableinterfacexc8.jpg]
    Use the 'CHARACTERISITC_CELL' method to adjust the contents of cells containing values for characteristics.
    'STRUCTURE_CELL'  to adjust the contents of structural components. i.e. if you are using a structure in your query.
    'DATA_CELL' to adjust the contents of data cells (cells where key figure values are displayed).
    Sample code:
    method CHARACTERISTIC_CELL.
    *CALL METHOD SUPER->CHARACTERISTIC_CELL
    *  EXPORTING
    *    I_X              =
    *    I_Y              =
    *    I_IOBJNM         =
    *    I_AXIS           =
    *    I_CHAVL_EXT      =
    *    I_CHAVL          =
    *    I_NODE_IOBJNM    =
    *    I_TEXT           =
    *    I_HRY_ACTIVE     =
    *    I_DRILLSTATE     =
    *    I_DISPLAY_LEVEL  =
    *    I_USE_TEXT       =
    *    I_IS_SUM         =
    *    I_IS_REPETITION  =
    **    I_FIRST_CELL     = RS_C_FALSE
    **    I_LAST_CELL      = RS_C_FALSE
    *    I_CELLSPAN       =
    *    I_CELLSPAN_ORT   =
    *  CHANGING
    *    C_CELL_ID        =
    *    C_CELL_CONTENT   =
    *    C_CELL_STYLE     =
    *    C_CELL_TD_EXTEND =
    * URL to another web template
    if I_IOBJNM = '0PLANT'.
    if I_USE_TEXT = 'X'.
    concatenate
    '<A href='
    'BEx?sap-language=EN'
    '&CMD=LDOC'
    '&TEMPLATE_ID=Technical name of Your TARGET Template'
    '>' I_TEXT '</a>'
    INTO c_cell_content.
    endif.
    * URL to another web template with variable passing:
    if I_USE_TEXT = 'X'.
    concatenate
    '<A href='
    'BEx?sap-language=EN'
    '&CMD=LDOC'
    '&TEMPLATE_ID=Your TARGET Template'
    '&CMD=PROCESS_VARIABLES'
    '&REQUEST_NO=0'
    '&CMD=PROCESS_VARIABLES'
    '&SUBCMD=VAR_SUBMIT'
    '&VAR_NAME_1=Variable in the query of your Target template'
    '&VAR_VALUE_EXT_1='
    I_CHAVL
    '>' I_TEXT '</a>'
    INTO c_cell_content.
    endif.
    end method.
    method STRUCTURE_CELL.
    *CALL METHOD SUPER->STRUCTURE_CELL
    *  EXPORTING
    *    I_X                 =
    *    I_Y                 =
    *    I_IOBJNM            =
    *    I_AXIS              =
    *    I_STRUCTUR_MEMBER   =
    *    I_STRUCTUR_MEMBER_2 =
    *    I_TEXT              =
    *    I_IS_SUM            =
    *    I_IS_REPETITION     =
    *    I_CELLSPAN          =
    *    I_CELLSPAN_ORT      =
    *    I_HRY_ACTIVE        =
    *    I_DRILLSTATE        =
    *    I_DISPLAY_LEVEL     =
    *  CHANGING
    *    C_CELL_ID           =
    *    C_CELL_CONTENT      =
    *    C_CELL_STYLE        =
    *    C_CELL_TD_EXTEND    =
    IF I_IOBJNM = '3AG5XBEXL78XSSA311CAJHVFD'. "UID of your structure
    CASE I_TEXT.
    WHEN 'Display Text of a selection in your structure' .
    concatenate
    '<A href='
    'BEx?sap-language=EN'
    '&CMD=LDOC'
    '&TEMPLATE_ID=Z************'
    '&SET_DATA_PROVIDER_1=DP1'
    '&INFOCUBE_1=Z******'
    '&QUERY_1=Z************'
    '&SET_DATA_PROVIDER_2=DP2'
    '&INFOCUBE_2=Z***********'
    '&QUERY_2=Z***************'
    '>' I_text '</a>'
    INTO c_cell_content.
    WHEN...
    END CASE.
    ENDIF.
    end method.
    method DATA_CELL.
    *CALL METHOD SUPER->DATA_CELL
    *  EXPORTING
    *    I_X                   =
    *    I_Y                   =
    *    I_VALUE               =
    *    I_DISPLAY_VALUE       =
    *    I_NUMERICAL_SCALE     =
    *    I_NUMERICAL_PRECISION =
    *    I_CURRENCY            =
    *    I_UNIT                =
    *    I_ALERTLEVEL          =
    *    I_IS_SUM              =
    *  CHANGING
    *    C_CELL_ID             =
    *    C_CELL_CONTENT        =
    *    C_CELL_STYLE          =
    *    C_CELL_TD_EXTEND      =
    *Make data in 8th Column as Hyperlink with Variable Passing
    if i_x = 8.
    concatenate
    '<A href='
    'BEx?sap-language=EN'
    '&CMD=LDOC'
    '&TEMPLATE_ID=Z*********'
    '&CMD=PROCESS_VARIABLES'
    '&REQUEST_NO=0'
    '&CMD=PROCESS_VARIABLES'
    '&SUBCMD=VAR_SUBMIT'
    '&var_name_1=Z***************'
    '&var_operator_1=BT'
    '&var_sign_1=I'
    '&var_value_low_ext_1='
    c_cell_content
    '&var_value_high_ext_1='
    end_date
    '&VAR_NAME_2=Z**********'
    '&VAR_VALUE_EXT_2='
    filter
    '>'
    c_cell_content
    '</a>'
    INTO c_cell_content.
    endif.
    endmethod.
    Also check this out... this link has a whole bunch of information about table interfaces..
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49dfeb90-0201-0010-a1a2-9d7a7ca1a238
    Hope this helps!
    Thanks

  • How to get the last sub folder value from the string in Webi report

    I have an object coming from universe, this object will contain string e.g. \\Users\Public\Pictures\Sample\
    or    \\Users\Doc\BI\BO\Webi\
    I need the last sub folder from this path to be displayed i.e. Sample and Webi.
    I would like to know how it can be done.
    I tried using formulas like POS, SubStr and Length. however the issue is that the length of the the sting is not fixed and the number of "\" are also not fixed.
    I would appreciate any help regarding this.
    Regards,
    Yogesh

    Hi,
    What is the formula you have written though?.
    =length(right([folderpath]);pos([folderpath];"\")+1)
    Thanks,
    Jothi

  • Count values in master data

    Hello,
    If i want to implement a report that gives me the customers that had no sells for a period, i have to read the values from master data.
    But if i have to implement counters on that how can be done ? I don't want to change the data structure, can it be done only in the report ?
    I know how to count the occurrences of a characteristic relative to one or more other characteristics but that doesn't work because the values must exist in the infoprovider.
    Regards,
    Jorge Diogo

    Hello,
    Maybe you can try one of the below to see if it works:
    1) Create a MPRO on customer master data object and the transactional dataprovider. Now restrict the query where CALDAY is EQ # or any date EQ # which is for the sales date in the transactional DP.
    2) Include customer object in the rows of query and from its properties select display data from master data object. Now create condition where the sales amount is EQ 0 and keep it active.
    Regards,
    Shashank

  • How to get maximal value from the data/class for show in Map legend

    I make WAD report that using Map Web Item.
    I devide to four (4) classes for legend (Generate_Breaks).
    I want to change default value for the class by javascript and for this,
    I need to get maximal value from the class.
    How to get maximal value from the data/class.
    please give me solution for my problem.
    Many Thx
    Eddy Utomo

    use this to get the following End_date
    <?following-sibling::../END_DATE?>
    Try this
    <?for-each:/ROOT/ROW?>
    ==================
    Current StartDate <?START_DATE?>
    Current End Date <?END_DATE?>
    Next Start Date <?following-sibling::ROW/END_DATE?>
    Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
    ================
    <?end for-each?>
    o/p
    ==================
    Current StartDate 01-01-1980
    Current End Date 01-01-1988
    Next Start Date 01-01-1990
    Previous End Date
    ================
    ==================
    Current StartDate 01-01-1988
    Current End Date 01-01-1990
    Next Start Date 01-01-2005
    Previous End Date 01-01-1988
    ================
    ==================
    Current StartDate 01-01-2000
    Current End Date 01-01-2005
    Next Start Date
    Previous End Date 01

  • Web report data provider change from Master data table to InfoCube

    hi Experts,
    I have created one report on top of multiprovider but in the selection screen when i check the values for a variable I came to know that data is coming from master data table and not from data provider(InfoCube).Can any one help to change the data selection from master data table to data provider(InfoCube) and i am sure that there is no ODS involved in the multiprovider.
    Thanks in advance
    With Regards,
    Bala

    Hello,
    If u are using Analyser then just put a Analysis Grid on the output of the query(should cover all the rows and column) , click on the grid and put the dataprovider. and do auto fit.
    Rohit

  • Abap logic not fetching multiple rows from master data table

    Hi
    I just noticed that my logic is fetching only 1 row from master data table.
    ProdHier table
    PRODHIERACHY            Level
    1000                                  1
    1000011000                      2
    10000110003333              3
    10000110004444              3
    '10000110005555              3*
    logic only fetches one row of level 3, I would like to fetch all level 3 rows.
    DATA: ITAB type table of /BI0/PPROD_HIER,
          wa like line of ITAB.
    Select * from /BI0/PPROD_HIER INTO wa where /BIC/ZPRODHTAS = 3.
    IF wa-PROD_HIER(10) = SOURCE_FIELDS-PRODH2.
         RESULT = wa-PROD_HIER.
         ELSEIF wa-PROD_HIER(5) = SOURCE_FIELDS-PRODH1.
         RESULT = wa-PROD_HIER.
    ENDIF.
    ENDSELECT.
    thanks

    Hi,,
    I have implemented the logic in end routine and it still reads only the first row.
    I am loading only PRODH1 and PROD2 but now I want to get all values of PRODH3 from the master data table.
    The first 5 values are PRODH1 and first 10 values belongs to PRODH2.
    Whenever PRODH2 = 1000011000 in source I should get the following values
    10000110001110
    10000110001120
    10000110001130
    I have multiple rows of 1000011000 so my result should be
      1000011000               10000110001110
      1000011000               10000110001120
      1000011000               10000110001130
    DATA: ITAB type table of /BI0/PPROD_HIER,
    wa like line of ITAB.
    data rp type _ty_s_TG_1.
    Select  * from /BI0/PPROD_HIER INTO table itab where /BIC/ZPRODHTAS = 3.
    LOOP AT RESULT_PACKAGE INTO rp.
    read table itab into wa with key PROD_HIER(5) = rp-PRODH1.
    IF sy-subrc EQ 0.
         rp-PRODH3 = wa-PROD_HIER.
         ELSE.
    read table itab into wa with key PROD_HIER(10) = rp-PRODH2.
    IF sy-subrc EQ 0.
         rp-PRODH3 = wa-PROD_HIER.
    ENDIF.
    ENDIF.
    MODIFY RESULT_PACKAGE FROM rp.
    ENDLOOP.
    Edited by: Bhat Vaidya on Sep 10, 2010 11:27 AM
    Edited by: Bhat Vaidya on Sep 10, 2010 11:37 AM

  • Get all the values from a multiple select in a multipart form

    Hi there!
    I am using a form with enctype="multipart/form-data" in order to upload files from the form.
    I have read this page: http://commons.apache.org/fileupload/using.html and everything works well for my form.
    The only problem is that I can't get all the values from a "multiple select" html object. I get only one value.
    Using servlets I have used this method:
    public java.lang.String[] getParameterValues(java.lang.String name) But now I have enctype="multipart/form-data" in my form and I can't use this way...
    Is there a way to get all the values of a multi-valued parameter?
    Thanks a lot!
    Stefano

    Hi
    I have got solution for this problem so, I am listing here logic
    assume tag name of html
    <select name="moption" multiple="multiple">
    iterate it in as
    String moption="";
    boolean cnt=true;
    while(itr.hasNext())
    FileItem fi=(FileItem)itr.next();
    if(fi.isFormField())
    if(fi.getFieldName().equals("moption"))
    if(cnt==true)
    moption=fi.getString();
    cnt=false;
    else
    moption=moption+","+fi.getString();
    If wants more help then mail me your problem
    at [email protected]
    Thanks!
    Anand Shankar
    Edited by: AnandShankar on 6 Nov, 2009 12:54 PM

  • Currency translation - not picking up currencies from master data

    Hi,
    We have a currency translation defined for a key figure. We've defined a variable for users to select target currency. 0currency is set to pick up from master data, but the input help on the variable is only showing currencies from infoprovider. I debugged the query and it is trying to get the currencies from the cube. Any setting that I do or update?
    We're using BW 7.3 SP10 on HANA.
    Sonni

    HI
    Once check in the BEx tab of that IO, there select the f4 option.
    Regards,
    Sunil.

  • KE28 with" Copy Characteristic Value with Reference Data" doesn't work

    Hi experts:
    We need to make a top-down setting the processing option 'Copy Characteristic Value with Reference Data'. We have the following source data:
    Customer Business Unit  Value field.
    6        #              100
    On the other hand, we have plan data as reference data:
    Customer Business Unit  Value field.
           A              40
           C              40
           D              20
    We need to run a top-down to distribute from client to Business Unit but copying client of reference data. Then, we set 'Copy Characteristic Value with Reference Data' and, in the selection criteria we set '*' for customer.
    After running, the result is that the system can find 1 sender and 3 receivers. It is exactly what we are expecting. However, program doesn't make individual items and anything is distributed.
    We have found notes 1086282 and 1273924 but the result is the same after implementing these notes.
    Thanks in advance for your help.
    Best regards
    Jose

    There are some restrictions on the XML Schema format that you can report off of in Crystal Reports.
    If you're using the ODBC XML driver, you may find this of relevance:
    [http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xml_data_sources.pdf|http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xml_data_sources.pdf]
    and if you're using the native XML driver, the following gives a guide for the accepted formats:
    [http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xi_native_xml_driver.pdf|http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xi_native_xml_driver.pdf]
    Sincerely,
    Ted Ueda

  • Prompt in webi not showing all the values

    I have created a universe based on a BI query.in the BI query there is a variable for the profit center which has been used in the characteristic restrictions.When i create a webi report based on this universe,the prompt for the profit center is showing only 1 value.It is not showing the rest of the values.Pls help.

    Hi,
    1. Try to check at BI query level whether values are there for profit center column or not.
    2. Try to do what susney said. If it doesn't work follow 3.
    3.  In universe level go to the profit center object  on which you created prompt-> click on object properties -> properties -> edit list of lovs -> then a query panel appers to you -> run and check whether all the values appering to that object ot not.
    4. If all the values appering then check whether any filters are applied to profit center object in universe level/report level.
    Cheers,
    Suresh Aluri.

  • Making member in BM showing all possible members from all levels

    When i import essbase model with drag and drop option i get one additional member called, for example, Times - Default. It shows all available members from all levels of its dimension.
    How can i create similar member in relational model?

    I doubt that is possible with relational data because, unlike essbase structure, relational data do not allow you to store alias at design time.
    If you spell the business requirement here, we may be able to tell you any alternative.

  • Reading From Master data failure

    I have enhanced 0VENDOR_ATTR with ZTERM field from LFM1 table and everything is working fine ...I have added ZPMNTTRMS as an attribute in 0VENDOR and loaded the data its working fine .But when I was using this ZPMNTTRMS in a DSO and say read from master data and took the source field as 0vendor ...then Iam not able to see the values for this info object...Ofcourse 0VENDOR is loading fine....Can any one let me know what is the issue here ? / Is there any routiene / some code needs to be written some where to get the ZPMNTTRMS values in DSO ...Please advice ASAP...
    regards

    hi nw2004s,
    have you performed change run ?
    rsa1->tools->apply attribute/hierarchy change run (or RSATTR)
    hope this helps.

  • No delta's for DTP from master data object to Info Cube

    Hello,
    I have a DTP process that updates records from master data attributes to Info cube.
    Here i am not able to schedule a DTP in delta mode. The option appears in display mode.
    Even though when i tried deleting the FULL update DTP and created a new DTP, the delta option is in display mode. i have deleted all requests from my info cube.
    Any idea or solution !!
    Thanks
    Ankur

    Ankur,
       If you want load Master Data DELTAs to Cube, you can achive this by introducing a DSO before Master Data Infoobjects.
    Assume your Dataflow....
    Master Datasource
              |
              |
              |
    Master Data Infobjects
              |
              |
              |
          Cube
    New Dataflow:
              Master Datasource
                        |
                        |
                        |
              |-------DSO---------|
              |                   |
              |                   |
          Cube      Master Data Infobjects
    Hope this helps.
    Nagesh Ganisetti.
    Assign points if it helps.

Maybe you are looking for