English 中文(简体)
SCMS_AO_URL_READ returns Communication error when called from SAP Portal
原标题:

We have upgraded our development SAP system from (ECC6 and SAP Portal) from SPS3 to SPS5.

Now when a user logs onto the SAP Portal and run a bespoke Java Web Dynpro screen (which in turn calls SAP standard Function Module SCMS_AO_URL_READ in order to retrieve a UWL), an exception is returned.

When the Function Module SCMS_AO_URL_READ is manually called from the SAP ECC system (by running transaction SE37 from the SAP GUI) and the same parameters are passed, no exception is returned.

Investigation has shown that the failure occurs when SAP standard Function Module RFC_PING for destination SAPGUI is called (the call sequence is SCMS_AO_URL_READ -> SCMS_DOC_URL_READ -> SCMS_URL_GENERATE -> perform location_from_client -> perform location_from_lca -> SCMS_LOCATION_GET -> SCMS_FE_CHECK_REG_SERVER -> SCMS_FE_CHECK_GUI -> RFC_PING). The exception Communication failure is being returned.

This error did not occur pre-patching, or in an identical system that we have which has not been patched.

Any ideas why the parameters are not being automatically populated?

Thanks.

最佳回答

After further investigation we found that the issue is caused when the user has access to the Authorisation Object S_RFC_ADM.

I do not know why this is yet (especially as SAP authorisations are supposed to be accumulative and not have exclusions), but that is definitely the issue.

问题回答

I don t know the details of the function modules involved, but the purpose is clear - the program wants to make sure that a "real" SAP GUI is present, and obviously that s not the case when you re in the WebDynpro world. The RFC destination SAPGUI is a "virtual" destination that always points "back" to the GUI instance of the user session executing the program. I d recommend creating a SAPnet message and asking SAP directly.





相关问题
Helicopterview of ABAP [closed]

I don t know a thing about ABAP, apart from it has an OO side, and I would like to have some kind of helicopterview of it before I start to look at it in detail. I know I can find all of this when ...

How to round a sum for the swiss currency (francs)

here in switzerland our currency is francs and the smallest coin is 5 centimes which is 0.05 francs. what is the best way to round amounts to be payable with our money using the programming language ...

ABAP select performance hints?

Are there general ABAP-specific tips related to performance of big SELECT queries? In particular, is it possible to close once and for all the question of FOR ALL ENTRIES IN vs JOIN?

Determine current MM periods?

The standard SAP MM advice is that only two periods can be open simultaneously. How to determine them from within the program (FM to call/table to read)?

ABAP create object

Below is a code snippet that is creating object. Form userexit_save_document_prepare. data: /bks/exitmanager type ref to /bks/exit_manager. create object /bks/exitmanager exporting ...

Parsing XML with other solution than XSLT

My company is working on a project that needs to read XML files within ABAP. When the XML file has no data for a particular tag it omits that data. Some tags are self closing. e.g. <tag /> The ...

热门标签