Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Test tool for IDOC processing issue

Former Member
0 Likes
718

Hi

I am doing a IDOC to File Scenario

Please clarify me

The RFC destination and Port which I have created in ECC I am getting the same in the "Edit Control Record Fields Receiver Tab"

But

The RFC destination and Port I have created in XI is not appearing in the "Edit Control Record Fields Sender Tab" (when I pressF4)

where I should have to check for this errors.

Please check this link

http://www.flickr.com/photos/33169400@N05/3097589223/

thanks

manian

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
692

Manian,

In the IDoc to file scenario, you have to use File port. Not the tRFC port. First create a file port in we21. There you have to mention the destination directory, where all your IDoc files will go.

In the control record.

Give the file port name.

Enter LS name.

Try this.

Creasy Matt

6 REPLIES 6
Read only

Former Member
0 Likes
693

Manian,

In the IDoc to file scenario, you have to use File port. Not the tRFC port. First create a file port in we21. There you have to mention the destination directory, where all your IDoc files will go.

In the control record.

Give the file port name.

Enter LS name.

Try this.

Creasy Matt

Read only

0 Likes
692

Thanks Creasy for your reply

Actually I am following the below link.

Pls refer Step4 Page 6. He has selected tRFC

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/soa-middleware/soa...

thanks

manian

Read only

0 Likes
692

Hi

But you can select file option .

There are various type of ports avaialble :

Like tRFC

File etc .

So in your case you ca nuse File option for port while creating the port through tcode WE21.

Neha

Edited by: Neha Shukla on Dec 10, 2008 10:55 PM

Read only

0 Likes
692

One simple reason that i want to explain is, tRFC port is used when you want to transmit the data in memory packets. File port is used when you want to transmit the data in files.

So in your case, the ideal option would be using File Port.

Regards,

Creasy Matt

Read only

0 Likes
692

Thanks Creasy for your reply.

But out of curious I am asking since the Author had done it successfully with tRFC port.

I dont know where i am stuck with.

Where I need to check these type of issues come up when I am using tRFC.

Any help Please

Thanks

manian

Read only

0 Likes
692

I got your problem.

Always the sender port will be SAPXXX.

XXX is the 3 character system ID.

if your system ID is SID. then your sender port will be SAPSID.

Receiver Port: The RFC port that you have created.

Partner No: Receiver Logical System

Partner Type: LS

Sender Port: SAPXXX "XXX is your SAP system ID

Partner No: Sender Logical System

Partner Type: LS

Try this. It will solve your problem.

Regards,

Creasy Matt