2008 Jun 23 5:01 PM
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
2008 Jun 23 7:14 PM
Hi check if parameter is specified as part of the URL using the delimiters ? and &.
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
2008 Jun 23 7:14 PM
Hi check if parameter is specified as part of the URL using the delimiters ? and &.
2008 Jun 24 8:32 AM
Yes, good idea. But I checked and the URLs are exactly the same for all users.
2008 Jun 24 8:35 AM
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
?paramnamein the whole bsp application.
2008 Jun 24 10:08 AM
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.
2008 Jun 24 1:51 PM
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.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |