on 03-10-2011 5:34 PM
Hi All,
Is there a way to control adapter availability dynamically.
Requirement - My scenrio is IDOC to file. SAP ECC will generate multiple IDOCS and will send them to PI as different messages. SAP PI once all the data is written in a file will send the file to receiver system.
As per my design, SAP PI will write the data to a temporaray file. Once the the file written, Another channel will pick that file and send it to receiver system. I want this second channel to get activated dynamically once the file is written in temporary location.
Is this possible? Also let me know if above requirement can be fullfilled by some other way.
Thanks
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>Is there a way to control adapter availability dynamically.
>>Requirement - My scenrio is IDOC to file. SAP ECC will generate multiple IDOCS and will send them to PI as different >>messages. SAP PI once all the data is written in a file will send the file to receiver system.
>>As per my design, SAP PI will write the data to a temporaray file. Once the the file written, Another channel will pick that file >>and send it to receiver system. I want this second channel to get activated dynamically once the file is written in temporary >>location.
>>Is this possible? Also let me know if above requirement can be fullfilled by some other way.
You can create two scenarios.
First scenario collect all IDOCs and write as one file on the receiver system.
See this [link|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14425] [original link is broken] [original link is broken] [original link is broken]; .This might be helpful
second scenario: Just File transfer from one place to other FILE TO FILE (only ID objects needs to be created)
for [second scenario|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4383] [original link is broken] [original link is broken] [original link is broken]; see this link.
Create Unix script something similar ...
Step 1: check the file available (file that is created by first scenario)
Step 2: http(s)://nspad271.pal.sap.corp:50000/AdapterFramework/ChannelAdminServlet?party=&service=BLService&channel=*&action=start
Step 3 wait for 2 mins (sometime like command sleep 120)
Step 4: Check the file transfer occured in the reciever side
Step 5: http(s)://nspad271.pal.sap.corp:50000/AdapterFramework/ChannelAdminServlet?party=&service=BLService&channel=*&action=stop
Note: This link will be helpful for starting and stopping the command (same link from previous reply )
/people/william.li/blog/2007/05/04/control-communication-channels-externally-without-using-rwb
Use wget http://.. command in the script
Edited by: Baskar Gopal on Mar 10, 2011 1:28 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can control the file adapter (or any adapter in the java stack) with HTTP Requests:
/people/william.li/blog/2007/05/04/control-communication-channels-externally-without-using-rwb
So you may write an UDF or Adapter Module in your first transfer that starts/stops the other channel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.