cancel
Showing results for 
Search instead for 
Did you mean: 

Sending IDoc to XI

prabhu_s2
Active Contributor
0 Kudos

Hi

I need some help on sending IDoc to XI. For example, i need to send CREMAS (Vendor) idoc whenever a vendor is created. How the idoc is reached to XI?

Can any of you send some helpful blogs on configuring one such scenario

Thkx

Prabhu

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

HI,

Have a look into this blog -if it is one idoc to file

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

Also go thru this-

For configuration purpose-

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38...

Regards,

moorthy

Former Member
0 Kudos

Please go thru this thread

Answers (5)

Answers (5)

prabhu_s2
Active Contributor
0 Kudos

Hi All

Reg: Idoc - XI - File

I was able to post Idoc from R/3 to my XI system by checking in the transaction WE02 in XI. The Idoc went for an error and i think it is because the idoc type is not created in XI system. I would like to get clarified on the following popint:

  • Is the same Idoc type needs to be created in XI box (provided it is a Z type)?

  • How my interface is triggered when the Idoc is created in XI system? I havent made any config for my interface to trigger.

Thkx

Former Member
0 Kudos

Hi Prabhu,

<b><i>* Is the same Idoc type needs to be created in XI box (provided it is a Z type)?</i></b>

No it need not be created in your XI box, All you need to do is import the Idoc from the R/3 system and do the required field mappings.

<b><i>* How my interface is triggered when the Idoc is created in XI system? I havent made any config for my interface to trigger.</i></b>

You will not be triggering the Idoc from the XI system, but u will be doing it from the R/3 System, you can test the Scenario by triggering the IDoc using we19 transaction in your R/3 system.

Just to clarify a few things...

Have you created all the objects in the Integration repository and have you done all the required configuraions in your Integration Directory...

And have you done the partner profile settings.....

If all this is done... once you trigger the Idoc all you need to see is if the file has been created in the folder or path specified by you.

Regards,

Abhy

Message was edited by: Abhy Thomas

prabhu_s2
Active Contributor
0 Kudos

Hi Abhy

Yes, i have done all the settings and the idoc is posted to xi. This i was able to ensure by cheking in the transaction we02 in xi. the idoc status was error and when i checked the status by cliking on the segment it throwed an error "Internal error occurred reading structure of segment 'ZC1CHR000' ".

Yes i have done the mapping by importing the idoc to my IR also.

And i have one more question. Does all the interface sharing the same idoc will be activated when an idoc is psoted to the xi box?

kindly let me know

reg: Prabhu

prabhu_s2
Active Contributor
0 Kudos

Hi Abhy

Yes, i have done all the settings and the idoc is posted to xi. This i was able to ensure by cheking in the transaction we02 in xi. the idoc status was error and when i checked the status by cliking on the segment it throwed an error "Internal error occurred reading structure of segment 'ZC1CHR000' ".

Yes i have done the mapping by importing the idoc to my IR also.

And i have one more question. Does all the interface sharing the same idoc will be activated when an idoc is psoted to the xi box?

kindly let me know

reg: Prabhu

Former Member
0 Kudos

Hi Prabhu,

Go to Tcode : WE19 in SAP R/3 system and enter the IDOC number just check the IDOC Synatax is correct..i think problem with your IDOC itself only.

Using your IDOC created the Test IDOC in we19 and see IDOC is creating the successfully or not.

Regards,

Venu.

prabhu_s2
Active Contributor
0 Kudos

Hi

I'm able to post the Idoc to my XI system but now there is a different kind of error i face. The monitoring shows the error category as "RCVR_DETERMINATION" and the error id is "NO_RECEIVER_CASE_ASYNC".

I have created a multimapping and in the interface determination the type i have selected is 'enhanced'. When i select it i'm able to select my mapping prgm as well. i have created the reciver agreement and communication channel also.

Kindly let me know the fix if any of you have faced similar issue.

Thkx

moorthy
Active Contributor
0 Kudos

Hi,

Why multimapping here ? What all the Reciver Adapters used ?

BTW the error is because of incorerct Message Interface/Service used during runtime.

So check SXMB_MONI for sender and Reciever Message Interface as well as Sender and Receiver Services used. is this matches with your Configuration ie Reciever/interface determination ? check this.

Also refresh the cache in the SXI_CACHE and in the IntegratioN builder->Administration->Cache Overview->Repository/Directory/runtime do the full cache refresh.

Hope this helps,

Regards,Moorthy

prabhu_s2
Active Contributor
0 Kudos

Hi Moorthy

Thanks for the reply. My scenario is Idoc to File and kindly excuse me if i had mentioned anywhere in the prev thread for file to idoc. the issue is resolved as there was an error in the profiles in declarding the extended type.

Now iam able to psot the idoc to my file without any errors.

Regards

Prabhu S

former_member184619
Active Contributor
0 Kudos

Hi Prabhu,

just check this blog..

Configuration steps required for posting idoc's

/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

Regards

-


Sachin Dhingra

Former Member
0 Kudos

Hi Prabhu,

SLD-

1) Create a Product/Software Component

2) Technical System pointing to R/3 system

3) Business System for the above technical system

In the Repository

1) Import the Software component created in the sld

2) Create a namespace,

3) import the idoc and then create sender data type/message type etc and mapping

4) Mapping Rules is depends on the requirement

In the Directory

1) Create a Scenario /import the business system

2) Create Receiver/Interface determination

3) Create communication channels for sender and receiver

4) Sender Agreeement and Receiver Agreement.

XI:

1. SM 59 - Create RFC destination pointing to R3.

2. IDX1 - Create a port for R3

3. IDX2 - Import IDOC metadata.

if you have any other doubts regarding IDOC-XI-FILE scenario, please go through the information below and clear all your doubts.

While doing an IDOC -> XI -> File scenario, The Points to noted are:

1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.

2. You import the IDOC and use the same in your mapping.

3. In this configuration note that you don’t have a sender agreement as you don’t have a sender IDOC adapter.

If it is that you wanted to send an IDOC from XI (File to IDOC) , then in this case:

points 1 and 2 will remain, but the 3 will not. You will need a sender agreement for the file and a receiver agreement for the IDOC.

IDOC -> File scenario ref:

<a href="/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters scenario</a>

File -> IDOC ref:

<a href="/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping to IDOC</a>

To be able to trigger your IDOC from the SAP ISU system, you will have to set the partner profile in we20. Select your Business System (mostly under Logical system) and then create Outbound entries for whichever IDOC you want to trigger.

You define your basic type also in your partner profile settings, Please go thru the following links to get a better idea about partner profile:

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b833243d711d1893e0000e8323c4f/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7cd343d711d1893e0000e8323c4f/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/32/692037b1f10709e10000009b38f839/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/5e/b8f8bf356dc84096e4fedc2cd71426/frameset.htm

Also, I would suggest that you go through this blog by michal if any issue arises,

/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system

/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions

Regards,

Abhy

prabhu_s2
Active Contributor
0 Kudos

Thks for your replies. I'll check n let you know on this.

Former Member
0 Kudos

Hi,

set of configurations to be done:

In SAP R/3 system

1. Create Logical system for the R/3 client.

2. Create RFC destination pointing to SAP XI system

3. Create port using the RFC destiantion created above

4. Partner profile config in We20

In SAP XI

1. Create RFC destiantion pointing to SAP R/3

2. Create Port in IDX1 using above SAP R/3

Regards

Vijaya

Former Member
0 Kudos

Hi,

1. create rfc destination of type R3 in your SAP system through thr transaction SM59.

2.In the SAP system create Port using transaction WE21 and specified the above created RFC destination there.

3.Create partner profile using transaction WE20, and specify the IDOC to be send in the outbound side.The partner profile name should match the logical sys name as given in the dapter specific identifiers of ur XI.

4. you should aslo register the SAP system thru transaction SALE or BD54

regards,

Rahul