‎2007 Aug 03 7:25 AM
hi,
how to maintain parameters side by side in a single line.the following code is not working.
selection-screen begin of line.
parameters : p_ven like lfa1-lifnr.
selection-screen comment (10)10 text-000.
parameters : p_cty like lfa1-ort01.
selection-screen comment 50(10) text-001.
selection-screen end of line.
‎2007 Aug 03 7:27 AM
‎2007 Aug 03 7:29 AM
Hi,
Lets say we have 2 parameters in a Selection screen, If you want tose parameters in a single line then you need to use the SELECTION-SCREEN BEGIN of LINE
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) TEXT-001.
PARAMETERS: P1(3), P2(5), P3(1).
SELECTION-SCREEN END OF LINE.
Regards
Sudheer
‎2007 Aug 03 7:30 AM
HI,
try this
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1.
PARAMETERS: P1 LIKE SAPLANE-PLANETYPE.
selection-screnn comment 30(20) text-002 for filed p2.
parameters: p2 like matnr.
SELECTION-SCREEN END OF LINE.
reward points if helpful,
thanks & regards,
venkatesh
‎2007 Aug 03 7:30 AM
Hi,
You should put comment first and then paramter.
selection-screen begin of line.
selection-screen comment (10)10 text-000.
parameters : p_ven like lfa1-lifnr.
selection-screen comment 50(10) text-001.
parameters : p_cty like lfa1-ort01.
selection-screen end of line.
Try now.
Regards,
Sesh
‎2007 Aug 03 8:18 AM
just try this, U will definetly get the result...........
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 10(10) comm1.
PARAMETERS : p_matnr LIKE makt-matnr.
SELECTION-SCREEN COMMENT 50(10) comm2.
PARAMETERS : p_maktx LIKE makt-maktx.
SELECTION-SCREEN END OF LINE.
AT SELECTION-SCREEN OUTPUT.
comm1 ='Material'.
comm2 ='Description'.
reward if useful
anju