System trace for File, JDBC adapter
In the JDBC Adapter Help (help.com) I see:
The adapter writes the output (STDOUT and STDERR) for the operating system command in the system trace.
Which trace is meant here?
I have the same question regarding File Adapter.
Thanks, Jozsef
Hi,
have a look at my weblog to see how you can check
the traces:
/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Similar Messages
-
Regarding data integrity for XI file/jdbc adapter
I have several questions about XI data integrity for file/jdbc adapter.
Question 1 is: if the destinate file or DB is not reachable or other technical problems occur, do I have to send the message again or not?
Usually we design an bpm to comfirm whether the database or file is completed according to a response message. But it's a little complicated.
Question 2:when I use jdbc send adapter and configure select and update SQL clauses. Does XI only update the records which it select automatically? or Select and Update don;t have any relationship?
Very appreciated if you have any experience to share me.
Regards
Shen PengHi
Question 1 is: if the destinate file or DB is not reachable or other technical problems occur, do I have to send the message again or not?
If the DB is not reachable then message will be found in the inbound side. you can found them in the adapter. Goto RWB -> Message monitoring -> select status System error and search . there you will find your messages. select you message and resend them
Question 2:when I use jdbc send adapter and configure select and update SQL clauses. Does XI only update the records which it select automatically? or Select and Update don;t have any relationship?
XI never does updation automatically, Update is done only based on the SQL update query which you have written in the sender channel.
SELECT statement is used just to pick the values from the table and based upon the query which you want to UPDATE in SQL . data is updated
Regards,
sandeep -
Need help to Configure FTPS connection for File Sender Adapter
Hi,
I want to Configure, FTPS connection (Secured Connection) for File Sender Adapter. Could anyone please guide me, what Information I require to configure. I just want to know what Information should I request the team inorder the configure FTPS so that it can be deployed properly.
I have checked with [SAP Help Link|http://help.sap.com/saphelp_nw04/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm] and while configuring the communication channel found that I need Keystore and the X.509 Certificate and Private Key. which needs to be deployed on the J2EE server by using the Visual Administrator.
Is there anything else, I need to configure.
Any help would be appreciated in this regard.
Thanks & Regards,
Varun.KThe basic things are Certificate/Keys which you already know. Usually it is enough for running a sceanrio.
However, if you have additional requirements, like FTPS for "Connection Security" for encryption, then you may need additional details like commands. Rest all settings are same as FTP.
Regards,
Prateek -
Structure for Receiver Jdbc adapter for multiple tables
Hi,
For Receiver JDBC adapter,Standard structure
structure as
Statement
Tablename(TABLE1)
Action
Access
Can i make a structure like
Statement
Tablename(TABLE1)
Action
Access
fields....
Tablename(TABLE2)
Action
Access
fields......
As i am using tables and I want to insert or update both of them or one based on some conditions.
Will Insert be possible in single Statement or I have to create separate statements for each table. Can you please help me on this?
Thanks in advance
Best Regards,
Harleen Kaur ChadhaHi Harleen,
As already said by Dharanveer, all that you need to do is replicate the Statement level, so, istead of using this structure:
Statement
Tablename(TABLE1)
Action
Access
fields....
Tablename(TABLE2)
Action
Access
fields......
You will construct something like this:
Statement1
Tablename(TABLE1)
Action
Access
fields....
Statement2
Tablename(TABLE2)
Action
Access
fields......
And this structure will be created in a single Data Type, that will be used to create a single Message Type, that you will use in your Message Mapping, and, the 2(or more tables that you need to manipulate) will be inserted/updated without problems using this approach.
Thank you, and best regards,
Wilson -
Required jar files for using jdbc adapter
Hi all,
I have an XI scenario in which i need to send a msg from XI to Oracle 8.0 server.
For this i am using the JDBC adapter.
Can anybody pls tell me which are the jar files needed for doing so.
Thanks in advance.
Regards
NeetuNeetu,
You will need to deploy the classes.zip file using the SDM. More details on how to configure the JDBC adapter can be found at
How to Install and Configure JDBC adapter
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10 -
UDF to get the filename for File Sender Adapter
Hi,
I had an requirement to get the the Filename and map to the target payload.
I had configured the File Sender Adapter settings in the ID
This is the following UDF i got from SDN.
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
return ourSourceFileName;
But when iam using this UDF iam getting an error
RuntimeException in Message-Mapping transformation: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_ORDER_CRS_OB_SAP_PROXY_IB_ method Filename$[com.sap.aii.mappingtool.tf3.rt.Context@54e154e1]
Please help me in correcting the error.
Thanks
SrinivasHi Jayson,
actually, in the interface mapping, it doesn't give exception.
The DynamicConfiguration is a constant retrieved from the container object, so it will never be returned as null (given that the container object was instantiated).
Just the retrieved value will be null (since it was not previously set), but no exception occurs.
In the message mapping, the container object is never instantiated, and that's the reason for the NullPointerException.
Regards,
Henrique. -
Specify Keys in Data Type for receiver JDBC adapter
Hi guys,
I have the following issue:
In a proxy to JDBC scenario, I want to specify somehow the key values for the SQL statement in the data type that I define for the receiver JDBC adapter. Thus, I am using the following structure in data type:
root
Statement
dbTable
action
table
access
CustomerID
Name
HouseNo
Key
CustomerID
But in the SQL statement that is produced (I can see that in RWB, CC Monitoring, Audit Log), the "Key" segment is translated into "OR". E.g. UPDATE_INSERT ("A100" "Evaggelos Gkatzios" "El Alamein 19") OR ("A100")
Do you have any ideas ?Hi,
Its clear from the statement in RWB (in CC monitoring's auditlog) you are using UPDATE_INSERT as the action.
Please correct me if this is OK. Now the interpretation of input xml file will be like this,
If the input XML is in the following format
<root>
<Statement>
<dbTable action=UPDATE_INSERT>
<table>EXAMPLE</table>
<access>
<CustomerID>ABC</CustomerID>
<Name>xyz</Name>
<HouseNo>123</HouseNo>
</access>
<key>
<CustomerID>DEF</CustomerID>
</key>
</dbTable>
</Statement>
</root>
Resultant SQL after parsing the XML file will be,
1. It will first check with the condition WHERE CustomerID = DEF. If it finds the record with this condition then it will update the record with CustomerID=ABC, Name =xyz & HouseNo=123.
2. If it doesn't find any record with that CustomerID then, it will insert a new record with the same details.
In auditlog, you will find two SQL statements like,
1.UPDATE EXAMPLE SET CustomerID=ABC, Name =xyz & HouseNo=123 WHERE CustomerId=DEF
2.INSERT INTO EXAMPLE VALUES(ABC,xyz,123)
hope this has given clear information about your query,
Regards,
Soorya -
Operating system command in file receiver adapter
Hi,
How to use the Run Operating system command after message processing option in the parameters tab of the file receiver adapter.
I am working on a scenario wherein a batch file needs to be invoked after the file is written on the file system.
So how do i invoke this batch file from the file reciever adapter ( Run Operating system command after message processing ).Hi,
did you see this page?
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/556cb799c93677e10000000a114a6b/content.htm
it shows all you need to know
Regards,
Michal KRawczyk -
File selection sequence in the FTP connection for File Sender Adapter
Hi,
I have a file to Proxy scenario using FTP connection parameters.
If there are multiple files in the sender folder, XI picks up the files randomly with no processing sequence.
I want XI to pick up the files based on the date time stamp meaning the oldest file created in the folder should be processes first and rest all in sequence there after.
I know processing sequence can be set for NFS connection but not for FTP .
Please suggest if there's any way to make this work.
Thanks in advance.
Thanks and Regards,
Amit Bhagwat.
Edited by: Amit Bhagwat on Nov 4, 2009 5:17 AMHi
For the Transport Protocol "File Transfer Protocol (FTP)" files are always processed in ascending alphabetical order
If you want the file to be processed in sequence then you can use Quality of Service EOIO in the sender adapter.
The files are processed in the sequence they are picked up.
otherwise use BPM for File Sequencing..
Refer the following Threads
FTP Sender Adapter - Processing Sequence
Processing Sequence issue of FTP protocol
Regards
Abhijit
Edited by: Abhijit Bolakhe on Nov 4, 2009 10:32 AM -
Dynamic Configuration - Set Directory Path for File Receiver Adapter
Hi Experts,
I have a question regarding the dynamic configuration for the file adapter. Is it possible to set a directory path without a message mapping for the file receiver adapter? the problem is that I want to import a pdf document. this pdf document I want to store in a dynamic directory (depending on the filename). so I have to read the filename out of the dynamic configuration and generate (depending on the filename) a directory for this file. Is that possible without a message mapping? I cannot make a message mapping because the file has the pdf format and should not get changed.
best regards
Christopher KühnHi Gaurav,
I use the ASMA (respectively the filename) for the sender adapter. After the pdf was imported into XI this filename is in the ASMA.
But what then??? How can I get this filename with the help of the variable substitution? and if I have this filename I have to change this filename a bit to generate the name / path of the directory.
Please explain it to me detailled
Thanks and regards
christopher -
What are the Batch mode parameters for Receiver JDBC Adapter
Hi All,
Could some pls tell me how to set bacth mode in receiver JDBC adapter and what are its parameters and how to configure them. i beleive there is something like max count parameters etc..
Regards,
XierHi,
Check this for more info
http://help.sap.com/saphelp_nw04s/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
Regards
Seshagiri -
Hi
Can anyone explain the receiver structure mapping of JDBC Adapter.......
I am having Proxy to JDBC scenario
Regards,
SudheerHi...
ThanQ for your quick respones....Can you please explain the Mapping to be done for the receiver structure.
I can find so many documents for receiver structure. But I cannot find mapping documents so that I can map the
source and destination structures.
There is confusion for me regarding Statement,Action,Access,Table, Key fields....
Please clarify my doubt....
Thanks,
Sudheer -
System Trace for function and programs called?
Hi All
I'm aware of ST05 for tables accessed, but is there perhaps a system trace that would list all the function modules and programs run during a transaction?
For example, I'd like to run such a trace on the Transport Logs button in SE10. I'd like to find a function module that would return a table of entries that exist in the tree list for Dev, QA & Prd. This should highlight if any released transports have not be taken to QA & or Prd.
Thank you and best regards,
AdrianHi,
SAP has provided a transactions:
"SAT" which is a run time analysis tool
"ST30" Global performance tool.
Hope this helps
Regards
Shiva
Edited by: Shiva Kumar Tirumalasetty on Dec 13, 2010 2:41 PM -
Special Characters for Receiver JDBC Adapter
Hi,
Our Scenario is Proxy -PI-JDBC (SQLServer ). We have special characters in the payload and we are abel to see the special characters in PI.According to JDBC Faq we used haquot attribute and concatenated with Prefix N'<Value>'. But still when the data is posted in the database we cannot see the special characters.
Please let me know your inputs.
Thanks,
SainathReference following thread, add a attribute of "hasQuot", map constant "No" to it, to see solve your problem or not:
Re: how to use todate function in JDBC adapter
Regards.
Liang -
Changing source file for file sender adapter in adapter module
Hi guys!
3rd party partner send us files, which are not acceptable by file adapter, so we need to implement (I suppose) adapter module in file sender adapter to correct the file format before it is taken by standard adapter. I have no experience in this development field. Could you give me:
1, whether it is possible (changing file contents before it is taken by standard file sender adapter)
2. any ideas, where to start with the development (pdf with info etc.)
Thanx a lot!
Olian<i>2. any ideas, where to start with the development (pdf with info etc.)</i>
>>>>>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81
<i>1, whether it is possible (changing file contents before it is taken by standard file sender adapter)</i>
>>
yes you can achieve this in the logic in a module
Maybe you are looking for
-
Syncing multiple iPhones with iCal and contacts
My roommate just bought an iPhone and synced it for the first time with my iMac, but now he has all of my contacts and calendar appointments and none of his own. Do iCal and Contacts support multiple profiles? Is it possible for him to store his cont
-
After export movies works and then is not working anymore?!
Hi guys, i am capturing HD movies to my final cut express HD..Edit them, expert as quick time movie (option self contain is OFF). Then i test the movies and they are like they should be. Then i import them into IDVD and IDVD accept some and some not.
-
During import, how to auto split one project into multiple albums based on date?
I believe I've done enough aperture reserach to get all my terminology right, so here goes... I've created a file structure within the aperture inspector the the tune of: Year [folder], Type of event (Occasion, special occasion, holiday, vacation) [
-
Form Colur with different Color Schemes
Hi, When loading a new form from a xml file, SBO (6.5) doesn't use the color from the selected color scheme. Ther are no properties exposed in the form object to adjust the colour in code. Is a certain value required as the color (e.g. -1) in the xml
-
KANBAN is possible in Chemical Industry?
hi all, is it possible to implement KANBAN in Chemical Industry? while KANBAN is a part of JIT(Just In time). BR Rajeev