Change the attribute structure of a dynamic query object

Hi,
As seen below, the attribute structure is a Z structure..
I want to revert/change it to the std structure CRMT_BUPA_IL_HEADER_SEARCH
I don't find any display/change buttons there...how do I achieve it?
Thanks
Madhukar

HI Deepika,
Thanks For your reply...
My component - BT116S_SRVO.
I have added Customer appointment date and customer appointment time and prodcut delivery statud date and prodcut delivery time in service order reslut screen.By using AET i have created all the feilds and ihave added same fields in result screen...
Now in component - BT116S_SRVO , ihave implemented the logic of getter method of CUSTOMER appointment date is as follows.,Now date and time is coming..but it is perfromance problem na..so for avoid this issue we need to do in BADI implementation rite?could you please tell me the steps and how to implement the logic..please help
GETTER METHOD
DATA: current TYPE REF TO if_bol_bo_property_access.
DATA: dref TYPE REF TO data,
lv_guid TYPE crmt_genil_object_guid.
value = ' '. "#EC NOTEXT
IF iterator IS BOUND.
current = iterator->get_current( ).
ELSE.
current = collection_wrapper->get_current( ).
ENDIF.
lv_guid = current->get_property_as_string( iv_attr_name = 'GUID' ).
DATA : lr_current TYPE REF TO cl_crm_bol_entity,
lr_parent TYPE REF TO cl_crm_bol_entity.
* lv_guid TYPE crmt_genil_object_guid.
DATA : lv_appt_type TYPE string.
DATA : lv_time_from TYPE string.
DATA:
lt_header_guid TYPE crmt_object_guid_tab,
lt_orderadm_h TYPE crmt_orderadm_h_wrkt,
lt_orderadm_i TYPE crmt_orderadm_i_wrkt,
ls_requested TYPE crmt_object_name,
lt_requested TYPE crmt_object_name_tab,
lt_appointment_wrk TYPE crmt_appointment_wrkt,
ls_appointment_wrk TYPE crmt_appointment_wrk.
INSERT lv_guid INTO TABLE lt_header_guid.
ls_requested = 'APPOINTMENT'.
INSERT ls_requested INTO TABLE lt_requested.
* append ls_requested to lt_requested.
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
it_header_guid = lt_header_guid
it_requested_objects = lt_requested
IMPORTING
* et_orderadm_h = lt_orderadm_h
et_appointment = lt_appointment_wrk
* CHANGING
* CV_LOG_HANDLE =
EXCEPTIONS
document_not_found = 1
error_occurred = 2
document_locked = 3
no_change_authority = 4
no_display_authority = 5
no_change_allowed = 6
OTHERS = 7.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
READ TABLE lt_appointment_wrk INTO ls_appointment_wrk WITH KEY appt_type = 'ZCST_APT'.
IF sy-subrc EQ 0.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = ls_appointment_wrk-date_from
IMPORTING
date_external = value
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
ENDIF.
Thanks
Kalpana

Similar Messages

  • How to change the attributes of screen fields dynamically

    <b></b>
    well i have created a table by name empmaster_data with following fields.
    *emp_id.
    *emp_fname.
    *emp_lname
    *dob.
    *doj.
    *dept.
    *desig.
    now using a single screen i want to create,change and display the information.even i am using save and exit button.
    now i want to change the attributes of screen fields dynamically like active,input,output,invisible.

    Hi,
    Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • How to change the attribute names of viewobj dynamically?

    I have a table with columns eg.:
    productlineID, month1, month2, month3....
    Then I have a view object created for this table, and I would like the column names month1, month2,... to be changed dynamically from another query to get the current month (eg. 200011), such that month1 becomes 200011, month2 becomes 200012, month3 becomes 200101 etc... to make the jsp page for browsing and editing the records display the column name correctly, and also the element tag of the XML output by XMLData bean. I'm using JDev 3.1.1.2. Thank you in advance.

    five years after nobody has solution to this and I am posting same question.... interesting...

  • What is Dynamic query object ?

    Hi All,
    I want to know what is the exact purpose of a Dynamic Query object ?
    Why cant we use a simple Query object instead ?
    Regards,
    Ashish

    Hello experts,
    i modified the method EH_ONSEARCH in the class ZL_BT111S_O_SEARCH_IMPL. This is the opportunity search.
    We want to exclude the process type ZCRA. I realized this with following code snippet:
    CALL METHOD lr_qs->add_selection_param
          EXPORTING
            iv_attr_name = 'PROCESS_TYPE'
            iv_sign      = 'I'
            iv_option    = 'NE'
            iv_low       = 'ZCRA'.
    There is also a field in the search mask for selecting the process type. For example, i select the process type ZOPP in the mask. If i do this, i get ALL opportunites. I found the reason. The search query looks like this:
    PROCESS_TYPE      I      NE     ZCRA
    OR <--- this is the error
    PROCESS_TYPE     I       EQ      ZOPP
    How can i make an AND-conjunction? The dynamic search object BTQOPP has an parameter MATCH_TYPE but i dont know how to fill out this parameters?
    Best regards
    Sascha Federau

  • How to change the  attribute of screen field to drop down list dynamically

    Hi All,
      Col X                   Col Y
      A                        input field
      B                       drop down list
    This is a tabular disply where the Screen field attribute for Col y  is NO DROP DOWN BOX.
    My requirement is to change the attribute of COl Y to DROP DOWN list depending on the value of
      COL X  dynamically.

    Dear Ajay,
    Actually this requirement is to enhance the standard screen for Tcode :EHSVU21.
    So depending on the 1st Column(Test no)  value ,i have to change the 3rd Column(Low.norm.result)
    property either to DROP Down or not.
    So in the PBO only the changes to be made and there is no field in SCREEN internal table for changing the attribute to DROP down. I checked SCREEN internal table where the field VALUE_HELP and REQUEST is useful but not  suitable for my case.
    Any solution available?

  • Need to change the properties of ADUser form dynamically

    Hi all,
    We have a requirement wherein a user needs to be provisioned AD based on OIM user profile attribute.The conditions for provisioning are :
    1. We have two AD domains ex - ABC and XYZ.
    2. If user's organization is CST then he needs to be provisioned to ABC domain else XYZ.
    3. In AD process definition form "UD_ADUSR" we have an attibute organization which should take value from a lookup definition ex - LookUp.ADReconciliation.OrgABC for ABC domain and LookUp.ADReconciliation.OrgXYZ for XYZ domain.
    4. Similarly for UD_ADUSR's child table UD_ADUSRC have the group field which should take the value from a lookup definition ex - LookUp.ADReconciliation.GRPABC for ABC domain and LookUp.ADReconciliation.GRPXYZ for XYZ domain.
    How can we change the AD Process definition form dynamically reflecting the LookUPCode name depending upon OIM profiles attribute.Do we need to create RuleDesigner or Adapter or there is some other way ?
    Thanks
    Deepika

    Hi,
    Because of some project constraints, I cant use the above two solutions - creating a new RO and Dynamic lookup :(
    I misunderstood the Dynamic lookup part - If I am wrong this means that we will be having all our data in one table and will be fetching some values based on certain criteria ( i.e populating the look-up dynamically )
    But in our project we cant use this as, we strictly have two seperate lookups for two different domains.
    Just clearing the requirement once again -
    1. We have one AD User form
    2. OrganizationDN is a field on that form having look-up type values attached with it.
    3. I need to decide the look-up definition name (one among the two ) which will be attached with this field based on user's OIM profile attribute
    I am trying this with the API I mentioned above.
    My confusions are -
    1. First and foremost thing am I going in right direction.
    2. If yes, will it be possible to get the formKey before the user is provisioned to AD ?
    Also from the SDK Oerations I found this method -
    void updateFormFieldProperty(long plFormFieldKey,
    java.lang.String psPropertyName,
    java.lang.String psPropertyValue)
    Updates the specified property with specified value to the form's field
    Parameters:
    plFormFieldKey - The key for the form definition *( "Bit confusing,this should be FormKey I think not FormFieldKey" )*psPropertyName - The name of the property to be assigned to the form field
    psPropertyValue - The value of the property to be assigned to the form field
    Can someone plz provide me the table name which contains formkey and formFieldKey as the OIM-table link is not working :(
    Thanks,
    Deepika

  • How to change the default structure when exporting data in CSV format?

    Hello,
    can some one tell us how to change the default structure in CRM when exporting lists in CSV format (with Option "Always use unformatted list format (CSV) for download" ? Because we want to add a new structure for our own -is it possible ?
    If it is possible where can we find these structure ? In the blueprint customizing ?
    Thank you very much,
    Christian

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

  • How to change the attribute name for a relation

    When the Data Modeler engineers a logical model into a relational model it create table columns for the relations. The names of the generated columns are listed in the attributes list in the properties dialog of the relation. The actual name of the attribute gets calculated by the attribute name of the entity which is part of the relation. This is okay, if there is only one relation between two entities. But when there are two relations between two entities the second attribute gets a stupid number suffix. This makes it impossible to give the attribute a useful semantic meaning.
    When I engineer the model into a relational model I can change the column name in the relational model. Changing the column name in the relational model is not perfect but it would be okay for me, if it would not be overwritten during the next engineering run.
    So I have two questions:
    How can I change the attribute name in the attributes section of the properties dialog of a relation? See here for screen shot:
    http://public.ceving.de/2012050300/relationattribute.png
    And if it is not possible:
    How can I preserve any changes on column names in the relational model during a re-engineering run?
    Edited by: 931739 on 03.05.2012 08:07

    Hi,
    I've logged an Enhancement request on this.
    I don't believe it's possible to change it from the Entity or Relationship dialog, as it's not updatable in these dialogs.
    What you can do is change it in the Relational Model, and then reverse engineer the change back to the Logical Model.
    David

  • How to restrict the user to change the project structure but not the documents?

    Hi,
    I have created one project assigning different users in Solution manger. I want to risitrict some of the users to change the project structure but simultaneously allwoing the project documents to be created, edited or deleted using solar01 under Project documentation tab. For that I have followed the steps provided in the follwoing link.
    http://wiki.scn.sap.com/wiki/display/SM/Howto+Restrict+Changes+to+Project+Nodes+to+Assigned+Team+Members
    I am able to restrict the users to change the project structure, but I am not able to allow access to the project documents. It gives me the message "You are not authorised to change the project". This fulfills my one of the requirements. But, Is there any way  to restrict the user to change the project structure but not the documents?. Any help will be apperitiated.
    Thanks,
    Rutvik Uapdhyay. 

    Hi Rutvik,
    Basically there are 2 different authorization role ...you should look for and customize as per requirement in Z* namespace.
    role  - SAP_SOLAR01_ALL
    this take care of objects in Solar01 like tab access etc
    role -SAP_SOL_KW_ALL
    this takes care of entire documentation within solman
    hope this helps
    Regards
    Prakhar

  • How to change the master page and theme dynamically in sharepoint2013 anonymous site

    hi
    I have to change the master page and theme dynamically in sharepoint2013 anonymous site. i have to show one master page to authenticated user  another master page to anonymous user through code
    Srinivas

    Hi Srinivas,
    According to your description, my understanding is that you want to change the master page and theme dynamically based on the anonymous users or authenticated users.
    Per my knowledge, there is not an OOB way to change the master page and theme dynamically.
    SharePoint is based on Asp.net, as we know Asp.Net request processing is based on pipeline model, so we can delevlop a custom HttpModule to dynamic change the master page based on current logon user profile(using SP Object Model to get).
    Another solution could be to use the SecurityTrimmed control that injects the CSS depending on global user permissions, more information, please refer to
    it.
    Some similar posts for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/c2b2d0da-c752-4aea-9c2d-e31a5b1a2988/sharepoint-2010-dynamic-masterpage-based-on-userprofile-property
    http://johanleino.wordpress.com/2011/10/20/using-a-different-master-page-for-authenticated-users-in-sharepoint/
    http://sharepoint.stackexchange.com/questions/21679/how-can-we-use-a-different-masterpage-for-annoymous-and-authenticated-users
    http://sivarajan.me/post/How-to-customize-the-SharePoint-2013-Master-Page-for-Anonymous-Users
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to change the attribut of Form in Review Form in ISR

    Hi,
    We have to change the attributes of text fields of form ( e.g disabling the text field ) once user hits the Review Form button on MSS page
    Please let me know how to do it .
    Thanks
    Manish

    Hi Manish,
    You may write the Formcalc scripting for the respective field.
    //Check ISR control parameters for read/write access
    if($record.CONTROL_PARAM.ISR_MODE == "DISPLAY" |
       $record.CONTROL_PARAM.ISR_FORM_VIEW =="ISR_APPROVE" | <b>$record.CONTROL_PARAM.ISR_REVIEW == "true" )</b>
    then
         this.access = "readOnly"
    else
         this.access = ""
    endif
    Hope this helps.
    Thanks and Regards,
    Anto.

  • How to change the attributes of GUI CONTROLS in my own program.

    hi all,
    i just want to change the attributes of GUI CONTROLS in my own program.
    for example `
    How to set an ICON on my GUI BUTTON in the program?
    so what's the mapping between CONTROL in the SCREEN PAINTER and variable in the program?

    Hi Chao Liu,
    Ya , u first find out the PF-STATUS of the screen and goto that status and now u can modify the ICON u want .
    Finding the GUI status of the screen
    Goto that  TRANSACTION CODE or SCREEN
    On the Standard Menu bar Goto ( Menu path) System --> Status
    Now u get a pop-up System :status in that in SAP Data block u can find GUI Status. Now Double Click on that Status. It takes u to the Status of that screen.
    Now click on the Display --> Change Button on the application tool bar.
    If it is a standard GUI-status then it asks for the ACCESS KEY.
    if it is a custom defined GUI Status  then u can change the status .
    reward if helpful
    raam

  • Changing the directory Structure of Jsp and web.xml files

    Hi,
    I am using the JDeveloper 11g preview. Can any one tell me how to change the Jsp and web.xml files ( not in WEB-INF directory of the application) to another directory.
    Thanks in Advance
    Gopal

    Hi Frank,
    Is it possible for me to change the folder structure which JDeveloper is providing for web project?
    By default JDeveloper is giving the following folder structure.
    In the project's root folder there is a public_html and src folder along with .jpr file.
    In public_html folder thre is an WEB-INF folder and a jsp file
    In WEB-INF folder there is an classes folder along with web.xml file.
    I need to have the following folder structure :
    The WEB-INF folder should be in root folder of project not in public_html folder
    src folder must be in WEB-INF folder.
    Thanks in Advance
    Anil Golla

  • Change the attribute "src" to "href" before importing an XML

    I need to change the attribute "src" to "href" (<img scr="....">) before importing an XML document. I think you could do with XSLT, so you can add a script to import XML documents. But I do not know much about XSLT ...
    Does anyone could give me an idea?
    Thanks in advance...!!!

    Piece of cake. Here is an identity transform, except that it filters out "src" attributes:
    <?xml version="1.0" ?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" >
    <xsl:template match="node()|@*">
      <xsl:copy>
        <xsl:apply-templates select="node()|@*"/>
      </xsl:copy>
    </xsl:template>
    <xsl:template match="@src">
      <xsl:attribute name="href">
          <xsl:value-of select="."/>
       </xsl:attribute>
    </xsl:template>
    </xsl:stylesheet>
    See http://stackoverflow.com/questions/2679443/how-do-i-rename-an-attribute-using-xslt

  • Changing the extract structure MC02M_0ITM

    Hi,
    When I am trying to change the extract structure MC02M_0ITM, I am getting the following error:
    "struct. from appl. 02 due to open v3 proc. not changed -> Long text" , "Message No. MCEX 140". All I was doing  was adding more fields from communication structure to extract structure and I am getting above error message. Can someone shed some light on that. Appreciate your help. Thanks.
    Wen.

    Hi Wen
    You have to
    1) Clear LBWQ Queues if you are using Queued delta
    2) Move all records from RSA7 - two times to BW under delta update call from BW - so that the records stored for repeat delta are also emptied
    3) Empty the statistical set-up table - LBWQ transaction in R/3
    then you can modify the structure in LO cockpit
    Arvind

Maybe you are looking for

  • Can't get WiDi working on Portege R705 and Z930

    So frustrating! I had a Toshiba R705 (i3, from Best Buy in the US), which was very nice, until.. I then started to use it for scoring car rallies, and wanted to share my "results" screen with the large tv screen at the local football club where we ru

  • PDF's opening in Internet Explorer 7 but are unreadable

    When clicking the link below the following - http://www.bsl.org.au/pdfs/BSL_VECCI_Barriers_to_hiring_entry-level_job_seekers_Vic_employ er_attitudes_survey_2009.pdf, a new tab opens in IE7 but the PDF is unreadable. It appears similar to a word docum

  • Last line of table shifts to right slightly after export to PDF

    Indesign CS4 (6.0.4.578), Windows XP. Last line of some tables shifts very slightly to the right, but only in exported PDFs. See screencap from PDF below. It's not very pronounced, but Xs don't quite line up, and client can see it. When I printed to

  • Can not reset password in Oracle 10g Express

    I have searched google for 4 hours, now I am certain: "May be I am the only one in the world who have this problem." I installed Oracle 10g Express on my Debian5. I need to reset password for SYS/SYSTEM users So I checked online tutorial says I need

  • Reset Usage Decision and reverse posting in tcode QA12

    Hi Friends, I have a requirement to reset usage decision by creating a customer funtion button in tcode QA12 and reverse the posting quantity from restricted area to to be posted area. I have implemented SAP Note# 175842.So now decision is getting re