Dynamic File Adapter status - Active or Inactive
Hi Experts
Is there any way to set the Sender/ Receiver File adapter status dynamically to inactive or active.
Is there any setting exists in the file adapters ? Please provide me possible solutions.
Thanks
Faheem
Hi all,
Many thnz for the response.
There is one more way of doing this as well. Just now i found that.
In the runtime workbench - Communication channel monitoring , Select the automatic control for the comminucation channel to make active or inactive .
there are options for our comm channel to run specfic date and time.
Thnz
Faheem
Similar Messages
-
Hi.
I have a frustrating problem. I set up a sender file adapter.However even after activating the adapter it does not show up in the adapter monitor.I can see a entry for file but no lights(Green or Red).The XI file adapter service is activated in the j2ee administration tool.
Running XI sp9.
Any ideas where to go look next.check out question 3 in the adapter section:
/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
this will solve your problem
Regards,
michal -
Poll a folder dynamically file adapter
Hi
I have 2 requirements:
1. I want to poll a folder using file adapter for all the files in it. How to achieve this ? Can I use *.*. but the dev guide explicitly disapproves of it so what else to do.
2. On a more advance note. I want to change the folder to be read from dynamically. This way I want to poll different folders using a single file adapter.
Thanks1 you should be able to use *.* to just process all the files in the folder
i'm not sure how to make the directory dynamic, since this is the start of your process, so there isn't some other trigger moment what can set the directory to either a or b
i think you should be able to set it on runtime from the console with some like this :
http://eelzinga.wordpress.com/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
only that's for preference so i can imagine there will also be some setting the the jca directory property.
or you could create a directory myfile, and in this put both folder a and folder b
http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10226/bc_config.htm#SOAAG3684
33.1.2.3 Oracle File Adapter
Recursive
then with the file adapter you can use the recursive property to process all the files in the subfolder -
Iam using File adapter(FTP) at source.
Could not see mesage id in communication chaneel monitoring
also MONI shows no messages to display.
What cud be the issue??
Any thoughts please.I have tried changing from Test mode to Archive and specified the locatio,
still same problem
no msgId in Communication Channel Monitoring, no msgs to display in MONI.
this is my record structure
it is csv file no header,no trailer
it ia having just these values
AB11111,0123456789
AB11112,0123456768
mt Datatype looks like
DT_xxx
LLLL (I just put his as Record Set Name in DT)
userid
extension
Iam FTP with FCC
DocumentName mt_xxx
Document Namespace http://abcd/def
Record setStructure LLLL,*
Record Sequence Ascending
ignoreRecordSetName true
LLLL.fieldNames userid,extension
LLLL.fieldSeperator ,
LLLL.fieldFixedLengths 8,10
Under Processingtab,
File Transfer mode Text
Plloing Interval ETC
Under Source
Username, pwd,Connectmode Text -
File adapter read activity.
Hi,
is it possible to make the file adapter to look for specific files and ignore others in the same directory or do you have to write a web service for that? I want the file adapter to poll for certain files only.
Best Regards
JohanHi Johan,
In the Adapter Configuration Wizard its already providing the setting
You can found the setting as following
File Adapter > Operation Type (Read File) > Step 5 of 7 (File Filtering)
This step allows you to specify the file name pattern of both include and exclude files
Notice: I am using JDeveloper 10g
Wish helpful to you
Roy -
Table to check status(active or inactive) of objects?
Hi All,
what is the table name, which contains the status of objects.
I want to check all the objects(pgms, tables, classes, FM etc) of server, if they are active or not?
Thanks
santosh.Hi santosh,
There is NO ONE Table
which will get u all the info.
1. REPOSRC
For programs, above is the tablename.
R3STATE is the field for status.
Note :
If a program is in ACTIVE state first,
and then inactive (due to some modifications)
, then this table will contain TWO entries for it.
a) A = active
b) I = inactive
2. Same Table for FUNCTION MODULES.
In the case of FM,
u will have to check the INCLUDE name
for the corresponding FM.
eg. ZAM_FG01 = function gruop
ZAM_F06 = Function Name.
LZAM_FG01U02 = include name for this FM.
(it can be 02, 03, 01 etc.)
3. For Tables : DD02L
field name = AS4LOCAL
(There will more than 1 record, if table is in inactivated state)
A Entry was activated or generated in this form
L Lock entry (first N version)
N Entry was edited, but not activated
S Previously active entry, backup copy
T Tempory version when editing
4. *----
SVRS_GET_OBJECT_STATE
We can also use the above FM.
for the field object type, the following is necessary !
Program : REPS
table = TABU
regards,
amit m. -
Dynamic File adapter configuration
Hi All,
Is it possible in XI give source directory dynamically?
If I move my XI development objects into quality or production, there would not be the same directories available. So we need to modify the source directory name again?
Could anyone clarify these issues?
Thanks,
Venu.Hi Venu..
It's possible to give source directory a dynamic name..
Just type %directoryname% in the source path..
and in the adapter paramaters (variable substution) access the value dynamically..
Ex:
variable
directoryname
Refernce:
payload:messagetype,level,.........etc
Regards..
Satya.. -
Change status(Active/Inactive) of file adapter by the external command
Hi, all.
Is it possible to change status(Active/Inactive) of file adapter by the external command?
Let's say, like
"$ switch_file_adapter_status.sh <File Adapter name> <active|inactive>"
or something like that.
Actually, we have the following requirement for the file adapter.
For example, we have many "file adapter to R/3" scenarios and we only want to allow data transfer between 9:00 a.m. to 9:00 p.m.(R/3 service time).
In order to achieve this requirement, one option would be to switch file adapter status between active and inactive by external command line.
And this command will be controlled by the job scheduler(like Tivoli).
Does XI(3.0 or above) have this kind of feature?
Best Regards.Hi,
I don't think that this is possible.
But one Solution for your problem could be a job on xi who execute the Queue.
So that Adapter work the hole time and send the Message to XI Queue which process them not automatically.
And the XI Queue you can trigger with a Job like normal R/3 Jobs.
Hope that helps,
Regards,
Robin -
File Adapter Sender - Does XI support Active connection mode?
Does the file adapter support Active connection mode?
What do you mean by this? R u talking about FTP connections?
VJ -
Sender File Adapter Not Picking Any File
Dear Expert,
I am newbie in PI. Just tried to create File Content Conversion Scenario. Details as follow :
1. Source Directory ..\file\log\test_q.txt
2. Target Directory ..\file\log\xml\test_q.xml
Transport Protocol : NFS
Message Protocol : File Content Conversion
Adapter Engine : Integration Engine
I have completed all the design and configuration in IR and ID. However, when I produce the log file in the directory, nothing happen.
Hacing checked in the RWB as well, I could not find any clue. simply nothing happen.
Would you please advise me on how to trigger the interface? As per my understanding, sender file adapter will be activated directly once the file is created.
Thank you very much in advance.
Best Regards,
YHi Yonisiwa,
Things you should check here are:
1) If the sender file adapter is active or not.
2) If the source directory is correctly spelt or not. (Check if you are using the correct slash \ or /)
3) The file name/mask is correct or not.
4) The polling interval is too long.
Alternatively, you can check the message monitoring in RWB at the adapter level and go into the audit log if the message.
There you can see the reason for the file not being picked up.
Also check the Communication Channel status in the Component Monitoring link in RWB.
Regards,
Ravi Kanth Talagana -
Sender File Adapter Not Showing in Decentral Adapter Engine
Hi,
We have recently implemented a Decentral Adapter Engine on a windows box. The adapter engine seems to be working fine because my adapters show and seem to work fine in it.
However, when I define a Sender File Adapter that uses File Content Conversion message protocol instead of just File messaeg protocol, the adapter does not show up in the decentral adapter engine.
I made sure that Adapter Engine parameter in the Sender File Adapter shows the new adapter engine but that does not seem to be working. If change the Adapter Enginer parameter to show the Central Adapter Engine, then I can see the Sender File Adapter on the Central Adapter engine and it works fine. (Note: The Central Adapter Engine is installed on a Unix box)
Here are the paramters I defined for the Sender File Adapter:
- Transport Protocol: File System (NFS)
- Message Protocol: File Content Conversion
- Adapter Engine: (new Adapter Name)
Source Directory: (
server/drive/path)
File Name: purchaseOrder.txt
Quality of Service: Exactly Once
Poll Interval (secs): 60000
Poll Interval (msecs):
Retry Interval (secs):
Processing Mode: Archive
Add Time Stamp (checked)
Archive Direcotry: (
server/drive/path/archive)
Process Read-Only files: (not checked)
Processing Sequence: By Name
Fiel Type: Text
File Encoding:
Operating System Command:
Additional Files (not checked)
Content Conversion Parameters
Document Name: MT_Request_File_Data
Document Namespace: http://nxy.tots/fg_admin
Document Offset:
RecordSet Name: Purchasing
RecordSet Namespace:
RecordSet Structure: Purchase_Record,*
RecordSet Sequence: Ascending
RecordSets per Message: 1
Key Field Name:
Key Field Type: String(Case-Insensitive)
Purchase_Record.fieldFixedLengths: 8,4,2,10,10,12,18,12
Purchase_Record.fieldFixedType: char
Purchase_Record.fieldNames: Request_Action,Request_PO_Num,Request_PO_LN,Request_PO_Date,Request_Purchasing_Org,Request_Purchasing_GName,Request_Created_By,Request_Vendor_Name
Purchase_Record.fileContentFormatting: trim
Adapter Status: Active
Advanced Mode: (not checked)
Your help is much appreciated.Hi Alaa,
look into this document:
http://service.sap.com/nw-howtoguides -> Exchange Infrastructure -> Troubleshooting: Adapter Engine 3.0 (Expert Call slides)
If the File Adapter works without conversion, then you should count the number of fields in a row. If it differs from the configuration, then it runs on error.
Another idea is to check the content type of the file. When you do not enter a File Encoding, then the file adapter assumes utf-8. If the file is for example latin-1, then the number of characters in a row are not counted correctly.
Regards
Stefan -
XI 2.0 File Adapter with XI3.0
I am send a file from my pc to XI3.0,using an XI2.0 file adapter on my pc.
My problem is that I cannot get it to correctly generate the name spaces
<ns1:SALES_ORDER xmls:ns1="http://SALES_NS">
instead it generates:
<ns1:SALES_ORDER xmls="http://SALES_NS">
Am I missing a paramter in my file adapter properties file?
Thanks
PatrickHello,
We are also having similar type of problems. In our installation the log is at/usr/sap/<INSTANCE>/DVEBMGS00/j2ee/cluster/server0/log/services/com.sap.aii.adapter.file.svc
In the log file, I see
2004:11:11 10:12:12 : File Adapter Administration Intialized
No file adapter configured
Not sure why it says that no adapter is configured even though we have couple File adapters configured with Adapter status active and all the objects have been activated.
I would really appreciate if anyone can point out, if I am missing something that I am supposed do to other than J2EE File adapter service being run and Activating a Fileadapter in the Integration Directory.
Thanks -
XI 3 : J2EE File Adapter Trouble
Hi,
I have implemented a scenario file -> XI -> file.
I use XI 3.0 Stack 09.
I have created my scenario in IR and ID (Communciation channel...) and nothing append.
I go in the adapter monitor and the only thing i can see is the status of the JPR.
I should see the status of the File Adapter No ?
Regards,
Vincent.Hello,
We are also having similar type of problems. In our installation the log is at/usr/sap/<INSTANCE>/DVEBMGS00/j2ee/cluster/server0/log/services/com.sap.aii.adapter.file.svc
In the log file, I see
2004:11:11 10:12:12 : File Adapter Administration Intialized
No file adapter configured
Not sure why it says that no adapter is configured even though we have couple File adapters configured with Adapter status active and all the objects have been activated.
I would really appreciate if anyone can point out, if I am missing something that I am supposed do to other than J2EE File adapter service being run and Activating a Fileadapter in the Integration Directory.
Thanks -
Problem with communication channel on receiver side with file adapter
Hi all,
I m doing a scenario of collection of multiple idocs into a file.When i m testing this scenario,i m getting a flag successfully executed in SXMB_MONI.But,my file isn't created in my directory.When i monitor the communication channel in Runtime workbench,it's showing error :<b>Channel has not been correctly initialized and cannot process messages</b> for my receiver file adapter?I am not able to figure out the error.Anybody having idea about this problem.
Regards,
AnoopHi Anoop
Check it - File adapter is active ? try to Re-activate the same.
Also do CPACache Refresh.
Still problem, tyr out by restarting the Adapter Engine
Cheers..
Vasu
<i>
Reward Points if found useful **</i> -
File Conversion error in Receiver File Adapter
Hi ,
I am facing the below error in receiver file adapter .
Conversion initialization failed: java.lang.Exception: java.lang.NumberFormatException: For input string: "4|8|10|2|10|4|10|4|40|40|40|1|20|2|20|8|40|0|12|12|12|1|12|4|4|8|40|8|8|8|8|12|40|8|10|10|10|10|10|1|10"
Kindly suggest !
Regards,
HemanthikaHi,
Check it - File adapter is active ? try to Re-activate the same.
Also do CPACache Refresh.
Still problem, tyr out by restarting the Adapter Engine.
I guess you're just trying to send all the data in your file record to a <data> element as a whole. If so, this blog will help you:
Configuring Generic Sender File CC Adapter
Under certain operating system platforms, such as Solaris, the APIs used by the Java Runtime (JRE) are not Unicode-aware. Consequently, the JRE needs to be configured to correctly interpret the character set it receives from the operating system.
This is configured through the "file.encoding" system property as well as the "LANG" environment variable.
Make sure you set "file.encoding" to a character set (such as ISO-8859-1) that supports the special characters you would like to process. This system property can be configured by appending "-Dfile.encoding=<encoding>" to the Java VM parameters section of the SAP J2EE Config Tool.
Additionally, you need to set the "LANG" environment variable to a locale that supports more than 7 bits, such as "de.ISO8859-1". The encoding you specify in the LANG environment variable needs to match the encoding set via "file.encoding".
You can persistently configure the environment variable by setting it in the profile $HOME/.sapenv_$HOSTNAME.csh of the <sid>adm user: setenv LANG de.ISO8859-1
Refer this article
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
See below link
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Please refer this thread .
File Adapter Not Initialized Error
Cheers,
Regards,
Suryanarayana
Maybe you are looking for
-
Notification mailer is not able to send mails to Outside domain i.e gmail
Hi All, We are in 12.1.3 EBS application with 11.1.0.7 DB on Aix 64 bit platform: resently we configured notification mailer with out any issues But the issue is notifications are delivered to with in the domain itself but not to outside the domain i
-
XI Http adapter receiver issue, how to change the target payload format
Dear all, In my project, I need to call a servlet program using Http/xml. The message format accepted by the server program is like this: request: <?xml version="1.0" encoding="GBK"?> <PACKET type="REQUEST" version="1.0" > <HEAD> <REQUEST_TYPE>01</
-
How can I get Preview to remember my preference for single page view?
Does anyong know how can I get Preview to remember my preference for a single page view rather than continuos scroll?
-
Why Is the Block Diagram Disabled?
What did I do now? Please look at the attached image. A VI that I am using as a subVI in various different programs suddenly started looking like I had used application builder to create an exe file out of it (But I didn't!!). The only options are
-
No instant Wlan connection when starting up Satellite L650
Hello, I have had connection problems with my L650 Toshiba for the past couple of months. I bought my laptop a year ago (October 2010), and everything was working perfectly until April 2011. The first few months, my computer would connect automatical