02-13-2006 9:04 AM
02-13-2006 9:07 AM
For module pool, u have to drag and drop the controls similar to that in ur screen painter.
Eg: see this link for Table control
http://www.sapdevelopment.co.uk/dialog/tabcontrol/tchome.htm
02-13-2006 9:19 AM
Hi
You can use CALL SELECTION-SCREEN statament.
- You have to define a selection-screen in the TOP-INCLUDE:
SELECTION-SCREEN BEGIN OF SCREEN 101.
SELECT-OPTIONS: SO_.... FOR ....
PARAMETERS: P_....
SELECTION-SCREEN END OF SCREEN 101.
- Create a main dynpro where selection-screen has to be called:
PROCESS PBO.
MODULE CALL_SEL_SCREEN.
PROCESS PAI.
MODULE CALL_SEL_SCREEN.
CALL SELECTION-SCREEN 101.
IF SY-SUBRC = 0. "=> User has pressed F8
ELSE. "=> User has pressed BACK or EXIT
ENDIF.
ENDMODULE.
max
09-12-2007 3:29 PM
Hi Max,
Thanks for your replay,
I have writen the code as per your suggesion but its throughing me the syntax error like:
"SUBSCREEN..." or "CUSTOMER-SUBSCREEN..." expected after 'CALL.
please give me some idea where i am doing the mistake
02-13-2006 9:25 AM
Hi,
after creating the field, just double click on it , in the window select the tab program there you have option
Possible entries just choose <b>'1'</b> from dropdown. this will behave like a select option.
regards
vijay