We have a function module that is called from a BW report which is developed as a BSP application in the BW client; this FM saves some data (such as contract number, username, etc.) in a Z table created in R/3. The FM is called with respect to R/3 RFC destination. All the details passed to this FM (except the username) are saved correctly in the Z table; however username gets truncated to 8 characters.
When the same FM is called from portal or even executed manually complete user name gets saved. All the variables / fields etc. are declared with the correct data elements.
Can someone advise what the cause can be. Is this related to RFC calls.