‎2007 Jul 05 10:51 AM
Hi Friends..
if iam giving one program name in select option,i want to open that program
for that purpose how can i writ coding..
Thanks
Gowrishankar
‎2007 Jul 05 11:05 AM
Hi Gowri sankar,
Try with SUBMIT command. It is used to call a program.
‎2007 Jul 05 10:53 AM
Hi,
Use SUBMIT command to call a report or prgram.
See documentation for SUBMIT.
Regards,
Hari krishna.
‎2007 Jul 05 10:56 AM
hi,
REPORT STARTER NO STANDARD PAGE HEADING.
DATA: NAME(8) VALUE 'SAPMZTS1',
WID TYPE I VALUE 80,
LEN TYPE I VALUE 0.
SET PF-STATUS 'SELECT'.
WRITE: 'Select a report and its list format:',
/ '----
'.
SKIP.
WRITE: 'Report ', NAME INPUT ON,
/ 'Line size ', WID INPUT ON,
/ 'Page length', LEN INPUT ON.
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'SELE'.
READ LINE: 4 FIELD VALUE NAME,
5 FIELD VALUE WID,
6 FIELD VALUE LEN.
SUBMIT (NAME) LINE-SIZE WID LINE-COUNT LEN AND RETURN.
ENDCASE.
You can use this program to start programs with user-defined list formatting. On the basic list, the user can enter a report name and the desired list width and length by overwriting the default values:
In the AT USER-COMMAND event, the system reads the values and starts the specified executable program using SUBMIT. If the REPORT statement in the called program has no LINE-SIZE or LINE-COUNT specification of its own, its lists are displayed using the values WID and LEN. At the end of the called program, you can change the input values on the basic list and start a new program.
<b>Reward useful points</b>
siva
‎2007 Jul 05 11:05 AM
Hi Gowri sankar,
Try with SUBMIT command. It is used to call a program.