Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

internal tables

Former Member
0 Likes
517

hi experts,plz solve my doubts.

1. in my selection-screen i want to display these fields side by side.like this

matnr--


, plant--


how can i write the code, side - by-side i want to display,plz experts send me the code for this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
501

Hi,

Do it like this,

selection-screen : begin of block b1.

SELECTION-SCREEN BEGIN OF LINE

give matnr and plant.

SELECTION-SCREEN ENd OF LINE

selection-screen : end of block b1.

Reward if useful!

5 REPLIES 5
Read only

Former Member
0 Likes
502

Hi,

Do it like this,

selection-screen : begin of block b1.

SELECTION-SCREEN BEGIN OF LINE

give matnr and plant.

SELECTION-SCREEN ENd OF LINE

selection-screen : end of block b1.

Reward if useful!

Read only

Former Member
0 Likes
501

Hi Murali

use selection-screen begin of line.

select-option: s_matnr for mara-matnr,

s_plant for mara-werks,

selection-screen end of line.

reward points to all helpful answers

kiran.M

Read only

Former Member
0 Likes
501

SELECTION-SCREEN :

BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max. "#EC NEEDED

PARAMETERS p_max(2) TYPE n DEFAULT '50' OBLIGATORY.

BEGIN OF LINE,COMMENT 27(50) v_1 FOR FIELD p_max2. "#EC NEEDED

PARAMETERS p_max(2) TYPE n DEFAULT '50' OBLIGATORY.

SELECTION-SCREEN END OF LINE.

Read only

Former Member
0 Likes
501

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 2(10) comm1.

PARAMETERS : p_matnr LIKE mara-matnr.

SELECTION-SCREEN COMMENT 50(11) comm2.

PARAMETERS : p_werks LIKE marc-werks.

SELECTION-SCREEN END OF LINE.

reward if useful

anju

Read only

Former Member
0 Likes
501

Hi

try this

reward if usefull

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.

SELECTION-SCREEN BEGIN OF LINE .

PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.

SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.

SELECTION SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK B1.

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND UC1.

SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : R2 RADIOBUTTON GROUP G1.

SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK B2.