Application Development and Automation 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: 
Read only

calling an external report

Former Member
0 Likes
753

Hi gurus.......

When calling an external report the parameters or select-options specified in the external report can be called or not?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
645

Hi Diana Sydnie

Report can be called. Or u can call a report with a variant. For more details look at the help for SUBMIT command.

Venkat.

Hi gurus.......

When calling an external report the parameters or select-options specified in the external report can be called or not?

2 REPLIES 2
Read only

BGarcia
Active Contributor
0 Likes
645

Hello Diana,

I think you can call it using SUBMIT statement.

Here's an example (taken from report RKEB0601 - job information is optional):


SUBMIT RKEB0601
          WITH PPLIKZ = PLIKZ
          WITH PERKRS = RKB1X-ERKRS
          WITH PPATYPE = RKB1X-PA_TYPE
          WITH PKOKRS  = RKB1X-KOKRS
          WITH PALEDGER = PALEDGER     "wkb 46c
          WITH PVALUTYP = PVALUTYP     "wkb 46c
          WITH VRGAR IN VRGAR
          WITH VERSI IN VERSI
          WITH PERIO IN PERIO
          WITH ALTPERIO IN ALTPERIO
          WITH BELNR IN BELNR
          WITH HZDAT IN HZDAT
          WITH RBELN IN RBELN
          WITH USNAM IN USNAM
          WITH SKOST IN SKOST
          WITH KSTAR IN KSTAR
          WITH RKAUFNR IN RKAUFNR
          WITH KAUFN IN KAUFN
          WITH BUKRS IN BUKRS
          WITH KNDNR IN KNDNR
          WITH ARTNR IN ARTNR
          WITH ELAYOUT = ELAYOUT
          WITH PREADM = PREADM
          WITH PREADM2 = PREADM2
          USER SY-UNAME
          VIA JOB H_JOBNAME NUMBER H_JOBCOUNT
          TO SAP-SPOOL
          AND RETURN.

Kind regards.

Bruno

Edited by: Bruno Garcia on Jun 21, 2008 5:05 PM

Read only

Former Member
0 Likes
646

Hi Diana Sydnie

Report can be called. Or u can call a report with a variant. For more details look at the help for SUBMIT command.

Venkat.