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

BSP Application - Looking For A Parameter

Former Member
0 Likes
733

Hello,

I have the following (rather annoying) problem:

We are working with a BSP-Application in which directly in the Beginning (in the "OnCreate"-Method of the entry page) an SAP Memory Parameter is read through a "GET PARAMETER" Statement. The Problem is: Where is it set?

Is there a defined place where such parameters are stored? Or how is this handled normally? After searching the whole BSP-Code there was no "SET PARAMETER" call anywhere, so we have to assume that this happens somewhere outside the BSP-App. Perhaps it's hardcoded somewhere??

Does any of you have an idea, how I should go about this problem?

Thanks in advance,

Lukas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
695

Hi check if parameter is specified as part of the URL using the delimiters ? and &.

5 REPLIES 5
Read only

Former Member
0 Likes
696

Hi check if parameter is specified as part of the URL using the delimiters ? and &.

Read only

0 Likes
695

Yes, good idea. But I checked and the URLs are exactly the same for all users.

Read only

0 Likes
695

it is from the URL thats for sure.

can you explain the flow..

May be you are looking for the Main Url. but there is a chance that you might get some url in the middle of the flow. there they might be adding the param. Just check for the

?paramname

in the whole bsp application.

Read only

0 Likes
695

Well the parameter im looking for changes depending on the user that is currently logged in. so it can't be in the urls I think.

This is the snippet of code that checks the parameter:

DATA: lv_parameter(2) TYPE c.
GET PARAMETER ID '/BIC/OMSGLVARPO' FIELD lv_parameter.

its almost at beginning of the bsp app flow.

Read only

0 Likes
695

Everyone, thank you for your replies, but we've been able to solve the problem differently. The Parameters were implicitely set with the user data, in the table

USR05

to be exact.