cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc to File Scenario

Former Member
0 Kudos

Hi,

Im doing an idoc to file scenario.How to trigger a newly created idoc.Instances of those doesnt exist in WE19.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

check this:

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&

cheers:)

Answers (3)

Answers (3)

Former Member
0 Kudos

HI

Steps

SAP R/3

R/3 to 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 (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.

XI to 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 (IDX1) ( Create port to get IDOC Meta data from sender system)

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) (To maintain IDOC Metadata, it is needed by XI because XI needs to construct IDOC-XML from IDOC. It is not needed by any sap system).

a) Create new

b) IDOC Message Type

c) Enter port created in IDX1.

refer the below links for furtehr assistance

ALE configuration for pushing idocs from SAP to XI

/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi

IDOC testing using WE19

/people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi

File To IDOC - Part1 (SLD and Design):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&

File To IDOC - Part2 (Configuration):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&

File To IDOC - Part3 (Steps required in XI and R3):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

cheers

reward points if found useful

Former Member
0 Kudos

Hi,

Go to transaction we19

enter the same IDoc Number

click on standard outbound processing

If u are testing it for first time..Give the basic type and execute

On the next screen put some test data

Selct the start outbound processing from tool bar.

Check the stauts in WE02 and note the IDOC number. Next time u can choose the existing idoc no and test it again.

Thanks

Vikranth

GabrielSagaya
Active Contributor
0 Kudos

1.go to transaction WE19, generate IDoc of the required message type

2.Give Receiver and Sender System Info and click on Continue and put some entry into the IDoc before you send.

3.click on Standard outbound processing button

4.Execute Transaction WE05 and enter correct date/time frame and logical message type check idoc status as 03

5.Log in to Xi system and execute transaction SXMB_MONI and check for the XML messages.

6.Check the destination directory, it should have file with the name specified