File Adapter Format Issue:.csv target
Hello
When i am trying to write information from DB to a file as a CSV format it is always writing into xml format, though it is named with .csv extension.
When you want to write the File as html target i need to do a html encoding but how to do it in another format like .csv?
Appreciate your help on this
you can refer this..
http://docs.oracle.com/cd/B31017_01/integrate.1013/b28994/nfb.htm#CCGEGFDB
You need to create "JCA File Adapter with NXSD format definition" as mentioned in above link.
Similar Messages
-
The .txt file has formatting issues that need to be resolved
Transaction ZEHS20 runs a program that assigns a CCL Group to a specification header, based on its Active Ingredients. The transaction can be run in the background if desired with output being emailed to the user.The .txt file has formatting issues that need to be resolved. can u pls Help me to resolve this issue.
ThanksWhat is the formatting issue like? Could you please elaborate a bit more.
If it is because of varying lengths in the data then it can be handled by utilising a CONCATENATE RESPECTING blanks. -
Hi,
THe file adapter archives the file, it doesn't save the entire contents of the file in the archive folder, but saves the first recordset (row) only in XML format. Did any body face similar issue, and what's the resolution to archive the contents of the file, the way it was sent.
Thanks
PandariHi Anil,
Refer Archiving concepts in below links.
http://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
http://scn.sap.com/docs/DOC-35572
Warm Regards,
DNK Siddhardha. -
File Adapter Polling issue(Is there critical value of File size )?
Hi
I use File adapter as the Activation to initialize a BPEL process instance .The source data is a kind of Delimited file format.On my PC, when the file size is less than 4M ,everything works fine ,But when the size increased. The BPEL process will not initialize the instance.When the source data is XML data , the "critical value " is about 12M. The error msg is below.
<2005-08-08 12:48:26,209> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Processing file : D:\Temp\WOSSystemIntegration\InBoundFiles\LOADPLAN_DATA_200508041708.xml
<2005-08-08 12:48:29,455> <INFO> <default.collaxa.cube.activation> <FileAdapter::Inbound> Sending message to Adapter Framework for posting to BPEL engine: { file=D:\Temp\WOSSystemIntegration\InBoundFiles\LOADPLAN_DATA_200508041708.xml
<2005-08-08 12:48:40,197> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::l
ogError> Error while invoking bean "cube delivery": Delivery callback message se
rialization failed.
An attempt to serialize the delivery callback messages for conversation "LocalGU
ID:d0b7ccf8e4242850:134b07e:10594606738:-7ffc", message "d0b7ccf8e4242850:134b07
e:10594606738:-7ffb" to binary format has failed. The exception reported is:
<2005-08-08 12:48:40,245> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::l
ogError> Error while invoking bean "delivery": Delivery callback message seriali
zation failed.
An attempt to serialize the delivery callback messages for conversation "LocalGU
ID:d0b7ccf8e4242850:134b07e:10594606738:-7ffc", message "d0b7ccf8e4242850:134b07
e:10594606738:-7ffb" to binary format has failed. The exception reported is:
<2005-08-08 12:48:40,245> <ERROR> <default.collaxa.cube.activation> <AdapterFram
ework::Inbound> [Read_ptt::Read(loadPlanCollection)] - JCA Activation Agent was
unable to perform delivery of inbound message to BPEL Process 'bpel://localhost/
default/P2E_WOS_LP~1.0/' due to: Delivery callback message serialization failed.
An attempt to serialize the delivery callback messages for conversation "LocalGU
ID:d0b7ccf8e4242850:134b07e:10594606738:-7ffc", message "d0b7ccf8e4242850:134b07
e:10594606738:-7ffb" to binary format has failed. The exception reported is:
<2005-08-08 12:48:40,245> <ERROR> <default.collaxa.cube.activation> <AdapterFram
ework::Inbound>
com.oracle.bpel.client.ServerException: Delivery callback message serialization
failed.
An attempt to serialize the delivery callback messages for conversation "LocalGU
ID:d0b7ccf8e4242850:134b07e:10594606738:-7ffc", message "d0b7ccf8e4242850:134b07
e:10594606738:-7ffb" to binary format has failed. The exception reported is:
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialPostAnyType(D
eliveryHandler.java:328)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialPost(Delivery
Handler.java:219)
at com.collaxa.cube.engine.delivery.DeliveryHandler.post(DeliveryHandler
.java:83)
at com.collaxa.cube.ejb.impl.DeliveryBean.post(DeliveryBean.java:181)
at IDeliveryBean_StatelessSessionBeanWrapper22.post(IDeliveryBean_Statel
essSessionBeanWrapper22.java:861)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.
java:161)
at oracle.tip.adapter.fw.AdapterFrameworkListenerBase$DeliveryServiceMon
itor.send(AdapterFrameworkListenerBase.java:2340)
at oracle.tip.adapter.fw.AdapterFrameworkListenerBase.executeDeliverySer
viceSend(AdapterFrameworkListenerBase.java:478)
at oracle.tip.adapter.fw.AdapterFrameworkListenerBase.deliveryServiceSen
d(AdapterFrameworkListenerBase.java:535)
at oracle.tip.adapter.fw.jca.AdapterFrameworkListenerImpl.performSingleA
ctivation(AdapterFrameworkListenerImpl.java:699)
at oracle.tip.adapter.fw.jca.AdapterFrameworkListenerImpl.onMessage(Adap
terFrameworkListenerImpl.java:567)
at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage
(MessageEndpointImpl.java:121)
at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWor
k.java:651)
at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork
.java:456)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWo
rk.java:200)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:139)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
at java.lang.Thread.run(Thread.java:534)
<2005-08-08 12:48:40,245> <INFO> <default.collaxa.cube.activation> <File Adapter
::Inbound> Failed to send message {D:\Temp\WOSSystemIntegration\InBoundFiles\LOA
DPLAN_DATA_200508041708.xml} to Adapter Framework.
<2005-08-08 12:48:40,245> <WARN> <default.collaxa.cube.activation> <AdapterFrame
work::Inbound> [Read_ptt::Read(loadPlanCollection)] - onReject: Sending invalid
inbound message to Exception Handler: file://D:/Temp/WOSSystemIntegration/Reject
edMessages
<2005-08-08 12:49:44,617> <FATAL> <default.collaxa.cube.activation> <AdapterFram
ework::Inbound> [Read_ptt::Read(loadPlanCollection)] - Resource Adapter requeste
d Process shutdown
<2005-08-08 12:49:48,676> <INFO> <default.collaxa.cube.activation> <AdapterFrame
work::Inbound> Adapter Framework instance: OraBPEL - performing endpointDeactiva
tion for portType=Read_ptt, operation=Read
<2005-08-08 12:49:48,676> <INFO> <default.collaxa.cube.activation> <File Adapter
::Inbound> Endpoint De-activation called in adapter for endpoint : D:\Temp\WOSSy
stemIntegration\InBoundFiles
<2005-08-08 12:49:49,042> <INFO> <default.collaxa.cube.activation> <AdapterFrame
work::Inbound> JCAActivationAgent::onStateChanged State is changed for process '
bpel://localhost/default/P2E_WOS_LP~1.0/', state=OFF
how can i solve this problem?can i predeploy some parameter? Is there some critical value of File size for the processing of File Adapter ?Hi,
There is no specific parameters to specify the maximum file size to be read in. It is just limited by the heap size of the JVM running the BPEL engine.
If you have enough RAM on your machine you can change the current heap size from 512Mbyte to 1Go by editing the startorabpel.bat file
and modifying the line :
set MEM_ARGS=-Xms512m -Xmx512m -Xmn300m -XX:MaxPermSize=80m
to
set MEM_ARGS=-Xms512m -Xmx1024m -Xmn300m -XX:MaxPermSize=80m
But only do it if you have at least 1.5 Gb of RAM on your machine, otherwise ot will keep spawing and you will have very bad performance.
Speaking about performance, do you really need to have a BPEL payload of 4 to 12 Mb ?
Will the BPEL process really need to access it ? if so, the best solution would be using batching techniques to cut you file in pieces and process it piece by peice.
FB. -
Reciever File Adapter to create multiple target files
Hi All,
I have done the mapping to create multiple output messages . I would like each of the messages to be stored as a separate file in the target .
Below is the output message with 2 separate MT_CANCELOUT messages . However, both end up in one single xml file .
How do I configure the receiver file adapter to ouput 2 separate xml files ?
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>456</id>
<name>HEY</name>
</LineItem>
</ns1:MT_CANCELOUT>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>567</id>
<name>RAT</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message1>
</ns0:Messages>Hi,
Sorry to say you that but your post show the opposite, it shows you have only one target message !
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>______<<<<<<<
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>456</id>
<name>HEY</name>
</LineItem>
</ns1:MT_CANCELOUT>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>567</id>
<name>RAT</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message1>______<<<<<<<
</ns0:Messages>
If you want two files, you should generate two Messages, and so to do that:
In MM, in your target (tab before "function"), you should have 1 source MT and in target MT, you should have two lines (even if you use the same target MT), after having changed the ouccurence 1->N.
do the same in your operation mapping: 1->N with two receiver service interface (even if it's the same)
because you should have something like:
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>456</id>
<name>HEY</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message1> _____<<<<<<<
<ns0:Message2> _____<<<<<<<
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>567</id>
<name>RAT</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message2>
</ns0:Messages>
regards
mickael
Edited by: Mickael Huchet on Dec 2, 2011 8:58 PM -
Hello,
There is a problem with the file adapter of the XI30 SP14:
It is set to get a file from a server X using a FTP protocol.
INT_001_V01_COM_CTDCLNT600_FILE_SENDER
Sender Adapter v2300 for Party '', Service 'CTDCLNT600':
Configured at 2006-01-16 15:13:52 EST
History:
- 2006-01-16 15:23:54 EST: Polling interval started. Length: 60.000 s
- 2006-01-16 15:23:54 EST: Processing finished successfully
- 2006-01-16 15:23:52 EST: Processing started
- 2006-01-16 15:22:54 EST: Polling interval started. Length: 60.000 s
- 2006-01-16 15:22:54 EST: Processing finished successfully
It seems everything is working fine, but the in the SXMB_MONI transaction, no message appears.
I have accessed the FTP manually and I have downloaded the file, so the connectivity issue is descarted.
Any suggestion.
Jesus Barba LobatonHello all,
The current configuration of the Sender file adapter is:
Transfer protocol: FTP
Message protocol: File Content Conversion
Adapter Engine: Integration Server
Source Directory: /out
File: D_P.DAT
In FTP: the file D_P.DAT is placed under /out directory
Server: Server Internal IP
Port: 21
Connection security: None
User: userX
Pass: FTPuserX
Quality of Service: Exactly once
Poll Intervals: 60
Processing mode: Delete
File Type: Binary
How can I verify a log of the processing process? as the SXMB_MONI transaction does not show anything.
The most frustrating of all, is no error message appears. I have verified the XI, APPS and default trace logs with log viewer but there is nothing.
I have also checked this thread but none of the solution provide solved the issue
Pbm in File adapter..Post Sp14
OS: Windows 2003
Any idea?
Jesus -
Socket connection time Out - Sender File adapter (Intermittent Issue )
Dear FrIends,
In our sender file adapter i am getting the following issue:
I have already places timout : 120 secs.
This isssue is occuring intermittently.
Error occurred while connecting to the FTP server "100.142.131.30:21": java.net.ConnectException: Socket connection timed out: 100.142.131.30:21Hi Renu,
You need to increase the timeout Seconds and check.
Run the report RSFTP002.
and check whether the connection to FTP works. Provide the below parameters:
user = <your ftp user>
pwd = <your ftp pwd>
host= <your ftp host/ip>
command1 = <ls>
RFC Dest = SAPFTP
Compress = N
If the issue still exists, then check with your BASIS Team.
http://www.sap2048.com/socket-and-connection-issues-in-java-web-services-1351.htm
Thanks, -
Hi,
I have a process that use a file adapter which polles a certain directory.
I am developing on windows XP and I am deploying to a Linux
I can't leave the path of this directory as it is since it will not be recognized in the linux server
How do I solve this issue?
AmitYou can specify the Logical Name of the directory from which you want to read the file from. In the BPEL partner link of the bpel.xml file, you then provide the physical parameter value for the Logical Name. This resolves the mapping between the logical directory name and actual physical directory name.
For example you can specify Logical Name as InputFileDir and in the bpel.xml specify the physical value against the partner link for that file adapter, as following :
<property name="InputFileDir">C:/ora_home/integration/bpm/samples/tutorials/
121.FileAdapter/ComplexStructure/InputDir/</property>
So while development, you can specify the physical directory as in your Windows system, and at deployment you can specify the directory as in your linux system.
Rahul -
Hi Iam trying to write a write a file in append mode using a file adapter(on a file which already exits)...but it says...file already exists...What might be the issue...?
Thanks in advance!
LarryHi Guys,
I shall explain the issue Iam having...Iam using the File Content Parameters..and the output is a plaint text file(Flat File).We are using Dynamic file configuration to populate the file name as per our requirements.When I dont use the dynamic config...(giving the name in the communication channel) the file is created @ the first time and its getting appended the next time..But when I use the Dynamic Configuration the file is not getting appended and it leaves an error saying the file is already there and cannot be overwritten...
Please advise!
Thanks in advance! -
Importing Excel Files and Formatting Issues
Good afternoon ladies and gentlemen. When in doubt, post in the forum! Anyway, I am using java via ODBC to connect to an excel file to extract some info from it, using SQL statements. Everything can be extracted without any problems, however, Excel keeps pi$$ing me off by changing the format of the cell data.
Firstly, I highlight every cell in my Excel file and format it as "Text."
Then I extract the cell info by using a ResultSet and getting a String (even for numeric data - ResultSet.getString(...))
What is getting on my nerves is that not only does it not extract numeric values followed by a string, when it does extract numeric values, it is adding a ".0" after the value.
For example, if the cell value is 123, it will return 123.0
If the cell value is 123SHOE, it returns null
Furthemore, when editing the Excel file, after having every cell formatted as "Text," if I enter a number, say, as a zipcode, 123450000, it brings up an error! But the very definition of "Text" states that "Text format cells are treated as text even when a number is in the cell."
The moral of the story is, I want to convert all data in the Excel file to "Text" and when extracting data from the file, I need to be able to extract numbers, numbers followed by characters, and everything else.
Any suggestions?
Thanks much,
JoshHey Dr. Clap, quick question for ya. I was checking out the Apache POI you recommended. More specifically HSSF. I noticed in the documentation that "String cells cannot conatin numbers and numeric cells cannot contain strings." Unfortunately, this is not going to work well with my app as some of the primary keys (I use the term loosely) are Strings which contain numbers. My main problem is that my app wont recognize the Strings containing numbers, so it returns null, and Excel is chopping off the leading zeroes and is popping up with an error because numbers are in the String. However, as I stated before, Excel notes that text cells can contain numbers!
FYI, I am using Pervasive SQL to extract a given list of users in a DB (which I dont want to connect to directly) and am saving that generated query (list of users) into a text file. I then open the text file in Excel which parses it correctly and assigns the cells the correct values. So I don't think I can format the cells as text because I am importing the file I generate. I love doing things ass backwards :) Another reason I am using Excel files is so anyone can use the software so long as they have an Excel file with the appropriate columns within the file.
Thanks yet again and I'll keep searching.
Josh -
File adapter - Archive issue with adapter module
Hi All,
I have 2 issues here. We are currently using PI 7.11 EHp1 SP02.
1. Arhival with "add time stamp" wont work. It just gives us an error message saying simpledate format exception.
I have gone through the OSS note 1265534 and thought this will resolve the issue. But our BASIS team believes this note is only applicable for PI 7.1 SP01. Can you one using PI 7.11 SP02 comment on this?
Note: Archive option with out add time stamp works fine.
2. When I use adapter module in my sender file configuration, the archive option itself does not work. Read the official SAP help which says "To archive source files where a permanent error occurred during processing, set the indicator.
A permanent error occurs either during the conversion of the file content, or in a module in the module processor."
So the question here is, how do we make the error permanent? The only way to throw error from adapter module is using the ModuleException. It has 4 different constructors. I have used both
ModuleException me = new ModuleException ("My error Msg"); and
Module Exception me1 = new ModuleException ("Error String", new Throwable("My error Msg");
In both the cases, the archival wont happen.
Any ideas welcome.
Thanks
JaiHi,
I am using NFS protocol here not FTP. Sorry I dint mention that earlier.
Thanks
Jai
Edited by: Jaishankar on Apr 1, 2010 9:55 AM
Edited by: Jaishankar on Apr 6, 2010 11:10 AM -
Receiver File Adapter - Encoding issue.
Hi Everybody,
The file format (encoding) is different to the format generally we used to get.
Currently we are get the flat files in DOS format.The current file when we are downloading it we are getting it in the UNIX or other format.
For eg: 20 has been changed to 0D in the file.
Can somebody help me on the same.
Thanks,
ZabiullaHi,
Check on this for file adapters
Text
Under File Encoding, specify a code page.
The default setting is to use the system code page that is specific to the configuration of the installed operating system. The file content is converted to the UTF-8 code page before it is sent.
Permitted values for the code page are the existing Charsets of the Java runtime. According to the SUN specification for the Java runtime, at least the following standard character sets must be supported:
■ US-ASCII
Seven-bit ASCII, also known as ISO646-US, or Basic Latin block of the Unicode character set
■ ISO-8859-1
ISO character set for Western European languages (Latin Alphabet No. 1), also known as ISO-LATIN-1
■ UTF-8
8-bit Unicode character format
■ UTF-16BE
16-bit Unicode character format, big-endian byte order
■ UTF-16LE
16-bit Unicode character format, little-endian byte order
■ UTF-16
16-bit Unicode character format, byte order
Regards
Vijaya -
Outgoing payment file generation formatting issue
Hi Everyone,
I have implemente a custom outgoing formatting method to generate an .txt payment file for external system. The file in generated in AL11 directory but has hashes(#) after every character. Are there any config setting that im missing? Appreciate your suggestions and advices.
thanks,
shalini.Hi,
A possible reason of the error : Payment reference number should not be empty for AP invoice 1
may be that you have not input Supplier Ref. No for some documents(such as AP invoices)
Supplier Ref. No is not a mandatory field for AP invoice,but it is a mandatory filed when you run the payment engine for those AP invoices.
Please check all the AP invoices used in this payment one by one and make sure to input the Supplier Ref. No for every AP invoice.
Check in the TEST enviorment and see if it helps.
Regards,
Jitin
SAP Business One Forum Team -
File Adapter format translation problem
This is my incoming payload from a legacy application
"66386","9002011319","01-FEB-2013","","2114.11","ITEM","0.12","","85411","2310","0","85","GST","68085"
"66386","9002011319","01-FEB-2013","","2114.11","ITEM","15.00","","85411","2311","0","85","GST","68085"
"66386","9002011319","01-FEB-2013","","2114.11","ITEM","1823.24","","85411","2313","0","85","GST","68085"
"66386","9002011319","01-FEB-2013","","2114.11","TAX","275.75","","","","","","GST",""
"66386","9002013706","01-FEB-2013","","717.60","ITEM","624.00","","85411","2319","0","85","GST","68232"
"66386","9002013706","01-FEB-2013","","717.60","TAX","93.60","","","","","","GST",""
"66386","9002026588","03-FEB-2013","","2706.30","ITEM","2353.30","","85411","2319","0","85","GST","68085"
"66386","9002026588","03-FEB-2013","","2706.30","TAX","353.00","","","","","","GST",""
What we have here is 3 different record sets. Field 2 is the invoice number. What I need to do is translate this into something like
<Container>
<invoiceHeader>
<InvoiceLines>
The first 4 elements in each line are the header details and everything after that is line level detail.
So the resultant xml will look something like this........ Please note I have left A LOT of the detail for xml out of this
<container>
<invoice>
<Vendor>66386<>
<InvoiceNum>9002011319<>
<InvoiceDate>01-FEB-2013<>
<Description/>
<InvoiceAmount>2114.11<>
<Lines>
<Line>
<LineType>ITEM<LineType>
<LineAmount>0.12<LineAmount>
<LineDescription/>
<Code1>85411<Code1>
<Code2>2310<Code2>
<Code3>0<Code3>
<Code4>85<Code4>
<TaxCode>GST<TaxCode>
<PONumber>68085<PONumber>
</Line>
<Line>
<>ITEM<><>15.00<><><><>85411<><>2311<><>0<><>85<><>GST<><>68085<>
</Line>
<Line>
<>ITEM<><>1823.24<><><><>85411<><>2313<><>0<><>85<><>GST<><>68085<>
</Line>
<Line>
<>TAX<><>275.75<><><><><><><><><><><><>GST<><><>
</Line>
</Lines>
</invoice>
<invoice>
<>66386<><>9002013706<><>01-FEB-2013<><><><>717.60<>
<Lines>
<Line>
<>ITEM<><>624.00<><><><>85411<><>2319<><>0<><>85<><>GST<><>68232<>
</Line>
<Line>
<>TAX<><>93.60<><><><><><><><><><><><>GST<><><>
</Line>
</Lines>
</invoice>
<invoice>
<>66386<><>9002026588<><>03-FEB-2013<><><><>2706.30<>
<Lines>
<Line>
<>ITEM><>2353.30<><><><>85411<><>2319<><>0<><>85<><>GST<><>68085<>
</Line>
<Line>
<>TAX<><>353.00<><><><><><><><><><><><>GST<><><>
</Line>
</Lines>
</invoice>
</container><?xml version="1.0" encoding="windows-1252" ?>
<container>
<invoices>
<invoice>
<invoiceheader>
<Vendor>66386</Vendor>
<InvoiceNum>9002011319</InvoiceNum>
<InvoiceDate>01-FEB-2013</InvoiceDate>
<Description/>
<InvoiceAmount>2114.11</InvoiceAmount>
</invoiceheader>
<invoiceLines>
<line>
<LineType>ITEM</LineType>
<LineAmount>0.12</LineAmount>
<LineDescription/>
<Code1>85411</Code1>
<Code2>2310</Code2>
<Code3>0</Code3>
<Code4>85</Code4>
<TaxType>GST</TaxType>
<PONumber>68085</PONumber>
</line>
<line>
<LineType>ITEM</LineType>
<LineAmount>15.00</LineAmount>
<LineDescription/>
<Code1>85411</Code1>
<Code2>2311</Code2>
<Code3>0</Code3>
<Code4>85</Code4>
<TaxType>GST</TaxType>
<PONumber>68085</PONumber>
</line>
<line>
<LineType>ITEM</LineType>
<LineAmount>1823.24</LineAmount>
<LineDescription/>
<Code1>85411</Code1>
<Code2>2313</Code2>
<Code3>0</Code3>
<Code4>85</Code4>
<TaxType>GST</TaxType>
<PONumber>68085</PONumber>
</line>
<line>
<LineType>TAX</LineType>
<LineAmount>275.75</LineAmount>
<LineDescription/>
<Code1/>
<Code2/>
<Code3/>
<Code4/>
<TaxType>GST</TaxType>
<PONumber/>
</line>
</invoiceLines>
</invoice>
<invoice>
<invoiceheader>
<Vendor>66386</Vendor>
<InvoiceNum>9002013706</InvoiceNum>
<InvoiceDate>01-FEB-2013</InvoiceDate>
<Description/>
<InvoiceAmount>717.60</InvoiceAmount>
</invoiceheader>
<invoicelines>
<line>
<LineType>ITEM</LineType>
<LineAmount>624.00</LineAmount>
<LineDescription/>
<Code1>85411</Code1>
<Code2>2319</Code2>
<Code3>0</Code3>
<Code4>85</Code4>
<TaxType>GST</TaxType>
<PONumber>68232</PONumber>
</line>
<line>
<LineType>TAX</LineType>
<LineAmount>93.60</LineAmount>
<LineDescription/>
<Code1/>
<Code2/>
<Code3/>
<Code4/>
<TaxType>GST</TaxType>
<PONumber/>
</line>
</invoicelines>
</invoice>
<invoice>
<invoiceheader>
<Vendor>66386</Vendor>
<InvoiceNum>9002026588</InvoiceNum>
<InvoiceDate>03-FEB-2013</InvoiceDate>
<Description/>
<InvoiceAmount>2706.30</InvoiceAmount>
</invoiceheader>
<invoicelines>
<line>
<LineType>ITEM</LineType>
<LineAmount>2353.30</LineAmount>
<LineDescription/>
<Code1>85411</Code1>
<Code2>2319</Code2>
<Code3>0</Code3>
<Code4>85</Code4>
<TaxType>GST</TaxType>
<PONumber>68085</PONumber>
</line>
<line>
<LineType>TAX</LineType>
<LineAmount>353.00</LineAmount>
<LineDescription/>
<Code1/>
<Code2/>
<Code3/>
<Code4/>
<TaxType>GST</TaxType>
<PONumber/>
</line>
</invoicelines>
</invoice>
</invoices>
</container> -
XI Receiver file adapter : Dyanmic File PATH
Hi,
Appreciate if someone could help me on the issue below:
I have a receiver File adapter with a dynamic target directory as per below:
Target directory: /test/YYYY/MM/DD
the value for YYYY (Year) , MM (Month) and DD (Date) will be the date when the file being transfered from the sender.
Appreciate if someone could help me to achieve this. I know we can use the variable substitution however it doesn't allow us to set a systems field such as sy-datum.
Cheers,
ZABHi,
Populate this value in your payload , and then use Dynamic File Name concept of File Adapter.
The dynamic filename generation concept is as follows.
In your filename field. just give a variable with % symbols. (eg: %file% ).
Now, under the option Variable Name Substitution, you can give how the value has to be created.
It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.
For the former, your give
message:interface_name ,etc
and for the payload part you give,
Payload: "your element root which u wanna acecss"
Just check this link out,
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
And read the contents under variable substitution and it will help you understand the concepts better.
If you have any clarifications, do get back,
Regards,
bhavesh
Maybe you are looking for
-
Create PS Report Painter using Z fields
Hi all! Can any one help me how to create report painter from PS using Z fields which were added in table PROJ by append CI_PROJ? I need to know how to turn this fields visible to add in creaton of the variable . transaction CJEV. Thank you Best Rega
-
Is Logic Express 9 compatibility
I'd like to buy logic express 9 but I want to make sure its compatible with my computer. I have n iMac running 10.7 with an intel processor. Thanks
-
How to keep the form's shape across screens and resolutions?
Hi All, I know that this question is repeated but I didnt found any solutions. When I develope a form on a 17 inch monitor and run it from another screen with another dimentions (e.g 15") it looks different the same problem exist when the resolution
-
Data Service DB repository Size
Hi all, Is there any database sizing guide for Data Service XI 3.2 for SQL Server 2005 ? Sincerely, Sébastien
-
Do I really need 3.3 GB of printer drivers?
I have two printers, both from HP. The /Library/Printers directory on my machine is 3.3GB which seems a little excessive. Can I safely delete all the subdirectories except the hp directory? Is there some other way to houseclean unused printer drivers