cancel
Showing results for 
Search instead for 
Did you mean: 

Run Sender Communication channel for every 4Hrs

Former Member
0 Kudos

Dear all,

I have requirement to schedule sender CC in production for every 4hrs.

We have option called daily but not hourly !!!

Is it possible to schedule sender CC like this for every 4hrs??

Note: For Some reasons i can't increase the polling to 4hrs in sender channel to solve this issue

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

brian_luo
Participant
0 Kudos

Hi Bhavana,

there is a stupid method.you can create 7 entries of daily type and make every entry's start time arinterval 4 hours via the availability time planning, example entry 1's start time is 00:00:00, entry 2's start time is 04:00:00, entry3's start time is 08:00:00...

finally you need to creat 7 entries in the availability time planning.

thx.

regards,

brian

Former Member
0 Kudos

Puneet,

Because this sender channel has to be in sync with SAP ECC Job. ECC Job runs every 4 hrs and create files, XI has to take these files to do further process.

If i go with polling interval for 4hrs option, in case my XI system is down, this sync will be lost.

Thats why i dont want to go for that.

@Brian: This is not looks good option for me.

Regards

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Bhavana,

Found a solution. Create a unix script and run the command to start and stop the communication channel as per your requirement.

Below is the syntax. You can try using wget command or curl in unix followed by the below command

http(s)://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=action

wget http(s)://...

or

curl http(s)://...

check this link

/people/william.li/blog/2007/05/04/control-communication-channels-externally-without-using-rwb

former_member181962
Active Contributor
0 Kudos

Hi Bhavana,

Why do you need to create a file for PI to pick?

Instead have an ABAP proxy created so that SAP and ABAP are in sync.

Best Regards,

Ravikanth Talagana

Former Member
0 Kudos

Use the Time Availability Planning for the communication channels, to allow each channel to start and stop in the required time (each 4 hours, for example)

http://help.sap.com/saphelp_nwpi71/helpdata/en/46/ad6cfeb5492a86e10000000a1553f6/frameset.htm

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Set polling interval 14400 secs (60 * 60 * 4) in file sender communication channel.... That is every 4 hour, polling will start.

Former Member
0 Kudos

baskar,

As i mentioned above with Note, i can't go for that option for some reason.

@Lucas: I know that we have the option to start & stop channels for every day/weekly/Monthly. But i couldn't able to see for hourly.

My issue is i want to start and stop my sender CC for every 4hrs.

Regards

Former Member
0 Kudos

Ok, then unfortunately I guess you'd need to stick with the Java API of the Integration Directory, and activate/deactivate the objects using an external Java application.

http://help.sap.com/saphelp_nw04/helpdata/en/46/6dca42e5c269dfe10000000a11466f/frameset.htm

Otherwise configuring the polling interval. Or try a workaround adapter-specific. For example, if it is a File adapter, have a script to move the files every 4 hours, and maintain the sender file regularly.

Former Member
0 Kudos

Just to schedule a sender CC for every 4hrs you want me to go for JAVA API and all means it's making me to think about that option.

Still Why SAP didn't come up with these small small kind of updates i don't know

Customer is feeling so bad about these small things !!

Regards

Former Member
0 Kudos

Hi Bhavana,

Just want to ask why dont you try the method suggested by Gopal:

Set polling interval 14400 secs (60 * 60 * 4) in file sender communication channel.... That is every 4 hour, polling will start.

It looks pretty decent and thats what used for polling more often then daily (else we go for Availability time planning).