cancel
Showing results for 
Search instead for 
Did you mean: 

SM 58 error while posting IDOC

bhavesh_kantilal
Active Contributor
0 Kudos
124

Hi all,

While posting an idoc from my r3 system, it says that IDOC sent to external system.

When I check in we02/we05, it shows the status 03. But, the IDOC does not reach XI and , I am getting an error in SM 58 stating "<b> METADATA EDISDEF FOR PORT <myportno> , IDOCTYPE and CIM do not.. "</b>

I have done all the requsite configuration for posting an IDOC needed on the R3 side and also in XI.

Any info on what this error implies and what should be done will be helpful.

Regards,

Bhavesh

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi Bhavesh,

i suppose, xi couldn't load IDOC meta data to XI. You can control that in TA IDX2. The Reason is may be the connection between <b>XI and R/3</b>. The check does not work fine. Better switch the given user in TA SU01 to dialog user and try a remote login. If that is possible, your connection is working. Later switch the user back to service user. May be, you can find out the reason as well in XI TA SM21.

Regards,

Udo

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Udo / Michal,

I have imported the meta data in IDX2. Just deleted the same and tried again, but still facing the same problem.

I also check the connectivity between r3 and Xi by trying a remote login from we21 and it is working fine.

Any other ideas guys??

Regards,

Bhavesh

MichalKrawczyk
Active Contributor
0 Kudos

hi,

have a look at this note: 837595

IDoc adapter metadata EDISDEF not maintained

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Udo,

I ve never used SM21. Can you just let me know what this transaction is used for and what should i look for in this transaction.??

There are many statements in this transaction and so, making sense out of it without knowing what I am looking for is a bit difficult

Regards,

Bhavesh

udo_martens
Active Contributor
0 Kudos

Hi Bavesh,

my idea was to test between XI and R/3 (because XI may be cant load metadata). But if you have loaded them manually i dont expect success...

Do other IDocs run from R/3 to XI?

Regards,

Udo

udo_martens
Active Contributor
0 Kudos

Yes Michal, that note looks quite good...

Regards,

Udo

udo_martens
Active Contributor
0 Kudos

Hi Bavesh,

you can read SysLog: so for example failed system calls and so on. If strange things happen, it s always a good idea to search a little bit in this transaction (as well in ST22).

Regards,

Udo

MichalKrawczyk
Active Contributor
0 Kudos

just wanted to post the description of it:)

Regards,

michal

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Bahvesh,

Have you double check the assigned roles to the users? In XI side has to have the role SAP_XI_APPL_SERV_USER. In R/3 must have the role to execute the function modules from group IDXN. We careful!

In the guide they suggest to use a role called SAP_XI_IS_SERV_USER but it doesn't include the function module IDXN so you have to create a Z role including this one.

Might be also wrong passwords or users locked.

hope it helps,

David R

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Guys,

I ll look into the points mentioned by you guys and get back with the soltuion if i find it

Regards,

Bhavesh

Former Member
0 Kudos

Dear Bhavesh,

I also got the same problem few days back. But now I resolved it .

From your queries it seems that there is an tRFC Error.

Therefore I will suggest the following:

1) check sm 58 in your SAP

2) Manual way: select your error list and follow the path edit-> execute LUWs

3) Automatic way : Execute program RSARFCEX .

Hope this will solve your problem.

<b>If it solves don't forget to give points.</b>

Regards

Prabhat

udo_martens
Active Contributor
0 Kudos

Hi Prabhat,

restarting failed messages should solve a problem?

Regards,

Udo

bhavesh_kantilal
Active Contributor
0 Kudos

Hi all,

The problem was solved once the note was implemented.

Thanks for that input michal..!!

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Please go thru this thread

cheers,

prashanth

MichalKrawczyk
Active Contributor
0 Kudos

hi,

did you load metadata in IDX2 for your idoc?

Regards,

michal