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: 

Set parameter id for developed reports

Former Member
0 Kudos

I've created a Z report and am trying to call this report and skip first screen. This is a piece of my code:

set parameter id 'ZFC' field zfact-nfact.

call transaction 'Z2SD60' and skip first screen.

I wouldn't know where or when to do the 'get parameter id' for this report since i don't have access to the PAI of a report (type 1). Any suggestions?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

Try getting the value on the Z2SD60 on the INITIALIZATION event or, also on the START-OF-SELECTION.

Bye

Gabriel.

4 REPLIES 4

Former Member
0 Kudos

Hello,

Try getting the value on the Z2SD60 on the INITIALIZATION event or, also on the START-OF-SELECTION.

Bye

Gabriel.

Former Member
0 Kudos

you better use ABAP memory not SAP memory statement.

as follows;

IMPORT ZFACT-NFACT TO MEMORY ID 'ZFC'.

call transaction 'Z2SD60' and skip first screen.

IN TRANSACTION 'Z2SD60'.

EXPORT ZFACT-NFACT FROM MEMORY ID 'ZFC'.

Former Member
0 Kudos

HI,

is Z2sD60 is a transaction ? YOu dont have to call get paramter id explicitely.. only thing that you have to do is associate the parameter id ZFC with the field on the initial screen of this transation.

Thanks

Mahesh

0 Kudos

HI,

In your se51 go and assign the parameter id property of the filed that is part of the first screen to ZFC.

Thanks,

Mahesh