cancel
Showing results for 
Search instead for 
Did you mean: 

SAP GUI for HTML and parameter transactions with tcode START_REPORT

Former Member
0 Kudos


Many reporting transactions are parameter transactions that use tcode START_REPORT.  Example: S_ALR_87013611 runs a Report Writer.

How do you pass selection values to parameter transactions and click the execute button?

Two problems:

1) Selection values don't populate.

2) Clicking execute with DYNP_OKCODE=ONLI brings up a screen titled Start Report with report type and report name from the parameter transaction.

The following brings up Start Report screen: https://xxx/sap/bc/gui/sap/its/webgui/?sap-client=010&sap-language=EN&~transaction=*S_ALR_87013611%2...

The following brings up the selection screen, but doesn't populate the values:

https://xxx/sap/bc/gui/sap/its/webgui/?sap-client=010&sap-language=EN&~transaction=*S_ALR_87013611%2...

Any help will be appreciated.

Regards,

Mark

Accepted Solutions (1)

Accepted Solutions (1)

former_member194364
Active Contributor

Hello Mark,

I presume you are aware of the following WIKI

How to prefill fields and skip first screen with webgui? - Wiki - SCN Wiki

Do all your "FIELD_*" values begin with the dollar sign? "$"

Regards,

Oisin

Former Member
0 Kudos

Oisin, thank you for the link.  Yes, that's the technique I'm using.

That particular transaction S_ALR_87013611 runs a Report Writer and yes, all it's selection fields begin with a "$".

The problem I'm encountering happens on all transcation codes that are "parameter transactions."

An example of a parameter transaction that runs a regular ABAP report is RSSCD100_PFCG_USER.

Does anyone know if there's a way to them work in SAP GUI for HTML?

Here's the screen that comes up:

former_member194364
Active Contributor
0 Kudos

Hello Mark,

I wonder could this be a bug issue?

Have you tried on a different landscapes in your environment?

What is your release? SAP_BASIS and Kernel?

Regards,

Oisin

Former Member
0 Kudos

Our ECC system is 7.4, Kernel Patch No. : 59, and Basis support pack 4 (SAPKB74004).  I tried in Production and a Quality system.  Same results.

I also tried it on an SRM system that's 7.02, Kernel Patch number : 401, Basis support pack 12 (SAPKB70212). Same results.

I'm beginning to think it's due to parameter transactions running transaction code START_REPORT, which then runs the underlying program.

I can submit an OSS incident and report this as a problem.

Regards,

Mark

former_member194364
Active Contributor
0 Kudos

Hi Mark,

Could this issue be related to the note

1501768 - ITS: Config. permitted or prohibited OK codes during
start

Regards,

Oisin

Former Member
0 Kudos

I submitted an incident to SAP on this and got the following reply from Uwe Ringhof:

"It is not supported to use the *-notation starting a parameter transaction."

Regards,

Mark

former_member194364
Active Contributor
0 Kudos

Hi Mark,

And did this resolve the issue? I.e removing the * to not give ....~transaction=S_ALR_87013611....

Hmm this goes against what the ITS Development team have written in the WIKI:

How to prefill fields and skip first screen with webgui? - Wiki - SCN Wiki

Regards,

Oisin

Former Member
0 Kudos

No, it didn't solve my issue.  The Wiki is incomplete.

There are five types of transaction codes.  Uwe confirmed what I suspected: pre-filling fields and running the program isn't supported on Parameter Transactions.

Regards,

Mark

former_member194364
Active Contributor
0 Kudos

Thanks Mark for the update.

I will have the WIKI updated with this information.

I believe only the first option "Program and screen (dialog transaction)" will work for the WEBGui

using the method in the How to prefill fields and skip first screen with webgui? - Wiki - SCN Wiki

Regards,

Oisin

Answers (0)