2007 Feb 27 10:43 AM
Hi,
I created 2 parameters. its looking like 1 by 1 but my requirement z side by side.
how it z possible
Thanks in Advance
2007 Feb 27 10:44 AM
*Abap code
SELECTION-SCREEN BEGIN OF BLOCK out WITH FRAME TITLE text-s01.
selection-screen begin of line.
selection-screen comment 1(7) text-su9. "su9 = Clerk
parameters: p_clerk1 LIKE knb1-busab OBLIGATORY DEFAULT '51'.
selection-screen comment 15(19) text-su1. "su1 = Surname begins with
parameters: p_cstr1(20) type c OBLIGATORY DEFAULT 'ABCD'.
selection-screen end of line.
SELECTION-SCREEN END OF BLOCK out.http://www.sapdevelopment.co.uk/reporting/selscr/selscr_sameline.htm
This will solve ur problem, reward points and close the thread if this solves.
*Abap code
SELECTION-SCREEN BEGIN OF BLOCK out WITH FRAME TITLE text-s01.
selection-screen begin of line.
selection-screen comment 1(7) text-su9. "su9 = Clerk
parameters: p_clerk1 LIKE knb1-busab OBLIGATORY DEFAULT '51'.
selection-screen comment 15(19) text-su1. "su1 = Surname begins with
parameters: p_cstr1(20) type c OBLIGATORY DEFAULT 'ABCD'.
selection-screen end of line.
SELECTION-SCREEN END OF BLOCK out.http://www.sapdevelopment.co.uk/reporting/selscr/selscr_sameline.htm
This will solve ur problem, reward points and close the thread if this solves.
2007 Feb 27 10:44 AM
*Abap code
SELECTION-SCREEN BEGIN OF BLOCK out WITH FRAME TITLE text-s01.
selection-screen begin of line.
selection-screen comment 1(7) text-su9. "su9 = Clerk
parameters: p_clerk1 LIKE knb1-busab OBLIGATORY DEFAULT '51'.
selection-screen comment 15(19) text-su1. "su1 = Surname begins with
parameters: p_cstr1(20) type c OBLIGATORY DEFAULT 'ABCD'.
selection-screen end of line.
SELECTION-SCREEN END OF BLOCK out.http://www.sapdevelopment.co.uk/reporting/selscr/selscr_sameline.htm
This will solve ur problem, reward points and close the thread if this solves.
2007 Feb 27 10:44 AM
Hello
Check this:
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) INPUT1.
PARAMETERS P1 TYPE I.
SELECTION-SCREEN COMMENT 40(10) INPUT2.
PARAMETERS P2 TYPE I.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
INPUT1 = 'INPUT1'.
INPUT2 = 'INPUT2'.
Vasanth
2007 Feb 27 10:45 AM
Hi Lakshmi,
Then you have to use the SELECTION-SCREEN BEGIN OF LINE.
Regards,
John.
2007 Feb 27 10:45 AM
2007 Feb 27 10:45 AM
REPORT YCHATEST LINE-SIZE 350.
SELECTION-SCREEN BEGIN OF BLOCK B1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 5.
PARAMETERS : P_VAR1(10).
SELECTION-SCREEN POSITION 35.
PARAMETERS : P_VAR2(10).
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1.
2007 Feb 27 10:48 AM
hi laxmi,
it is possible with this statement
begin of line xxx.
parameters:a like i,
b like c.
end of line xxx.
if useful reward points
regards
praveen
2007 Feb 27 10:49 AM
Pls observe the following code.
it gives one after the other....
By adjusting position of seletion parameter and by writing the selection screen elements between SELECTION-SCREEN BEGIN OF LINE. and SELECTION-SCREEN END OF LINE. , u can achieve ur task.
SELECTION-SCREEN SKIP .
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 19.
SELECT-OPTIONS : s_bukrs FOR t001-bukrs.
SELECTION-SCREEN COMMENT 5(15) text-001 FOR FIELD s_bukrs.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 19.
SELECT-OPTIONS : s_bldat FOR bkpf-bldat.
SELECTION-SCREEN COMMENT 5(15) text-002 FOR FIELD s_bldat.
SELECTION-SCREEN END OF LINE.
Hope this clue may help u.
Regards
Sujatha.
2007 Feb 27 10:50 AM
Hi
Use the DWDM transaction it can give you a list of programs.
For those you can choose the program which suits your requirements.
Then you can simply copy the code which suffi you.
Regards,
kumar
2007 Feb 27 11:40 AM
hi
try this format.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION n.
parameters p_kunnr like kan1-kunnr..
SELECTION-SCREEN COMMENT 5(15) text-001 FOR FIELD p_kunnr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION n+1.
Parameters p_vbeln like vbak-vbeln.
SELECTION-SCREEN COMMENT 5(15) text-002 FOR FIELD p_vbeln.
SELECTION-SCREEN END OF LINE.
regrds,
shamim.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |