cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with BSPs iViews

Former Member
0 Kudos

Hi,

I need to know how to get EP user info, (username, firstname...), because in EP60 SP2 every user have an unique user but systems that connect EP to R/3 and CRM uses a generic user and BAPIS in R3 and CRM don't know who is the request's user if i don't tell it explicit.

In conclusion, what i need is:

+ to get user info in a BSP standard iView

+ to call a BSP telling all the parameter i need.

+ BSP call BAPIS and RFC telling them which user (and other info) is in action.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181879
Active Contributor
0 Kudos

Theorectically you can send user data with the request from EP to BSP. However, you will have to ensure that the data is not tampered with, etc. Once you have the data in the backend, there is nothing that you can really do with it. As this name+surname does not represent a valid WebAS user, there is nothing that can be done (more than logging the information).

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Why are you using a generic ID for the system hosting your BSP? Why not use the Portal SSO to BSP and then use Trusted RFC for you RFC/BAPI calls. This way your user identify is carried all the way through your landscape.

Former Member
0 Kudos

I didn't decide about generic user, client want it, nobody knows why?

I success sending parameters from EP to BSP, i can see that it appends parameters in url but i fail trying to catch them.

someboy could tell me how can i get the parameters send from EP to BSP, in a BSP?

Thanks in advance.

Former Member
0 Kudos

Hi Julián,

you have to define it in the "Page Attributes" tab.

Example:

http://mac.dom.es:8000/sap/bc/bsp/sap/ztest/def.htm?day=18&month=1&year=2005

...

Define attributes:

day type string

month type string

year type string

...

And then, you could get those parameters in the "Disposition" tab:


<html>
<body>
Year: <%=year%><br>
Month: <%=month%><br>
Day: <%=day%>
</body>
</html>

best regards,

Antonio.