on 08-23-2010 9:49 AM
Hi Experts,
Our SAP system backup works on every Sunday, till Monday morning, so right now I am using Avalability Time Planning to start and stop the channels for such requirement. But one issue is there, if SAP system comes up late on Monday ie after scheduled time, but XI channles start then many messages stuck in queue. And I am supposed to clear it manually. All the channels also error out.
Is there any way to stop such manual work. Can we synchronize SAP system and XI channels ? Please provide your suggestions.
Regards,
Nutan
Finally it got resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use or schedule report RSARFCEX and RSQIWKEX to help you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friends,
I got a solution for this issue: External controlling of channels. But for that I need to create a HTTP request sent to the url:
http(s)://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=action
In my case, R/3 system goes down after a script runs. So, I want to design the interface in such a way that, when the script runs to stop the R/3 system, then through an Abap program the above url to be called. But I am not getting how to do that. Please provide me suggestion.
Regards,
Nutan
Hi Friends,
As per my previous solution, it wont be possible because as sap system shut down script starts Abap stack will also go down. So, can it be possible to generate http request through unix script and take external control on channels. Please suggest if you are aware of any sample script in unix for generating http request.
Regards
Nutan
>> So, can it be possible to generate http request through unix script and take external control on channels. Please suggest if you are aware of any sample script in unix for generating http request.
Yes, it is possible. Use Wget command in the unix script.
Example:
wget http(s)://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=action
where action is start or stop
Hope that helps.
Hi,
I tried to use wget command, but it was failed because it required few ports to be open. Now it's resolved by using the below details:
#!/usr/bin/python
import base64
import urllib2
encodedstring = base64.encodestring("username:password")[:-1]
auth = "Basic %s" % encodedstring
req = urllib2.Request("http(s)://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=action", None, {"Authorization": auth })
handle = urllib2.urlopen(req)
result = handle.read()
open("output.html","w").write(result) # write to output.html
I used the above script. It worked fine. This script is scheduled on every weekend so, that when the SAP system goes down this will be invoked and it will stop the vhannel or start, as per the request.
Thanks for the help.
Regards,
Nutan
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.