I need to get the logged user from portal in a <b>bsp</b>, I explain to you what i want :
When a person connected in the portal is not defined in the R3 system I need to send a mail with the logon portal to treat this error.
I have create a bsp and with the standard sicf transaction in the tab Error pages/Logon error I have redirect on another bsp if he exit a logon error (if the person is not known in the R3 system). If a logon error exit the new BSP is launch with a generic user (who is know in the SAP R3 system) and this bsp need to send a mail with the logon of the person get in the portal, not the sy-user of the R3 system because the bsp is launch with a generic user, so how i can get the user logon of the portal ?.
The portal connect to SAP R3 system with SAP logon ticket and SSO. I don't know if I can get the logon user in the cookie send by the procesus of the logon ticket or if he exist an object generate by the portal like EPCF who have the information of the person connected to the portal.
Excuse me for my very bad english...
Thx a lot for your response.