How to display selected attributes

In BC4J +UIXML ,Using <setRegion> We can display automaticly all of the attributes of a ViewObject.But how to select some of them to display?
not:
<bc4j:region automatic="true">
<!-- the stamp for each attribute -->
<bc4j:attrStamp>
<bc4j:messageInput readOnly="true"/>
</bc4j:attrStamp>
</bc4j:region>
PacsDemonstrationId 43548
PacsDemonstrationCode INN I
PacsDemonstrationName Innere 1
I dont need the first Pacs...Id here. how can I do it?
Thanks
Yong GE Germany

2 ways:
- replace the b4cj region and attrstamp stuff by single messageInput tags for each desired attribute.
- define the viewobject in the bc4j application module with only the attributes necessary.
i would recommend the latter because this is usually part of the business logic.
trevi

Similar Messages

  • How to display selected records on one HTML page?

    Hi,
    I would like to display selected part of records on one page in HTML region. For example I have a Master - Detail table set named Procedures and Tasks (each Procedure can have one or more tasks)
    I would like to be able to display all Tasks for a given Procedure in one HTML region on a page... The problem is that the number of tasks vary between procedures and can change in time. Also, the 'task description' can be very large so a simple report list of all tasks is something I cannot use... (I would like eg for the task name to be here, and the task_description to be there - unlike the report where everything is in one line...) The following are my ideas but non of them seemed to be feasable here...
    1. Use a report based on vertical columns (However I am using Theme 10 for which there are no vertical column templates. The only vertical templates I can see are the default ones but I have no idea how to customize them - where are they?)
    2. In HTML region use &ITEM_NAME. substitutions. In order to display more than one &EMN_NAME. (based on eg. EMPID) I suspect that I would need to write some kind of javascript loop. Has anyone have an idea about how would such a script look like?
    3. Display each Task in a separate screen. This is something I would want least but better than nothing - to have a customized report which would display one task at a time with some kind of pagination to it...
    Please let me know if someone has tried something simmilar or maybe there is a 4th option which will be simpler and easier...
    Many thanks,
    Pawel.
    I tried to make a very simple illustration of what I would like to achive here:
    http://htmldb.oracle.com/pls/otn/f?p=44995:3:9461299983704828937::::
    Message was edited by:
    padmocho

    Just to answer this one myself....
    In order to achive the above I used a PL/SQL Dynamic Content page and entered a html content in htp.prn('');
    Then, I created a PL/SQL LOOP which searches through the various rows...
    In the end, whenever I wanted to display html content I just used htp.prn and for variables I used htp.p(<var_name>);
    Maybe, it helps ;)

  • How to Display selected Acivity in Next Tab

    Hi,
    I have a requirement i added an extra in in t-code IW22,
    in that the standard screen tab called "ACTIVITIES"
    i have some line items ex:
    1 activity 1
    2 activity 2
    3 activity 3
    4 activity 4 in this if i select activity 4 then that activity should get display in my added tab
    if i select activity 3 then that activity should get display in my added tab.
    but my tab is showing default as activity1 which ever i select.
    how to do it ?
    ill present the code where exactly the data is picking from standard tab (Activity tab)
    select single kurztext from qpct into text_i_4
    where katalogart = 'A'
    and codegruppe = e_viqmma-mngrp
    and code = e_viqmma-mncod
    and sprache = sy-langu.
    if text_i_4 is initial.
    text_i_4 = e_viqmma-matxt.
    endif.
    if ( cust_aktyp = 'V' or cust_aktyp = 'A' ) and text_i_4 is initial.
    "Notifn Change/Display
    select single * from qmma into viqmma
    where qmnum = viqmel-QMNUM and kzloesch = '' .
    loop at t_tc.
    select single kurztext from qpct into text_i_4
    where katalogart = 'A'
    and codegruppe = viqmma-mngrp
    and code = viqmma-mncod
    and sprache = sy-langu.
    ENDSELECT.
    if sy-subrc = 0.
    else.
    text_i_4 = viqmma-matxt.
    endif.
    endif.
    if text_i_4 is initial.
    message w537(im).
    flag_error = 'X'.
    exit.
    elseif not t_tc[] is initial.
    clear t_tc.
    concatenate 'Why' text_i_4 into t_tc-why_quest separated by space.
    modify t_tc index 1 transporting why_quest.
    endif.
    Thanks & Regards
    Rajesh

    guys help me out

  • How to display xml attributes in Layout (indesign cs2)

    Hi,
    Javascript
    Indesign CS2
    PC Version
    Any one tell me, i want to display the ids in the margin. i read xml attribute, but i didn't know how to display to the margin. Help me.

    One way of doing that is to use JDOM...
    u create an xml tree, and then output using XMLOutputter class...it will be displayed in text...im not sure if thats what u want...however, if u do want to represent it visually then u may need to draw a tree...u may use the Graphics2D for that...there are alot of ways to do such thing, and the 2 possibilities arent the best...depends on what u want...elaborate more pls.

  • How to display selected table fields in ALV report.

    Hi,
    I am displaying data from table EKPO using ALV through this query.
    select * from ekpo into table itab_ekpo up to 25 rows.
    bt if i need to display selected fields like
    select ebeln matnr netpr from ekpo into table itab_ekpo up to 25 rows.
    IT gives  error GETWA_NOT_ASSIGNED.
    FIELD SYMBOL HAS NOT YET BEEN ASSIGNED
    CAN ANYONE PLZ HELP ME.

    Hi ,
          I am pasting the code in which i am getting the error.Plz help.
    REPORT  ZHALV.
    tables:ekpo.
    data itab_ekpo type ekpo occurs 100 with header line.
    types: begin of itab_new,
           f_ebeln type ekpo-ebeln,
           f_matnr type ekpo-matnr,
           f_netpr type ekpo-netpr,
           end of itab_new.
    data itab1 TYPE STANDARD TABLE OF itab_new initial size 0.
    type-pools: slis.
    DATA: lt_fieldcat TYPE slis_t_fieldcat_alv,
          lf_fieldcat TYPE slis_fieldcat_alv.
    DATA:    ws_repid TYPE sy-repid VALUE 'ZHALV'.
    DATA:  l_layout   TYPE slis_layout_alv.
    selection-screen Begin of block block1 with frame title text-111.
    select-options : S_EBELN for EKPO-EBELN.
    selection-screen end of block block1.
    INITIALIZATION.
    start-of-selection.
      select ebeln matnr netpr from ekpo into table itab1 up to 10 rows WHERE EBELN IN S_EBELN.
    *select * from ekpo into table itab_ekpo up to 25 rows.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM GET_DETAILS.
    end-of-selection.
    *&      Form  build_fieldcatalog
          text
    FORM build_fieldcatalog .
    PURCHASING DOCUMENT NUMBER
      CLEAR lf_fieldcat.
      lf_fieldcat-fieldname = 'EBELN'.
      lf_fieldcat-ref_tabname = 'EKKO'.
      lf_fieldcat-ref_fieldname = 'EBELN'.
    MATERIAL NUMBER
      CLEAR lf_fieldcat.
      lf_fieldcat-fieldname = 'MATNR'.
      lf_fieldcat-ref_tabname = 'EKPO'.
      lf_fieldcat-ref_fieldname = 'MATNR'.
      APPEND lf_fieldcat TO lt_fieldcat.
    NET PRICE IN PURCHASING DOCUMENT
      CLEAR lf_fieldcat.
      lf_fieldcat-fieldname = 'NETPR'.
      lf_fieldcat-ref_tabname = 'EKPO'.
      lf_fieldcat-ref_fieldname = 'NETPR'.
      lf_fieldcat-cfieldname = 'WAERS'.
      lf_fieldcat-do_sum = 'X'.
      APPEND lf_fieldcat TO lt_fieldcat.
    ENDFORM.                    " build_fieldcatalog
    *&      Form  GET_DETAILS
          text
    FORM GET_DETAILS.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
                                 I_INTERFACE_CHECK                 = ' '
                                 I_BYPASSING_BUFFER                = ' '
                                 I_BUFFER_ACTIVE                   = ' '
         I_CALLBACK_PROGRAM                = ws_repid
                                 I_CALLBACK_PF_STATUS_SET          = ' '
                                 I_CALLBACK_USER_COMMAND           = ' '
                                 I_CALLBACK_TOP_OF_PAGE            = ' '
                                 I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
                                 I_CALLBACK_HTML_END_OF_LIST       = ' '
         I_STRUCTURE_NAME                  = 'EKPO'
                                 I_BACKGROUND_ID                   = ' '
                                 I_GRID_TITLE                      =
                                 I_GRID_SETTINGS                   =
                                 IS_LAYOUT                         =
                                  IT_FIELDCAT                       = lt_fieldcat
                                 IT_EXCLUDING                      =
                                 IT_SPECIAL_GROUPS                 =
                                 IT_SORT                           =
                                 IT_FILTER                         =
                                 IS_SEL_HIDE                       =
        I_DEFAULT                         = 'X'
        I_SAVE                            = 'A'
                                 IS_VARIANT                        =
                                 IT_EVENTS                         =
                                 IT_EVENT_EXIT                     =
                                 IS_PRINT                          =
                                 IS_REPREP_ID                      =
                                 I_SCREEN_START_COLUMN             = 0
                                 I_SCREEN_START_LINE               = 0
                                 I_SCREEN_END_COLUMN               = 0
                                 I_SCREEN_END_LINE                 = 0
                                 I_HTML_HEIGHT_TOP                 = 0
                                 I_HTML_HEIGHT_END                 = 0
                                 IT_ALV_GRAPHICS                   =
                                 IT_HYPERLINK                      =
                                 IT_ADD_FIELDCAT                   =
                                 IT_EXCEPT_QINFO                   =
                                 IR_SALV_FULLSCREEN_ADAPTER        =
                               IMPORTING
                                 E_EXIT_CAUSED_BY_CALLER           =
                                 ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = itab1
          EXCEPTIONS
                                 PROGRAM_ERROR                     = 1
                                OTHERS                            = 2.
      IF SY-SUBRC <> 0.
        WRITE: 'SY-SUBRC: ', SY-SUBRC .
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *append itab_ekpo to i_tab.
    ENDFORM.                    "GET_DETAILS

  • How to " display selected track 's automation" ????

    Hello
    In former versions of logic ( prior to lp8) , there was an option "display selected track's automation " now there is only " display automation " wich means every time i click on this , it will zoom all my tracks automatically wich can be pretty confusing . Id like to be able to see automation only for the selected track in the arrangement .
    Is this option still available ??
    If yes where did it go ??
    Thanx in advance.

    If you use auto track zoom and make your arrangement tracks small enough heigtwise, any track chosen will therefore display its automation.
    /juhani

  • How to display selection screen of logical database on a screen

    Hi Experts,
    I create a screen 100, how do I display a selection screen of logical database on this screen.
    Thanks!
    Anthony

    hi
    if u are making HR report then goto attribute -> Logical database -> write PNPCE to create in build selection scree.
    regards,
    Abhilash

  • How to display selected value in MessageChoice

    HI,
    I have a messageChoice on my Update screen. I need to display the selected value when the user comes to update the data on the screen. In the Process Request when i am printing the stmt
    System.out.println("The type of bean is PortletItemID::"+webBean.findIndexedChildRecursive("PortletItemID"));
    The output is The type of bean is PortletItemID:: OAFormValueBean
    How can i set the value that is coming from database in order to show the selected value in the message choice when the user is coming to the screen for updating the data.
    Thanks,
    Mohammadi

    Hi Tapash,
    In my case, i have mentioned the value in picklist View Definition ,picklist display attribute and picklist Value attribute. Where should i be providing my database value so that i can compare and display it as selected value.
    Thanks,
    Mohammadi

  • How to access Selection Attribute Filter Key on a TG through CRMD_MKTTG* ??

    Hello,
    We need to apply all the attributes filters on a TG (for instance city filter) for searching an address  that comply with the filters.
    To create a segment at CRMD_MKTSEG transaction for using it later in a campaign, it could be done by 3 ways:
    1. Create a simple profile
    2. Create a target group: create a profile and build the targe group
    3. Create a profile set: create a profile and build for profile set
    When creating first the profile, it is possible to apply attributes filters. This atributes filters are stored in BD tables of marketing. We are able to find the filters for the first and third case, but not for second case.
    I proceed to explain the first and third case:
    CRMD_MKTTG_TG_H: CRM Marketing: Target Group Header Data
         GUID: CRM Marketing: GUID of Target Group (this data I know beforehand)
         SET_H_GUID: CRM Marketing: GUID Profile Set
         SET_GUID: CRM Marketing: GUID Profile Set
         PROF_GUID: CRM Marketing: GUID of a Profile
    For the first case directly we do a select on CRMD_MKTTG_PF_S where  PF_GUID = CRMD_MKTTG_TG_H-PROF_GUID:
    CRMD_MKTTG_PF_S: CRM Marketing: Selection Criterion of a Profile
         GUID:CRM Marketing: GUID for a Target Group Selection Criterion
         PF_GUID: CRM Marketing: GUID of a Profile
    For the third case we do select on CRMD_MKTTG_PF_H where SET_GUID = CRMD_MKTTG_TG_H-SET_H_GUID and we retive GUID:
    CRMD_MKTTG_PF_H: CRM Marketing: Profile
    GUID: CRM Marketing: GUID of a Profile
    SET_GUID     :CRM Marketing: GUID Profile Set
    Then  we do select select on CRMD_MKTTG_PF_S where  PF_GUID = CRMD_MKTTG_PF_H-GUID.
    And we can obtain the filters through:
    .INCLUDE     CRMT_MKTTG_PF_S_RANGE:CRM Marketing: Selection Range
    SEL_SIGN: CRM Marketing: Component SIGN for Selection Criterion
    SEL_OPTION: CRM Marketing: Component "OPTION" for Selection Criterion
    SEL_LOW     : CRM Marketing: Component "LOW" for Selection Criterion
    SEL_HIGH     :CRM Marketing: Component "HIGH" for Selection Criterion
    But what about the second case that correspond to CRMD_MKTTG_TG_H-SET_GUID?
    Could somebody explain how to access the filters when the second case happen? ¿What relationship MKT tables is based on?
    I would appreciate any suggestion.
    Best regards,
    Rosa
    Edited by: Carlos de Cozar on Feb 15, 2008 12:13 PM
    Edited by: Rosa on Feb 20, 2008 9:42 AM

    Can you please let me know how I can find out the duplicate record.
    you need to split the records from flat file structure into your internal table ans use a delete ADJACENT duplicates comparing fields
    split flat_str into wa_f1 wa_f2 wa_f2 at tab_space.

  • How to display Selection screen on Web for RSCRM_BAPI

    HI,
    For a customer we want to create the possibility to extract data from BI2004s to other systems, therefore we want to use RSCRM_BAPI.
    Thing is that we want to provide the possibility for them to enter selectioncriteria, but we don't want them to log on using the Gui.
    We want to use the VC to create an interface cockpit.
    question is how we can allow users to use selectioncriteria but:
    variants can not be used
    TVARV can not be used
    is there any way to capture the selection screen and to display it on the web/VC?
    Anyone ever did this?
    Tnx
    rogier

    Gili.
    thank you for your quick reply,.
    Reason why we are looking into the RSCRM_BAPI is due to the layout
    requirements of the extract. the recieving systems requires specific layouts. If we do this with the infospoke we will have to use a BADI to perfom complex transformations which will need additional knowlegde (of BADI's) of the support organisation whereas with RSCRM_BAPI they can adjust the query.
    and as far as i know you can not define the variable input via the web for open hub.
    Grtz
    rogier

  • How to display String attribute in a Formatted way ?

    Hi all,
    We are using JDev 10.1.3.1, ADF BC + adf faces.
    In our database, there is a varchar column stored as : "070000001", this is a readonly attribute (updated by stored procedure).
    In jspx, we want to display it as : "07/0000001" .
    How can we do that ? (there is no hints for string attribute ?)
    Thank you for your help,
    xtanto

    you can use a SQL-calculated attribute with an appropriate SQL expression -- using SUBSTR() and string contatentation -- or you can use a java-calculated transient attribute.
    the former will allow the user to query on it. The latter wouldn't.

  • How to Display Selection Screen on Container.

    Hi
    My Requirement is I need to create one Module Pool and inside this Module Pool. I need to display one Selection Screen through Container.

    The easiest way is to define your selection screen in the TOP include of your module pool.
    Then call the selection screen.
    Selection Screen
    selection-screen begin of screen 1010 as window title text-001.
    selection-screen begin of block b1 with frame title text-002.
    parameters: p_vornr type resb-vornr,
    p_refno(20) type c,
    p_plnid type zplcfg-plnid as listbox visible length 20,
    p_sorts type c as listbox visible length 20.
    selection-screen begin of line.
    selection-screen comment (20) text-004.
    selection-screen position 33.
    parameters: p_order as checkbox default 'X'.
    selection-screen end of line.
    selection-screen end of block b1.
    selection-screen end of screen 1010.
    Now call the selection screen.
    call selection-screen 1010.
    if sy-subrc = 0.
    perform get_production_orders.
    perform process_orders.
    endif.

  • How to display selected .chm help topic

    In .hlp you just click on a topic once in the TOC or index
    and that topic displays. In .chm you have to click twice to display
    the topic. How can I get my .chm to work like .hlp?
    I'm running RH X5 on XP. Did not find anything about this in
    help or forum.

    Hi again
    I think you will be able to accomplish it, but your developer
    will need to become accustomed to coding things differently. After
    all, you aren't using WinHelp any more. You are now in the world of
    the compiled .CHM file! The calls will be different.
    Unfortunately, I'm not a good source for advising how the
    calls should change. I'm not a developer and I didn't stay at a
    Holiday Inn Express last night, so I can't tell you what needs to
    change. I'm thinking that your developer will need to visit a forum
    to ask how to properly connect the application to a compiled .CHM
    file. You might start at the links below for info.
    Microsoft Help MVP Rob Chandler's
    site
    Former Microsoft
    Help MVP David Liske's site
    Hopefully something here is helpful... Rick

  • How to display selected options in lookup F4  query selection screen

    i have to provide selected options  infoprovider specific than all values from database.

    in our company let there is PMACTIVITY TYPE and there is 140 activities, for aspecific group of our manager /users reports designed
    they have specific list of activities ,can i restrict by some ways to show only those relevant options in F4 selection screen
    Regards
    satish

  • How to display Selected data from TextInput  only should be displayed in DataGrid

    Hi ,
    I have lot of data on to my Datarid displayed with the help of An ArrayCollection as dataprovider .
    I want to use filtering Functionality of ArrayList .
    I have  a TextInput and when the suer enters some text , then i want only related data shpould only be displayed on to the DataGrid .
    I have tried this  , but i have struck up
    This is my ArrayCollection
    <mx:ArrayCollection id="arraycoll">
        <mx:Object>
            <mx:name>Ravi</mx:name>
            <mx:pass>Keyboard</mx:pass>
        </mx:Object>
            <mx:Object>
            <mx:name>Kiran</mx:name>
            <mx:pass>Keyboard</mx:pass>
        </mx:Object>
    <mx:ArrayCollection>
    This is my DataGrid
    <mx:DataGrid dataProvider="{arraycoll}" x="329" y="199" width="300" height="300" visible="true" >
    public function SearchData():void
    arraycoll.filterFunction = doFilter;
       private function doFilter(item:Object):Boolean {
                    var searchString:String = myTextIp.text.toLowerCase();
    // Need logic here
    <mx:TextInput id="myTextIp" name="SeacrhName"  change="SearchData()">
    For example if the user presses Ra on to TextInput then i want to display only as Ravi on to DataGrid .
    Please help .

    Hi,
    Try this
    private function doFilter(item:Object):Boolean
         var searchString:String = myTextIp.text.toLowerCase();
         if (item.name.search(searchString) == 0)
         return true;
              else
         return false

Maybe you are looking for

  • Site Studio Publishing to remote websites in 11g

    I'm checking to see if anyone has had success with publishing to an external site using site studio publisher. the UI seems to only allow publishing to a local file store. we are trying to publish to an external vanilla web server that does not have

  • Multiday calendar entry not displayed on subsequent days

    I have a calendar entry that is over 3 days but it only shows up on the 1st day in the Iphone calendar. Is this a bug? Is my only work around to enter the event 3 times, one for each day?

  • IDD 6 asks to replace every time i save a document.

    hi every one my problem is that when i open a new document in idd and try to save it, it always "saves as" even when i click "save" and it asks to replace the already saved .idd doc. its the same thing even for a new .idd file or an older one. i trye

  • HELP!! Not good with computer tech!!

    Hi, I have a macbook air with 2GB I was wondering if this is enough room to have large programs like adobe photoshop? If not what can I do to add or create enough space or can I get more GB?? I don't know much about the tech side of things. Thanks.

  • After Effects CS6 (11.0.3) update released!

    Fixes for crashes and other bugs, ability to run on Mac OS X v10.9 (Mavericks) Information here: http://blogs.adobe.com/aftereffects/ Windows download: http://www.adobe.com/support/downloads/product.jsp?product=13&platform=Win Mac download: http://ww