Include a dialog screen in tabstrip of selection-screen
Hi All,
Could anyone please tell me how to include a dialog screen into selection-screen? We have a normal selection screen for a report but now we need to add some more function and this requires to key in material number in first column and quantity in second column in a tabstrip subscreen(eg. screen 2000) and put current select-options(screen 1000) in another tabstrip to make user easily switch between new filters and previous filters. I've no idea if it's possible to have a dialog screen included in a tabstrip in the selection-screen. So please give me some suggestion. Thanks.
Best Regards,
Jeff
Hi Jeff,
In the selection screen you need to call a custom tab strip that would have two sub-screens 1000 and 2000. It is completely designing of tab strip and its code manipulation.
Did you search for TAB STRIP IN SELECTION-SCREEN ?
This will help you in from start-up designing of tab-strip. It's not possible here in forum to explain all the steps in details.
For your help you can refer the link
[Sub-screen in Tab strip|Tabstrip and Subscreen;
This link gives you a complete idea on Tab strip
[Creating a Tab Strip Control|http://help.sap.com/saphelp_nw04/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/frameset.htm]
Still you can search and find more as per your requirement.
Similar Messages
-
Selection-screen functionality in dialog screen
SELECT-OPTIONS pr_matnr FOR lv_matnr-matnr.
What this does is display a 'From' and 'To' field, plus a little right-hand arrow to allow additional ranges to be added. I'm trying to achieve the same but within a dialog screen. Anyone?.
I just know that I'm going to kick myself when I find out how to do it, but I have all but given up searching for it. Perhaps it's just a bad day and I've chosen the wrong search params.
thanks.Hi.
I tried this at my system and the following seems to work
1) Create a report that defines a subscreen:
REPORT ztst.
TABLES mara.
SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
SELECT-OPTIONS: s_matnr FOR mara-matnr.
SELECTION-SCREEN END OF SCREEN 1010.
2) Call this subscreen from your dialog screen
in PBO:
CALL SUBSCREEN subscreen_1 INCLUDING 'ZTST' '1010'.
in PAI:
CALL SUBSCREEN subscreen_1.
Reward if helpfull...
Cheers,
Sundar. -
Dialog programming - How to place a select-option field in a dialog screen
Hi all,
In Dialog Programming, How to place a select-option field in a dialog screen.
Kindly give me some example code...
Thanks,
Jaffer Ali.Shi Ali,
U can add select-options in ur module pool by using SELECTION-SCREEN BEGIN OF SCREEN <scrn> AS SUBSCREEN command.
check this link for reference.....
http://help.sap.com/saphelp_47x200/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/frameset.htm
Example Code :
DATA : ok_code TYPE sy-ucomm.
SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X',
p_rad2 RADIOBUTTON GROUP grp1,
p_rad3 RADIOBUTTON GROUP grp1.
SELECT-OPTIONS: s_matnr FOR mara-matnr,
s_matkl FOR mara-matkl,
s_mtart FOR mara-mtart.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN END OF SCREEN 1010.
START-OF-SELECTION.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
MODULE status_0100 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
CALL SCREEN 1010 .
ENDMODULE. "status_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
SCREEN 100 ****************
PROCESS BEFORE OUTPUT.
MODULE status_0100.
CALL SUBSCREEN sub_1010 INCLUDING sy-repid '1010'.
<b>***** where sub_1010 is name of sub-screen area</b>
PROCESS AFTER INPUT.
CALL SUBSCREEN sub_1010.
MODULE user_command_0100.
<<< REMOVED BY MODERATOR >>>
Harimanjesh AN
Edited by: Marcelo Ramos on Dec 17, 2008 7:54 PM -
Selection-screen in a Dialog Screen
Hello,
I want to create a selection screen in a dialog screen with all its functionality specially the option for multiple selection like want I'm doing in a report-type program. Is this possible?
tnx,
JeffHi Jeffrey
As Harald mentioned, it is possible. You can check out Re: Store select-options on database to find some more information.
As another thing, since you are a new SDN member, you are welcome and let me introduce you the SDN forums pointing system: You can assign points to posts you find while helpful solving your question. You can reward points by clicking the yellow star icon at header of each reply post. You can reward;
- one 10 points (solved)
- two 6 points (very helpful answer)
- many 2 points (helpful answer)
Kind regards...
*--Serdar -
Hi All,
I have created selection screen with 3 tab strips.
i have 2 radios button in each tab strip. My problem is, when i have selected first radio button from 2nd tab strip and execute, then it is executing first tab strip radio button first and when i click on back button then my second tab strip radio button getting executed.
So could you please do let me know, how to execute directly 2nd tab strip radio button directly wiht out executing first tab strip.
Regards,
JoHello,
Assign a user command to each tab strip as follows.
SELECTION-SCREEN BEGIN OF BLOCK sel .
SELECTION-SCREEN SKIP.
*---------------------------* TABSTRIP *-------------------------------*
SELECTION-SCREEN BEGIN OF TABBED BLOCK tabb1 FOR 15 LINES.
SELECTION-SCREEN TAB (40) title1 USER-COMMAND ucomm1 DEFAULT SCREEN 1001.
SELECTION-SCREEN TAB (40) title2 USER-COMMAND ucomm2 DEFAULT SCREEN 1002.
SELECTION-SCREEN TAB (40) title3 USER-COMMAND ucomm3 DEFAULT SCREEN 1003.
SELECTION-SCREEN END OF BLOCK tabb1.
SELECTION-SCREEN END OF BLOCK sel.
*-------------------------* SCREEN 1001 *------------------------------*
SELECTION-SCREEN: BEGIN OF SCREEN 1001 AS SUBSCREEN .
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE title.
PARAMETERS: radio_button1 RADIOBUTTON GROUP rad DEFAULT 'X'.
"Insert all your other radio button in the first tabstrip here
SELECTION-SCREEN: END OF BLOCK b1 .
SELECTION-SCREEN: END OF SCREEN 1001 .
*-------------------------* SCREEN 1002 *------------------------------*
SELECTION-SCREEN: BEGIN OF SCREEN 1002 AS SUBSCREEN .
SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE titlex.
PARAMETERS: radio_button2 RADIOBUTTON GROUP rad1.
"Insert all your other radio button in the second tabstrip here
SELECTION-SCREEN: END OF BLOCK b2 .
SELECTION-SCREEN: END OF SCREEN 1002 .
*-------------------------* SCREEN 1003 *------------------------------*
SELECTION-SCREEN: BEGIN OF SCREEN 1003 AS SUBSCREEN .
SELECTION-SCREEN: BEGIN OF BLOCK b3 WITH FRAME TITLE titlexx.
PARAMETERS: radio_button3 RADIOBUTTON GROUP rad2.
"Insert all your other radio button in the third tabstrip here
SELECTION-SCREEN: END OF BLOCK b3 .
SELECTION-SCREEN: END OF SCREEN 1003 .
In this case the first tabstrip has the user command UCOMM1, the second tabstrip has the user command UCOMM2 and likewise for the third and last tabstrip.
Now in the START-OF-SELECTION event.
Start by doing a case for active tabs before doing a check which radio button is selected as follows.
CASE tabb1-activetab.
WHEN 'UCOMM1'. "First tabstrip
CASE 'X'. "To check which radio button is checked
"Here you do the processing upon the radio button selected.
WHEN radio_button1.
CALL TRANSACTION 'SE38'.
ENDCASE.
WHEN 'UCOMM2'. "Second tabstrip
CASE 'X'. "To check which radio button is checked
"Here you do the processing upon the radio button selected.
WHEN radio_button2.
CALL TRANSACTION 'SE11'.
ENDCASE.
WHEN 'UCOMM3'. "Third tabstrip
CASE 'X'. "To check which radio button is checked
"Here you do the processing upon the radio button selected.
WHEN radio_button3.
CALL TRANSACTION 'SE09'.
ENDCASE.
ENDCASE.
Hope it helps.
Thanks and Kind Regards,
Yovish.
Message was edited by: Yovish Bissessur -
SELECTION SCREEN AND DIALOG SCREEN
Can a selection screen and a dialog screen be combined.If yes then how
YES YOU CAN DO THIS
SELECTION-SCREEN BEGIN OF SCREEN 99.
SELECTION-SCREEN PUSHBUTTON 15(25) PUBU
USER-COMMAND US01.
SELECT-OPTIONS SEL2 FOR SPFLI_WA-CONNID.
PARAMETERS PAR2 TYPE I.
SELECTION-SCREEN END OF SCREEN 99.
CALL SELECTION-SCREEN 99.
AFTER THAT YOU CAN CALL
CALL SCREEN 100.
LIKE THAT
REGARDS
SHIBA DUTTA -
Is possible in a dialog screen attach a field functional like select-option
hi,
Is it possible - in a dialog screen - to attach a field that has functionality like Select-options fields?
And if so - how?
and information about complex_selections_dialogHi,
Look at the below links
module pool programming " to add selection-option on screen"
module pool programming " to add selection-option on screen"
Regards
Sudheer -
Hi All,
I have used tabstrip in selection screen of alv report. In tabstrip I have 2 tabs, one is "Initial Run" & second is "Incremental Run".
I want to check active tab after start of selection and based on active tab my report gives output. Every thing runs perfect in foreground.
But when I run same thing in background, at that time system uses my default tab (Initial Run) even though I have selected Incremental Run Tab.
Please help me if I miss any thing in code.
Regards,
Meet GohelHi Meet,
SELECTION-SCREEN: BEGIN OF TABBED BLOCK tabs FOR 10 LINES,
TAB (20) button1 USER-COMMAND push1
DEFAULT SCREEN 200,
TAB (20) button2 USER-COMMAND push2
DEFAULT SCREEN 300,
END OF BLOCK tabs.
In the above code tabs is the name of the tabstrip. In your program a global structure with the same name will be created with a structure having three components: prog of type c with length 40, dynnr of type c and length 4, and activetab of type c with length 132. So from trhe value of the component dynnr and activetab of tabs you can know which tab is activated.
For more details press F1 on the keyword TABBED.
Regards
Dillip Sahoo -
Active mode multiple selection in dialog screen
in my dialog screen i had multiple selection option button by using the below function module.
CALL FUNCTION 'K_CMPERS_MULTIPLE_SELECTION'
EXPORTING
P_FIELDTYPE = 'R'
P_FIELDNAME = 'MATNR'
P_TABLENAME = 'MARA'
TABLES
PT_PARM = HMAT.
its working fine.
but when i enter data into multiple selection it does not changes to active mode ( green color).
can u pls tell me how to change it into active mode when data is thereHi Banu,
The icon will not change automatically. You need to write code in PBO and change the icon of your push button accordingly.
Please refer to the document below for how to change icon of push button in module pool:
[http://wiki.sdn.sap.com/wiki/display/sandbox/ChangeanIconofaButtonDynamicallyInModulePool|http://wiki.sdn.sap.com/wiki/display/sandbox/ChangeanIconofaButtonDynamicallyInModulePool]
Cheers, -
I’m using an iMac running Os X Yosemite, Photoshop CS5 Extended, R2880 Epson printer In the Print Settings dialog box, I can’t select Color, Advanced BW or Grayscale unless I select “Printer Manages Color”. The pull down menu is grayed out. Even with “printer manages color” the tif or jpg image comes out in color overlaid with black. (See example - printer1. image on left is close to what it should be). Photoshop has no updates pending. I’ve downloaded the latest Epson driver which was working fine just before the problem occurred
Is your Photoshop CS5 updated to 12.1?
Are you on Yosemite 10.10.1 or Yosemite 10.10.2?
Did you apply the recent Epson software 2.1.9 update?
What type of file is it (file format)? What bit depth and what color space?
BOILERPLATE TEXT:
Note that this is boilerplate text.
If you give complete and detailed information about your setup and the issue at hand,
such as your platform (Mac or Win),
exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
your settings in Photoshop > Preference > Performance
the type of file you were working on,
machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
what troubleshooting steps you have taken so far,
what error message(s) you receive,
if having issues opening raw files also the exact camera make and model that generated them,
if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
etc.,
someone may be able to help you (not necessarily this poster, who is not a Windows user).
a screen shot of your settings or of the image could be very helpful too.
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
http://forums.adobe.com/thread/419981?tstart=0
Thanks! -
Need to Increase the Font Size of a screen field in a Dialog Screen ?
Hi ppl,
I have a requirement wherein i need to increase the font size of one field on a dialog screen .
i was going through the threads and found this which has beautiful example given by vijay
Increase text size in Screen
But I'm facing a problem in implementing it since the value in the field (of which the font size needs to be increased) depends on a nother field filled by user at runtime only.
Can anyone gimme some suggestions or alternative way to solve my problem
Thanks
Sachin SoniHi Sachin,
There is not way to change the font style.
But you can add ur own text through icons or graphics.
Create your own graphics or icons and include it in ur module pool.
Or,
Goto the Layout Editor of your Screen.
Double click on the text field .. Double clk the text fild, and from the Botton right u can see an arrow icon -> click on that -> will open a Popup -> in that set Area Title to TRUE.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir -
Module Pool - Error message on a Modal Dialog screen with input
Hello All,
I have a modal dialog screen which is called on F4 help of a input field. This dialog screen has radio buttons on it to select. On selection, we check if the user is authorized to that option. If not, raise and error message with command MESSAGE msgid.....
When the error message pops-up and when clicked ok on it, the radio buttons on the modal dialog screen gets disabled. I want to have the modal dialog box to be able to accept the new radio button as input.
Can anyone please suggest.
Thanks,
SmitaPut all of your Radio buttons in the CHAIN ... ENDCHAIN with one module.
CHAIN.
FIELD rb1.
FIELD rb2.
FIELD rb3.
MODULE check_chain ON CHAIN-REQUEST. "<< implement logic in check_Chain
ENDCHAIN.
If you want, you can even disable the options before displaying the screen. Do all necessary checks in the PBO and based on that disable the options.
Regards,
Naimesh Patel -
How to set set default value in dialog screen?
Dear experts:
As subject. If I want to set system date/time, login user id in a dialog screen , how can i do? Just like parameter or select-options statement, when use 'default XXXX', then in the selection screen will show default value.
Best Regards,
Nicole ChenHi,
here are two simle ways to do it.
first as parameters with only display, second as comment in selection screen.
PARAMETERS: P_UNAME LIKE SY-UNAME MODIF ID DSP DEFAULT SY-UNAME.
PARAMETERS: P_DATUM LIKE SY-DATUM MODIF ID DSP DEFAULT SY-DATUM.
PARAMETERS: P_UZEIT LIKE SY-UZEIT MODIF ID DSP DEFAULT SY-UZEIT.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 20(20) T_UNAME.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 20(20) T_DATUM.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 20(20) T_UZEIT.
SELECTION-SCREEN: END OF LINE.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 EQ 'DSP'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
INITIALIZATION.
WRITE SY-UNAME TO T_UNAME.
WRITE SY-DATUM TO T_DATUM.
WRITE SY-UZEIT TO T_UZEIT.
Hope it helps.
regards, Dieter -
Hi Gurus ,
I want to call a Dialog screen with date as input parameter in a report program based upon some condition. There is a already selection screen.
Plz guide me how can i do it. Points will be rewarded.
Regards
RajeshHi Rajesh,
The requirement below is not clear, however, why dont you add the date input parameter as part of the selection screen itself, as a separate parameter. Now, you can modify the attributes of the input parameter using MODIFY SCREEN command and also use the events INITIALIZATION, AT SELECTION-SCREEN OUTPUT etc. to program the conditions you are referring to.
If you can explain your requirement in a little more details, we can help out.
Regards,
Aditya -
Process on value request in Dialog screen based on value of screen field
Hello Gurus,
I have a check box on a dialog screen. If the checkbox is checked, based on that I want the other field on the same dialog screen to follow logic for F4 dropdown.
Now I know if I want to write this, I have to write this in Process on value-request. But how do I get the value of the check box checked or not on the same screen in Process on value-request.
If it had been a simple selection screen I would have defined the check box as
Parameter: v_checkbox as checkbox user-command uc1.
But how do I handle above situation in dialog screen case ?
Please help.
Regards,
Jainam.
Edited by: Jainam Shah on Sep 29, 2009 6:19 PMHi Shah,
You have the addition for MODULE statement as ON INPUT.
Eg : FIELD <screen field> MODULE <module> ON INPUT.
You can give the check box field name in the above statement.
If you want to find as soon as the check box is checked, you can find it here.
Or else, in the addition ON REQUEST
you can see for the check box field value whether it is checked or not.
Thanks,
Prasad
Maybe you are looking for
-
I backed up onto the cloud but I cant find it in my cloud
Backed up from my phone and now nothing shows up in my cloud?
-
Share a domain in IMS 5.2
I am configuring a IMS5.2 with Direct Mode, and I have to share a domain with another server which I do not manage, (in this server is the end of the domain) . so, which would be the best way to send all the emails whose addresses are not known by my
-
HT201210 my ipad mini won't restore what do i do
i can not restore my ipad what do i do
-
Download does not start, error with order
i've been trying to dowload lightroom 4 for more than a week. the download does not start and when i try to buy the program i get a "error with your order message" any idea what i should try next??
-
Which technologies will become the defacto standard?
Can anyone make a guess as to which technologies are gonna stay with us for the forseeable future? eg, with persistence will EJB stateful session beans be replaced with Hibernate? is Java Server faces the way to go with web app front ends?