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

dialog programming

Former Member
0 Likes
329

Hi all,

I am new to dialog programming. Can any one of you please help me out in this issue . My requirement is I designed a table control and four parameters, in which have to print my my header details in the 4 parameters and item details in the table control .

Also, please let me know how to call a selection screen in a module pool (Do i need to design another screen for this purpose ?, one screen for the selection-screen and another for the table control) .Kindly post me the relevent code for this.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
315

HI,

IN DESIGNING FOR SELECTION SCREEN FIRST GOTO SCREEN -> DESIGN UR SELCTION SCREEN BY DRAG N DROP METHOD -> ACTIVATE -> BACK.

AND CREATE A PUSHBUTTON IN SELECTION SCREEN ->GIVE F.CODE AS NEXT .

AND NAME OF PUSH BUTTON IS NEXTTTTT.

IN FLOW LOGIC

WRITE LIKE THIS,

IN PBO EVENT.

AT USER-COMMAND NEXTTTT.

SET SCREEN '2000'. OR CALL SCREEN '2000'.

2000 IS THE SCREEN DESIGNED BY U FOR DISPLAYING DATA IN PARAMETERS AND IN TABLE FORMAT.

IF HELPFUL REWARD SOME POINTS.

WITH REGARDS,

SURESH ALURI.

2 REPLIES 2
Read only

Former Member
0 Likes
315

HI,

u can do it in both the ways.

but if u use the selection screen u have to create the other screens with screen number other than 1000.and the okcode for the execute button in the selection screen is ONLI.otherwise u just create a push button in ur selection screen and call the next screen when the function code of that button is called.

while creating the tcode give the screen number as 1000.

<b>code for crating push button:</b>

TABLES:SSCRFIELDS.

SELECTION-SCREEN PUSHBUTTON /10(4) MYBUTTON USER-COMMAND ABCD.

INITIALIZATION.

MYBUTTON = 'BACK'.

AT SELECTION-SCREEN.

IF SSCRFIELDS-UCOMM = 'ABCD'.

SET SCREEN 0.

ENDIF.

<b>reward if helpful</b>

rgds,

bharat.

Read only

Former Member
0 Likes
316

HI,

IN DESIGNING FOR SELECTION SCREEN FIRST GOTO SCREEN -> DESIGN UR SELCTION SCREEN BY DRAG N DROP METHOD -> ACTIVATE -> BACK.

AND CREATE A PUSHBUTTON IN SELECTION SCREEN ->GIVE F.CODE AS NEXT .

AND NAME OF PUSH BUTTON IS NEXTTTTT.

IN FLOW LOGIC

WRITE LIKE THIS,

IN PBO EVENT.

AT USER-COMMAND NEXTTTT.

SET SCREEN '2000'. OR CALL SCREEN '2000'.

2000 IS THE SCREEN DESIGNED BY U FOR DISPLAYING DATA IN PARAMETERS AND IN TABLE FORMAT.

IF HELPFUL REWARD SOME POINTS.

WITH REGARDS,

SURESH ALURI.