cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Test Idoc to File scenario

vikas_agarwal
Contributor
0 Kudos

Hi All,

I am doing Idoc to file scenario.But dont know how to test this scenario.

I have done all the configuration in Backend and XIServer system.

Please help me out.

Thanks in Advance.

Regards,

Vikas

Accepted Solutions (0)

Answers (3)

Answers (3)

santhosh_kumarv
Active Contributor
0 Kudos

HI

Chech that these steps have been done

SAP R/3

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (We21)

a) First Select Transactional RFC and then click create button

b) Enter the destination port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Create Partner Profile (WE20)

a) Create New

b) Create the Partner no. name as same the logical system name of the destination system.

c) Select Partner type LS

d) Enter details for Type: US/USER, Agent, and Lang.

e) Click on the + button to select the message type.

f) Select Partner no. and LS which ever create above.

g) Select Message type

h) Select Process code related to the Message type.

I) save.

One these are done

1) U can trigger the the IDOC by scheduled job in BD87 immediately after the document is saved in R/3

2) Using transactions like bd10 and bd12 u can trigger IDOC for master data

3) While creating the partner profile there is a option “trigger immediately” . By enabling this option the idoc gets triggered.

4) Using the transaction WE19 u can trigger the IDOC mannually

Regards

Santhosh

prateek
Active Contributor
0 Kudos

Send an idoc from sender R3 system.

U may use transaction we19 in R3. Provide necessary details there. If ALE settings r proper it would display message like idoc sent successfully.

Then go to XI system, in tcode sxmb_moni, the message should be with checked flag.

Then at the file server, a file must get created

Regards,

Prateek

Former Member
0 Kudos

Hi,

Plz push IDOC from WE19 (BACKEND) and check IDX5 & SXMB_MONI for the result.

Thanks & Regards

vikas_agarwal
Contributor
0 Kudos

Hi Vijaya,

In we19 after selecting my message type, when clicking on Standard Outbound Proceesing,

It is displaying "Port doesnot exist in the table of port description "

Thanks

Regards,

Vikas

prateek
Active Contributor
0 Kudos

Create port in we21 both for sender R3 and for XI. Assign the respective RFC Destination to these ports.

Regards,

Prateek

santhosh_kumarv
Active Contributor
0 Kudos

Hi Vikash

In the previous reply i have specified the configuration steps that has to be done in R/3.

Also check that these configurations have been done in XI

SAP XI

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (IDX1)

a) Select create new button

b) Enter the port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Load Meta Data for IDOC (IDX2)

a) Create new

b) IDOC Message Type

c) Enter port created in IDX1.

Source : <a href="https://www.sdn.sap.com">SDN.SAP</a>

Regards

Santhosh

Former Member
0 Kudos

Hi,

Create the port as specified by Prateek and also check whether all your settings are correct or not as per Santhosh list.

regards

vikas_agarwal
Contributor
0 Kudos

Hi Santhosh...

Thanks for step-to-step procedure. I have checked all these things they are all as you have written..

Now, in tcode BD87 after selecting my message, then in " Data passed to port OK" idoc status 03 nad color is also green..

Does it means that Idoc has gone to XI system????

Thanks

Regards

Vikas

Former Member
0 Kudos

Hi Vikas,

On R/3 System run transaction SM58, you will come to know the status of the IDoc, whether processed or not.

Regards,

Ramesh P