Where is the value of a SAP UI page Field stores?e.g. Priority

Hi All,
I am so confused about getting the value of a UI page field, e.g.Priority. I don't know how to obtain its value in a report. It isn't a field in CRMD_ORDERADM_H table.
Via set a breakpoint in one of class CL_CRM_UIU_BTADMINH_CN' method GET_PRIORITY and debug, I can find its value here in  'assign ME->CONTAINER_PROXY->DATA_REF->ATTRIBUTE_REF->* to <DATA>.'. But I don't know how to use it in my report.
Any one can help? Thank s very much!
Br,
Ivy

Hi Ivy,
You can find the priority in the table SCPRIOT.
If you want to get it from the UI, you can get it from the relation BTHeaderActivityExt
Refer the code:
DATA: ls_activity_h TYPE crmst_activityh_btil.
    lv_collection = lr_order->get_related_entities( iv_relation_name = 'BTOrderHeader' ).
    IF lv_collection IS BOUND AND lv_collection->size( ) GT 0.
      lr_adminh ?= lv_collection->get_current( ).
    ENDIF.
    CHECK lr_adminh IS BOUND.
*        check if the leading object is activity or task
    CALL METHOD lr_adminh->if_bol_bo_property_access~get_properties
      IMPORTING
        es_attributes = ls_adminh.
    INCLUDE crm_object_types_con.
    IF ls_adminh-object_type EQ gc_object_type-businessactivity OR ls_adminh-object_type EQ gc_object_type-task.
*          get the activity header extension
      CLEAR lv_collection.
      lv_collection = lr_adminh->get_related_entities(
             iv_relation_name = 'BTHeaderActivityExt' ).
      IF lv_collection IS BOUND AND lv_collection->size( ) GT 0.
        lr_activity_h = lv_collection->get_current( ).
        CHECK lr_activity_h IS BOUND.
*            check if the activity or task is marked as private
        CALL METHOD lr_activity_h->get_properties
          IMPORTING
            es_attributes = ls_activity_h.
Regards,
Leon

Similar Messages

  • What/Where is the Value Lifecycle Manager (VLM)

    What/Where is the Value Lifecycle Manager (VLM)
    I was just reviewing an ASUG presentation from Soledad Alvarado Ganzhorn of SAP NetWeaver Product Management at SAP Labs. It describes a value lifecycle manager tool that includes:
    &#56256;&#56457;Value Discovery content includes: Interview Questions, Pain Points, Best Practices, Solution Enablers, Value Drivers & KPI's, and Data Requests
    &#56256;&#56457; A Knowledge Management Platform – Retrieve and Enter content
    &#56256;&#56457; A Highly Flexible and Customizable Business Case Building and Reporting Platform
    &#56256;&#56457; Used by Value Engineers, Solution Engineers, ISG, Partners and others
    Is anyone aware if SAP is using this tool already? Will customers get access to it? This sounds like a replacement for the business case builder which I haven't seen either. It would be nice if customers had access to these sorts of discovery tools. Since we don't utilize SAP consulting, we are often not able to access this content as we initiate new initiatives. It would be nice to have access as it seems like we are internally selling their software for them.

    The tool is available. It is at the following URL:
    https://sapvalueengineering.com/VLM2/client.page
    SAP has nominated select Partners that have access to the tool. You can probably check with the SAP partner relationship manager in your organization to see if you have access to this tool.

  • Where is the value field in antique photos?

    I'm working through the PS Touch for iPad tutorial on antique photos.
    Step Two requires changing the intensity.  The "Tip" says that the intensity can be changed by tapingnthenvaluenfieldmto,open the keypad editor.
    Where is the value field ? How do I change intensity outside the value field?

    Tap on the percentage-value. The keypad opens and you can manually set the value.

  • Where does the Value of EECST gets stored

    Hi,
    Where does the value of EECST gets stored for the infotype p0167. How can it be retrieved from that specific infotype. - Urgent issue.
    Thanks........
    sk

    hi,
    what is EECST?
    there is no such field in data dictionary.
    plz specify properly or atleast u give the name of field in general that is used in pa0167 infotype so that we can help u.

  • Is it possible to get the value of variable through answers page ?

    Hi all,
    I had Dynamic variable ETLRundate . I want use this variable in Answers page to see the out put ?
    Is it possible to get the value of variable through answers page ?if so how I can use ?

    Hi
    Use the link below and download the documentation
    http://www.oracle.com/technology/documentation/bi_ee.html
    I think you will find what you are looking for in the Answers, Delivers, and Interactive Dashboards User Guide, but in short the syntax to display a variable value is as follows:
    As shown above the syntax for using a presentation variable is:
    @{variablename}{defaultvalue}
    For Session variables use:
    @{biServer.variables['NQ_SESSION.variablename']}
    For repository variables use:
    @{biServer.variables['variablename']}
    Rgds
    Ed

  • Placing the ux3 Shell in sap.m.Page causes its header to disappear

    Hi Community,
    I want to have a common Navigation Links for the complete SAPUI5 application , so my preferred choice was ux3.Shell. But while placing the ux3.Shell in sap.m.Page , its header is overridden by that of page . How to avoid this ? Or is there any other way to structure this typpe of requirement for responsive application ?
    PFB the screenshot :
    Suggestions are welcome.
    Regads
    Mayank

    Hi Hendrik,
                        Did you check by right clicking on the shell and giving inspect element whether the shell has the splitapp div inside it?
              if so then check whether it has got some width and height if not try to give it inform of pixels instead of percentage
    Regards
    Raghu

  • Where is the value of report repository stored in the database?

    Hi all,
    One of our developers is trying to write a code that would send the output report (pdf)of a process through mail, typical work flow stuff.But the problem is that we are not supposed to hard code the value of report repositiry from where the report has to be picked.can anybody suggest a table in the database from where the value of report repository can be queried.
    we tried using
    select reportrepositorypt from pswebprofile.
    but this doesnt return the correct path. we went to PIA->peopletools->webprofile ->webprofie configuration
    here we updated the value in report repository field and saved it and queried again.
    But this didnt solve our problem.
    Its showing the previous value which is different from the actual report repository path.
    all the servers are in solaris box.
    please suggets.
    Thanks!

    Right now, I am trying to send a PDF (XML Publisher report) as an email to our vendors (it is their ACH Advice).
    What I have done so far is: Created an App Engine, one step to populate a state record with run control information and the second step that runs XML Publisher and creates PDF report(s) which are published to the Report Repository and saved to a file on our network. Now I think I just need to create a third step to recall the PDF(s) and send the PDF(s) out as emails to our vendors.
    I have found that the PDF information from Report Repository is stored in the Database in the CDM_LIST_VW record (this is a view and the main underlying table is CDM_LIST, but this contains what I need for now, so I'm going to try using it first). The Report ID is stored in the CONTENTID field and the Report Description (description shown on the Report Repository -- which in our case contains the email address) is stored in the CONTENT_DESCR field. So I am going to try over the next week to write the logic to query the CDM_LIST_VW for the data needed for the email address and the ReportID to go and grab the file....The hardest part is finding the actual file but I am hoping that I can also find a URL on that table. I'd pull the file from the network, but XML Publisher writes them out into numbered folders where all the PDFs are named the XML Report Defn - thus same name). I have not tried any of this yet, but am hoping I'm on the right path.
    I hope this helped answer your question.
    Good Luck!
    Jennifer

  • How to clear the values present in SAP memory.

    Hi,
    i am building a module pool program in that  im using subscreen which is designed as 'selection-screen 0500 as subscreen.'
      when we validate the selection screen elements, if it come acrosses any error condition it disables every field in theselection-screen enabling the error field(error value is still present). this works fine here.
      but i  need to clear the values present in that field.to retain the values im using memory ids.
    solution required immediately.
    Thanks,
    Nagaraju.

    Hi,
    Use FREE MEMORY.
    FREE MEMORY deletes the entire ABAP memory including all the data that was exported with EXPORT TO MEMORY ID key.
    If helpful pl reward.
    Cheers...

  • Please help..it's Urgent..How to fetch the value from table row from Page

    Hi,
    I have created a table with 2 LOV's , LOV2 is dependent on LOV2.
    Here I can not use the general Dependent LOV concept, as these values are coming from 2 different LookUps.
    I am not able to fetch the user input for LOV1 (from page) .that is why not able to set the where cluse fro 2nd LOVVO.
    I have used this code:
    if ("ViolationCat".equals(lovInputSourceId)) {
    OAMessageLovInputBean msglov =
    (OAMessageLovInputBean)webBean.findChildRecursive("ViolationCat");
    // String p_violation_category = "'"+(String)msglov.getValue(pageContext)+"'";
    String p_violation_category =
    (String)msglov.getValue(pageContext);
    // System.out.println(" p_violation_category =" +
    // p_violation_category);
    String v_violation_category = "";
    //System.out.println("vcat=" + vCat);
    OAViewObject violationVO =
    (OAViewObject)am.findViewObject("SNI_Violation_DtlsVO2");
    Number vcatViolationIdnum =
    (Number)violationVO.getCurrentRow().getAttribute("ViolationId");
    String vcatViolationId = "" + vcatViolationIdnum;
    pageContext.putTransactionValue("vcatViolationId",
    vcatViolationId);
    pageContext.putTransactionValue("p_violation_category",
    p_violation_category);
    String query =
    " SELECT LOOKUP_CODE, \n" + " MEANING, \n" +
    " LOOKUP_TYPE \n" +
    " FROM apps.fnd_lookup_values \n" +
    " WHERE LOOKUP_TYPE ='SNI_VIOLATION_CATEGORY' AND MEANING=?";
    PreparedStatement ps = txn.createPreparedStatement(query, 1);
    try {
    ps.setString(1, p_violation_category);
    ResultSet rs = ps.executeQuery();
    //System.out.println("before while,");
    // rs.next();
    // v_violation_category = rs.getString("LOOKUP_CODE");
    // System.out.println("v_violation_category="+v_violation_category);
    while (rs.next()) {
    //System.out.println("inside while");
    v_violation_category = rs.getString("LOOKUP_CODE");
    // System.out.println("v_violation_category=" +
    // v_violation_category);
    ps.close();
    } //try ends
    catch (Exception e) {
    e.getMessage();
    //System.out.println("in catch.." + e.getMessage());
    OAViewObject subCatVO =
    (OAViewObject)am.findViewObject("SNI_ViolationSubCategoryVO1");
    //System.out.println("get VO before where clause: subCatVO::"+subCatVO.getQuery());
    subCatVO.setWhereClause("LOOKUP_TYPE like '%SNI_VIOL_SUB_CAT_" +
    v_violation_category + "'");
    System.out.println("after set where clause VO: subCat VO::" +
    subCatVO.getQuery());
    subCatVO.executeQuery();
    // System.out.println("query of subCat VO::" +
    // subCatVO.getQuery());
    //End of sub category Validation
    It is working fine only for the 1st row of teh table.
    I have tried to fetch the value using :
    String violationCategory = (String)violationVO.getCurrentRow().getAttribute("ViolationCategory");
    String violationSubcategory = (String)violationVO.getCurrentRow().getAttribute("ViolationSubcategory");
    But it is fetching null value.
    Please tell me how can I able to fetch the values.

    Hi
    in your scenarion,first u have to identify the particular row of table where the changes is being made ,u have to use this code .when u select the lov ,first it will give the row refernce and then u have to catch the lov event
    OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    if ("<ItemPPREventName>").equals(event))
    // Get the identifier of the PPR event source row
    String rowReference =
    262
    pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Serializable[] parameters = { rowReference };
    // Pass the rowReference to a "handler" method in the application module.
    am.invokeMethod("<handleSomeEvent>", parameters);
    In your application module's "handler" method, add the following code to access the source row:
    OARow row = (OARow)findRowByRef(rowReference);
    if (row != null)
    thanx
    Pratap

  • Where is the source code of custom UI page is written.

    hi experts,
    I am currently working on CRM 6.0
    we have the standard UI page in SAP ,on which we  have added our enhancements.Now I need to know where is the html code for the standard page is written,since I need to add a meta tag in that code.I know that the UI is divided in frames.When I rightclick on  view souce in the IE I can see a java script code,but not sure from where its originating....
    please let me know in which component the code is written or if there is some other location.
    Edited by: Anu_87 on Jul 6, 2010 7:56 PM
    Edited by: Anu_87 on Jul 6, 2010 7:57 PM

    Hi,
    If you are aware of BSP_WD_CMPWB transaction then you may be able to notice the  'View Layout' section towards the bottom of the 'View Structure' tab. In the section if you double click on the htm page it will take you to the htm page layout. The htm page has the same name as the view.
    Regards
    Prasenjit

  • Where is the source code of custom UI page written

    hi experts,
    I am currently working on CRM 6.0
    we have the standard UI page in SAP ,on which we  have added our enhancements.Now I need to know where is the html code for the standard page is written,since I need to add a meta tag in that code.I know that the UI is divided in frames.When I rightclick on  view souce in the IE I can see a java script code,but not sure from where its originating....
    please let me know in which component the code is written or if there is some other location.
    Edited by: Anu_87 on Jul 6, 2010 7:54 PM

    hello,
    Please try by rigght click and properties...you will get an applaictaion and page name...
    Thanks.

  • How do I set the value of a dynamic row text field

    I have a repeated row form which contains a button and multiple text fields.  There is a text field (Input Data Field) further up with some information I want to place in the table and multiple buttons that I want to read the value of and set to the table.  I apologize there are multiple questions I have and I am using pseudocode to describe it.
    Top form looks like
    InputField
    | ButtonX1 | ButtonY1 | DescriptionX1 (read only Text Field)
    | ButtonXn | ButtonY1 | DescriptionXn
    OutputRow looks like
    | ButtonOutput | OutputField1 | OutputField2 | OutputField3 |
    So I would like it to do
    ButtonX1.click
    OutputTable.OutputRow.addInstance(true)  //this works - everything else I have questions on
    OutputTable.OutputRow.OutputField1.rawValue = DescriptionX1.rawValue
    Question 1
    How do I address the location in each table to set a value
    Question 2
    How do I get the value of the description field in the same table and row as the button
    I would like to say something to the effect of  OutputTable.OutputRow[??].OutputField1.rawValue = this.parent.DescriptionX
    OutputTable.OutputRow.OutputField2 = InputField.rawValue
      Same question as above - how do I specify a dynamic row - is this the proper syntax for getting the value from the input field?
    OutputTable.OutputRow.OutputField3 = this.ButtonLabel
    Question 3
      How can I get the value of the button's label to set in the field
      There should be very many of these buttons and buttons will be added - I would prefer to set the value based on the button's label to make the value easier - not requiring changing the code
    Question 4 - unrelated to those above.
    Is it possible to build the first table
    | ButtonX | ButtonY | Description |
    from an XML File.  I have seen examples of how to build if it is just data, but can the XML be pushed into a form with code to do the above actions?

    Each object in a form must have a unique name. I doing so it is not neccessarily the name but the path or SomExpression associated with that object that must be unique. In your case you have a Table.Row.object configuration. The Row is the part that is repeating so to give each object a unique name an instance number is placed on the repeating part. So objects in the 1st row woudl be Table.Row[0].object...objects in the second row woudl be Table.Row[1].object etc .....You can see this by adding a debug instruction on the Enter event of the description field. Put the code app.alert(this.somExpression) and when you enter the field you will see what the somExpression is. Do this for a few rows and you will see the pattern (don't forget to remove the debug code from the enter event). Now you know what you have to use to address the fields. If no instance is given it is assumed to be 0 ..that is why only the 1st row is being affected.
    So now to answer your questions:
    Question1: The square bracket notation is an issue for javascript (this is the notation for an array) so we have to use a different means of addressing the field to include the instance number. So to address the Description in the 3rd row we woudl use:
    xfa.resolveNode("Table.Row[2].Description").rawValue = "This is my new description";
    Note that the instance number is 2 for the 3rd row because the instance numbers are 0 based.
    Question2. The resolveNode notation allows you to pass a string so you can also concatinate expressions to make the string. If you are writing code on a button in the same row you can get the instance that you are on by using the expression this.parent.index. The "this" portion refers to the current object (the button) and the parent.index gets you th eindex of the Buttons parent. If the button is embedded deeper in a hierarchy then you can continue to add parent indicators until you get back to the node that you want. So rewriting your expression from Q1 it woudl be:
    xfa.resolveNode("Table.Row[" + this.parent.index + "].Description").rawValue = "This is my new description";
    Question3: The buttons caption can be retrieved by using ButtonName.caption.value.text.value
    Question4: When you say build from an XML file. What are you expecting to come from the XML file? The caption that goes on the button? Typically the XML file carries data (not to say that it cannot carry other things). Just need a bit of clarification on this one first.
    Hope that helps
    Paul

  • Getting the value of iframe to next page while submitting the form

    hi,
    I have used iframe to change the text as bold or italic . This is changing the text as bold or italic.
    iframe has properties name & id, by using i have tried to get the value while submitting the form , I couldn't get the value.
    can u please help me how to read the iframe content.
    the html code is
    *<div><iframe id="xxx" name="xxxx"></frame></div>*

    Hi Anjan,
    I am using this workflow for an employee to send leave request. I have created an event in a program using SAP_WAPI_CREATE_EVENT to create an event zabsence_form. This event is used to trigger the workflow. I have created a table for leave details. The container used in the form is of that table type.
    The agent for ZFILL_ABS_FORM (for filling leave application)  is the workflow initiator and ZABS_APPROVE is a user who is his manager.
    Now the scenario is that I need to do some screen changes for those two users. For that, I need to get the workflow initiator value in the PBO of the form screen. Any way to do that?

  • Where is the default theme of SAP GUI saved

    Hey Everybody
    We want do distribute the SAP GUI with help of the Installationserver. This works fine now but we want to distribute the SAP GUI with an other Default Theme. So I like to know if there is any possibility to do this? This setting must be saved anywhere, but I dont know where.
    Thanks for your help!

    Hi,
    1. Signature theme:
           HKEY_CURRENT_USER\Software\SAP\General\Appearance\UseSMCRendering - 1
    2. System default:
          HKEY_CURRENT_USER\Software\SAP\General\Appearance\UseSMCRendering - 0
    3. For other themes:
          HKEY_CURRENT_USER\Software\SAP\General\Appearance\UseSMCRendering - 0 and
          HKEY_CURRENT_USER\Software\SAP\General\Appearance\Theme

  • Where is the directory for "com.sap.aii.adapter.lib.sda" - PI 7.1 ?

    Hi,
    I want to install new JDBC driver in PI 7.1 EHP1, base on notes 1138877 i have to modified file "com.sap.aii.adapter.lib.sda".
    please advise in which directory the file is ?
    Best Regards
    Fernand

    Hi
    you can go to the drive in which your PI is installed for example if it is E then path will be like
    E:/usr/sap/<SID>/DVEBMGS00/j2ee/cluster/bin/ext/com.sap.aii.adapter.lib
    copy this file on your local desktop unzip it using winzip and add the driver jar to this
    make the entry of your driver jar file in provider.xml file and  again zip the folder
    then using SDM deploy this file
    for complete process search on SDN "how to install and configure external  drivers for jDBC and JMS"
    Thanks
    sandeep

Maybe you are looking for

  • How to resize objects simultaneously

    Hi, I originally posted a question in the past regarding how to transform objects simultaneously in Illustrator, and the answer had to do with using "transform each" in the object menu. I am trying to do the same in Indesign, but since there is no "t

  • DB13 fails because of MEDIANAME does not match

    Hi SDN, while configure DB13, first job runs perfectly but when it runs a week later it fails because of an MEDIANAME does not match error Duration:  0 hours, 0 minutes, 0 seconds                        Last msg:  Executed as user: NT AUTHORITY\SYSTE

  • Calling the PAI of a screen dynamically

    Hi Experts, I have two screens say 9000 and 9001. If the user enters a certain command in screen 9000 I am supposed to call screen 9001 for some secondary information. After the user enters the info in screen 9001 i am supposed to return back to the

  • Regarding order by clause

    the values of a column are: 1 - 5 hours 20 mins - 1hr greater than 5 hours less than20 mins I want the output in the order as: less than20 mins 20 mins - 1hr 1 - 5 hours greater than 5 hours This is neither ascending nor descending order. Is there an

  • Need a price

    Ok, this is what I have set up and you get the idea on what I am trying to accomplish. I have a table of my database called 'members' Amongst other items I have columns called: state: varchar(2) service: TinyInt keywords: LongText When people sign up