06-29-2007 10:34 AM
Hi,
How can I invoke another ABAP transaction from a report/module pool program?
Can I pass values to the fields?
Regards,
Arvindh.
06-29-2007 10:36 AM
hi,
ya check out the following syntaxes in help:
set parameter id
and call transaction
regards,
Navneeth K.
06-29-2007 10:36 AM
Hi,
I guess you mean, programatically call another transaction...
if so...you can use the following command,
CALL TRANSACTION 'TRANSACTION_NAME'.
Regards,
Vinodh.
06-29-2007 10:36 AM
HI,
HI YOU WILL BE ASSIGNING TCODE TO A REPORT OR MODULE PROGRAMEE THROUGH SE93 AND YES YOU CAN ENTER VALUES TO THE FIELDS
06-29-2007 10:36 AM
hi,
ya check out the following syntaxes in help:
set parameter id
and call transaction
regards,
Navneeth K.
06-29-2007 10:36 AM
Hi,
Check CALL TRANSACTION Statement, you can pass parameters...
Erwan
06-29-2007 10:38 AM
Hi
From report and module pool use like
SET PARAMETER ID '<ID> for <field>
CALL TRANSACTION >name> and SKIP FIRST SCREEN.
Reward points for useful Answers
Regards
Anji
06-29-2007 10:43 AM
hi,
if you want to call tcode through your report or modulepool program
use <b>call transaction</b> press f1 to see some more help on it.
if you want to call another report program or any other report in through your program
use <b> submit</b> key world.
SUBMIT rep.
other fields you can add are
LINE-SIZE col
LINE-COUNT lin
TO SAP-SPOOL
VIA SELECTION-SCREEN
AND RETURN
EXPORTING LIST TO MEMORY
USER user VIA JOB job NUMBER n
Various additions for parameter transfer to rep
USING SELECTION-SETS OF PROGRAM prog
don't forget to reward points if it helps.
06-29-2007 11:29 AM
You can invoke tcodes with CALL PARAMETER. For example:
SET PARAMETER ID 'BES' FIELD wa_report-ebeln.
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
You can find the Parameter ID ('BES') by pressing F1 on the field in the respected tcode, and then click 'Technical', and find the value under "Parameter ID" field (not Screen-field).
Sam.