SAP-BSP Checkbox Method Retrive the Data Value

Hi,
Please Help Me which Class Method use to retrieve  the Check box Value From Page and Store in the Variable in bsp application
Thanks Regards,
Mithun
Moderator message: please do more research before asking,e.g. check in the separate BSP forum.
Edited by: Thomas Zloch on Apr 8, 2011 2:46 PM

Hi Surya ,
U can get the UME API  <a href="https://help.sap.com/javadocs/NW04S/current/se/index.html">here</a>
<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/ep/_s-u/Using%20The%20New%20User%20Management%20API%20in%20EP%206.0">USING THE NEW USER MANAGEMENT API</a>
Check UserMangement Development
<a href="http://media.sdn.sap.com/html/submitted_docs/ume/ume40_0_index.htm">weblog</a>
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/b8/8312409ab58f5ce10000000a155106/frameset.htm">Examples of Data Source</a>
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/42/60af25032c1422e10000000a114cbd/frameset.htm">Starting KM development project using ume</a>
Thanks
Swathi
Reward pts if helped in anyway

Similar Messages

  • How can I show a 0% range in the data value label on a bar chart thanks?

    How can I show a 0% range in the data value label on a bar chart thanks?

    I'm not sure what the question is. 
    I know that if you have a bar chart and one of the categories (X-axis) has bar (Y value) equal to 0%, no bar is plotted for that category. Even the addition of a stroke (line) around the bars doesn't make one appear for 0%.  The only automatic way I know of to make it look like there is data in that category is to add the value labels to the bars. Inspector/Chart/Series, select one of the bars on the chart, click on "value labels". Another method that is a workaround is to fudge the number a little in your table so that instead of 0% it is a very small %.  This will get you a thin line on the chart.
    But if your question is about the value labels (the numbers that display on or in the bars) and you are not getting one for a bar that is supposed to be 0%, it probably means your table doesn't actually have a 0% in the corresponding cell. A blank cell in the table will not get a value label.

  • Setting the series color of a bi beans graph based on the data values

    How do I conditionally set the series color of a bi beans graph based on the data values?
    I am using the following code to get the data values and set the series color:
    Graph gr=(Graph)CmdrDashboardP1_pres1.getView();
    DataAccess da=gr.getGraphModel().getDataAccess();
    DataDirector dd=gr.getDataDirector();
    DataMap dm=dd.getDataMap();
    int re=dd.ROW_EDGE;
    int ce=dd.COLUMN_EDGE;
    Object val=da.getValue(re,ce,dm.DATA_TYPE);
    int seriesCount=da.getEdgeCurrentSlice(DataDirector.ROW_EDGE);
    if (val <=45.0)
    gr.getSeries().setColor(new Color(255,0,0),seriesCount);
    I get a NullPointerException from the line of code "Object val=da.getValue(re,ce,dm.DATA_TYPE)." I have tried the code with DATA_UNFORMATTED as well, but get the same exception. When I print the DataMap value of dm the results are [dataUnformatted, dataViewFormat, value, dataIsTotal, dataType].
    Also, I get the error "method <= (java.lang.Object,double) not found in class _CmdrDashboardP1" from the "if (val <=45.0)" code.
    Thanks for any assistance

    How do I conditionally set the series color of a bi beans graph based on the data values?
    I am using the following code to get the data values and set the series color:
    Graph gr=(Graph)CmdrDashboardP1_pres1.getView();
    DataAccess da=gr.getGraphModel().getDataAccess();
    DataDirector dd=gr.getDataDirector();
    DataMap dm=dd.getDataMap();
    int re=dd.ROW_EDGE;
    int ce=dd.COLUMN_EDGE;
    Object val=da.getValue(re,ce,dm.DATA_TYPE);
    int seriesCount=da.getEdgeCurrentSlice(DataDirector.ROW_EDGE);
    if (val <=45.0)
    gr.getSeries().setColor(new Color(255,0,0),seriesCount);
    I get a NullPointerException from the line of code "Object val=da.getValue(re,ce,dm.DATA_TYPE)." I have tried the code with DATA_UNFORMATTED as well, but get the same exception. When I print the DataMap value of dm the results are [dataUnformatted, dataViewFormat, value, dataIsTotal, dataType].
    Also, I get the error "method <= (java.lang.Object,double) not found in class _CmdrDashboardP1" from the "if (val <=45.0)" code.
    Thanks for any assistance

  • How to parse the date value for the string 2003-04-25 11:53:11 IST

    This is my database output for the date value(2003-04-25 11:53:11 IST). How to convet this string to Timestamp date value. Any one pl. help me

    BUT ... there is a public static Timestamp valueOf(String s) method in the Timestamp class that might help.
    http://java.sun.com/j2se/1.4.1/docs/api/java/sql/Timestamp.html#valueOf(java.lang.String)

  • How to add attribute to UME and how to retrive the attribute value

    Hi Gurus,
    I have developped an application that retriving the data from back end for that we need to give input values .
    I have got the Logged user from the Iuser But Sales Organization of User [from user profile] and Brand value [from user profile] I want these input put values need to pass as a input .
    For this how can get the sales org and Brand value.
    Give me suggestions for this or how to pass attributes to UME and how to capture it.
    Advance thanks.
    thanks
    Lohi.

    Check if there are any available function modules for this functionality. One of the FM that comes to my mind is:
    a) BAPI_USER_GET_DETAIL
    Check with your SD guys , if there exists any such function module.
    Regards,
    Subramanian V.

  • How to retrive the data from a sqlite file(.db3) in windows phone 8.1(runtime)

    hey guys
    i installed the sqlite and sqlite-net as requested in other answers i found, changed to x86, and add the .db3 file in my project.
    but the problem is how to retrive the data that already in the file( i am not creating any table or data in the app, just read)
    all the answer i found is to create a table first and then read the table, i tried to skip the step of creating a table, and read from the table directly, but failed with " no such table", by the way, i set the property of the .db3 file as "content",
    "copy if newer"
    can anyone please help? i appreciate that !

    Hello,
    From your description, you want to read data from available sqlite file. When you add the sqlite file into your project, you need to change the sqlite file build action to content. After deploying to device, the sqlite file is located in installation folder,
    you need to copy that file into storage folder before reading data. Please try the following code snippets.
    private async void Button_Click_9(object sender, RoutedEventArgs e)
    //check if file exists in storage folder, and then copy to local storage
    bool flag = await FileExistsAsync("Data.db3");
    if (!flag)
    var folder = await Package.Current.InstalledLocation.GetFileAsync("Data.db3");
    await folder.CopyAsync(Windows.Storage.ApplicationData.Current.LocalFolder);
    // open sqlite and read data
    public async Task<bool> FileExistsAsync(string fileName)
    try
    await Windows.Storage.ApplicationData.Current.LocalFolder.GetFileAsync(fileName);
    return true;
    catch (FileNotFoundException)
    return false;
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • How to get the date value

    Hi everyone!
    I want to change the status of button(OK -> Run) after choosen the date .(ex :the textbox default value is 2009/10/14,I choose the date 2009/10/10 from the B1 calendar form)
    But after the status changed from OK -> Run,but the choosen date value doesnt change.
    Anyone can tell me how change the date value. Thanks a lot
    Code :
    If pVal.BeforeAction Then
    Else
                    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
                        Select Case pVal.ItemUID
                            Case "201"        ' date item                                                                               
    Button = form.Items.Item("3").Specific
                                    Button.Caption = "Run"
                         End Select
                    End If
    End If

    SELECT *
    FROM your_table
    WHERE date_column = to_date('25-Jan-07', 'dd-Mon-yy')Why oh why oh why are you using dates with two-digits representing the year? In my opinion, this is bad and wrong. Be explicit; use 4 digits. is your "07" representing 1907? 2007? 2107?

  • On migration of Mac Office Excel the date values are changed to mm/dd/yy

    I recently upgraded to new iMac and migrated my MacOffice 2008 and now find that all my date data is forced into the American date format (mm/dd/yy). I have phoned Apple support  - no help! Microsoft no online help. Not only is the entry data changed but I have to use the awkward data entry format of mm/dd/yy very unnatural to a non American.
    I have searched in Excel preferences and confirmed my OS X 10.10 settings (languages and date formats) all using dd/mm/yy as input and display.
    If I enter a date into the spreadsheet say 1/8/14 (meaning 1st August) it comes back with 8th January. Is there a fix or do I have to wear that nonsense?
    Any ideas out there? This problem did not exist in Mavericks.
    thanks, Sigi

    kumar73 wrote:
    v_date := TO_DATE(TO_CHAR(ZKAW__DATE_DT_MM)||'/'||TO_CHAR(ZKAW__DATE_DT_DD)||'/'||TO_CHAR(ZKAW__MAT_DT_CCYY),'MM/DD/YYYY') ;
    to get the date value . provided if all the above fields are having values not zeros .
    My requirement is if any of the above stated fileds are having spaces or zeros then I had to assign spaces or zeros to the variable .So many misconceptions.
    You start with numbers not dates. You convert those numbers to dates when you can and every time you need to use them, which is why it would be better to store dates in the first place.
    You cannot assign either 0 or spaces to a date variable because neither 0 or space is a valid date. You should probably assign it to null.

  • How to extract the date value of IBOR date="12/12/2009"

    I have the following query, but do not get the date value out:
    WITH ibors AS (
    SELECT xmltype('<?xml version="1.0" encoding="utf-8"?>
    <IBOR date="12/12/2009">
    <LIBOR currency="USD">
    <OneYear>1.38875</OneYear>
    </LIBOR>
    </IBOR>
    ') ibor_xml
    FROM dual
    SELECT i.ibor_date, i.ibor_oneyear
    FROM ibors,
    XMLTABLE(
    '//IBOR'
    PASSING ibors.ibor_xml
    COLUMNS ibor_date VARCHAR2(20) PATH '/IBOR/date',
    ibor_oneyear VARCHAR2(20) PATH '/IBOR/LIBOR/OneYear'
    ) i;
    How to extract the date value of <IBOR date="12/12/2009">?

    Hi,
    The date is an attribute of element IBOR. So you must use "@date" in the xpath expression :
    WITH ibors AS (
    SELECT xmltype('<?xml version="1.0" encoding="utf-8"?>
    <IBOR date="12/12/2009">
    <LIBOR currency="USD">
    <OneYear>1.38875</OneYear>
    </LIBOR>
    </IBOR>
    ') ibor_xml
    FROM dual
    SELECT i.ibor_date, i.ibor_oneyear
    FROM ibors,
    XMLTABLE(
    '//IBOR'
    PASSING ibors.ibor_xml
    COLUMNS
    ibor_date VARCHAR2(20) PATH '/IBOR/@date',
    ibor_oneyear VARCHAR2(20) PATH '/IBOR/LIBOR/OneYear'
    ) i;

  • Retriving the data

    Hi
    Can we retrive  the data from multibple cubes to list cube
    Thanks

    hi,
    as=nullwhat's the variable as ?
    your code seems to be correct.
    Plz, post the hole error message

  • Error: please enter the date value in correct format DD-MON-RRRR

    Hi all,
    First of all I am 100 % learning oracle financial no technical background. I am trying to run a report: -the calendar does not appear in order for me to choose the date -Besides that when I enter the date ie 10-09-2010 or 10/09/2010 the system give me this error "Error: please enter the date value in correct format DD-MON-RRRR "
    please help me solve that.
    Thanks

    please enter date in 12-Oct-2010 format.
    regards,
    http://www.oraerp.com

  • Can we retrive the data from Maintainence view

    Hi Guys,
    Can we retrive the data from Maintainence view...
    Thanks,
    Gourisankar.

    Hi,
    Data can be retrived only from following type of views:
    Projection view
    Database View

  • Could not convert the data value due to reasons other than sign mismatch or overflow. ADSI Provider

    I'm trying to run the following query against Active Directory using the ADSI Provider using SSMS 2012 SP1:
    SELECT
    TOP901
    *FROMOpenQuery
      ADSI
    'SELECT description
      FROM  ''LDAP://OU=MMICorporate,DC=mmis,DC=mi,DC=com''
      WHERE objectClass =  ''User''
    and objectcategory = ''Person''
    and ''userAccountControl:1.2.840.113556.1.4.803:''<>2
    )AStblADSI
    Msg 7346, Level 16, State 2, Line 2
    Cannot get the data of the row from the OLE DB provider "ADsDSOObject" for linked server "ADSI". Could not convert the data value due to reasons other than sign mismatch or overflow.
    I only have this issue querying the Description Field. 
    I also found a hotfix KB: 887474 for this but it is for Windows 2003.  SQL Server OS I have is Server 2008 R2.  Is there a fix for 2008 R2?
    Thanks

    Thanks for the quick response.
    I checked out the link and I can only convert to Ul8 and when I try I get the same error:
    SELECT
    TOP901
    *FROMOpenQuery
      ADSI
    'SELECT name, convert(UI8, description)
      FROM  ''LDAP://OU=MMICorporate,DC=mmis,DC=mi,DC=com''
      WHERE objectClass =  ''User''
    and objectcategory = ''Person''
    and ''userAccountControl:1.2.840.113556.1.4.803:''<>2
    )AStblADSI
    Am I missing something?
    Thanks

  • Delete the records which have the Data values are NULL before load data to BPC model

    Hi Everyone,
    I am loading the data from flat file to BPC Model (10.0 Version).
    Source data (Flat file) looks like below:
    RP_Employee RPT_Currency Data
    Test                USD                   8
    Test1              USD
    Test2              USD                    6
    My user requirement is that to delete the records which have the Data values are NULL before load data to BPC model.
    So,Please let me know how can i meet to this requirement.
    I am thinking that,it is possible by using start routine BADi. If i am correct please let me know process like creation of class and BADi implementation.
    Thanks in advance!!

    Hi Nilanjan,
    Please see my source data below:
    Account      Client       Employee     Time                Data
    123              XYZ            Vishu            2014.01               300
    456                                                       2014.01
    789              ABC         Alexander      2014.02               200
    If you see the second record,
    If data value is ZULL,  then the Employee or another dimension is also NULL.
    So I want to delete second records.
    If it is Start routine please share the code and steps to do.
    Thanks in advance!!
    Regards,
    Viswanath

  • Root disk craches how to retrive the data from ZFS file systems.

    Hi Friends,
    The solaris 10 OS (root disk) is crached.i have configered execpt root disk to all disks for ZFS file systems.We using to application.Now any possble to retrive the data.
    Server model - V880
    Pls help me.
    Advance thanks.

    If the OS wasn't on ZFS, then just rebuild the server, hook up the drives and run 'zpool import'. It should find the pool on the disks and offer it up to be imported.
    Darren

Maybe you are looking for