cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while sending IDOC to File Senario

Former Member
0 Kudos

Hi Experts

I am having problem while sending the Idoc from SAP R/3 to File

I have done all the setting in SAP as well in XI but while pushing IDOC

I am getting error in the transaction sm58 in SAP R/3

" <b>The service for the client 300(My SAP R/3 client) is not present in Integration

Directory</b>"

I can any one explain me what to done on this....all the connections are fine

Waiting for Response

Adv points and thanx

Rakesh

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Reason and Prerequisites

You send IDocs from system ABC to the exchange infrastructure (XI) of system XIZ, and error messages are issued in system ABC (Transaction SM58) for the IDOC_INBOUND_ASYNCHRONOUS function module.

This note proposes solutions for the following error messages:

a) No service for system SAPABC client 123 in the integration directory

b) Transaction IDX1: Port SAPABC, client 123, RFC destination

c) ::000

d) NO_EXEC_PERMISSION: "USER" "Business_System"

e) IDoc adapter inbound: Error error ...

Solution

a) Error message: No service for system SAPABC client 123 in the integration directory

Solution:

You send IDocs from system ABC to XI. In the control record of the IDoc, the SNDPOR field contains the value "SAPABC". The client of the sending system is determined by the MANDT field of the control record. The system ID and client are then used to determine a service without party of the type (business-system/business-service):

Business system

Activities in the System Landscape Directory (SLD)(Create technical system):

Create a technical system for system ABC in the SLD, and create the client for this. Do not forget to assign an "ALE logical system" (for example, "ABCCLNT123") to this technical system.

SLD (Business system):

You can now explicitly assign a business system to this client.

For more details, refer to the SLD documentation.

Activities in system ABC (self-registration in the SLD):

Alternatively, you can register the system in the SLD in system ABC with Transaction RZ70. You will find detailed information about the SLD registration of systems on the SAP Service Marketplace for the "Exchange Infrastructure" in the document "Exchange_Installation_Guide.pdf".

In system ABC, you can check your configuration with TransactionSLDCHECK.

Activities in Integration Directory (import business system from SLD):

You will find the business systems under Services Without Party in the Integration Services. In the Service menu, you will find the system identifiers, the client, and the corresponding ALE logical system under "Objects"->"Adapter-specific identifiers".

Use the Import/Update button to copy the data from the SLD, to create business systems, or to update their identifiers.

Business service

Activities in the Integration Builder directory:

You want to create a service without party that is not part of your system infrastructure and is therefore not maintained in the SLD.

In the Integration Builder directory, you will find the "Business-Services" under Services Without Party. In the Service menu, you will find the system identifiers, the client, and the corresponding ALE logical system under "Objects"->"Adapter-specific identifiers".

Activate the change list in Integration Directory.

In system ABC, you can restart the incorrect entry from Transaction SM58 .

b) Error message: Transaction IDX1: Port SAPABC, client 123, RFC destination

Solution:

The Integration Server tries to load the IDoc metadata from the sending system. The IDoc schemas from the Integration Repository cannot be used because they are release-dependent.

The sending system is determined by the value of the "SNDPOR" field from the IDoc control record (for example, "SAPABC").

Activities in the central XI system:

In Transaction IDX1, you can assign an RFC destination to the sending system (for example, "SAPABC"). This must be created beforehand in Transaction SM59.

Note that the IDoc metadata is cross-client data. In Transaction IDX1, only one entry must be maintained for each system. Only the lowest client is used by the runtime for Idoc metadata retrieval with RFC.

Ensure that only SAPABC and not "SAPABC_123" is entered in the port name.

c) Error message: "::000"

Solution:

This error occurs if the central XI system tries to load the IDoc metadata from the sending system by RFC.

There may be several different reasons for the failure of the metadata import, the error is not transferred in full by tRFC completely, and this results in the error message above.

User cannot log onto sending system

User/password/client is not correct or the user is logged due to too many failed logons.

Activities in sender system ABC:

Transaction SM21 contains entries for failed logons.

Activities in the central XI system:

Determine the sending port from the IDoc control record of the IDoc. If the ID of the sending system has the value "ABC", the value of the sending port is "SAPABC". You will find the RFC destination used for the "SAPABC" sending port with the lowest client in Transaction IDX1. In Transaction SM59, you will find the RFC destination containing the maintained logon data .

User does not have the required authorizations

Activities in the sender system ABC:

In Transaction SM21, you will find entries relating to authorization problems and more exact details.

Contact your system administrator and, if necessary, assign the user the required roles in user administration.

IDoctyp/Cimtyp cannot be loaded

Activities in sender system ABC:

In the sender system, you can check your IDoc types in Transaction WE30 (IDoc type editor) Take note not only of the errors, but also of the warnings.

The most common errors are:

- IDoc type or segments not released

- Segments that no longer exist are listed in the IDoc type

- Data elements that do not exist in the DDIC are assigned to fields

in the segment.

Contact your system administrator and correct these errors in the IDoc type.

d) Error message: NO_EXEC_PERMISSION: "User" "Business_System"

Solution:

You created a list of users in the directory who are authorized to use the "Business_System". The user in the error message is not on the list.

Alternatively, the same error is used if you have created a sender agreement with a channel of the IDoc type for the "Business_System" and the interface used. The user in the error message is not contained in the list of all authorized users defined there.

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.

Regard's

Prabhakar.....

Former Member
0 Kudos

Hi Prabhakar Reddy

That is what i have done for my scenario with all the details u have given indetail

even i tested mapping also ...that is fine.

From T.Code: we19 i am able to send the idoc ...it is storing in SAP DB (we02/we05)...that is with green status outbound.

But T.code: sm58 ...i am able to see the error(It is not at all going to XI server)

Can u pls...help me more on this

Thanx

Rakesh

Former Member
0 Kudos

Hi All

Can any one help me on this because it is urgent Pls...

Thanx

Rakesh

Former Member
0 Kudos

Hi All

I have done the following things indetail

1) Created TS and BS based on the existing product and Software component

2) Source is SAP R/3 and Target is File server...that is my specification

3) According to the specification i have created objects in IR and tested mapping

4) Then i have gone to specific transactions on SAP R/3 like bd54,sm59,we21,we20

Tested connection is successful.

5) In XI also i created inbounded partner profiles in we20

6) Then in ID i got both the BS to the Objects and then added to my current Senario

7) Activated all the Objects.

😎 Then T.code: we19 started testing the Idoc to File Senario

9) What ever i mentioned Error that is shown in the T.code: sm58

but not gone to XI server

In brief that's all i have done

Can Any one explain me why i am getting error in sm58..what i have mentioned earlier

Thanx in advance

Rakesh

Former Member
0 Kudos

Rakesh,

Have you created the Port in IDX1 in XI server and IDX2 cache config? These are to be done in XI server.

Regards,

Jai Shankar

Former Member
0 Kudos

Hi

Yes...created port in idx1 and cache config in idx2

that port details given in while testing the Idoc in T.code: we19

Thanks

Rakesh

former_member181999
Contributor
0 Kudos

This blog find my very useful and I take a smart decision on XI MONI

Former Member
0 Kudos

Hi ,

First You have to create the business system assosiated to the client 300 of type web as ABAP in SLD.Use this business system to send the IDOC to XI.

Sekhar

Former Member
0 Kudos

Have you maintained the SLD configuration in R/3?

Use transaction SLDCHECK in R/3 this should open your SLD in a browser window and the status in the R/3 session should be green. Check this first.

Regards,

Jai Shankar

Former Member
0 Kudos

Hi

That is fine and it is in green state.(SLDCHECK)

For BS for SAP in SLD created ...with the same logical names

Testing connection also fine....

Thanks

Rakesh

Former Member
0 Kudos

Hi ,

Have you maintained seperate BS for client 300???

Sekhar

Former Member
0 Kudos

Hi

Yes...

Former Member
0 Kudos

Hi ,

You have to assign that BS to your scenario in ID.

Sekhar

Message was edited by:

sekhar dachepalli

Former Member
0 Kudos

Hi

The BS which ever created in SLD for Client 300(ABAP) with logical name

is assigned to my Scenario

Every thing is fine but still the same problem ....

Thanx

Rakesh

Former Member
0 Kudos

Can you try a complete cache refresh from SXI_CACHE?

Regards,

Jai Shankar

Former Member
0 Kudos

Hi

<u>I have done and checked but problem is same</u>

Thanx

Rakesh

Shabarish_Nair
Active Contributor
0 Kudos

Have you defined a BS for the R3 in the SLD?

In case you have defined the same, check if you are using the same in the conf. scenario you define in ID.