Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

selection screen in one line

this is ma code SELECTION-SCREEN : BEGIN OF BLOCK A WITH FRAME TITLE TEXT_001.

*SELECTION-SCREEN : BEGIN OF LINE .

*SELECTION-SCREEN : COMMENT 3(20) TEXT_002 for field s_fkart.

*SELECT-OPTIONS : S_FKART FOR VBRK-FKART NO INTERVALS NO-DISPLAY.

*SELECTION-SCREEN : END OF LINE.

SELECTION-SCREEN : BEGIN OF LINE .

SELECTION-SCREEN : COMMENT 3(23) TEXT_003.

PARAMETERS : P_VKORG TYPE VBRK-VKORG OBLIGATORY.

SELECTION-SCREEN : END OF LINE.

SELECTION-SCREEN : BEGIN OF LINE .

SELECTION-SCREEN : COMMENT 3(20) TEXT_004.

SELECT-OPTIONS : S_VTWEG FOR VBRK-VTWEG NO INTERVALS.

SELECTION-SCREEN : END OF LINE.

SELECTION-SCREEN : BEGIN OF LINE .

SELECTION-SCREEN : COMMENT 3(23) TEXT_007.

PARAMETERS : P_SPART TYPE VBRK-SPART OBLIGATORY.

SELECTION-SCREEN : END OF LINE.

SELECTION-SCREEN : BEGIN OF LINE .

SELECTION-SCREEN : COMMENT 3(23) TEXT_006.

PARAMETERS : S_FKDAT2(4) TYPE C OBLIGATORY.

SELECTION-SCREEN : END OF LINE.

SELECTION-SCREEN : BEGIN OF LINE .

SELECTION-SCREEN : COMMENT 3(23) TEXT_008.

PARAMETERS : P_MONTH(2) TYPE C OBLIGATORY.

SELECTION-SCREEN : END OF LINE.

SELECTION-SCREEN : END OF BLOCK A.

i want s_fkdat and p_month in same line how to do ?

Tags:
Former Member
Former Member replied

Hi,

plz this way:

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(6) text-000 FOR FIELD p1.

SELECTION-SCREEN POSITION 10.

PARAMETERS: p1 TYPE c.

SELECTION-SCREEN COMMENT 20(6) text-002 FOR FIELD p1.

SELECTION-SCREEN POSITION 30.

PARAMETERS: p2 TYPE c.

SELECTION-SCREEN END OF LINE.

this will surely solve your problem.

thanx.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question