on 10-31-2008 7:49 AM
Hi Gurus
When i executing the ABAP program for Client Proxy it prompt me an error : GET_BUSINESS_SYSTEM_ERROR, "An error occurred when determining the business system (NO_BUSINESS_SYSTEM)". I am using SAP Version ECC6 - SAP_ABA : 700.
I had run Tcodes : SLDCHECK and it is successful and SLDAPICUST is pointing to the correct SLD. What other things which i require to configure or ABAP code should include the Business system? Below is my source code.
REPORT ZEMP_PROXY.
DATA : proxy TYPE REF TO ZCO_MI_PROXY_FILE_TEST,
it TYPE ZMT_EMP_PROFILE,
lo_sys_exception TYPE REF TO cx_ai_system_fault,
lo_clientProxy TYPE REF TO ZCO_MI_PROXY_FILE_TEST.
CREATE OBJECT proxy.
TRY.
it-MT_EMP_PROFILE-EMP_NAME = 'James'.
it-MT_EMP_PROFILE-EMP_NO = '801011'.
it-MT_EMP_PROFILE-DEPARTMENT_NAME = 'SAP NetWeaver Proxy'.
CALL METHOD proxy->MI_PROXY_FILE_TEST
EXPORTING
output = it.
commit work.
CATCH cx_ai_system_fault INTO lo_sys_exception.
WRITE : / lo_sys_exception->CODECONTEXT.
WRITE : / lo_sys_exception->code.
WRITE: / lo_sys_exception->errortext.
ENDTRY.
Hi,
The system cannot find its business system in the SLD, so the cache is not updated.
Check the following:
- Is the correct SLD maintained in transaction SLDAPICUST?
- Does the transaction SLDCHECK run without errors? There is
probably no business system defined in the SLD for your system ID
and the current client.
Check that the
com.sap.aii.connect.integrationserver.r3.client
parameter in the exchange profile corresponds to the Integration
Server client.
Check the above settings and let me know.
Regards,
Sreenivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreenivas,
I had actually performed the SLDCHECK and SLDAPICUST, both are correct. but then how to configure the com.sap.aii.connect.integrationserver.r3.client
parameter in the exchange profile corresponds to the Integration
Server client.? Where should this be configure from R3 or PI, from Visual Admin or R3?
Edited by: Malcolm Pang on Oct 31, 2008 9:16 AM
Edited by: Malcolm Pang on Oct 31, 2008 9:17 AM
Hi,
you can find this in the following link:
http://<Servername : port>/exchangeProfile
Regards,
Sreenivas.
For those who do not have access to an SLD.
The function module
LCR_GET_OWN_BUSINESS_SYSTEM
can be fooled in manually (SE16/SE16N) maintaining an entry in table
LCRT_CLNTCACHE.
Once this table is maintained, the error will be gone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In SLDCHECK of ECC system, make sure that the LCR_GET_OWN_BUSINESS_SYSTEM function retrieves your correct Business System. Notice that running RZ70 will just create the Technical System in SLD. You need to go in SLD and manually configure the Business System, associated to the proper technical system and the correct client.
Also, make sure that, in your ECC system, in SXMB_ADM -> Integration Engine Configuration, you have the Role of the BS = Application System and pointing to the correct Integration Server (best way to configure this connection is to create a HTTP dest to the IS and set the "Corresponding Integration Server" as "dest://<rfc_dest_name>" (without quotes).
If everything is correct, SLDCHECK should contain something like:
(...)
Calling function LCR_GET_OWN_BUSINESS_SYSTEM
Retrieving data from the SLD server...
Function call terminated sucessfully
Properties of own business system associated to system <SID> client <client>
id = <business_system_name>
role = LOC
(...)
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.