GUI status name in BHTML
Hello,
I am looking for a way to get the GUI status in a BHTML file.
I am writing my own generator for ITS, and there I need the currently active GUI status or the name of it.
I tried to get it with
`<tags `PF-STATUS` `~CURRDYNPRO` />`
but that didn't help. I only got something like that:
<tags ZTOP_GENERATOR_TEST_0100 />
The name `PF-STATUS` is not translated, the `~CURRDYNPRO` is ZTOP_GENERATOR_TEST_0100
I saw some code like ~CURRDYNPRO.name but I could not figure out some kind of sub-value for the status.
I am working here with a NetWeaver 7.01 with EHP1 and integrated ITS.
Hope anyone can help me...
Thanks a lot.
Greetings,
Georg
Edited by: Georg Bergen on Dec 18, 2009 11:06 AM
Hi Edgar,
No, I am referring to the GUI Status object that defines all the button actions available on a screen. In WebSAPConsole there is no problem to use it, but in ITS I did not find an easy way.
Currently I figured out a workaround adding a new I/O field to the screen with the name 'SY_PFKEY', and it works fine, but I don't want to manipulate the screen itself, so this is only my last resort.
Georg
Similar Messages
-
Storage Area for GUI status is too small
Hi Experts,
I have developed a custom program in which i ahev my own GUI status for the modal dialog box.
At certain point I am getting error "Storage Area for GUI status is too small"
What is the solution for this?
Thanks.Hi Klas,
I am getting the error as Storage Area of GUI Stattus "PROGRAM MAME" "GUI STATUS NAME" too small.
I did not mention the program name and gui status name .
Mean;
I do not have any push buttons. While I am creating teh order for each item it will popup teh custom screen to select something.
When the number of items becomes more I am getting that issue.
As it calls the BUI status each time, the memory gets full and hence gives that message.
If you know the exact solution plz reply back.
Thanks
Kumar -
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. -
OSS Note 1401249 - Issue in GUI status
Hi ,
As per 1401249 Note instructions, i need to add a new push button 'Display Income Levy Data', in the standard report HIECILC0 .
In SE41 , I am giving the program name HIECILC0 and Status 'ALV', when I click on Change button, I see 'Modify Status ALV in program HIECILC0' , where as in the Note instructions screen shot it is given as 'Maintain Status ALV in program HIECILC0'.
Have anyone faced this issue before, why is it 'Modify Status ALV in program HIECILC0' instead of 'Maintain Status ALV in program HIECILC0'.
I am not able follow the same steps given in the Note instruction because of this issue.
Please let me know how to proceed with this.Hi ,
The below thread resolved the issue.
Can't modify a gui Status
In SE41 Menu path: Edit -> Modification Operations -> Swich off assistant
Thanks -
How to copy GUI status to new program
Hi all,
In report A, i have GUI status with lot of menu bar activities. i need to create one more report B, with the same GUI status. Is there any option to copy/download from Report A to paste/upload to the new report B.
Note: Both the Reports are in different SAP Systems.
Please suggest.
Thanks.
Regards,
Venkat
Edited by: VENKATA PRASAD BATHINAPATLA on Sep 19, 2011 8:39 AMHi,
You can do this:
go to Transaction se90. Drill down to Program library -> program sub objects -> Double click on GUI Status.
In the program name enter Your PROGRAM NAME and press execute. now select check box beside <Your GUI STATUS which you want to copy>. and in the menu click on GUI Status -> Copy.
Now copy it to ur B report pf status.
or
goto se80 select Program enter your program name then under GUI Status right click on your gui ststus which you want to copy and press copy and enter your B Report name.,
hope this helps u.,
Thanks & Regards,
Kiran -
How to set my own gui status when i use selection-screen
how to set my own gui status when i use selection-screen command
and
how to set the names in the application tool bar when function keys are createdMake sure that you do this in event "AT SELECTION-SCREEN OUTPUT".
Run Txn ABAPDOCU and check 'DEMO_SEL_SCREEN_STATUS' for sample.
Also check out following discussion -
Selection Screen PF-STATUS
Cheers,
Sanjeev -
What is the use of GUI status in Dialog programming
what is the use of GUI status in Dialog programming,, how can it be used there,, as screen are alredy defined..
Hi,
The use of GUI Status is that when we have to change some thing in Menu Bar, Toolbar and Function Keys. Say For Example we have to create any Custom Button in the application toolbar etc.
It can be used in Dialog Programming via defining the Status in the PBO module of the screen.
eq. created a screen 9000
on clicking it->
PROCESS BEFORE OUTPUT.
MODULE status_9000.
On double clicking on this "Module status_9000" - you can write "SET PF-STATUS 'STATUS_9000'".
Now u can create GUI staus with name "'STATUS_9000'".
Let me know in case you have any further doubts.
Thanks -
Transport Screen objects-GUI status(SAP does not create request, why)?
Hi experts,
I use SE80 to change GUI status, but system does not create a transport request for me to transfer? why?Hi,
Thanks for replay. Actually, the SE80->program->Gui status have some objects and they are already transfered. But I can't see them on target system. But When I create exactly the same name, the system tell me they are already created. I think it becuase the original language is 'DE' but I use default language 'EN' to modify and create the request? -
Is gui status that is created by us for a particular program is local for that progam or it is global, so that we can use it in other programs.
Waiting for replies
thanx in advanceHi,
GUI STATUS are screen specific, different for each screen. If u want to use same in other prg then copy gui status to that program in se80-gui status-status name - right click -copy.
Hope it will helpu.
Jogdand
PS: Award if helpful -
ALV grid to list processing and GUI status
Hi,
In a customized program the report output is in ALV grid which is interactive. On selecting a record and pressing SAVE button a BAPI runs in background. In order to display BAPI error message the leave to list-processing has been used. But GUI status is not working in list display and can not exit or go back from here to main selection screen.
when try to see program name & screen no it displays
Program - SAPLKKBL
Menu - STANDARD_FULLSCREEN
pls advise how to go back from list to main screen or ALV output.
thanks
anyaHi Anya,
As per my understanding, this is your prog flow:
*Main ALV Display.
*Select record.
*Click on Button SAVE.
*Handle Event.
*Call BAPI for processing based on selection.
Now at this point why dont you colect the error messages from the BAPI, and display it in a POP-UP ALV display?
You need not e very much worried about the PF status and all. Also this POP-UP will be placed on the MAIN ALV. So when you close the POP-UP it will come back to the main ALV.
By this when you press the BACK button of the main ALV, it will take you back to the selection scree.
Please let me know if i am missing something.
ags -
Regarding module pool programming,reports and gui status
hi,
I have created a mpp program in which i called a report using the SUBMIT statement.In the Report i have used Gui status for BACK.When i execute the MPP and press BACK it should call a another screen of the MPP,but it leaves to the program i.e., it comes out.
example,
case sy-ucomm.
When 'BACK'.
CALL SCREEN 0002.
endcase.
This is what i have used in my report program.
Please help me,
Thanks in advance,
ArunaHi.
Change the name BACK because it is standard FCode.
Try Changing the Fcode.
Awrd Points if useful
Bhupal -
Hi Experts
How to create toolbar in the Report program.
ie how to add gui status and how to code for it.
Pls suggest me.
Thanks in advance.
Regards
rajaramHi
This is my coding part inwhich i want to add a button in toolbar, Can you change this coding that where exactly changes needed and what.
Pls help me.
Regards
Rajaram
REPORT ZSAB_POLY_INVOICE.
tables : vbrp, vbrk, vbap.
DATA : BEGIN OF it_final OCCURS 0.
INCLUDE STRUCTURE ZINV_ORG.
DATA : END OF it_final.
data : wa like line of it_final.
data : mode type string.
data : flag type i,
flag1 type i.
DATA : fm_name TYPE rs38l_fnam.
DATA : w_formname TYPE tdsfname. "form name
w_formname = 'Z_POLY_ORGINAL'.
DATA: LX_OUTPUT TYPE SSFCOMPOP,
LX_CNTL TYPE SSFCTRLOP.
LX_CNTL-NO_DIALOG = 'X'.
LX_OUTPUT-TDDEST = 'LP01'.
SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-001.
PARAMETERS vbeln TYPE vbrk-vbeln matchcode object ZINVOICE.
PARAMETERS rtim TYPE vbrk-ERZET.
SELECTION-SCREEN END OF BLOCK bk1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
parameter : p_org as checkbox,
p_dup as checkbox,
p_tri as checkbox,
p_qua as checkbox.
SELECTION-SCREEN END OF BLOCK b2.
select a~vbeln
a~bukrs
b~posnr
b~werks
a~stceg
a~FKDAT
a~INCO1
a~INCO2
b~MATNR
b~ARKTX
b~FKIMG
b~UEPOS
from vbrk as a
inner join vbrp as b on avbeln = bvbeln
into corresponding fields of table it_final
where a~vbeln = vbeln.
break pro01.
if p_org is not initial and p_dup is not initial
and p_tri is not initial and p_qua is not initial.
mode = 'Original for Buyer'.
perform original.
mode = 'Duplicate'.
perform original.
mode = 'Triplicate'.
perform original.
mode = 'Quadruplicate'.
perform original.
elseif p_org is not initial and p_dup is not initial
and p_tri is not initial.
mode = 'Original for Buyer'.
perform original.
mode = 'Duplicate'.
perform original.
mode = 'Triplicate'.
perform original.
elseif p_dup is not initial and p_tri is not initial
and p_qua is not initial.
mode = 'Duplicate'.
perform original.
mode = 'Triplicate'.
perform original.
mode = 'Quadruplicate'.
perform original.
elseif p_org is not initial and p_dup is not initial.
mode = 'Original for Buyer'.
perform original.
mode = 'Duplicate'.
perform original.
elseif p_tri is not initial and p_qua is not initial.
mode = 'Triplicate'.
perform original.
mode = 'Quadruplicate'.
perform original.
elseif p_org is not initial and p_tri is not initial.
mode = 'Original for Buyer'.
perform original.
mode = 'Triplicate'.
perform original.
elseif p_dup is not initial and p_tri is not initial
and p_qua is not initial.
mode = 'Original for Buyer'.
perform original.
mode = 'Duplicate'.
perform original.
mode = 'Triplicate'.
perform original.
elseif p_org is not initial.
mode = 'Original for Buyer'.
perform original.
endif.
*& Form original
text
--> p1 text
<-- p2 text
FORM original .
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = w_formname
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION '/1BCDWB/SF00000447'
EXPORTING
RTIM = RTIM
MODE = MODE
*ARCHIVE_INDEX =
*ARCHIVE_INDEX_TAB =
*ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = LX_CNTL
*MAIL_APPL_OBJ =
*MAIL_RECIPIENT =
*MAIL_SENDER =
OUTPUT_OPTIONS = LX_OUTPUT
*USER_SETTINGS = 'X'
*BOL_NUM =
*CARRIER_NAME =
*SHIP_FROM_ADR =
*SHIP_TO_ADR =
*THIRD_PARTY_ADR =
*IMPORTING
*DOCUMENT_OUTPUT_INFO =
*JOB_OUTPUT_INFO =
TABLES
it_final = it_final
IF sy-subrc = 0.
*MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. -
Hi there,
I have attempted to deploy some ABAP code which was developed in 4.7 into a 4.6b environment. Mysteriously the GUI statuses have not gone with the transport. Does this need to be added explicitly to the transport objects when going across versions like this ? Is it to do with the way objects are organised in packages as oppose to dev classes ?
(When I deployed the code in another 4.7 box it worked fine)Hi Richard,
I would suggest you to look up in SE11 transaction, for table <b>E071</b>, check for object type '<b>CUAD</b>' <-- GUI Status for your program name in your 4.7 box.
Regards,
Subramanian V. -
Disable Head Menu In GUI STATUS
Hello everyone,
i have a gui-status that has a menu (with several options within it) and application toolbar.
Im looking for a way to disable/remove the menu only , I know that the options within it can be disabled using EXCLUDE fcode but the menu header (The name we press is not assigned to an fcode apparently and thus cannot be disabled using the exclude option.
thanks in advance,
Eli Erenburg, Israeli NavyHi,
Actually there is no need to SET PF-STATUS in PAI in WHEN 'SWITCH' code as once it goes to PBO module it will again set PF-STATUS EXCLUDING 'SAVE' all the time.
So you have to change the PBO Module logic as follows,
MODULE PBO OUTPUT.
IF <your condition>.
SET PF-STATUS 'GS_100'.
ELSE.
SET PF-STATUS 'GS_100' EXCLUDING 'SAVE'.
ENDIF.
ENDMODULE.
and then remove the SET PF-STATUS statements from
SWITCH_EDIT_MODE subroutine..
Best way is to set a flag (a global variable) in SWITCH_EDIT_MODE and use it in PBO instead of go_grid->is_ready_for_input..
Some thing like the following,
in your SWITCH_EDIT_MODE routine,
IF gv_edit EQ 'X'.
CLEAR gv_edit.
****other code here to disable grid
ELSE.
gv_edit = 'X'.
****other code here to enable grid
ENDIF.
In your PBO module,
MODULE PBO OUTPUT.
IF gv_edit EQ space.
SET PF-STATUS 'GS_100'.
ELSE.
SET PF-STATUS 'GS_100' EXCLUDING 'SAVE'.
ENDIF.
ENDMODULE.
Hope this helps..
Regards -
Default setting of SAP GUI Status bar
Hello all,
Is there a way to set a default value of the precious combobox from the GUI status bar (the one showing System, Client, User, Program.....).
I would like to set it to always display the SAP System.
thanks.Hi,
you can do this like below.
First select the option to show 'System' ( may be it is by default prompting to show 'Program Name' )
next time when you login it will default with System name only.
Kind Regards,
Ravi Sankar.Z
Maybe you are looking for
-
External Hard Drive Suddenly won't mount except if connected via keyboard
Hi there guys. I have a generic USB 2.0 Hard drive enclosure that I've been using successfully with my Macs. Today it doesn't work, on any of them. I connect it via USB to the back of my iMac, and it will not mount. I checked system information, and
-
Hello I formatted my iMac today and wanted to download iphoto again but after i press the button to install it in the app store nothing happens! same with the yosemite upgrade.. In the iPhoto ratings there are alot of other people facing this problem
-
The event structure in LabView 6.1 is almost of no use, because it only reacts on user inputs. As consequence it only makes sense to use them in a top level VI. Even the argument that you can avoid polling (and safe processor time) if using the event
-
How do I change my iPad name in the find my i phone app?
-
Need help i have a 1th gen iPod touch
I have a 1th gen iPod touch that i have wiped for selling but now the PC can not find the iPod and the apple logo has not lead under it) i have tried reboots and all sorts of stuff can any one help me pls