Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FPM: Language in JCo connections.

Hi,

Does anyone knows where the language to create the key of the JCo connection is retrieved in FPM apps?

I explain:

The FPM app standard uses the "connectModel" method of xxfpm to create JCo connections for Fc components. Finally this calls to "connectModelInternal" of the "BackendConnections" customer component of xssutils.

Here a key for connection is generated which includes the language with:

if (rollAreaKey == null) {

rollAreaKey = "XSS_DEFAULT_ROLL_AREA";

}

// determine key for connection

// reuse a connection when using the same rollAreaKey, modelScope or same systamname, client, language, logontype, user

String systemIdentifier = WDSystemLandscape.getJCOClientConnection(model.getSystemName()).getSystemIdentifier();

String connectionKey = rollAreaKey + ':' + systemIdentifier + ':' + model.getModelScope().toString();

I don't have the WDSystemLandscape source code available at this moment so I cannot see what getSystemIdentifier method does to retrieve the language.

I need to know it because an FPM app I made is generating two different JCo connections because of the language and this generates an error due to global variable xss_adapter of the HRXSS_PER_MAC function group appears to not be initialized in some cases.

Can anyone help me?

Thanks,

Gabriel.

Former Member
Not what you were looking for? View more on this topic or Ask a question