Regarding text box in selection screen
Hi all,
Can i know how we can implement a text with scroll bars so that user can enter a data of about 2000 characters with paragraph indent. also this needs to be done on the selection screen of PNP logical database.
Please let me know if this can be done.
Thanks.
Harshad.
Hi Harshad,
[text box in the selection screen|Text box on selection screen]
Thanks!
Similar Messages
-
Parallel text box in selection screen
Hi all,
Can anyone please tell me that how can i create parallel text boxes in selection screen?
Exa : Company code <Input box> Date <Input box>
Pers No. <Input box> Cust No. <Input box>
Regards.hi,
Use COMMENT and POSITION statements in selcection-screen to achieve the same. -
Diplay Text in Text Box in selection Screen
Hi Experts i want to display text in text box in selection screen like
Personnal Number
Display in text box and disable................please help me
Edited by: BFawad26 on Jun 21, 2010 9:46 AMHi,
You mean to say parameter in selection screen
Just press F1 on parameter you will get all the option available for the parameter
for defaulting text just give your text in DEFAULT option for the parametr
And for disabling this checkbox you can explore the LOOP AT SCREEN concept
In at selection screen output event you can modify the selection screen.just give one modif id for your
paramete and use this at selection screen output event , loop at screen and modify screen with the screen input = 0
for ur parameter.
Thanx
Edited by: PawanG on Jun 21, 2010 9:51 AM -
Disable text Box On Selection screen
hello guys,
I am making a selection screen report in which i want to disable the text box , when i am selecting a particular radio button.
Kindly, let me know how to do the same.
Thanks & regards.
Kirtishhi kirtish
if u want to disable the text box on the screen, u need to use the screen table.
see. All fields of the current screen are stored in the system table SCREEN with their attributes.
so when u click on the any element of the screen the sceen table is looped through.
use the following code in at selection screen output .
put the name of the text box in the
ex:
LOOP AT SCREEN.
IF SCREEN-NAME = <FIRST RADIO BUTTON>
(IF p_r1 = 'X'. say p_r1 is your radio button name)
LOOP AT SCREEN.
IF SCREEN-NAME = <text box>
SCREEN-INPUT = OFF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
in case of query please reply.
award if useful
Varun -
Long Text box in Selection Screen
Hi,
How to create a long text box in the selection screen.
Is there any example/demo program in standard??
Regards
Jiku.erm, what do you want to achieve with this?
should your users be able to search for long texts?
That will probably fail since there are differences between the input and the long text you are searching for.
Or do you have users making no faults? -
Regarding dropdown box on selection screen
Hi Abapers,
I am facing a problem in handling dropdown box. please suggest . My Problem description below.
There is one Text field and other is one dropdown box on the selection screen.
Now When user enter the Prod Order number and press enter then automatically all the serial number will get appended into the dropdown box which are related to the Prod Order.
Now suppose if the user only Press F8 not Enter Button then that case It doesn't contain the serial number information.
<b>Now I want to handle it in selection screen.. Please suggest how to check the dropdown box if the dropdown box is not selected then Return to the selection screen..</b>
Please suggest me...........Very urgent.Hello,
*& Report DEMO_DROPDOWN_LIST_BOX *
REPORT demo_dropdown_list_box.
*& Global Declarations *
* Screen Interfaces
TABLES sdyn_conn.
DATA ok_code TYPE sy-ucomm.
* Global data
TYPES: BEGIN OF type_carrid,
carrid type spfli-carrid,
carrname type scarr-carrname,
END OF type_carrid.
DATA itab_carrid TYPE STANDARD TABLE OF type_carrid.
*& Processing Blocks called by the Runtime Environment *
* Event Block START-OF-SELECTION
START-OF-SELECTION.
CALL SCREEN 100.
* Dialog Module PBO
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
ENDMODULE.
* Dialog Modules PAI
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'SELECTED'.
MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
ENDCASE.
ENDMODULE.
* Dialog Module POV
MODULE create_dropdown_box INPUT.
SELECT carrid carrname
FROM scarr
INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CARRID'
value_org = 'S'
TABLES
value_tab = itab_carrid
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
ENDMODULE.
Regards,
Deepu.K -
Hi All,
Is it Possible to provide a text box in the selection screen?
My requirement is user needs to enter a paragraph in the selection screen and this should be displayed in the form.
Note : Individual text fields are not required.
Thanks
parthi.Hi,
Designe a screen in SE 51 and call that screen in your report program.
To create a textbox in module pool look at [this|Custom Container in module pool program]
Thanks,
Sri. -
How to display a percentage sign ( % ) after a text box in a screen
hi experts,
Can anybody tell me how to display a percentage sign ( % ) after a text box in a screen.Hi Ajay,
Try to use the [Position|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dba7e235c111d1829f0000e829fbfe/frameset.htm] option of selection screen.
By using this you can place the text as a comment at a desired position on the selection screen.
The syntax would be like this :
SELECTION-SCREEN POSITION <pos>.
Regards,
Swapna. -
Adding Standard Text to the Selection Screen obtained using PARAMETERS
Hi all,
I have a report program which has the selection screen declared by the key word PARAMETERS.
Now I need to make the changes to this program such that a Text Editor appears on the Selection Screen and has a Standard text that should be displayed.
How can I do it?
I saw the screen number of the Selection Screen and went to screen painter and tried to add the Text Editot..but it did not let me dou2026.Why?
How should I add a standard text to a selection screen? The standard text should not be on top , but some where on the screen.
Regards,
Jessica SamHi Sam,
I dont want to create a new screen for this. On the existing screen whihc was built using PARAMETERS key word..i should insert a blokc of text whihc is mpre than 5-6 lines..how should i do it.
I navigated to Text Elements---->Selection Texts
it is now asking for Name and Text and i see in Name column the name of the parametsr that they used for Check box, radio button etc and in Text i see the text that is appearing on the screen
Now i am not sure what is should do next
My req is..i should display a block of standard text that doesnt change and whihc is of 4-6 lines?
how should i do it?
please also help me with what data declartions that i should do in parametrs key word in program?
Regards,
Jessica Sam -
Option ( Radio button or check box) on selection - screen , to go to CNR2
<b>Subject - Option ( Radio button or check box) on selection - screen , to go to Tcode CNR2</b>
Hi all,
I have developed a report , which has a selection screen with one select-option , where i enter employee number and two radio buttons , one is for all workcentres and other one for active workcentre. so when i enter employee number and choose either of the radio button i wil get the output properly. the output displays , employee no, employee name , work centre and project of that employee . an employee may have many workcentres and a corresponding project for that work centre.
Now the Problem is , from the same report i need to add a option on the selection -screen , ( plz tell me whether to use radio button or check box and if it is radio button should i use it seperately or group it in the above two buttons.) .
so that when user selects the option , the control should go to transaction code CNR2, from where i can enter workcentre and in the next screen i have HR assigntment tab , after choosing that it will dsplay persons linked to the workcentre and there is a delete icon , from where i can delete the person.
The only thing is now to move / Navigate to the screen or go to transaction code CNR2 from the report or from the selection screen.
Your valuable Inputs are awaited, PLz do lemme know
Thanks in advance ,
regards,
ShujaShuja,
A radio button nor a checkbox should be used for navigation. I would suggest a COMMAND BUTTON.
Something like this:
Report ZZZZZZ.
TABLES: sscrfields.
SELECTION-SCREEN BEGIN OF BLOCK ONE WITH FRAME TITLE TEXT-001.
selection-screen: PUSHBUTTON /10(20) but1 USER-COMMAND cli1.
SELECTION-SCREEN END OF BLOCK ONE.
initialization.
but1 = 'Button Text Goes Here'.
AT SELECTION-SCREEN.
CASE sscrfields.
WHEN 'CLI1'.
call transaction 'CNR2'.
start-of-selection.
Your code here -
How to display the dynamic text in the selection screen
Hi All,
I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
EX: If i have the date of today 31st it has to show message like " today date is 31 like some thing " when i execute the report .
Could any one face this sort of requirment, Please let me know.
Thanks in advance.
Reagrds,
BharaniWhere would you like this dynamic text being displayed? As an "message" or in some parameter field?
If first
parameters date type d.
data: text type string.
at selection-screen.
concatenate 'Today is' date into text.
message text type 'I'.
If second
parameters pa_text type c length 50.
at selection-screen on date.
if date is not initial.
concatenate 'Today is' date into pa_text.
enidf.
at selection-screen output.
"show it as read only
loop at screen.
if screen-name = 'PA_TEXT'.
screen-input = abap_false.
modify screen.
endif.
endloop.
Regards
Marcin -
How to get the text boxes and select lists dynamically?
Hi,
I have a requirement such that I need to create the text boxes and select lists depending on the user input at the run time. It means that if the user requires four text boxes/select lists then I need to have 4 such thing. If the user need 6 then I need to have 6.
The design may be such that initially only one text box/select list will be available when the page launches. Then as ad when the user asks for more those will be available to the user accordingly.
regards,
Dipankar.You can use Ajax to call textboxes and select list based on what user enters.
Otherwise make those items conditional and based on what user enters you can display textbox or select list.
You can call Single Textbox and Select List using Ajax for any number of conditions.
Regards
Chandra -
How to create application toolbar in modal dialog box in selection-screen
Hi Experts,
how to create application toolbar in modal dialog box in selection-screen?
Regards,
SwapnikaHi,
Check the following link regarding Model dialog box and appication toolbar
http://help.sap.com/saphelp_nw70/helpdata/en/d1/801b84454211d189710000e8322d00/frameset.htm
It helps in solving your problem.
Thanks.
Ramya. -
How to create list box in selection screen
Hi Experts,
I want to create 2 list boxes, each one is having 5 fields. suggest me the logic.
Thanks.
TonyHi,
Below is the link to help you.
[List Box in Selection Screen;
Or here is the sample code.
TYPE-POOLS: vrm.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
PARAMETERS: ps_parm(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
name = 'PS_PARM'.
value-key = 'scooby1'. APPEND value TO list.
value-key = 'tweety2'. APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list.
Hope it will help you. Please revert back in case of any query.
Regards
Natasha Garg
Edited by: Natasha Garg on Jan 8, 2009 6:28 AM -
Text length at selection screen
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
SELECTION-SCREEN COMMENT /3(79) TEXT-001.
SELECTION-SCREEN COMMENT /3(79) TEXT-002.
SELECTION-SCREEN END OF BLOCK B1.
in above code I can write text upto 79 length only how can I increase the length when I am increasing it from 79 to 89 it is saying that max legth is 79COMMENT /3(79) TEXT-001. when you give 3(79) it sets the position.Just try giving COMMENT TEXT-001 and check what is happening
Go to text-001 double click on that and then delete the text you had given then you should activate it and get back to the code then again double click on text and give your text.
Regards,
Midhun Abraham
Edited by: Midhun Abraham on Oct 7, 2008 7:17 AM
Maybe you are looking for
-
How do you add a new device to itunes?
How do you add a new device to Itunes? Also how do you download the new version of Itunes from the iTunes site?
-
HELP!!!!!! (White Screen of Death)
Ok i was downloading a new adobe flash update for mac and when i went to install it asked me to close out of any browsers.... so i did.... then it starts running slow and freezes up which is just what computers love to do.... not so much with macs th
-
Errors in the OLAP storage engine: The attribute key cannot be found when processing
this is the absolute worst error message in all of computing. I despise it. Here is my situation. SSAS 2008 R2. I have one dimension. I have not even built my cube yet. only a dimension. I am trying to process it. I can process it when I only h
-
Query Related to Custom InfoType Modification on Screen ?
Hi There, We had created a custom infotype 9003, for entering service related details of the govt.employees. Here in the req had a field regarding for Physically Handicap with only possible anwers as yes or no. so i went on creating two different fi
-
I cannot get trace file with sql command
Hi, When I am executing the below command in SQLPLUS I could not find trace files in /oracle/(sid)/sap trace/ user trace directory. The command is >alter database backup control file to trace; I have executed this command with (sid)adm and