DISPLAY DYNAMIC TEXT ON THE APPLICATION TOOLBAR

Hi Abappers,
On the application toolbar i want to display dynamic text depending on which button is selected. can this be done...
regards,
Mansi.

write the conditional setting of titlebar in
at selection-screen output .
if <condition> eq 'X' .
    set titlebar 'MAIN' with 'Maintain' .
  else .
    set titlebar 'MAIN' with 'Display'  .
  endif .
now double click on MAIN, the system will ask youto creat the title click yes
in the title field you can write static text along with & sign
(& Test & & &)
now if you say
set titlebar 'MAIN' with 'Display'  '1' '2' '3' .
it will display as
Display Test 1 2 3 .
Regards
Raja

Similar Messages

  • How to display the dynamic text in the selection screen

    Hi All,
    I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
    EX: If i have the date of today 31st  it has to show message like " today date is 31 like some thing "  when i execute the report .
    Could any one face this sort of requirment, Please let me know.
    Thanks in advance.
    Reagrds,
    Bharani

    Where would you like this dynamic text being displayed? As an "message" or in some parameter field?
    If first
    parameters date type d.
    data: text type string.
    at selection-screen.
       concatenate 'Today is' date into text.
       message text type 'I'.
    If second
    parameters pa_text type c length 50.
    at selection-screen on date.
      if date is not initial.
        concatenate 'Today is' date into  pa_text.
      enidf.
    at selection-screen output.
       "show it as read only
       loop at screen.
        if screen-name = 'PA_TEXT'.
               screen-input = abap_false.
              modify screen.
        endif.
       endloop.
    Regards
    Marcin

  • Grey-out button dynamically in the application toolbar

    Hi,
    How can I grey-out button dynamically in the application toolbar?
    It's not an ALV grid, where it's easy.
    SET PF-STATUS '100' EXCLUDING 'SOMETHING'. hides completely the button.
    Thanks,
    Peter

    Hi,
    Sorry forgot to add something to my previous reply...
    The complete steps will be as follows :
    1. Create Two PF status , One with active Button and Function code and Second with Inactive Function code and Greyed button (This can be acheive by using Push Button assignment as specified in the thread)
    2. Dynamically change the PF status to Second one when you want to deactivate the specified Function from the application tool bar.
    regards,
    Sumeet Mishra
    Reward point if this helps : )

  • Creating a push button in the application toolbar-----vvvv urgent...

    Hi,
    I have already created in the program.
    The addl. requirement is to create a pushbutton after displaying the output .
    Can anybody tell the procedure on how to create a pushbutton in the application toolbar.
    Plz send the relevant code also to download the output in to the excel sheet.
    Regards,
    Sree
    Edited by: sree on Feb 18, 2008 10:09 AM
    Edited by: sree on Feb 18, 2008 10:13 AM

    Sree,
      If you are using ALV report:
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
             EXPORTING
                  i_callback_program       = ws_repid
                  i_callback_pf_status_set = 'GUI_STAT1'
                  i_callback_user_command  = 'STAT'
                  is_layout                = gs_layout
                  it_fieldcat              = i_fieldcat[]
                  it_sort                  = wa_sort1
             TABLES
                  t_outtab                 = i_zaw_pol_plan.
    *--Setting Status of output screen
    FORM gui_stat1 USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'STANDARD1' EXCLUDING rt_extab.
      SET TITLEBAR text-005.
    ENDFORM.
    Double click on status 'STANDARD1'.
    Expand the Application toolbar-->press ctrl+f1 for change mode -
    >add your  buutton name --> double click on name add text name button icon  --> save it.
    In classiccal report also Add set pf status
    same like above

  • Nested Table: How to display formatted text in the form ?

    Hi,
    Scenario:
    I have a nested table, say TAB1, containing another table TAB2 which holds the formatted text.
    Sample data
    Entries in TAB1:
    Column1       Column2(TAB2)
    Text1         Data_from_tab2
    Text2         Data_from_tab2
    Text3         Data_from_tab2
    Requirement:
    The requirement is to display the data in TAB1 as it is maintained.
    Trials:
    I am aware of the fact that we can transfer the content of the nested table (in this scenario, TAB2) in another table(of type TLINE) defined as a global variable in the interface of the form. Then in the context area, we can define a 'TEXT' node and bind it to the table and choose the 'Dynamic text' for the 'text type' attribute and maintain the other atrributes.
    But this approach cannot solve the issue as it is a nested table.
    Kindly suggest how can I resolve this issue.
    Regards
    s@k

    Hi,
    if its like colum1, column2 (tab2).
    you can represent column2 as a nested table in the form. and put these tables structure intoa subform of type flowed.
    then you can have the required format.
    the same can also be acheived using nested subforms instead of tables.
    example of such scenario is PO & line items.
    po number1 , items 1
                          item 2
                          item 3
    po number2 , items 1
                          item 2
                          item 3
    hope this helps you.
    Cheers,
    Sai

  • How to make the buttons INVISIBLE in the Application toolbar

    Hi All,
    I have a requirement to create a button in the Application toolbar of the Module Pool Screen. The field should be made Invisible by default. and it should be displayed based on one condition.
    Could you please let me know how to make that particular button INVISIBLE. I think we can make it invisible by using EXCLUDING statement. But, How to make the button VISIBLE again when the check is satisfied.
    I found from the portal that the FM 'VIEW_SET_PF_STATUS' can be used to make a button INVISIBLE. Could anyone help me out how to pass the parameters to this Function module?
    or is there any Function Module available to make the button VISIBLE and INVISIBLE? Please help me on this issues.
    Is there any possibility to make the button VISIBLE or INVISIBLE as we do for the screen fields using LOOP AT SCREEN..?
    Thank you in advance.
    Regards.
    Paddu.

    Hi,
    Try to use below in the PBO module status_0100 OUTPUT.
    DATA t_fcode TYPE TABLE OF sy-ucomm.
    refresh t_fcode[].
    APPEND 'Function code name of the button' TO t_fcode. 
    Check the condition here for which you want to make field visible.
        DELETE FCODE of the button from T_FCODE table
      ENDIF.
      SET PF-STATUS 'STATUS_0100' EXCLUDING t_fcode.

  • To display a text on the right hand corner of an ALV list in SAP

    Hi All,
    I need to display a text on the right most corner of the ALV list output where there are some details present at the top of the list.
    I tried using the statement  
    CONCATENATE space space space space space space space space space space
                  space space space space space space space space space space 'required text" INTO ls_line-info.
    This ls_line is of type slis_listheader. But this statement did not work.
    Can anyone please help me how do i display this "required text" at the right most corner above the ALV list?
    Thanks.
    Taarikha

    Hi,
    You will have to use I_CALLBACK_HTML_TOP_OF_PAGE instead of I_CALLBACK_TOP_OF_PAGE.
    See the below sample code.
    FORM html_top_of_page USING lw_document TYPE REF TO cl_dd_document .
      DATA : doctable TYPE REF TO cl_dd_table_element,
      col1_t1 TYPE REF TO cl_dd_area,
      col2_t1 TYPE REF TO cl_dd_area,
      col1_t2 TYPE REF TO cl_dd_area,
      col2_t2 TYPE REF TO cl_dd_area.
    * add quick table with five columns
      CALL METHOD lw_document->add_table
      EXPORTING
      no_of_columns = 2
      border = '0'
    * cell_background_transparent = ' '
      width = '100%'
      IMPORTING
      table = doctable.
    * Filling columns in row
      CALL METHOD doctable->add_column
        EXPORTING
          width  = '40%'
        IMPORTING
          column = col1_t1.
    * Filling columns in row
      CALL METHOD doctable->add_column
        EXPORTING
          width  = '60%'
        IMPORTING
          column = col2_t1.
      CALL METHOD doctable->new_row.
      CALL METHOD doctable->add_column
        EXPORTING
          width  = '40%'
        IMPORTING
          column = col1_t2.
    * Filling columns in row
      CALL METHOD doctable->add_column
        EXPORTING
          width  = '60%'
        IMPORTING
          column = col2_t2.
    *Now adding the texts
      DATA lw_text1 TYPE sdydo_text_element VALUE 'Danish'.
    *lw_text1 = 'your first text'.
      CALL METHOD col1_t1->add_text
        EXPORTING
          text = lw_text1.
        CALL METHOD col2_t1->add_text
        EXPORTING
          text = lw_text1.
    *Similarly add text for other columns
    *Adujust % in width to adjust the column as required
    ENDFORM.                    "html_top_of_page
    Regards,
    Danish.

  • How to perform a bottom of the application toolbar by codding?

    Hi.
    I tried to found info about this, it seems to be easy, but i couldn't found it.
    I have a ALV Report (with funtion module not OO).
    I copied a gui status from program saplkkbl status gui: standard_fullscreen.
    In the ALV i have one column editable, i could refresh the info when i push the bottom that refers the function code &REFRESH
    I add a buttom in the application toolbar, i would like to execute or perform the standard funtion '&Refresh', and after that do my own code.
    how could i do it?
    thanks!!!
    Albio.-

    Hi.
    Well... i'm doing my program like you told me:
    FORM user_command USING r_ucomm LIKE sy-ucomm
      rs_selfield TYPE slis_selfield.
      rs_selfield-refresh = 'X'.
      CASE r_ucomm.
        WHEN 'CALC'. "buttom added by me
          PERFORM recalcula_formula.
        WHEN 'RUN'.  "buttom added by me
          PERFORM corre_batch_input.
        endcase.
    ENDFORM.                    "USER_COMMAND
    I need to execute the standard funtion bottom '&REFRESH' before my perform 'recalcula_formula'.

  • How Do I Get Rid Of The Application Toolbar In CS4?

    I can seemingly turn everything else off. I don't want the Application Frame. I don't want the Application Toolbar. I just don't want it. My screen real estate is valuable to me and it's in the way. I can't even dock it on a side or as a tab somewhere. I need the vertical screen real estate. Where do I turn this off? And if it isn't possible--why NOT? This is a serious gripe and I'm going to see if I can scrounge up an old copy of PS. This is a waste of $700.

    I humbly submit that I was wrong. And sorry for the rant; this has been bugging me for a while. The menu item was indeed there--after I restarted PS while holding down command-option-shift. Best guess is something corrupted while/shortly after installing.

  • Requirement to display repeated texts in the wad report

    Dear experts,
    we are having a requirement to display repeated
    texts in the WAD report .As we had unchecked the checkbox
    hide repeated key values in BEX query properties and we
    are achieving this in BEX report.
    Is there any possibility to achieve the repeated key values
    in WAD report?
    Is there any global t-code or any functional module to do the
    wad settings to get the Repeated key values?
    Please do the needful.
    Thanks,
    Chiramana.

    Hi,
    Check in the following document.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/58fd9183-0e01-0010-f183-fdc9019f77ab
    Thanks
    Reddy

  • Is it possible to deactivate a button on the application toolbar?

    Hello everybody!
    Is it possible to deactivate a button on the application toolbar from standard transaction like PA40?
    I'd want to do it using an user-exit.
    Thanks in advance.
    Cristian

    there is a push button on the std tool bar of pf-status 'Function code'.using that u can activate and deactivate teh function codes
    or
    Check this FM : RS_SET_SELSCREEN_STATUS
    sample code :
    DATA: BEGIN OF i_exc OCCURS 0,
    code LIKE sy-ucomm,
    END OF i_exc.
    DATA: ws_repid like sy-repid.
    CLEAR i_exc.
    i_exc-code = 'ONLI'.
    APPEND i_exc.
    MOVE: sy-repid TO ws_repid .
    CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
    EXPORTING
    p_status = ' '
    p_program = ws_repid
    TABLES
    p_exclude = i_exc.

  • Itune display "is waiting for the application to change the content"

    I don't now why my itune display "is waiting for the application to change the content"??

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site
    Restore from backup. See:
    iOS: How to back up
    Restore to factory settings/new iPod

  • Displaying a Push button in the application toolbar for an ALV report

    Hello everyone,
    Query:
    Is it possible to display a custom push button in the application tool bar while displaying an ALV report(1st one)?
    On pressing this custom push button will I be able to display another ALV report(2nd one) based on the selection made on the current ALV report(1st one)?

    Yes u can have pushbutton on application toolbar.
    You just have to use the new pf status in your report program.
    You should copy the 'STANDARD' GUI status from program SAPLKKBL using transaction SE90 >Programming SubObjects> Gui Status.
    Execute this transaction to get to next screen. select status using checkbox. click on GUI Status --> Copy.
    Enter your Z program name and the name you what for this status - you can keep it as 'STANDARD' to be simple.
    Then you can edit the new status to add or delete buttons. This will also bring in the standard SAP ALV functionality.
    Have a look at below code for using the new status.
    TYPE-POOLS: slis.
    DATA: i_qmel LIKE qmel OCCURS 0.
    data v_repid type repid.
    SELECT * FROM qmel INTO TABLE i_qmel.
    v_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = v_repid
    I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    i_structure_name = 'QMEL'
    TABLES
    t_outtab = i_qmel
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    form set_pf_status using rt_extab type slis_t_extab.
    set pf-status 'TEST'.
    endform.
    FORM user_command USING ucomm LIKE sy-ucomm
    selfield TYPE slis_selfield.
    data lv_ucomm type sy-ucomm.
    lv_ucomm
    = sy-ucomm.
    CASE lv_ucomm.
    WHEN 'BUTTON'. "Double Click line Item
    **Write ur functinality here
    endcase.
    endform.
    Also have a look at below links.
    http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm
    ALV report
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Adobe form -- Issue in Displaying Dynamic text along with Static text

    Hi All,
    I am having an issue when i am displaying a dynamic text along with static text in adobeforms.
    The dynamic text is slightly coming down and not aligned with the static text. i can see half row it is coming down.
    how to align both texts to be printed in same format.
    Request all of your expert advices in achieving this .
    Thank you in advance.
    Thanks&Regards,
    Phani Miriyaila.

    Hi,
    Select both dynamic and static text in the layout. Goto Object palette -> Layout. Give values to X,Y coordinates and Height & Width. Anchor properly and specify margins as well.
    Select both dynamic and static text in the layout. Right click on it and goto palettes -> Paragraph. It gives you the text alignment options. Align the text and give similar font and size.
    Thanks & Regards,
    Sanoosh

  • How to display dynamic text in flash CS5....

    i am using flash cs5...i created a game but when i m running it...it is  showing a message saying "Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts""
    and i am not getting my dynamic text output.......please hwlp me out!!!!!!

    As the error message says, you need to embed the font(s) that you use in any input or dynamic text object so that Flash will have that font to use when displaying the dynamic text. There are several different ways to accomplish this. Are you using textField objects on the stage, or are you creating instances of textFields using Actionscript?

Maybe you are looking for

  • Is there a way to remove extensive echo from auido clip?

    This clip was recorded in an open hall in a veteran's memorial museum.  As you can hear the echo is extensive.  Is there a way to effectively remove the echo from the meeting hall echo? http://www.filexoom.com/showfile-32865/call4action_.wav Thanks J

  • Positioning of OAMessagePromptBean

    Hello, i created OADefaultListBean and OAMessagePromptBean, and attached OADefaultListBean to OAMessagePromptBean. i am trying to display the Prompt string on top of the list-bean (OADefaultListBean) not on its left. Does anyone know how to achieve t

  • My free memory dropped during backup?

    Today I decided to add some music to my iPod Touch 5G, running on iOS 7.1.2. It automatically started to back up, so I let it, because you can never go wrong with having a back up, am I right? Halfway through the process, my free memory went from 15

  • Response profile SMSD_SLA1

    Hi Guys, I have performed the customizing for Service Contract with Item category SOL4 assigned. By knowing that the duration need for "Response" or "Complete" the service msg is following the Priority of the message. I checked in tcode COMMPR01, kno

  • Crash Mozilla

    Last Crash ID: bp-a115df51-85f0-46e7-8627-c84ea2141221 Mozilla does not start Safety Mode is not working