‎2007 Sep 11 4:36 AM
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
‎2007 Sep 11 6:49 AM
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.
‎2007 Sep 11 4:52 AM
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.
‎2007 Sep 11 6:49 AM
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.