on 03-27-2007 8:08 AM
Hello experts,
1. In a file to idoc scenario,the file adapter has to pick 2 files from the same input directory one after the other.how is it possible?
2.In a file to idoc scenario,If there are 2 input folders,and depending on the details like plant no...the adapter has to pick the file n post it to the intended reciever.I'll explain the scenario in brief...here are the plant 1000 and plant 2000 details.If the plant no is 1000 the records should be posted to SAP1 reciever and if the plant no is 2000,the records should be posted to SAP2 reciever.How and where do we specify the condition? pls help me on this asap..
regards
Jay.
> Hello experts,
> 1. In a file to idoc
> scenario,the file adapter has to pick 2 files from
> the same input directory one after the other.how is
> it possible?
You can use Wildcard characters in the filename in the Sender File adapter or, you can give multiple filenames in the Additional Files section,
http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
To ensure that they are processed sequenetialy, select the QOS as EOIO and give the QueueName as any name you want.
> 2.In a file to idoc scenario,If there are 2 input
> folders,and depending on the details like plant
> no...the adapter has to pick the file n post it to
> the intended reciever.I'll explain the scenario in
> brief...here are the plant 1000 and plant 2000
> details.If the plant no is 1000 the records should be
> posted to SAP1 reciever and if the plant no is
> 2000,the records should be posted to SAP2
> reciever.How and where do we specify the condition?
You can use Conditional Receievr Determination. In the receievr determination you can give the condition on which the receievrs are to be choosen.
this can be on the payload content or on the SOAP header fields like filename, directory etc.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
For 1--> Try using exclusion mask (dont give any source directory and file just give as XYZ)
Does the files start with same prefix? if then just give as A*.xml
For 2--> Just give the conditions in the Receiver determination(configured receivers) for both receivers
Hope this will help you
Regards,
sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Check the Sender file adapter configuration.
did you specify the file name any thing * like and check the poll interval and processing mode.
or 2 input folders see the below link
Weblogs 1888,1895
Regards
Chilla
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.