cancel
Showing results for 
Search instead for 
Did you mean: 

Screen ID via URL parameter to WDP application

Former Member
0 Kudos

Hi all,

after upgrading to SAP SCM 5.1 all my functionalities now are available in WDP ABAP.

Up until now it was BSP and it was easy to create a link with an explicit SCREEN ID that pointed to a special view of this application.

f.e.:

http://mysapsystem:8000/BspClient=001&sap-client=001&BspClientVisible=X&sap-htmlb-design=2003&app-id...;scr-id=ALRTOVW

What I want to do now is calling the WDP ABAP application in a similar way. I want to start the application with a special start view but until now I did not find any solution for that.

I tried to use the WDP UI configuratior. I checked the application and I have found a parameter called SCRID, but I am not able to place this parameter in the URL. There is still the default screen displayed.

Does anyone have a clue what I can do? It is SAP standard application so in my mind there has to be the same possibility than before.

Thanks in advance.

Peter

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In WebDynpro ABAP, any WebDynpro Application will point to a Window of WebDynpro Component.

So in your case it will be there in WebDynpro Application Definition.

Hope this helps.

-Haresh

Former Member
0 Kudos

Hi Haresh,

what exactly does that mean. I tried to create a new Web Dynpro Application with the screen-id parameter but in my eyes the application ignores this parameter.

Best regards

Peter

Former Member
0 Kudos

Check this: [Using Parameters to Call a Web Dynpro Application|http://help.sap.com/saphelp_nw70/helpdata/en/2f/e7574174c58547e10000000a1550b0/frameset.htm]

First, you have to create parameter in your window-inbound-startup-plug (e.g. DEFAULT-Plug)

e.g. Parameter I_View type String

Then you have to create Inbound-Plug in your Views, and Outbound-Plugs in your Window and

link them.

Then in your window-inbound-handler-method (e.g. HANDLEDEFAULT) you can access that parameter and fire the outbound-plug

e.g.:


CASE I_VIEW .
  WHEN 'VIEW1'.
      wd_This->Fire_Out_View1_Plg( ).
  WHEN 'VIEW2'.
      wd_This->Fire_Out_View2_Plg( ).
  WHEN OTHERS.
ENDCASE.

In you WD-Application you can set a default value for your parameter.

Answers (0)