How to create pop up in a subscreen in PAI
Can someone help me with the process to create pop up in a subscreen PAI logic?
hi,
here is the sample code refer to this...
in the subscreen flow logic.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0200.
in the module..
CASE ok_code.
WHEN 'FILL'.
IF sflight-carrid IS INITIAL OR
sflight-connid IS INITIAL.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = 'CANCEL'
* DIAGNOSE_OBJECT = ' '
text_question = 'fill the details'
text_button_1 = 'Yes'
* ICON_BUTTON_1 = ' '
text_button_2 = 'No'
* ICON_BUTTON_2 = ' '
default_button = '1'
* DISPLAY_CANCEL_BUTTON = 'X'
* USERDEFINED_F1_HELP = ' '
* START_COLUMN = 25
* START_ROW = 6
* POPUP_TYPE = POPUP_TYPE
* IV_QUICKINFO_BUTTON_1 = ' '
* IV_QUICKINFO_BUTTON_2 = ' '
IMPORTING
answer = i_answer
* TABLES
* PARAMETER = PARAMETER
EXCEPTIONS
text_not_found = 1
ENDIF.
IF NOT i_answer = 1.
dynnr = '300'.
ts-activetab = 'FILL'.
ENDIF.
ENDCASE.
here whenever i select the second tab (fill ) a pop will be generated with the message 'fill the details' , if i select yes then it will be on the same screen for no it will lead to next screen.
Regards,
Sathish reddy.
Similar Messages
-
How to create pop-up window to search for items
Hi,
I want to create a pop-up window were the user will be able to search for an item and select it.
How can I use a pop-up window in a portlet? Is there any api in the pdk for creating pop-up windows?
ThanksHi,
Can you let me know why you are trying to use a popup window for searching?
You can always add a search portlet - Basic,Advanced,Custom
- which will give you the link to the respective searched items.
I couldn't get a clear idea of your requirement.
Thanks. -
How to create pop ups in abap !
When a particular action will be done or a button eill be pressed a pop up will be created ...please help me with code...any standard function module ?????
and how to get the fields in the pop-up window? if any func. module is there , what are the parameters to be passed?
USE THIS fm POPUP_TO_DECIDE_INFO .
Parameters required for this FM is the Text you require to display on the popup window.
Two buttons automatically comes on this window a Tick and a x sign if you click tick the output varaible ANSWER is J else it is A .
check this [link|http://sap-img.com/abap/abap-pop-up-window.htm] -
How to create pop-up text boxes?
Hello,
Does anyone know if it's possible to make pop-up text boxes/windows in iBook Author? For instance, I can click on a text on the layout and a window pop-up with another text, in my case, they're references/citations. If this isn't possible in iBook Author, is there work-around for this, preferably, in iBook Author itself instead of creating widgets/imagest for every instance of the references. Any help would be appreciated.
Thanks,
HoaThe glossary offers this capability. However, using it for that purpose might be a bit confusing, especially if you also have "real" glossary entries.
I'm not aware of any other way to create a pop-up.
Michi. -
How to create pop up dialog which can be used as selection option screen
Hi,
I want to pup up a dialog screen to let user to input some parameter to filter the current data. Currently, I created a subscreen and when I use button to call this screen, error message araised: the error message as bellow:
"The attribute screen type with the values 'Normal Screen' and 'Subscreen' determines the use of the screen. If a normal screen is used as subscreen or vice versa, an error occurs.The screen "XXXX" 0051 has, in this respect, an inappropriate screen type. "
Hence may I know the correct step to create this kind of subscreen?
Many thanks!Hi Prabhu,
If you access into transaction SM30 and using some table view to display, then you will see at the bottom there is a button which name is Position. After you click this button, a dialog box will display.
This is what I am looking for.
Currently, I have created a subscreen and when I click some button to leave to this subscreen, the system raise the error message.
In addition, could you give me the link to your material you have mentioned because I am not familiar the directory fo find it.
Many thanks!
Edited by: qinyusap on Apr 28, 2010 7:06 AM -
How to Create Pop up window and assign values to the table in it
Hi All,
I have a code which checks for duplicate value in the database and displays that duplicate record. I want to put the duplicate record value in a table of a popup window. Can you please tell me how do i acheive this?
I tried the below code for creating a popup but most of the methods used here are deprecated. Please help
IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows(
"MyWindowName");
// create the Window
IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
window.setWindowPosition(WDWindowPos.CENTER);
window.setTitle("WindowTitle");
// Save WindowInstance in Context
wdContext.currentContextElement.setWindowInstance(window);
// and show the window
window.open();
Regards
SureshHi Suresh,
"createModalWindow" is not a depricated method.
Check this code.
IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows(
"SalesAreaWindow");
// create the Window
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.setWindowPosition(WDWindowPos.CENTER);
window.setTitle("Sales Window");
window.setWindowSize(100,100);
// Save WindowInstance in Context
wdContext.currentContextElement().setWindowInstance(window);
// and show the window
window.show();
"WindowInstance" is the context attribute of type "com.sap.tc.webdynpro.services.session.api.IWDWindow"
Re: opening a new window on lead select in a table!!!
Regards,
Mithu -
How to Create Pop-up in ActionScript 3.0
Hi,
Suppose, we have an object on the stage(say Rectangle/Circle, Movieclip, Button,etc.,). When we click on this object using mouse, Then it should display some information in a pop-up(say Click event occured on specific object being clicked(viz., Rectangle/Circle,Button,MovieClip,etc.,).
From,
Srihari.ChPlease post in the application specific forum you need info for. I'm
going to guess in this case that would be the Flash forum.
Bob -
What create docking container on a subscreen?
Hi Experts,
How to create docking container on a subscreen?
What parametr "parent" in constructor CL_GUI_DOCKING_CONTAINER?
Thanks
Mike FedorovHere's an example...Kindly steal from Rich Heilman -;)
report zrich_0001 .
data:
dockingleft type ref to cl_gui_docking_container,
text_editor type ref to cl_gui_textedit,
repid type syrepid.
data: itext type table of tline-tdline,
xtext type tline-tdline.
parameters: p_check.
at selection-screen output.
repid = sy-repid.
create object dockingleft
exporting repid = repid
dynnr = sy-dynnr
side = dockingleft->dock_at_left
extension = 1070.
create object text_editor
exporting
parent = dockingleft.
xtext = 'http:\\www.sap.com'.
append xtext to itext.
call method text_editor->set_text_as_r3table
exporting
table = itext
exceptions
others = 1.
start-of-selection.
call method text_editor->get_text_as_r3table
importing
table = itext
exceptions
others = 1.
loop at itext into xtext.
write:/ xtext.
endloop.
Greetings,
Blag. -
How to create the folder in presentation server through pop-up(
Hi Experts,
Can u give me the solution , how to create the folder in presentation server through pop-up(means dynamically, after executing the program , pop-up has to come to create the folderand path)
regards
ram.Use the methods -> DIRECTORY_BROWSE & DIRECTORY_CREATE of the class CL_GUI_FRONTEND_SERVICES
DATA: path TYPE string,
rc TYPE i,
dir_name TYPE string value 'HI'.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
CHANGING
SELECTED_FOLDER = path
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
concatenate path '\' dir_name into path.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE
EXPORTING
DIRECTORY = path
CHANGING
RC = rc
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Edited by: Kartik Tarla on Sep 23, 2009 5:54 PM -
How to create a pop up window while creation of the delivery note.
Hello Experts
How to create a pop up window while creation of the delivery note.
As soon as we go in to delivery note creation screen in VL01N, immediately a pop up screen should be displayed on the screen containing the following details,
For e.g.
Str. Loc Qty UOM
DE01 100 KG
DE99 50 KGDear all,
i m having two document numbers for invoic of same types such as output type print program and smartform.
biut the issue is im getting print preview for one invoic and for another invoic i m not getting any print preview.
Directly the cursor comes to initial stage of vf03.
suggest what to do
Thanks and regarnds
ravi -
How to create a hyperlink on a pop up window?
Hi,
How to create a hyperlink on a pop up window?
The pop up window appears on right click in a transaction.
Thanks in advance,
Regards,
VarunHi Varun,
While in transaction CRMD_BUS2000111 -> Opportunity -> select any -> partner tab, when I right click I get a standard pop up.
I want to introduce my hyperlink in that standard pop up.
you should have mentioned that earlier, that's the most complex part!
This is called a contextual menu (for more information, read [SAP Library: Context Menus|http://help.sap.com/saphelp_nw70/helpdata/en/94/c4a6377cc0c92ce10000009b38f8cf/frameset.htm ]).
Adding a menu item (that is not called an hyperlink, or is there something I didn't understand?) there is probably a modification of the standard. Either modifying the ABAP, or adding it to a GUI status of type "contextual menu".
There are number of demo programs, like DEMO_DYNPRO_CONTEXT_MENU, CTMENU_BUILD, CTMENU_DYNPRO...
Sandra -
Procedure to how to create a pop up in webdynpro
hi all,
will anybody guide me the procedure to how to create a pop up in webdynpro application..plz as am new to it and i had requirement of creating pop up window in starting the application.
thanks in advance.hi suman,
thanks for ur reply.
i want my pop up when i clk on button ok on my 1st view.
so i included the code in the method of ONACTION OK.
but am not able to display any sort of pop up.
my code is
DATA lo_nd_node TYPE REF TO if_wd_context_node.
data: lr_popup type ref to if_wd_window,
lr_view_controller type ref to if_wd_view_controller.
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = 'WW_POP'
title = 'my first message'
close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_ok
lo_window->open( ).
will u help me out in this. -
How to create subscreens in tabstrip control using module pool
hai experts,
can u plz give me step by step procedure to create subscreens in tabstrip control using module pool,hi,
You can check this program
<b> DEMO_DYNPRO_TABSTRIP_LOCAL </b>
This will help you in understanding the concept and how to create subscreens.
Regards
Nishant -
How to create Subscreens more than 2.
Hi All,
My requirement is to create more than 2 subscreens .
By default we can create two subscreens in Screen Painter.
I need to create 10 subscreens in screen, will anybody help me how to create
subscreens
Regards,
MadhaviHi,
We can create any number of subscreens.First define number of tabs for each subscreens.We can create any number of tabs using tabstrips.Under each tab provide subscreen area and later design subscreen and call that subscreen in flowlogic.
Reward if useful.
Regards,
Swetha. -
How to create a pop iView?
hi, I am hanif i am new to portal,can anybody please tell me how to create a pop iView once the user logIn to the portal , iview shud popup like an normal window popup automatically and shud be closed by the request button pressed by the user.
is there any property of iView or can be done by programming only.Plz provide me assistance in the case.
Thanx in advance
Regards:
hanifHanif,
This is some thing you can develop using the JSPDynpage.
This blog expalins how to create a pop up window for logon :
Custom login screen for External Facing Portal
Here attached some help, might be helpful.
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1228101,00.html
Thanks
Krishna
Maybe you are looking for
-
How to set PDF file default display size through Report Writter 6i
Anyone could help me, how to setup default display (magnification i.e 100% or 80%) for a pdf file generated by report writter 6i. Thanks Raj
-
Unrecognized Windows Sockets error: 10106: create
Am getting the following error when I use tcp-mon to sniff the HTTP traffic. Same when I use SOAP-UI. I'm using windows 7 and using "jdk1.6.0_13". Any help on this pls . java.net.SocketException: Unrecognized Windows Sockets error: 10106: create at j
-
Data is Lost in Recording file
I have issue with binary file recording in the RT system i have started recording from the host system after some time suddenly power to the RT system is gone then in rt system,file has been created but data is lost it is showing 0(zero) bytes Any ot
-
i can't seem to drag and drop anything from anywhere to anywhere. CD to External Drive, External drive to internal drive, documents folder to mounted external drive, etc.
-
Someone broke my account, change the password and ...
Someone broke my account (removed), it was linked to my email adress (removed). Now I can't login or restore a password. What should I do now? How can I bring my account back?