Multiple sections in a single file
How would one design a datastore for a file that has multiple sections? Each of the sections have different structures and can appear x number of times?
could you validate your instance against your schema.
in the visual studio, select your schema and set the property "input instance file name" to your sample instance.
and then try to validate your instance as shown below. If it does not succeed, then it means your instance does not comply with your schema definition. you should make sure it succeeds.
Right click on the schema file and set the
Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.
Similar Messages
-
Multiple labels on a single file?
Is there a way to place multiple labels on a single file? I'd like to be able to sort files based on several partially overlapping criteria. Thanks.
Files can only have one name.
-
How to put multiple classes in a single file?
Hello,
I'd like to put mutliple classes in a single file. (This
would be useful for grouping children that are minor extensions of
parent classes or helper classes that are used by one class only).
When I tried to put two classes in one file, I got this error
message:
5006: An ActionScript file can not have more than one
externally visible definition: Notation.editField,
Notation.labelField1
This is the structure I used. Thanks in advance for your
help.You can declare multiple classes in a single file, but only
one can be
within the package declaration. All class declarations
outside the package
are invisible to code outside the file.
package sample
public class SampleClass
class SampleClassHelper
class SampleClassHelper2 -
How can i scan multiple pages in a single file in pdf.
How can i scan multiple pages in a single file in pdf using 1536 dnf.
Hi @veerendrajain ,
I see that you would like to save multiple PDF documents into one file. I would like to help you out today.
In the HP Scan Software, select Advanced scan settings, click on the File tab and uncheck Create a separate file for each scanned image.
Hope this helps.
Have a nice day!
Thank You.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Gemini02
I work on behalf of HP -
Multiple accounting doc in single file - PROXY
Hi,
I am reciving multiple accounting doc in single file..
MT_INPUT
acc_doc1
acc_doc2
I need to send it seperately to PROXY.
MT_INPUT
acc_doc1
MT_INPUT
acc_doc2
proxy needs to be called multiple times.....
how to do this?
Regards,
Akshay.Hi Akshay,
Create a 1..n mapping and 1..n interface mapping.
You will then need to create an enhanced interface determination. (There is a radio button to select 'Enhanced'). The rest of you config will be the same.
This will split your single message into several messages, which will be processed individually by the receiver proxy.
Regards,
Yaghya -
Multiple FileChannels on a Single File
I wonder if anyone could help on this please: is it possible to have multiple filechannels on single file, basically I have a RandomAccessFile where I got my FileChannel from , any attempt for a getChannel on this RandomAccessFile object always return a unique FileChannel same as the previous one. is there anyway to get deferent FileChannels ? or may be any other way to get around this?
Thanks Alan, for the replay, but actually I do not want to open the file many times, if I would to use what you have suggested: " FileChannel fc1 = new RandomAccessFile(f, "rw").getChannel();
FileChannel fc2 = new RandomAccessFile(f, "rw").getChannel();"
then this will open the file "f" many times.
my question is : I would like to open the file once by " RandomAccessFile raf = new RandomAcessFile(f, "rw")" and then how could I get multiple channels on this raf ?
any time I call raf.getChannel() it return a unique FileChannel object, say:
FileChannel fic1 = raf.getChannel(); FileChannel fic2 = raf.getChannel();
fic1 and fic2 are eventually the same, so any attempt to manipulate fic1 would affect fic2; say the cursor position and so on. -
Multiple iDocs in a single file
Hello,
I'm working on some integration to send a purchase order change file into SAP from BizTalk. Everything works when we send every change as its own iDoc, or when we send all changes for a single PO in a single file, but when we try and include multiple iDocs in a single send, we get an error that it has to many elements. The definition below is of the idocData element which indicates it can send more than one:
<xs:elementxmlns:q2="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/PORDCH03//711"minOccurs="1" maxOccurs="2147483647" name="idocData" nillable="true"type="q2:PORDCH03">
A sample of the file:
<?xml version="1.0"?>
<ns0:Send xmlns:ns3="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:ns2="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" xmlns:ns1="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/PORDCH03//711" xmlns:ns0="http://Microsoft.LobServices.Sap/2007/03/Idoc/3/PORDCH03//711/Send">
<ns0:idocData>
<ns1:EDI_DC40>
</ns1:EDI_DC40>
<ns1:E2PORDCH000GRP>
...... </ns1:E2PORDCH000GRP>
</ns0:idocData>
<ns0:idocData>
<ns1:EDI_DC40>
</ns1:EDI_DC40>
<ns1:E2PORDCH000GRP>
</ns1:E2PORDCH000GRP>
</ns0:idocData>
</ns0:Send>Hey Josh,
Hope your issue is fixed by now.
If not please check the Inbound Process code of the Order which is triggering Idoc in the SAP System.
You have to modify that as per se your need.
Thanks. -
Sending multiple IDocs (all in single file) to FTP via XI
Hi All,
We have a requirement as below where we are looking for various feasible solutions.
The requirement is to collect multiple IDocs in ERP (2000-5000 in number) per day (either Flat File or XML) and needs to be sent as a single File (which has all these IDocs) to FTP Server via XI.
BPM is not allowed to use and we are working on PI 7.0, so IDoc packaging is also not applicable. There is no mapping required, we need to just route them to FTP from ERP System.
Looking forward for various solutions.
Regards,
N. Jayanth Kumar.Hi,
Using the XML file port at R/3 to collect the Idocs would be a feasible solution. Also, as Sunil as already pointed out, you can configure this as a pass through interface, which will improve your overall processing time.
Another solution can be to pass the Idocs to PI and then use the append mode in the receiver file adapter to collect the days idoc into a single file.
To append only idocs for a particular day, try using dynamic filename, where file would have the date in it. This way, only Idocs for a particular day would be appended.
Regards -
M276 Unable to scan multiple pages into a single file
Hi, just bought the Laserjet Pro 200 M276nw, and when I scan multiple-pages documents, it generates one PDF document for each page scanned, but I want this multiple pages into a single PDF file. Anyone can help? Thanks so much
Yes it's possible. Use the Image Capture app. It has an option to scan PDF documents into a single file.
-
Need help (desperately) '^_^ in writing multiple objects in a single file
For all those Java guru out there please help me,
I want to write a simple application that can serialize objects in a single file. Currently I know how to serialize one object in one file using the ObjectOutputStream's writeObject () method.But the problem is that if i have 10.000 objects to serialize then I will have 10.000 file in my HD. To simplify things I want to write those 10.000 objects in a single file. But I dont know how to do that, any one can help ??You can write any number of objects of any type into a file when you serialize them. You need to realize that once they're written to the file, they're all placed in there as type Object, so there really isn't any distinction between any of them. You don't have a file that contains only Shapes, or only Images. You write them out as Objects, and then you discover their types later as your deserialize them and read them in. You should read into the "Reflection" capabilities that all objects have. You write an Image to a file, and then a Shape, and then a Color, you can later pack these all into an ArrayList as you read them in, and when you use them discover their type using reflection.
-Jason Thomas. -
usually i need to create many watermarked datasheets for different customers using a single base pdf. currently i run individual actions for individual customers on the same file which means i have to runs 10s of individual actions every time i have new source file. can i make a single action or a script which will take a single source file, run multiple actions(~15-20) for watermarks and save these files separately? basically what i need is instead of running many individual actions i run a single action/script to make it automatic. if yes, how to do so?
Hi Monte,
You can achieve this by assigning a secondary extension to another button, but this might not be what you want, so if you can elaborate a little further as to what you want exactly I can help you with putting together a solution
Cheers,
David Trad.
**When you rate a persons post, you are indicating a thank you or that it helped, but at the same time you are also helping to maintain the community spirit - You don't have to rate posts and you wont be looked down upon :) ** -
Get multiple jpegs in a single file at original size
I apologize because I'm sure this is stupid easy, but I can't seem to find the answer on google. I have several jpegs I want to place on a single 81/2 x 11 page at their original size. When I drag them onto a new 8/12 x 11 document they print larger.
Good day!
What are the pixel dimensions and resolutions of the original images (Image > Image Size) and the newly created file?
Regards,
Pfaffenbichler -
Opening multiple databases in a single file
Hello everybody, I need create 1000 small databases(tables) in a single physical file, how to solve? ( I have read chap 3 Access Method Operations in BDB programmer reference, so I know it’s need create a shared database environment, but I don’t know which ENV FLAG or API I need .)
thank you very much.I would suggest taking a look at the example programs in the /examples directory in the install. ex_env.c covers basics on creating an environment and creating a database in that environment. This program could be easily modified to create 1000 databases.
thanks
mike -
Creating multiple instances for a single file in B2B
Hi,
I have a requirement to read the camt.053 file from the remote partner using Oracle B2B and send the file to oracle AIA and insert the data in the ERP database tables. I am able to read the file successfully through B2B using listening channel and send the data to AIA and insert the data in ERP tables but, if there is any error occured while inserting the data in the ERP tables it is creating multiple instances(6 message count) for the same file in B2B reports. where as it is creating only one entry in reports in case of successful insertion. I have not given any retry count in listening channel nor in the database adapter in SOA/AIA composite. I am confused from where B2B is retrying the message ? Do i need to set any system properties? Could you please guide me to resolve this issue?
Regards,
Nishanth.App message delivery is not retried in B2B, rather failed messages are delivered to the IP_IN_QUEUE. Please enable the logging for B2B engine in TRACE 32 mode and run a test to reproduce the behaviour. Post the log here or mail across to my id (in my profile).
Regards,
Anuj -
How to manage multiple formats in a single file ,
hi ,
I 'm getting multiple format files from my source..
how to tackle this scenario in ODI ,
Plz reply me and thanks in advance.RECORD CODES in column definition are used to differentiate between different record types that are put in a same file.
The premise here is that the file contains records of different record types and a field in the file identifies the record type. eg. A file contains 2 record types with different formats.
A,101,'CMP', 'IDV
A,102,'CMP', 'IDV
B,1001,'GFRV_OCCD', 'GFRV_ID', 'IDVA, 121 ,'CMP', 'IDV'
A,101,'CMP', 'IDV
B,2001,'FRV_OGCCD', 'GFRV_ID', 'IDVA, 121 ,'CMP', 'IDV'
A,101,'CMP', 'IDVHere the first field identifies the record type - A or B. So, in the ODI data store, you use A or B in the record code field of the column definition of the data-store.
ODI automatically, gets the records matching the record code specified in the definition of the data-store.
So, you will create 2 data-stores, one with record code = A (4 columns) and other with record code = B (8 columns)
Hope that helps.
Maybe you are looking for
-
When I click on a folder in the bookmarks toolbar, it often won't open
Staring with Firefox version 4 and higher, I've been experiencing a strange problem with my bookmarks toolbar. If I try to open a folder from the toolbar while a site is loading, the bookmarks inside of the folder will not appear. As a workaround, I
-
I have read 118 files from a directory using the list.vi. Each file has 2 cols with 2088rows. Now I have the data in a 2 D array with 2cols and 246384rows (118files * 2088rows). However I want to put each file in the same array but each file in separ
-
How do I trim a .WAV file in iMovie 09? / Proper aspect ratio for iPhone
Hi, I have a .WAV file that I want to use in my project but I need to trim off the first 1/4. How do I do the using iMovie 09? Also I shot all of this with an iPhone. Which aspect ratio should I choose... It will be played on a WideScreen TV. Thanks.
-
How to get iOS 5.0 loaded on Mac iTunes?
I am unable to get 5.0, iTunes, says it is up to date with 4.2.1. My iPad updated to 5.0, but can't get 3G iPhone updated! I don't know why laptop doesn't automatically update itself to 5.0. I tried 'check for available downloads'. Not computer sav
-
ITunes cannot find the correct iTunes file to sync iPhone
I have the iPhone 4 and no problems with the phone or iTunes until now. I opened iTunes and it was blank so I reconnected iTunes to the proper files, however, it doesn't show my apps and it doesn't recognize my iPhone. When I try to sync iTunes warns