cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro iview - Use dynamic parameter rather than Application parameter

former_member204733
Participant
0 Kudos

All,   To fix another issue, I must change from Generic Application Integrator iview I have ben using,  to a Web Dynpro iview created from remote source.

In current iview, I am passing sap-language and also the screen id as dynamic parameters whose value comes in on the URL to the SAP portal.  and then is passed to back end system. 

Using new iview,  we have made that work successfully with the screen id, as the web dynpro application did not automatically include that as an application parameter.  

but for the language, the iview that was "created" from the source is already including language parameter, and so, even though it will pass the one I put in as dynamic, since it is the second value, it does not use it.  (We see if listed twice in the Fiddler trace.)
.

How can I tell it not to pass the application parameter it has or derives some how, and instead to pass what I give it.

we have tried putting the field in the property of the iview:   Do Not Forward These Parameters to Web Dynpro but it still did not work.  but perhaps we did not enter it in correctly.

our portal is NW 7.4

Ruth Jones

Accepted Solutions (1)

Accepted Solutions (1)

former_member204733
Participant
0 Kudos

All... seems the answer is that we will make sure the users preferred language is set in the backend system (which is also our UME for the portal) and then the portal and the web dynpro application will use that.

Thank you all for the input.

Still frustrating that I could not get it to override the parameter as a dynamic parameter.. but.. this way will work.

Ruth

Answers (3)

Answers (3)

former_member204733
Participant
0 Kudos

Thank you for your suggestions... my portal does not have a preferred language, and neither will  the web dynpro application.  the portal and iview are originally being called from a 3rd party front end portal (not SAP) where the users will have different languages.   I need to pass the language through as a dynamic parameter from the URL calling the SAP portal.

This was working successfully with a Generic Application Intergrator iview, but now will not work with the Web Dynpro iview, because that iview has picked up the parameter from the application somehow and is already filling one of them in.  I can pass a second one, but it does not override the first one.

Ruth

0 Kudos

Hi Ruth,

In that case pls set the preferred language in the webdynpro abap application itself in the backend.

Thanks,

Mahendran B

Former Member
0 Kudos

Hi Jones,

Try with Portal Translation so that all the contents in your web dynpro screen would also be shown in the preferred language.I had the same problem and I tried with Portal personalization and translation.

Follow the below links for your reference:

Portal Content Translation - Portal - SAP Library

Thanks,

Khyanaprabha

0 Kudos

Hi KhyanaPrabu,

Portal translation will work only for the portal contents and not for the webdynpro application. please check on this.

Thanks,

Mahendran B.

0 Kudos

Hi Ruth Jones,

Create the iview with the preferred language as the master language you want to use.

Thanks,

Mahendran B.