‎2006 Aug 27 6:39 PM
Hi all
In my report I have my selection screen as
selection-screen begin of block B1 with frame title text-d01.
selection-screen SKIP 3.
parameters : p_lifnr type lifnr.
parameters : p_kunnr type kunnr.
parameters : p_count(2) type n.
selection-screen SKIP 3.
selection-screen end of block B1.
I want to move the three parameters little bit towards right (center) of the screen so that it looks something like below in the selection screen.
Vendor _________
Customer _________
Count _________
Please help....
‎2006 Aug 27 6:45 PM
Hi
You can use Position option of Selection-screen.
Regards,
Raj
Eg:
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 10(20) TEXT-001
FOR FIELD PARM.
SELECTION-SCREEN POSITION POS_LOW.
PARAMETERS PARM LIKE SAPLANE-PLANETYPE.
SELECTION-SCREEN END OF LINE.
This code displays a 20-byte long comment followed by the parameter at the normal position ( POS_LOW ) on the same line.
‎2006 Aug 27 6:55 PM
Hi,
selection-screen begin of block B1 with frame title text-d01.
selection-screen SKIP 3.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 10.
SELECTION-SCREEN COMMENT 11(10) text-001. "Vendor
parameters : p_lifnr type lifnr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 10.
SELECTION-SCREEN COMMENT 11(10) text-002. "Customer
parameters : p_kunnr type kunnr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 10.
SELECTION-SCREEN COMMENT 11(10) text-003. "Count
parameters : p_count(2) type n.
SELECTION-SCREEN END OF LINE.
selection-screen SKIP 3.
selection-screen end of block B1.
Adjust the position according to your screen.
Also create the text elements..
Thanks,
Naren