cancel
Showing results for 
Search instead for 
Did you mean: 

Naming Convention in the Communication Channel

Former Member
0 Kudos

Hi All.

I have done a FILE->PI->RFC Sync scenerio .

Here I created 2 File Communication Channels and 1 RFC Communication Channel.

Actually, 1 File Communication channel is sender while the other one is receiver.

My question is that can I mention the same file name in both the File , that is, Sender as well as Receiver Communication Channel or do I need to change theri names?

If so, then what will happen if I mention the same File names?

Please help me.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

the naming convention is used to provide a standard across the environment.

In your case even if u give the same names the scenario will work since one is a sender adapter and another a receiver.

but as a standard use specific naming conventions - ref: http://www.sdn.sap.com/irj/sdn/index;jsessionid=(J2EE3417500)ID0120244050DB10857941193589336717End?r...

Former Member
0 Kudos

Hi Shabarish,

Thanks for the reply.

In your case even if u give the same names the scenario will work since one is a sender adapter and another a receiver.

Means , if I give the same names then it wont affect.Is it?

Thanks in advance.

Shabarish_Nair
Active Contributor
0 Kudos

regarding the file names, it wouldnt affect until they are in different folders. else if they are in the same folder, as mentioned earlier, use the time stamp option

Former Member
0 Kudos

Hi Shabarish,

Means, if I need to avoid Time Stamping then I should put those files in the different folders , is it?

Also, I am referring the below scenerio

[https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29]

In theis scenerio, in the step 3 wherein the Modules are inserted in the Sender File Communication Channel, is it necessary to insert those modules if my scenerio is very much similar to the scenerio mentioned here?

Thanks in advance.

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi Shabarish,

>

> Means, if I need to avoid Time Stamping then I should put those files in the different folders , is it?

>

> Also, I am referring the below scenerio

>

> [https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29]

>

> In theis scenerio, in the step 3 wherein the Modules are inserted in the Sender File Communication Channel, is it necessary to insert those modules if my scenerio is very much similar to the scenerio mentioned here?

>

> Thanks in advance.

yes to avoid timestamp option its better to have these files in different folders

in your case you can do the scenario with a BPM or without a BPM

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - with bpm

https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29 - without bpm, for this you sud be on SP>=SP19(XI3.0) & SP>=SPs10(PI7.0)

Former Member
0 Kudos

you have those modules as you are calling synchronous RFC which will return the response to your RFC if RFC wont return repsonse then you dont need to add those modules to the sender Channel

Rajesh

Former Member
0 Kudos

Hi Shabarish,

Thanks for the reply.

yes to avoid timestamp option its better to have these files in different folders

in your case you can do the scenario with a BPM or without a BPM

I am doing it without BPM.Also, if I mention the different File names ,I can avoid Timestamping , is it?

https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29 - without bpm, for this you sud be on SP>=SP19(XI3.0) & SP>=SPs10(PI7.0)

I am working PI 7.1. So do I need to mention the modules in the Sender File Communication Channel or can I skip it?

If I need to skip it then what else can be used instead?

Thanks in advance.

Former Member
0 Kudos

Hi Rajesh,

Thanks for the reply.

you have those modules as you are calling synchronous RFC which will return the response to your RFC if RFC wont return repsonse then you dont need to add those modules to the sender Channel

In the same order mentioned or order can be changed?

Thanks in advance.

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi Shabarish,

>

> Thanks for the reply.

>

>

>

yes to avoid timestamp option its better to have these files in different folders
> 
> in your case you can do the scenario with a BPM or without a BPM

>

> I am doing it without BPM.Also, if I mention the different File names ,I can avoid Timestamping , is it?

true

>

https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29 - without bpm, for this you sud be on SP>=SP19(XI3.0) & SP>=SPs10(PI7.0)

>

> I am working PI 7.1. So do I need to mention the modules in the Sender File Communication Channel or can I skip it?

>

> If I need to skip it then what else can be used instead?

>

> Thanks in advance.

you can use the modules in 7.1 since it is available in 7.1 by default

Former Member
0 Kudos

You need to use the same order as specified

Even if you are using PI 7.1 you need to use the same modules.

If you want to use different filenames then no need to provide timestamp

timestamp is additonal option provided in case need to know the time at which the file has created also if you have more number of files getting created

for the process at the same time..

Hope this clears all your queries

Rajesh

Answers (2)

Answers (2)

Former Member
0 Kudos

answered

Former Member
0 Kudos

Hello Shweta,

There are lot of factors you need to consider whil giving the same filename in both channels

those are NFS/FTP server and directory paths...

if they are different then i dont think the same file name will create a problem for your scenario..

otherwise you can always add the timestamp option available in receiver channel ,even if the file names and path are to be in same directories of same server

Rajesh

Former Member
0 Kudos

Hi Rajesh,

Thanks for the reply.

those are NFS/FTP server and directory paths...

if they are different then i dont think the same file name will create a problem for your scenario..

otherwise you can always add the timestamp option available in receiver channel ,even if the file names and path are to be in same directories of same server

Those are not the FTP Servers, so what can I do?

Also, can you please explain Timestaming Option ?

Thanks in advance

Former Member
0 Kudos

You mean you are using NFS File Path for storing the output file as well as for picking the file

http://help.sap.com/saphelp_nw70/helpdata/en/c9/775b3b82646c3ae10000000a114084/frameset.htm

check the link provided above and check the section processing Tab Page Processing paramters

where you can see the below options in your receiver adapter channel

1. Create

2. Append

3. TimeStamp

choose the option addTimeStamp in that

Rajesh

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi Rajesh,

>

> Thanks for the reply.

>

>

>

those are NFS/FTP server and directory paths...
> 
> if they are different then i dont think the same file name will create a problem for your scenario..
> 
> otherwise you can always add the timestamp option available in receiver channel ,even if the file names and path are to be in same directories of same server

>

> Those are not the FTP Servers, so what can I do?

>

> Also, can you please explain Timestaming Option ?

>

> Thanks in advance

timestamp option is available in your communication channel (file receiver). You can also use the message ID option (PI 7.1)

http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/6830e67f2a6d12e10000000a1553f6/content.htm -> ref: Define Processing Parameters