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

Similar Messages

  • How to use selected row on another tab ?

    Hi,
    I created a table with a number of rows, containing a objectid and other stuff.
    When I select 1 or more rows and click a button,
    my application is doing his thing,
    and finally I got a message that all went fine.
    When I select another tab in that same page,
    I want to display the previously selected object id's.
    I created a getter and setter in my backingbean for these id's.
    When I print them on the first tab, they are available,
    but when I click the other tab, they dissapear....
    Anyone who can help me how to do this ?
    So I need to set a String in 1 tab, and display it after I changed to another tab.
    Thanks.

    Hi,
    I'm not using a VO.
    I have in memory an array of selected id's.
    They should be printed on another tab , but when I click that tab, they are empty.
    If I display them on the same tab, they get filled out after I clicked the button.
    But navigating away from that tab clears the contents.
    Maybe some code could help :
    in my backingbean_method :
    RowKeySet rks = graph_table.getSelectedRowKeys(); => graph_table is the table using a VO and displaying some rows. (binding)
    while(itr.hasNext())
    key = itr.next();
    graph_table.setRowKey(key);
    Object o = graph_table.getRowData();
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding) o;
    Row row = rowData.getRow();
    objectid[i] = row.getAttribute("Objectid").toString(); => array of objectid[] contains all selected objectids I want to display in another tab.
    title = objectid[0]; => just to try one
    i++;
    I added a getter and setter method for title in the backing bean.
    In my JSPX page, I use : #{FNI_backing_bean.title}

  • 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 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 a row in Cross Tab when the count summary is zero

    My customer wants a row for all possible data, even when the count is zero.  How can I get a row to display when there is no data?  Using an example:  Display status for incidents - possible five statuses, but selection only results in four statuses because no incident were cancelled.  Customer wants all five statuses to display in cross tab with cancelled showing '0' (zero))
    Open
    WIP
    Cancelled
    Pending
    Closed

    This worked for the last guy who had a similar issue.
    Take a look at what it's doing. You should be able to use the same principal to meet your needs...
    I'm assuming that you'll only need to show 4 weeks at a time on your report.
    The easiest way to do it is by creating 8 separate formula fields:
    W1A
    W1RT
    W2A
    W2RT
    ... and so on
    I don't know how your data is coming across but the formula should go something loke this:
    W1A... IF datepart(ww,currentdate) - datepart(ww,) =0 THEN
    W1RT... IF datepart(ww,currentdate) - datepart(ww,) =0 THEN
    W2A... IF datepart(ww,currentdate) - datepart(ww,) =1 THEN
    W2RT... IF datepart(ww,currentdate) - datepart(ww,) =1 THEN
    ... and so on
    If I got you weekly criteria wrong, sorry. It's just a best guess.
    Anyway you should be able get the idea. It gives you the effect of a crosstab without the headaches of a crosstab.
    Hope this works for you,
    Jason
    Edited by: Jason Long on Jun 28, 2008 3:19 AM

  • 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

  • BIP Template - How to display form field on next page?

    I have a BIP word template with the below form-fields. How do I display the fk_job_title and p_grade on the next page if it continues on next page (same class title)?
    ** form fields **
    CLASS TITLE: F fk_job_title PAY GRADE: p_grade
    JOB CODE: job_code SALARY RANGE: s1 - s2
    LOCATION OF WORK: work_location
    GENERAL DESCRIPTION: general_descr
    ESSENTIAL WORK TASKS: work_task
    KNOWLEDGE, SKILLS, AND ABILITIES: knowledge_skill
    EDUCATIONAL AND EXPERIENCE: education_exp
    SUBSTITUTIONS: sub
    CERTIFICATIONS/LICENSES: certification_license
    OTHER JOB ASPECTS: job_aspect E
    PB
    Thank you so much,
    MT

    Hi ,
    For the Header on each page...
    http://blogs.oracle.com/xmlpublisher/2010/04/repeat_row_headers_after_page.html
    Number of rows restriction
    http://bipublisher.blogspot.com/2009/06/bi-publisher-conditionally-limiting.html
    Hope this might helpful for you.
    Thanks,
    Ananth
    http://bintelligencegroup.wordpress.com/

  • 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 display TEXT description from Documents tab of Product master in ISA

    Hi,
    We have product related PDF document attached with Product.
    I can access in CRM by Going
    Products--> Maintain Products.
    When I chose specific Product I can see Product related details.
    There are many tabs like "General", "Material", "Sales and Distributions", "Documents",  etc...
    "Documents" tab have 2 folders "Pictures" and "TEXTS".
    under "TEXT" folder we have PDF documents.
    it has short product name like "ASP009" and Description "ASP 009 Manual".
    When I click on any one I can see attached PDF document in Preview window in CRM.
    How I can access text description "ASP 009 Manual" on "ProductDetailsB2C.JSP" file.
    I want to display this "ASP 009 Manual" description on "ProductDetailsB2C.JSP".
    Is there any Standard Java class method available in ISA.
    I really appreciate any help on this and assign points to them for solution.
    Thanks in Advance.
    Ashish

    Here's the steps we use in our ProductDetailB2C.jsp (B2B uses same code in another file name I forget right now) to provide a link to our technical data sheets...this includes how to create a new document type in CRM as well as the code needed to display it on the ISA
    Step 1: Transaction OAC2, create Document Type example CRM_TECHDA
    Step 2: Transaction SPRO-> CRM -> Basic functions -> Content Management -> Define template for folders
    Step 3: Double click template PRODUCT_MATERIAL
    Step 4: Right-click Documents, Choose Create Folder
    (Make sure to input DOCUMENT TYPE(Properties TAB) = Step 1 value example CRM_TECHDA)
    Step 5: Add a new set of lines of code for each of the types of 'text' you have created to display as a link in the .jsp file(s), changing the CAPPED name to the appropriate name of your specific field below:
    <% if (currentItem.getAttribute("DOC_P_CRM_TECHDA") != null && !currentItem.getAttribute("DOC_P_CRM_TECHDA").equals("")) { %>
                   <tr>
                     <td colspan="2"><a href="<isa:imageAttribute guids="DOC_P_CRM_TECHDA,DOC_P_CRM_TECHDA" name="webCatItem" defaultImg="mimes/shared/no_pic.gif"/>" target="_new"><img src="<%=WebUtil.getMimeURL(pageContext, "b2c/mimes/images/pfeil_rechts_mit_rand_blau.gif") %>" alt="" border="0"> Technical Data Sheet</a></td>
                   </tr>
                   <% } %>
    Edited by: Mike Anecito on Jul 17, 2008 8:27 AM
    I forgot to add, that you could add the attribute information Sateesh talks about where we just use "Technical Data Sheet"
    on the third line of the code...we don't bother with the name of the file as you're needing since we had too many people
    naming them and the overall consistency was horrible.

  • 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 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

  • How to display data in the same tab components ?

    Hi,
    I have a tabbed pane and contains 3 tabs. I have entered some value in the text field and clicked the enter button in the 3rd tab.This enter button contains some validation code and after validation it will display some data in the text area in the same tab. In the mean time , i am navigating to another tab eg first tab. But my data is displayed in the second tab instead of 3rd tab.
    can anyone help me to solve this ?
    bye for now
    sat

    But my data is displayed in the second tab instead of 3rd tab.
    can anyone help me to solve this ?Then you are updating the component on the second tab. Fix your code.

  • How to display tables values in next window

    Hello Abapgurus,
    This is my problem which i explained below.
      IF the text has 11 rows and you can only print 8 rows in the
    current page, THEN go to next page print all 11 rows at the fresh page.
    How cna i achieve this.
    Waiting for your favourable replies
    Regards
    Maruthi

    Hi ,
    use protect and endprotectin the text elment of your script.
    what protect and endprotect does is that it will print everything at one place.
    Thanks

  • 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.

Maybe you are looking for

  • Creative ZEN V Plus HELP with light

    My Creative ZEN is working, but i have no light on the screen, i turned the light off in the settings, and now i cant see anything, haha! How can i fix this? :S

  • Problem Deploying EJB3 Stateless session bean in Jboss4.0.3

    Hi All, I have developed an EJB 3 Stateless session bean and tried to deploy in JBoss 4.0.3 , But i get the following Exception. javax.naming.NameNotFoundException: ejb not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:491) at org

  • 0k length files

    Hi, I am tyring to send 0k length to my receiver. File is picked by xi but no message is displayed in moni and no file is seen at target. Pl clarify. Thanks Srini

  • Select File Dialogue Box in CC doesn't have data sources option

    I am trying to use Dreamweaver to create dynamic links in my database. The select file dialogue box no longer lets me choose server side data sources. Does any one else know how to use this function in CC?

  • TouchUp Text Tool not working?

    I have Max OS X 10.4, Acrobat 8.1.2 and cannot get the TouchUp Text Tool to work? Can select text and delete/copy/paste etc but cannot add/change/modify any text from the keyboard? All keyboard text keys not working or changing data? Was using Acroba