Modify layout of a popup screen
Hi Experts,
I need a modify a dialog screen( screen built using screen painter) in which data is displayed using table control.
Since all the of columns in the table control is not visible in the popup and the user needs to scroll if he/she wants to see other columns, my client wants to add 'Layout' button to the popup screen and this should work similar to the layout option that come by default in ALV display.
My question is, is it possible to provide such an option in dialog screen? if Yes, then please let me know how this can be achieved.
Thanks in advance..
Regards
Balu
I don't know of a way to get the same layout functionality you get with the ALV display but there is a configuration button which is accessible for every table control you create in your dialog program.
The button (on my SAP GUI) looks like three little vertical bars that look similar to a very small table grid (the top is blue and the first column looks like it is yellow while the other two little bars look like they're white).
It is located in the upper right-hand corner of every table control when you run your program.
If you click on this configuration button the user will be able to configure the table columns for their individual needs. This is functionality that SAP provides by default. When you click on the configuration button there is an information button (indicated by an "i") which will give you more information about how to use this layout configuration tool.
I hope this helps. Perhaps it will suffice for your needs with this request.
Similar Messages
-
Hi ,
I m creating a ALV report ,in that using set PF status i created push button , in alv output list if i click the push button pop up screen will come in that popup screen it displays the previous PF status, how to add my own PF status in that popup screen
thanksHi,
You must have created other screen for the pop up say suppose 9002.
then we need to write the code in 9002 PBO.
*& Module STATUS_9002 OUTPUT
* text
MODULE status_9002 OUTPUT.
SET PF-STATUS 'ZNOT3'.
SET TITLEBAR 'ZTNOT3'.
ENDMODULE. " STATUS_9002 OUTPUT
Here 'ZNOT3' is is the PF STATUS that ius made according to our need.
It is recommend that you copy standard status'STANDARD' from function group SALV and modify it accordingly. ALV standard function codes always start with '&'.
Hope this will help you.
Thanks,
Dhanashri. -
Call transaction in the popup screen
hi friends . ı want to call transaction in the popup screen.
what do ı do ?
thanks.to call a transaction in the popup screen
can u give me one scenerio
because
try this
create a program of type report
in that "call screen '100' starting 10 10 ending at 100 100.
and u click on this 100 and make the layout what ever u want
and just go to se93 create transaction for this report program
thats it
if it ok
then ur problem is solved
or else it is not solved -
Dear Friends,
i am working on a flex ticker. i need to create an alert
option with a pop up screen. iam new to flex. pls help me how can i
create a popup screen and find and display the alert for RSS feed.
Thanks and Regards,
Syed Adbul RahimThis link should help:
TitleWindow
layout container -
Popup screen not working after upgrade to APEX 3.0
Hi,
I have upgraded my APEX installation from version 1.6 to version 3. My application has some popup screens that are displayed when a user presses a button. These popups have now stop working and when you press them, the user is presented with the login page.
I suspect this is because I am not passing the SESSION value in the URL when the page is displayed. The following code is the javascript that is called from one of the buttons :-
function sa_popup2() {
var field_value = document.getElementById("f22@0").value;
if ( document.getElementById("f22@0").value != "" ) {
var enqNo = document.getElementById("P17_ENQUIRY_NO") ? document.getElementById("P17_ENQUIRY_NO").value : -1;
var enqLineNo = wwv_flow.f02[0].value;
var str=document.getElementById("P17_PROCESS_CHRG_INCL").value;
var outstring = str.replace(/%null%/,"");
windowAddress = 'f?p=200:228:::::P228_CUS_ID,P228_ENQ_STATUS,P228_PROCESSING_CHRG,P228_ENQUIRY_NO,P228_ENQUIRY_LINE_NO:'+document.getElementById("P17_CUS_ID").value+','+document.getElementById("P17_ENQ_STATUS").value+','+outstring + ',' + enqNo + ',' + enqLineNo ;
w = open(windowAddress,"winhelp","Scrollbars=1,resizable=1,width=500,height=350");
You can see from the above that when the windowaddress variable is set it does not include the session value. In APEX 1.6 when the popup is displayed the SESSION is automatically populated in the URL, but in APEX 3 it is not populating.
Is there a way I can get this to continue working without changing my javascript function. This approach has been used throughout my applications, and I do not want to have to change the code if I don't need to.
Rgds
PaulHi Paul,
Yes, as you suspect, it's the fact that you're not passing the session across. I would definitely recommend recoding to include the session. -
Add new field in the Create Support Message Popup Screen
Hi Experts,
I need to create Project Code Field in the standard popup screen Create Support Message
Suggest me any Badi or FM or Bapi or Enhancement to create a new field and update the field value to the Support Message created.
Please let me know if this is possible or not?
Thank You,
Sowjanya SreekrishnaDear Abhijit
Even after doing PGI, there are some fields which are in editable mode in delivery. For example, in VL02N, if you select "Goto --> Header --> Shipment, you can see fields like Bill of Lading are in editable mode.
If you specify what your requirement is, then probably, a better option can be given.
Thanks
G. Lakshmipathi -
On my new iPhone, at the Apps store, I tried to make a purchase, the popup screen shows my Apple ID and asks for my password, but no keyboard appears so that I can enter the password. How do I get the keyboard to appear??
On your iPad, delete the existing account then sign back in with the new ID and password.
-
Data is not saving in to DB from POPUP screen.
Hi,
I am opening a popup screen on button click and On the popup screen, I have added the VO as form with submit button.
On the popup fetchlistener, I calling a bean method to invoke the createInsert action as follows.
public String createSubs() {
System.out.println("Inside Action Event*********************");
try{
AdfFacesContext adf = AdfFacesContext.getCurrentInstance();
BindingContainer bc = getBindings();
oracle.binding.OperationBinding opb = bc.getOperationBinding("Create");
opb.execute();
}catch(Exception e){
e.printStackTrace();
return "";
public BindingContainer getBindings() {
return BindingContext.getCurrent().getCurrentBindingsEntry();
When I am clicking on submit button in popup screen, data is appearing on the mainpage table but the same is not saving in the database. One more I have observed that doDML is not calling means SOP's are not comming from doDML method in the entity class.
Please do the needful, its an urgent issue to reslove.
Thanks in Advance,
user5802014HI,
Can you please specify that for your attributes CreatedBy and CreationDate , are you using automatic insert value from your entity or not? Or you are passing default values programatically in doDML() method.
I guess for every new row your are using User name for CreatedBy field and current date for CreationDate field,
Why don't you set these field at the time of creation of new row, Override Create() method in your entity bean and then you can set these fields to there default values. and now you should remove Mandatory property to unchecked for these fields in entity also.
like i'm doing here - I'm setting sequence number as default to field insertedLineNo
protected void create(AttributeList attributeList) {
SequenceImpl seq = new SequenceImpl("NUMBER_SEQ", getDBTransaction());
Number seqNum = seq.getSequenceNumber();
setInsertedLineNo(seqNum);
super.create(attributeList);
}Hope this will help you, and let me know if this helps you.
Fizzz... -
I am working with Acrobat XI and when I try to add text to a geopdf file I get a popup screen that says this is a secured document and editing is not permitted. How do I fix this?
I figured it out...needed to use comment tool set, not the editing tool set.
-
I reinstalled acrobat pro 9.0 on windows 7 Ultimate 64, it installed OK, When I open i get a large white popup screen which i cannot close... what to do?
Hey jeroenb16613921,
Please specify exactly when you get this white popup screen. While opening a PDF or launching Acrobat by double-clicking on the Acrobat icon.
If it comes when opening a PDF, then where is this PDF actually stored?
Let me know more on the same so that I can analyze the issue.
Regards,
Anubha -
Popup screen with two check box and a text area for the user to enter value
hi,
i have a requirement when a button is clicked a popup screen should appear with two check box and a text box where the user can enter a value.
is there any function module which has that functionalityHello,
You can create a new screen and select the screen type as <b>model dialog box</b>.This will give you a<b> pop-up screen</b> and you can call this model dialog box screen in the PAI of the screen where the button is present.(At user-command).
<b>case ok_code.
when 'BUTTON'.
call screen 200 starting at 10 10.</b>
You can design the PBO of this pop-up screen as per your needs.
Regards,
Beejal
**Reward if this helps. -
Layout Option on Selection Screen For Zreport
Hi All,
Plz explain how to do coding for using Layout option on selection screen of
report. Also i should be able to save and create new layout on selection screen.
Thnaks in advance.
Aniket Dayamahi,
creation of sub-screens.
selection-screen begin of tabbed block <name of the tab> for < height of the tab in no's> lines.
eg;
selection-screen tab(20) l1 <data element> user-comand <name of the funcion code>
selection-screen end of block <name of the tab strip>.
eg;
selection-screen begin of tabbed block mytab for 10 lines.
selection-screen tab(20) l1 user-command tab1.
selection-screen tab (20) l2 user-command tab2..
selection-screen end of block mytab.
Under initialization.
data element = text-01.
data element = text=02.
How to initialize the tab with default screen.
<name of the tab> - prog = sy-repid.
<name of the tab>- dynnr = '<subscreen no>'.
<nane of the tab>-activetab = '<user-command for the strip>
if this has solved ur problem then dont forget to reward with points.
with regards,
madhuri. -
ALV + layout varient on selection screen
hiii
with ALV list i want to know with how to allow to put the layout on the selection screen and when user press F4 he will be able to use the list of layout he has save on the ALV output
Note for the layout button to appear i had to activate shown below:
i_save = c_x
please give me sample code where user can choose layout on selection screen and this layout will be used to display on ALVHi,
Please refer the code below for layout variants :
DATA: gt_rsparams TYPE TABLE OF rsparams.
* Data for ALV variant
DATA gv_repname LIKE sy-repid.
DATA gv_x_variant LIKE disvariant.
DATA gv_exit(1) TYPE c.
DATA gv_save(1) TYPE c.
DATA gv_variant LIKE disvariant.
PARAMETERS: sp_vari LIKE disvariant-variant. "Dispaly Variant
INITIALIZATION.
gv_repname = sy-repid.
REFRESH : gt_glacct,
gr_rcomp,
gt_output,
gt_fieldcat,
gt_sort.
* Initialize ALV Layout variant
PERFORM f_initialize_variant.
FORM f_initialize_variant .
CLEAR gv_variant.
gv_save = 'X'.
gv_variant-report = gv_repname.
gv_x_variant = gv_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = gv_save
CHANGING
cs_variant = gv_x_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
sp_vari = gv_x_variant-variant.
ENDIF.
ENDFORM. " f_initialize_variant
AT SELECTION-SCREEN ON VALUE-REQUEST FOR sp_vari.
PERFORM f_f4_for_variant.
FORM f_f4_for_variant .
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = gv_variant
i_save = gv_save
IMPORTING
e_exit = gv_exit
es_variant = gv_x_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF gv_exit = space.
sp_vari = gv_x_variant-variant.
ENDIF.
ENDIF.
ENDFORM. " f_f4_for_variant
AT SELECTION-SCREEN.
* Validating selection screen fields
PERFORM f_at_selection_screen.
FORM f_at_selection_screen .
* ALV Layout variant
IF NOT sp_vari IS INITIAL.
MOVE gv_variant TO gv_x_variant.
MOVE sp_vari TO gv_x_variant-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = gv_save
CHANGING
cs_variant = gv_x_variant.
gv_variant = gv_x_variant.
ELSE.
PERFORM f_initialize_variant.
ENDIF.
FORM f_initialize_variant .
CLEAR gv_variant.
gv_save = 'X'.
gv_variant-report = gv_repname.
gv_x_variant = gv_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = gv_save
CHANGING
cs_variant = gv_x_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
sp_vari = gv_x_variant-variant.
ENDIF.
ENDFORM. " f_initialize_variant
Thanks,
Sriram POnna. -
Need help on POPUP screen in web ui
Hi Experts,
I have created popup screen in the eh_onsave method .Now it is triggering, in this popup it is displaying YES, NO and CANEL buttons. But i want to change the standard buttons descriptions. how to do ?
I have created custom buttons and displaying as ACCEPT, REJECT AND CHANGE on the popup screen. if I click any button on the popup is returning same event id, i have seen in debugging custo_btn .
below is my code.
ls_button-id = 'ACCEPT'.
ls_button-text = 'Accept'.
ls_button-on_click = 'ACCEPT'.
ls_button-on_select = 'ACCP'.
append ls_button to lt_buttons.
clear ls_button.
ls_button-id = 'REJECT'.
ls_button-text = 'Reject'.
ls_button-on_click = 'REJECT'.
append ls_button to lt_buttons.
clear ls_button.
ls_button-id = 'CHANGE'.
ls_button-text = 'Change'.
ls_button-on_click = 'CHANGE'.
append ls_button to lt_buttons.
clear ls_button.
call method comp_controller->window_manager->create_popup_2_confirm
exporting
iv_title = 'Vary Item Proposal'
iv_text = lv_text
iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_custom
iv_custombuttons = lt_buttons
receiving
rv_result = gv_confirm_popup.
gv_confirm_popup->set_on_close_event( iv_view = me
iv_event_name = 'CONFIRM_POPUP_CLOSED' ).
gv_confirm_popup->open( ).
ethod EH_ONCONFIRM_POPUP_CLOSED.
Added by wizard: Handler for event 'CONFIRM_POPUP_CLOSED'
INCLUDE: crm_object_types_con.
DATA: lv_answer TYPE string.
lv_answer = GV_confirm_popup->get_fired_outbound_plug( ).
CASE lv_answer. "Here i am getting the same id for any button.
WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_yes.
WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_no.
WHEN OTHERS.
ENDCASE.
Please help me.
Thanks,
VenkyHi Venky
Try to Implement the below lines along with other lines while building the button, apart from that check ON_CLIENT_CLICK also (instead of on_click use the on_client_click)
ls_button-enabled = 'X'.
More over I checked your code in the CASE statement you are using the stanadrad constants like co_event_yes , but you are setting the event with other names pls check that also.
now your code will look like this
ls_button-id = 'ACCEPT'.
ls_button-text = 'Accept'.
ls_button-enabled = 'X'.
ls_button-on_client_click = 'ACCEPT'.
ls_button-on_select = 'ACCP'.
append ls_button to lt_buttons.
clear ls_button.
hope this helps.
Thanks & Regards
Raj
Edited by: bmsraj on Sep 21, 2011 7:06 PM -
ALV - selecting the data based on layout set in selection screen
Hi,
I have an ALV report (Custom). I want to give layout selection at selection screen, so the user can create/select/manage layout at the time of selection screen and only these columns will be displayed in the final output. Instead user execute the report for all column and at the end user select the layout. I want this layout at the selection screen level like the standard reports.
Thanks,You can do the following
When the user clicks on download
1.Use FM REUSE_ALV_LIST_LAYOUT_INFO_GET / REUSE_ALV_GRID_LAYOUT_INFO_GET to get the Fieldcat (since due to selection of layout on sel screen some columns are disabled. For the columns which have been disabled the resultant Fieldcat from the above FMs would have NO_OUT = 'X'. Delete columns from Fieldcat itab where no_out = 'X'
2.create a dynamic itab using cl_alv_table_create=>create_dynamic_table( ) passing the above Fieldcat itab, get a handle of new itab
3.loop over the original itab and fill the new dynamic itab
hope this helps...
Maybe you are looking for
-
Error in SUS with confirmation for service (MM-SRV)
Hi everyone, We are trying to configure the MM-SRV sceanrio in SRM 7 and ECC 6 Ehp 4. We have a problem, when we send a Service PO from ECC to SUS, everything is fine. Then we make the Purchase Orde Responce (POR) and it is OK, but when we try to mak
-
External hard drive clicking and not recognized by mac will DiskWarrior work?
First of all apologizes if I've posted in the wrong community I couldn't find one that really fit my particular query. I'll give a quick rundown of what happened and see if anyone can help or suggest a course of action. My Seagate External HDD model
-
So I posted this in the apple forums... No response and it's been a couple days... Anyon have any idea how to fix this? I'm using the latest OSX, with the latest CC versions. I'm using a late model Macbook pro. When I'm in photoshop and i use the alt
-
I recently purchased an Iphone 6plus and I am receiving pdf attachments that are shown as winmail.dat attachments on the iphone. When I check the same e-mail on my macbook pro the attachment is a pdf and I can open it. Why is this happening?
-
Help! Lost all Data!
Problem with logging on: Started up and window appeared asking for my user log on password. Computer seemed to recognize password but got this message: This user cannot log in at this time. Password hint is correct, but can't log in after several tri