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

Question on Parameter Transaction

Former Member
0 Likes
747

Hi everybody,

I wrote a report: ZPD_WRITE_PARAM, this report prints a parameter, the code is:

REPORT ZPD_WRITE_PARAM.

PARAMETERS: param TYPE string.

WRITE: param.

Then I created a corresponding report transcation: ZPD_WRITE_PARAM.

At last based on ZPD_WRITE_PARAM, I created a parameter transaction: ZPD_WRITE_PARAM_1:

Select on 'Skip initial screen';

In 'Default Values' table, set PARAM value 'Test'.

Ran ZPD_WRITE_PARAM_1, I thought it would print 'Test', but actually it printed nothing. I guess the default value hasn't passed to the parameter of the report.

Could somebody point out where I was wrong, or tell me the correct settings?

Thanks and Best Regards,

Da

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
716

Hi Dude,

This parameter transaction is not for report programs. It is used to edit table entries by creating table generators for a table. When u execute this parameter tcode , u will get the table like atructure in which u can add data. and this data will go to the table for which table maintenance is created.

Regards,

Nishant Gupta

5 REPLIES 5
Read only

Former Member
0 Likes
716

try changing the program like this

REPORT ZPD_WRITE_PARAM.

PARAMETERS: param TYPE string.

start-of-selection.

WRITE: param.

cheers

kothand

Read only

0 Likes
716

Hi Kothand,

I added 'START-OF-SELECTION.' into my code. But it still doesn't work...

Regards,

Da

Read only

former_member761936
Active Participant
0 Likes
716

Hi Da,

I do n't know why you are using parameter Transaction for Normal report.Parameter transaction is used when you have other transaction , and need to create some Tcode with defaulting some parameters.

You can use Normal T code for Normal report

Read only

former_member761936
Active Participant
0 Likes
716

Hi Da,

Sorry for Previous reply.

I tried the same steps you said it is working.Please check once agian your seetings

Read only

Former Member
0 Likes
717

Hi Dude,

This parameter transaction is not for report programs. It is used to edit table entries by creating table generators for a table. When u execute this parameter tcode , u will get the table like atructure in which u can add data. and this data will go to the table for which table maintenance is created.

Regards,

Nishant Gupta