Application Development 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: 

Invoke a ABAP transaction in a report.

Former Member
0 Kudos

Hi,

How can I invoke another ABAP transaction from a report/module pool program?

Can I pass values to the fields?

Regards,

Arvindh.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

ya check out the following syntaxes in help:

set parameter id

and call transaction

regards,

Navneeth K.

7 REPLIES 7

Former Member
0 Kudos

Hi,

I guess you mean, programatically call another transaction...

if so...you can use the following command,

CALL TRANSACTION 'TRANSACTION_NAME'.

Regards,

Vinodh.

Former Member
0 Kudos

HI,

HI YOU WILL BE ASSIGNING TCODE TO A REPORT OR MODULE PROGRAMEE THROUGH SE93 AND YES YOU CAN ENTER VALUES TO THE FIELDS

Former Member
0 Kudos

hi,

ya check out the following syntaxes in help:

set parameter id

and call transaction

regards,

Navneeth K.

Former Member
0 Kudos

Hi,

Check CALL TRANSACTION Statement, you can pass parameters...

Erwan

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.