cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC Adapter error while load balancing

Former Member
0 Kudos

Folks,

I am facing an issue when I am switching on Load balancing button in RFC destination while sending IDOC in sender system . The sender system shows this error in SM58

<u><b>IDoc adapter inbound channel: Error Error when rea</b></u>

Thanks,

Manish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Manish...

This is from F1 on Traget host field in SM59..Check part in bold..

Name of target host

Name of the target host as displayed by the UNIX command 'hostname'.

<b>If you are using load balancing, the target host must be the host name

of the message server of the SAP System. This is defined in the profile

parameter 'rdisp/mshost' of the target system. If you have any further

questions, consult your system administrator. </b>

You can specify host names as

- Normal host names

- Host names in DNS format (if DNS available)

- IP addresses

- SAProuter names (in the form /H/.../S/.../H/.../S/... )

Notes

If you enter the host name (for example, hs0311) as the target host in

an RFC destination, its IP address is stored internally in the database

table RFCDES (destination administration). This speeds up the RFC

connection initiation, since the host name does not need to be converted

into its IP address.

However, problems occur if the IP address of the target host changes.

For this reason, you must adjust the RFC destinations if the IP address

of the target host changes.

If you specify the host name as a SAProuter name (/H/hs0311 instead of

hs0311), it is not converted into its correspondidng IP address.

Instead, it is stored in its SAProuter form in table RFCDES.

Former Member
0 Kudos

Hi Renjith,

One thing I noticed in our XI system that in transaction RZ12 the logon group is showing empty. Is this causing the problem .

Regards,

Manish

moorthy
Active Contributor
0 Kudos

Manish,

I am just looked at this transaction.. I am just curious about this .. So i just looked and informing you..

I have these entries -

Logon Group Instance Status

<XIserverhost name > Green

parallel_generators <li....>

Related SAP Note - 452538.

I am not sure from where this entry is coming? or do we need to do ?

Just for the info..

Regards,

Moorthy

Former Member
0 Kudos

Hi Moorthy ,

I have gone thru the note which you have suggested earlier and i founf this paragraph , but I am not sure what it is explaining

<i><b>e) Error message: IDoc adapter inbound: Error error

Solution:

You send IDocs to the central XI system, where they are received by the IDoc adapter. The IDocs are converted into IDoc XML, and a corresponding XI message is generated and transferred to the XI Runtime Engine. The Engine tries to read its own business system from the "Exchange Profile". If the Exchange Profile is currently unavailable, the message is not processed and it is returned to the sending system with an error message.</b></i>

Do you have any what is asking to do , please let me know

Manish

Former Member
0 Kudos

Hi Manish,

I donot think this should be a problem. Because there would a default group SPACE anyways (i think..maybe some basis guys might correct me...)....

can you do one thing.....run the report RSPARAM from SE38 and see what is the host name given in the paramter 'rdisp/mshost'...make sure that the hostname mateches with the host name given in the RFC destination on sender system...

Thanks,

Renjith.

Former Member
0 Kudos

Hi Renjith,

The parameter rdisp/mshost and the target machine has the same value. One more thing the system number we should provice in RFC destination, we have two systems ? .

Manish

Former Member
0 Kudos

You can have only one system number for one sap instance....so could you pls tell me waht you meant by 2 systems?...did you mean 2 application servers ? that will not introduce 2 system numbers...

Former Member
0 Kudos

Hi Renjith,

We have two app servers, I thought there will be two system numbers. please tell mw what else I can investigate , I guess RFC connection is fine and the rdisp/mshost parameter is properly defined.

thanks,

manish

Former Member
0 Kudos

Could you pls confirm that the test connection and remote logon from SM59 in sender system are working to the XI system ?

if yes...did you try to debug the erroneous entry in SM58 and see at what point is this error coming from the target XI system ?

Thanks,

Renjith

Former Member
0 Kudos

Hi Renjith,

I have debugged the function module and got the following error message :

<u><b>

IDoc adapter inbound channel: Error Error when reading Exchange Profile for system XID and

client 401 occurred in the IS pipeline</b></u>

The error occured in the following part of the program <u>LIDOC_ADAPTER_MBF01</u>

<i><b>l_xmb ?= l_imo.

l_message_class = l_xmb->get_message_class( ).

IF '2' = l_imo->ao->get_status( ).

l_error_code = l_xmb->get_error_code( ).

IF l_error_code = 'IDOC_ADAPTER.ATTRIBUTE_ALEAUDIT'

OR l_error_code = 'IDOC_ADAPTER.ATTRIBUTE_ALEAUDIT_PERM'.

EXIT.

ENDIF.

l_error_text = l_xmb->get_error_text( ).

IF l_error_code = 'INTERNAL.NO_EXEC_PERMISSION'. "#EC NOTEXT

MESSAGE ID 'IDOC_ADAPTER'

TYPE 'A'

NUMBER '115'

WITH sy-uname

g_sender-service

g_sender-party

RAISING system_error.

ELSE.

MESSAGE ID 'IDOC_ADAPTER'

TYPE 'A'

NUMBER '106'

WITH l_error_text

RAISING system_error.

ENDIF.</b></i>

Thanks,

Manish

Former Member
0 Kudos

Hi Manish,

The user id with which you are debugging...does it have the required authorizations ?

Thanks,

Renjith

Former Member
0 Kudos

Hi Renjith,

Yep we are using userid of basis administrator , Initially we were using XIAPPL user.

Manish

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos

Hi Manish,

Error Messages in SM58- SAP Note -940313

Regards,

Moorthy