Listbox-Output possible in application toolbar of GUI-status ?
Hi all,
does anybody know, if (and how) it is possible to integrate a listbox element to chose values from in the toolbar of a GUI-status?
Thanks in advance
Andreas Flügel
Hello Andreas,
No, it is not possible to have a list box on the application toolbar. And I'm sure about it
Regards,
Anand Mandalika.
Similar Messages
-
All 35 slots used in Application Toolbar ? Need more to add in PF-status
All,
I have a report with PF-status . But in the PF-status Application Toolbar declaration all 35 slots have been already used. My requirement is i need to add 5 more application toolbar in PF-status.
Any Info?Hi,
This Can be handle with two screens. use all 35 Options in first screen "A" and rest options you may use in another screen 'B'.
In this case in first screen you May reserve one option out of 35 to call the second screen. Than use another options in second screen and so on.
This is Just a suggestion i never gone thru this situation, but i believe this could be possible with some work around this. -
Add Button to GUI STATUS Application toolbar
Hi,
I have to add a button in the application toolbar of a gui status. I have done that many times before, but I never got into trouble like this time....
When I open the Gui status and the tree for the application toolbar, I can see already set buttons. When I now click on change (a modification warning comes) and press the plus-icon, it is possible to enter a new item. But everything I´m typing, I get the message Function code XXXX has not been assigned to a function key. I have never got this before....
When I now go to SE41 and enter a new function key, I can´t use it either afterwards as a button in the application toolbar.
In the tree of the function keys, I can´t change anything...
What can I do here? The program name is SAPMZLCG, so it has been modified sometimes. But how can I change the GUI STATUS now to add a new button?
Thank you!You need to goto the application toolbar and the add your text to the items and click below the text you will get one popup which will ask for static text and dynamic text. select statictext and then add all the information like text name and if you want to add an icon you can do it aswell. the there will be another popup for fuction attributes where you will be able to find some options loke fuction types and reaction need to select all that and then click on the ok button and save check and activate the same and after that activate and check whether the button is visible or not. once the button is visible then you need to check for the ok_code and sy_ucomm and then insert the fuctionality of the button.
I hope this might solve your problem. -
How can i make a vertical line in Application Toolbar when creat GUI STATUS
I see some standard UI have a separator vertical line in the GUI STATUS--Application Toolbar?
Could you tell me how can i creat it in my customer GUI STATUS?
TKS a million~~Hi.
Please try.
1)Change mode your GUI-STATUS.
2)menu -> Edit -> Insert -> Separator line. -
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.
Cristianthere 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. -
Button at application Toolbar in Output
Hi friends,
In my classical report output,i want to add one button in application toolbar.so i have applied PF -STATUS for this. But when i am doing so..my standard buttons like back,cancel and save are automatically disabled..I dont want to write explicit code for back,save and cancel.. i want this button to work in addition to standard functionality..please guide me how to get this one..and also tell me to where write SET PF-STATUS 'STATUSNAME' in code..after which event..Also i have copied standard PF Status for it but it is not working
Thanks,
Gaurav
Edited by: Gaurav Kumar on May 25, 2009 3:11 PM
Edited by: Gaurav Kumar on May 25, 2009 3:12 PMHi Gaurav,
I have worked on same application but for ALV. Hcave look on following code it might help you.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK =
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = v_repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
it_fieldcat = fcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
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 = itab
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
Set PF-STATUS for user's push button
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ZNEWSTATUS'.
ENDFORM. " PF_STATUS_NEW
*& Form user_command
Click on button gives popup information
FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
lv_ucomm
= sy-ucomm.
CASE lv_ucomm.
WHEN 'BUTTON'.
MESSAGE 'Working well' TYPE 'I'.
ENDCASE.
ENDFORM. "user_command
Hope it will resolve your prblm
Thanks
Lokesh.
Edited by: Lokesh Tarey on May 25, 2009 12:13 PM -
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. -
Button on report selection screen application toolbar
Hi,
I want to place Button (application tool bar)on report(executable program) selection screen.
Need your valuable suggestions.
Thanks,
Sreedevihii
1. create GUI status with "Status" name and "Short text"
2. Now a screen will appear with the following,
a. Menu Bar
b. Application tool bar
c. Function keys
3. Click the down arrow near the application toolbar
4. Enter the function code like SAVE, EXIT, etc., You
can also give ur own meaningful naming convention .
For example ( ZTEST)
5. Now press enter, it will ask for "Static text" or "Dynamic Text". Choose Static text and press enter
6. Now it will ask for function text and Icon name. Specify some function text ( what it does ) and Icon name u want to attach.
7. Press enter. It will ask for function keys. Specify a function key and press enter.
8. Now u can handle this function code (ZTEST) either in PBO/PAI like IF FUNCTION = ZTEST ...ENDIF
Note:
Don't forget to set the GUI status u have created in PBO event.
Example code to set PF status.
PROCESS BEFORE OUTPUT.
MODULE liste_initialisieren.
MODULE setstatus_0100.
LOOP AT extract WITH CONTROL
tctrl_ztufi_league CURSOR nextline.
MODULE liste_show_liste.
ENDLOOP.
In the above MODULE setstatus_0100 do the following,
SET PF-STATUS 'ZGUI'. ( The GUI status u have created).
Check this:
<b>http://www.sapdevelopment.co.uk/reporting/selscr/but_appbut.htm</b>
<b>http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm
Re: How to add push buttons in out put screen of ALV
http://www.planetsap.com/Tips_and_Tricks.htm</b>
Regards
Naresh -
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 -
Menu bar and application toolbar
is there a way to change item text on menu bar and application toolbar eg in business partner overview(T-Code fmcacov) i want to change text 'Business Partner" to "tax Payer" on both menu bar an application toolbar. i have tried the norma way of going to change the screen but when i am on the GUI status its not going to change mode even sfter entering the access key
Hi ,
Open the program and click on GOTO=>ATTRIBUTES.
Change the text to the heading which you want.
SAVE & ACTIVATE.
Regarding opening in change mode, the steps you have carried out are correct.
You need to comment the existing gui-status by placing cursor on that line & click delete.
Then click on INsert button and add new gui-status.
Best regards,
Prashant -
Problem with application toolbar
Hi all
I am facing a problem with the alv application toolbar.
i have attached a custom gui status to the alv but i am not able to see all the buttons created by me.
some buttons are getting cut and i cannot see the buttons after scrolling as well
Please suggest.Hi,
U might have copied a standard PF-status into ur own status and added ur own buttons right....if it is so do not alter the std buttons sequence.......and add ur own buttons at the last.....
also see if all de buttons are active...(red letters r inactive) activate den individually using function code button.....
Cheers,
jose. -
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'. -
Adding a button in Application toolbar of Transaction IW32
Hi ,
I need to add a button in the Application Toolbar of standard transaction IW32,I tried copying the pf-status and adding it in the user exit exit_saplocih_006 also,but its not working.
Please Kindly help.
Regards,
Ismail.I think you must create a copy of IW32 ( I am not wrong in SAP lingo they say repair) for example ZIW32. And add a button relevant gui status. (I have been looking Gui status of IW32 it is have more status. you must find true status)
If you want change original source don't forget this a patch can change your code. -
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.
-
Buttons on ALV Application Toolbar
Hi,
I have added buttons on the Application Toolbar of the ALV (in the GUI status).
There are a lot of buttons and due to lack of space some of the buttons go out of the screen.
Need to know if there is a way to make these buttons scrolable or in a dorp down.
Thanks for the help.
KarenHi Karen,
I also faced the same issue but solved it using alternative solution.
1) Go to PF-STATUS and create a MENU BAR.
2) Give Appropriate NAME and inside it write FUNCTION CODE given for buttons under "Code"
3) Appropriate description under "Text"
4) Save and activate.
Now, execute the report and even if the buttons are going out of screen, you have option to select the button from MENU BAR.
This is the best solution for this problem as far as i know.
Also, if you re-size your window ; the you will get tabs with drop down.
I hope this will help you in solving your issue.
Regards,
Rahul Mahajan
Maybe you are looking for
-
Order QTY should not exceed than reference document
Dear Gurus, I am creating a Release order with reference to Contract. Ex. order qty is 100 in Contract, while doing sale order it should not allow to change the order qty more than 100 [not more than Ref. document qty]. I have tried in VTAA, completi
-
Defining events on a graph like "onclick"
Hi All, I have a graph(say a guage) embedded in a dashboard in OBIEE 11g. How do i define onclick events on the graph so that when user clicks on the graph, the corresponding data is displayed in a new browser tab(like the table used to plot the grap
-
Hi, Is it possible to get the portal session id for the logged on user when the WDA is executed from Portal? If it is not possible to get Portal session id then is there any other unique value that we can get from currently opened Portal session for
-
Field Catalog Output Sales . . . How can I add fields?
I would like to set up for a particular output type for a particular order type that if the customer is a part of a particular account group . . . output would be generated upon saving the sales order. Is there a way to add Account Group so that I
-
How do I reinstall Netflix when it appears hung in a failed install?