Data Type for File adapter
hi all,
we have a scenario which is idoc-xi-file
the output data type should be something like this:
[Data.1]
Promo,1000,,,,,,,
PromoD,2000,,yup
Item,1,IGRP,,,,,,FTY,3
Tier,1,,,,,,,ITEM,,
Itemy,1,IGRP,,,,,,FTY,1,A_,100,,ELST
we have to use file content conversion parameters for this as well as this needs to be converted to a CSV file format(third party system).
any help in declaring this kind of data type(structure) and handling file content conversion parameters would be highly appreciated.
for data type if any anybody can help me build the structure or give an example!!!
would be gr8!!!
thanks in advance
ahmed
Hi Parvez,
For file content conversion, you can refer the below link:-
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
I hope this helps.
Regards.
Praveen
Similar Messages
-
HI
what type of data will come to mail ??
or
which type of data type we should you for Mail adapter ??
Regards
KumarBelow link would address your doubts on mail adapters.
Mail Adapter -
How create data type for coulmn name having special characters in IR
hi ,
any idea how to create how to do create data type for coulmn name having special charactersHi Amit,
Can you ellaborate ?
Actually if you are reading a file(or anything else) which contains special characters, the data type can be created as done for other interfaces. But it is in the adapters that we actually take care of handling these special characters.
ShabZ -
Data Type for a Longitude/Latitude Column in an Oracle dB Table?
Greetings All,
What is the recommended data type for a Longitude(Lon) or Latitude(Lat) Column of an Oracle dB Table? I am creating a signs inventory table in our Oracle database to be used as a data warehouse for our signs inventory. The Lon and Lat fields along with some other data will be populated from a MS access file exported from our Geodatabase. Currently the data type for the Lon and Lat fields of the MS access file is defined as "Double". A couple of Examples of the Lon and Lat data are as follows:
Lat Lon
59.4564555909 -135.3133542922
64.841125 -148.01808
...What data type should these two columns be defined in the new Oracle database table??? Should the data type be defined as FLOAT(126), NUMBER(10, 6), or else? Any suggestions/help on this would be greatly appreciated.
If the data type is defined as NUMBER(10,6), the first example of Lon "-135.3133542922" will be truncated to "-135.313354" or would I receive an error while trying to import the data from an access file to the Oracle dB?
Thanks in advance for any/all the help.Orchid,
Is SDO_GEOMETRY available in Oracle 10g?Yup. I'm still on 10g as well; there's no shame in that.
How do I format my lat/long's into WKT and use the SDO_GEOMETRY constructor?The March 16th example shows the steps, but I take it you're trying to get your data from MS Access into Oracle. Is that right? If so, consider these options:
OPTION 1, When you have < 50k records
Simply write a query that returns INSERT statements that you can run against Oracle.
For example, let's say you have a table in MS Access defined as msaCoords (ID, LongX, LatY).
Let's say, your destination table in Oracle is named oraCoords(ID NUMBER, Geometry MDSYS.SDO_GEOMETRY). Then,
SELECT "INSERT INTO oraCoords (ID, Geometry) VALUES (" & ID & ", SDO_GEOMETRY('POINT (" & LongX & "," & LatY & "'), 8307);" FROM msaCoords;
-- "MS-ACCESS QUERY RESULTS"
INSERT INTO oraCoord (ID, Geometry) VALUES (1, SDO_GEOMETRY('POINT (-135.3133542922,59.4564555909'), 8307);
INSERT INTO oraCoord (ID, Geometry) VALUES (2, SDO_GEOMETRY('POINT (-148.01808,64.841125'), 8307);Save those MS-ACCESS QUERY RESULTS to a text-file (D:\MyPts.sql). Launch SqlPlus and type @D:\MyPts.sql
Once it's done, type Commit into SqlPlus and you're done.
OPTION 2, when you have > 50k records
Use SqlLoader. There's an example posted { here | http://forums.oracle.com/forums/thread.jspa?messageID=9412123� }
Cheers,
Noel -
Hey guys
i have a HTTP to File scenario where in my getting and XML file which has sone tags of this form
<ServiceDateTime dateTypeIndicator="PromisedForDelivery">2007-04-06</ServiceDateTime>
how should i create data type for this?
is this an attribute?
thanx
ahmadHi,
Just "Insert Attribute" by right-clicking on ServiceDateTime.
Regards,
Bill -
Naive Bayes Training - CLOB as output data type for JSON string?
Hello everyone,
My training model outputs a large JSON string that doesn't fit into one row, so the string is split across multiple rows. Default - or only possible output data type for that matter - is varchar according to the official documentation on PAL. Is there any chance I could use CLOB for the output?
Regards
HenryThe property you provided is for applying an NB model, not for building one.
For build, you should have used Sample_NaiveBayesBuild property file.
I ran the NB apply sample program with your property, and was able to get past the point where you have problem.
Please double check if you really used the property you provided and if it matches to the program you wanted to use. -
Data Type for Process Flow... PB with Date?
I've got a problem by passing parameters in process flow.
I have a mapping with a parameter DATE_EXEC (data type : DATE) and a default value that is TO_DATE('20/01/2007' , 'dd/mm/yyyy') . My mapping is working good when i launch it.
I have a process flow which contains the mapping. This process has a parameter DATE_EXEC (data type : DATE). I bind the 2 DATE_EXEC. But when i launch my mapping the value is not recognized, I try with :
- TO_DATE('20/01/2007' , 'dd/mm/yyyy')
- 20/01/2007
- 2007.01.20
- 2007-01-20
My question is what are the data type in process flow? They are not ORACLE TYPE.
For example , a parameter in a mapping which is a VARCHAR2 must be input between quotes but if you bind it to a parameter of a process flow which is a STRING (not ORACLE Data type) , you must input it without quotes?
Anybody has some rules about that?
I apologize for my english, i'm a french people.Here is some information on the literal quote or not quote query and what I think you need to do at the end, hope it helps. Not exactly intuitive...since the flow designer (you) have to know what is a PLSQL object and what is not.
1. Literal = FALSE
When Literal = FALSE is set then the value entered must be a valid PL/SQL expression which is evaluated at the Control Center e.g.
'Hello World!'
22 / 7
2. Literal = TRUE
When Literal = TRUE then the value is dependent on the the type of Activity. If the activity is a PL/SQL object i.e. Mapping or Transformation, then the value is PL/SQL snippet. The critical difference here is that the value is macro substituted into the call for the object. The format of the value is identical to that entered as default value in the Mapping editor. e.g.
'Hello World!'
sysdate()
If the activity type is not a PL/SQL object then the value is language independent. e.g.
Hello World
3.1427571
What you should try......
Check the map activity parameter in your process flow to see if literal is false (an expression), set it to false and then try using your TO_DATE('20/01/2007' , 'dd/mm/yyyy') expression, deploy your flow and execute. Alternatively the user guide defines the DATE type for flow with the format YYYY-MM-DD so you can have the parameter value as '2007-01-20' use literal equal to true and remember and quote your value.
Cheers
David -
How to set DEBUG severity for File adapter in J2SE AE
Hi,
Can anyone help me in setting the severity level to DEBUG for file adapter?
I have tried to set in logging.properties file as given below,
formatter[Trace] = TraceFormatter
formatter[Trace].pattern =%24d [%t] %-6s %l - %m
log[Trace] = FileLog
log[Trace].pattern = swb_%g.log
log[Trace].limit = 2000000
log[Trace].cnt = 5
log[Trace].formatter = formatter[Trace]
com.sap.aii.messaging.adapter.severity = DEBUG
logging components
#com.sap.aii.axis.logs = +log[Trace]
#com.sap.aii.axis.severity = DEBUG
#org.apache.axis.logs = +log[Trace]
#org.apache.axis.severity = DEBUG
Please correct me if I have did anything wrong and sugest me hot to set the DEBUG level as soon as possible.
Best Regards,
SooryaHi Sejoon,
when we changed the host of XI server in one of our projects one of the things we had to change was the exchange profile entries
http://server:port/exchangeProfile/index.html
to see how your adapter engine is configured
http://server:port/sld
SLD -> Content Maintenance
then
Subset: landscape description
Class: XI Adapter Framework
buth check the exchange profile entries first
Regards,
michal -
Dynamic UserID/Password for file Adapter
Hi,
How to use dynamic UserId/Password for file adapter ?
(Sender/Receiver)
In our case the Id/Pwd of FTP Site changes freguently.
Can anyone help.
Thanks in Advance
Regards
ChemmanzHi Chemmanz,
>>>>In our case the Id/Pwd of FTP Site changes freguently.
but do you have those passwords in the message payload?
if not then you will still have to fill it somewhere right?
BTW
the only way would be to use java proxies and write a simple ftp adapter inside it (or your own adapter)
but this is not possible in standard I believe
Regards,
michal -
Time stamp is not getting updated for File Adapter in communication channel
Hi All,
Since yesterday, I am observing that the time stamp of communication channel for File adapter is not gettingupdated some times.
I had to stop and start the communication channel to update the time stamp.Please let me know if anyone has come across such issue or any useful notes on this.I could not find any related notes on Market place.
Regards,
DinakarHi,
This is happening only with one communication channel which is sender in derection.Any reason why it is happening like this?since the restart of the communication channel it is getting update now.I really do not know how to delete/create the communication channels as this was done our PI consultants.Pls guide me.
Regards,
Dinakar -
How to have Secure Connection for File Adapter.Pls help
Hi All,
For File to File Scenario
How to have Secure Connection for File Adapter.
Pls send links/blogs explaining this scenario.
Regardshi rich
go through these links
FTPs connection failed - error ".. certificate rejected by ChainVerifier"
Re: What is SFTP, FTI channels
http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
FTPS implementation question.
http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
/people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
File adapter
thanks
Kunaal -
Query regarding the data type for fetcing records from multiple ODS tables
hey guys;
i have a query regarding the data type for fetcing records from multiple ODS tables.
if i have 2 table with a same column name then in the datatype under parent row node i cant add 2 nodes with the same name.
can any one help with some suggestion.Hi Mudit,
One option would be to go as mentioned by Padamja , prefxing the table name to the column name or another would be to use the AS keyoword in your SQL statement.
AS is used to rename the column name when data is being selected from your DB.
So, the query Select ename as empname from emptable will return the data with column name as empname.
Regards,
Bhavesh -
What is the Maximum Data can a file adapter can send at a time.
Hi ,
What is the Maximum Data can a file adapter can send at a time.Is there any maximum limit data can adapters will send.
can any one help on this.
regrads
RaghuHi Reddy,
I have raised the same question and I got correct answer.
Refer the below thread which will give u information.
Wat is the maximu size of data XI can handle
Thnx
Chirag -
Directory specification for File Adapter
Hello,
I would like to ask if it is possible to determine a directory where message is saved for file adapter based on message content.
E.g. I have general directory (GD) under which I would like to save a messages in directories with are called based on vendor number what is part of a message.
So a message would be saved in
...\GD\vendor number\file name.
In case that vendor number directory is not created yet I need to create it.
I know that in file adapter a directory name is constant and file name can differ based on settings.
This behaviour is in Business Connector enabled through possibility to write an "user-exit" in Java for directory determination.
Is something similar possible in XI ?
We are currently running on XI 3.0 with external adapter engine version 2.0 but to use internal adapter engine is no problem for me.
Thank you for your advice.
Marian MorzolHi Marian,
You can do this with content based routing in the interface determination, but then you have to create a new interface/channel for every extra directory.
Cheers,
Frank -
Labview How to specify 1d array of clusters as data types for variant to data
Hi, I'm new to labview. Can anyone tell me how to specify 1d array of clusters as data types for variant to data?
First of all, you should be sure that there is such a data type within the variant; otherwise, you will run into errors.
I recommend you to create the cluster and create a type definition from it. Then drop an array shell from the array palette and drop the cluster type into that array.
Connect that constant to the data type input of the Variant To Data function.
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Maybe you are looking for
-
How to get the PRIMARY KEY of a table at runtime ???
Hi everybody, My requirement is to update a z-table at runtime according to the data given ata runtime. So the main difficulties for me is that whenever I tried to update the table based on the data given in UI many rows are getting updated as these
-
TS3682 iTunes does not restore iPhone
I tried to download new iOS 6 with iTunes and a error occurred while updating my iPhone 4. It's in restore mode and when I try to restore it iTunes wants to download new iOS and when it gets done downloading it just disappears and fails to update ph
-
I am *almost* all the way through provisioning my on premise SP 2013 farm for SharePoint 2013 Workflows. Workflow manager is installed alongside Service Bus. Workflow Manager client is installed on the SP servers. I built a new simple list-based w
-
I am trying to authorise my PC. Support says to go to the store menu. There's only the store page on which there is nowehere to authorise. Help appreciated.?
-
Cant get picture to center in frame when placed.
When I drop a picture in a frame it will go to the top left hand corner instead of the center. I have my reference point centered on the control bar and also on the Frame Fitting options but it still go to the top left corner. Am I missing somethin