2008 Jul 14 9:30 AM
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
2008 Jul 14 10:49 AM
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
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
2008 Jul 14 9:35 AM
try changing the program like this
REPORT ZPD_WRITE_PARAM.
PARAMETERS: param TYPE string.
start-of-selection.
WRITE: param.
cheers
kothand
2008 Jul 14 10:43 AM
Hi Kothand,
I added 'START-OF-SELECTION.' into my code. But it still doesn't work...
Regards,
Da
2008 Jul 14 10:05 AM
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
2008 Jul 14 10:10 AM
Hi Da,
Sorry for Previous reply.
I tried the same steps you said it is working.Please check once agian your seetings
2008 Jul 14 10:49 AM
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
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |