Multiple source files to 1 source structure
Hi Gurus,
Is grouping of multiple souce files to create one source structure possible?
EX.
AAA.csv
BBB.csv
CCC.csv
Then the contents of these files will be merged into one source structure. Can this be done without BPM?
Thanks!
Check the wiki page below in addition to above replies.
http://wiki.sdn.sap.com/wiki/display/XI/MessagemergeusingtheBPM
Similar Messages
-
Get source file name in the structure itself or in the payload
Hi everyone,
I have a task regarding mapping
In my structure , i defined a field for Filename . What I need is, what ever source file name am sending, that should be mapped into this filed.
If am sending inputfile.txt.
My output file should appear like this,
<?xml version="1.0"?>
<message id=u201DmessageIDu201D>
<header>
<filename>D:\\inputfile.txt</filename>
</header>
<body>
FileContent
</body>
</message>
Any help would be appreciated. Do I need to create any UDF. If So please provide.
Regards,
VarunHi Varun,
are u using the same UDF that I replied. also note that the variable key should be declared only once.
Use this without changing any thing. It works for me...
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);
key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
String dir = conf.get(key);
return dir+'/'+ourSourceFileName;
Also let us know where do you het this error..
Thanks
SaNv... -
Picking source file A first if source file A and source file B both appear
I have a situation where two source file with two different data format. Hence I will need to create two different mapping
and then different parameters at file sender adapter FCC.
However there is such a condition where source file A will need to process first before picking and process source file B.
if both appear at folder at the same time else source B will be process if no source file A.
Beside using the scheduler at availiablity times at Runtime workbench, if there any other options ?
Regards
Fred
IThere are two different send file adapters involved due to different data format between source file A and B.
Beside using BPM is there any other method.
If doing at adapter module or operating command, how to do it ? -
How to overwrite source files, or use source file names?
Hi all
I would like AME (5.5.1.12, under Windows 7) to overwrite the source files that it is encoding, or if that's not possible, save the exported files to a different folder with the same file names as the sources.
However I can see no way to do this without manually specifying a file name for every file. I need to process 400 files so this is not practical.
Currently AME automatically adds a "-1" suffix to the exported file name, whether it's saved in the same folder as the source or a different folder.
Can anyone advise, please?Hi Jim,
Thanks for the reply. However, overwriting source files during a batch process is a common feature in audio/video software. It's possible in Audition, for instance, as well as in third-party programs such as Sound Forge, Wavelab and Samplitude.
Presumably in these cases the software writes to a temporary file, either in RAM or on the hard drive, before deleting the original and replacing it with the new one.
I'm surprised to hear that AME can't do this for conversions that stay within the same file format (such as the bit depth of a wave file). -
Multiple excel files - ODBC Data Source Administrator
I have about 1750 excel files that I need to convert to text format.
Is it possible to ... configure all files in the ODBC Data Source Administrator window?If you need these DSNs for Java only, you can define them directly inside the connect string.
Look at these previous topics:
http://forum.java.sun.com/thread.jsp?forum=48&thread=150956
http://forum.java.sun.com/thread.jsp?forum=48&thread=218662
Call again, if you don't succeed. -
Advanced selection for source file
Hi,
Requirement: One source directory, multiple file names. File needs to be picked up from source directory and send to target directory with same name as source file name.
Source file name pattern sample: AP5_X_yyyyddmm, A35_X_yyyyddmm, AP5_Y_yyyyddmm, AP5_Y_yyyyddmm.
Target file name should be :AP5_X_yyyyddmm, A35_X_yyyyddmm, AP5_Y_yyyyddmm, AP5_Y_yyyyddmm
Can we define multiple place holders as :
Directory
File Name Mask
Exclusion Mask
\\Source
AP5_X*.txt, A35_X.txt, AP5_Y*.txt, AP5_Y*.txt
When I tried for single place holder, the scenario was working but when I tried adding multiple place holders it was not working.
How can we achieve the above scenario?
Thanks,
VertikaHi Amit,
Thanks for reply.
Yes you understood it right.
I am able to achieve this now. The only change that I did is instead of giving all the placeholders in same line I have given it in different lines and this is working now.
Sender Adapter Configuration: Checked Advanced selection for source file and used Adapter specific message attributes to keep same file name as source file name.
File Name Mask
File Name Mask
Exclusion Mask
\\Source
AP5_X*.txt
\\Source
A35_X*.txt
\\Source
AP5_Y*.txt
\\Source
A35_Y*.txt
I am closing this thread now.
Thanks,
Vertika -
Same file name in target as source file
Hi,
I am doing a file to file scenario in which there is no mapping involved, it is a bypass scenario.
I want my target file name to be exactly same as the source file name.
Source file name dynamically changes based on date and time.
I have tried creating the target file using the Add timestamp characteristic. But it is not in the same format as the source file.
How can I achieve this???
Since there is no mapping invlolved, I can't use dynamic configuration or variable substitution.
Please advice.
Regards,
SachiHi Sachi,
-->Are you bypassing the mapping rite....?
-->Then in your ID under Interface determanation what interface mapping did you maintained....?
-->I think you are by passing the IR.
-->I think this can be achived by using the ASMA but it requires the Mapping Program.
-->Even the above blog explains about getting the same file name using the ASMA and UDF.
Thanks -
Best way to handle source files
Hi there,
After some pretty general advise please.
The company I work for looks after a lot of websites, and one
of the
headaches we have is the best way to handle source files. By
source files I'm
referring to Photoshop files, Flash .fla files and also other
none Adobe
files that relate to a site, not the .html, .asp, .aspx,
.css, .js etc type
files.
Now I'm NOT after a version control system, just a simple way
to store the
source files in a location that is separate from the website
but still to be
able to have a smooth workflow between the Dreamweaver site
and it's source
files.
At the moment, and I know this is unwise, we have a
subdirectory within the
site where we store the source files, and use WebDAV to
transfer both site
and source files to and from the server. But I really want to
separate the
site from source but still maintain a link between site and
source...... if
you see what I mean. I think the upshot is I would like to be
able to open a
site within Dreamweaver and instantly be able to access that
sites source
files if needed. This method needs to be shared across a
small team spread
round the UK.
I looked at the Repository Subversion version control, but
like I said I'm
not after a source control system, plus it appeared to
conflict with WebDAV
and Contribute, that some of our clients use to maintain
content on their
sites. I also looked at Version Cue which looked promising,
but can't see a
clear workflow between Dreamweaver and Version Cue which
separates site from
source. I might be missing something.... part of my brain
perhaps. :)
Would be grateful for any advice please.
Cheers,
@ndyBTake a deep breath. Relax. All is fine.
iDVD does not look at the size of your video file, it looks at the length. iDVD can accomodate up to 2 hours of movie
iDVD gives you different options depending on the length of your movie. Although I won't agree with your friend about reducing the length of your movie to 15 minutes, if you could trim out a few minutes to get it under an hour that setting in iDVD (Best Performance though the new version may have renamed it) gives you the best quality. Still, any iDVD setting will give you good quality even at 64 minutes
In FCE export as Quicktime Movie NOT any flavour of Quicktime Conversion. Select chapter markers if you have them. If everything is on one system unchecked the Make Movie Self Contained button. Drop the QT file into iDVD -
Mxmlc / compc: automatically link in all source files?
In the standard configuration, compc and mxmlc only link in classes actually used by your project. We're using code generation to get ActionScript classes from our Java classes for AMF serialization. We deal with most of these generically, so we don't automatically reference all the generated classes. Consequently, some of these are compiled out of the final .swf, causing hard-to-track-down serialization issues. Is there a simple way to tell mxmlc / compc to include *all* classes defined in a certain path? I tried to use include-sources, but when I just add all the source files to include-sources (I'm using mxmlc / compc through ant with a fileset for this purpose, for what it's worth, but the problem is not ant-specific), I get weird errors about circular inheritance. Any other strategies for achieving this?
Hi,
One way you might ba able to acomplish this is when you are auto-generating your actionscript classes from Java, create a classes.as file.
package
internal class LinkClasses
import mx.package.LinkClass;
Include this class in the compc include class.
This should alow the linker to pick up all classes very neatly.
Mike -
How to split Large file into Multiple small files..
Hi,
My source file is simple XML structure...and target side also i need to send in XML files .. but in the source file I'm getting all the data at a time.. so source file is more than 1000 records.. but i want to process 50 records at a time...
bu using FCC (RecordSet per Message) we can solve this.. but I dont want to do any File conversion.. i want to send in XML file only...
for this.. how we can handle....
Regards
JainJain,
Please see the below screenshots.
http://www.flickr.com/photos/23855877@N07/2991137391/sizes/o/
http://www.flickr.com/photos/23855877@N07/2991137441/sizes/o/
http://www.flickr.com/photos/23855877@N07/2991988028/sizes/o/
http://www.flickr.com/photos/23855877@N07/2991988084/sizes/o/
For No, Name, City Map Directly.
In the example, I've given 5 records to split. If you want 50 records to split, then instead of 5 give 50 in the constant.
raj. -
Creating Dashboard against multiple bqy files
Does anyone know of a way to use multiple bqy files as data sources for a single dashboard?
Can you be a little more explicit?
1.) Do you want to display another BQY inside the "master" bqy? Are these BQY's on the Server (HPS9, Foundation, etc...)
2.) Do you want to use/share BQY Sections across documents?
Ans 1 - Embed a browser into the master BQY & call the smartcut for the second document.
Ans 2 - If using the Desktop client, all Objects/Sections are available (shared) amongst BQY's that are OPEN. Be careful, if the BQY is not open, then the Object you were using will not be available to the other BQY. Easy enough to script opening a set of BQY's
Rick -
Multiple Target Files as the number of times Item in source node
Hi all
I am new XI ,my scenario is File to File and my data type structures for source and target are as follows
Data type for source
Source
Header 1:unbound
Org 1:unbound
In declaration of target data type occurrence of all child nodes are 1:unbounded. And I have used it in Message type and in message mapping for my target message type occurrence is showing as 1:1.
My objective is to replicate this entire Target as the no of times the Item is occurring in source ie for multiple items in source I want multiple target files. For this I have mapped item node of source to Target(parent node). But in mapping test it is only displaying one Target structure for multiple nodes in source. Please Help me in solving this issueHi Satish,
Use Multi Mappings :
When you create message mapping change the occurence of target from 1 to unbounded. This will allow you to create multiple target structures.
Then map them accordingly as per your need and you can see multiple output in test.
Just you have to be more focused on the context and for that you have to go thro' the mapping documents.
Search related documents on SDN and go thro' them.
Regards,
Shri -
Multiple Target files as the item in source file
Hi all ,
I am new XI ,my scenario is File to File and my data type structures for source and target are as follows
_Data type for source: _
Source
Header 1:unbound
org 1:unbound
order 1:unbound
Item 1:unbound
itemno 1:unbound
matno 1:unbound
Data type for Target
Target
org 1:unbound
order 1:unbound
itemno 1:unbound
matno 1:unbound
In declaration of target data type occurrence of all child nodes are 1:unbounded. And I have used it in Message type and in message mapping for my target message type occurrence is showing as 1:1.
My objective is to replicate this entire Target as the no of times the Item is occurring in source ie for multiple items in source I want multiple target files. For this I have mapped item node of source to Target(parent node). But in mapping test it is only displaying one Target structure for multiple nodes in source. Please Help me in solving this issue .
Full Points will be awarded
Thanks & Regards
Satish.Hi,
If you want multiple Targerts you need to use UseOneAsMany.
check below link
http://help.sap.com/saphelp_nw70/helpdata/en/38/85b142fa26c811e10000000a1550b0/content.htm
Thanks,
RamuV -
Source file structure when importing a qualified table
Hello MDM:ers
I need to import a qualified table into the following repository
(it is simplified to illustrate the problem):
Main table: Products
Fields: ID (int), Name (Text), Part number (Qualified)
Qualified Table: Part Numbers
Fields: Manufacturer (Lookup), Part Number (Text)
Lookup table: Manufacturers
Fields: Name (Text)
The source file is a very large text file that has the following structure:
Part ID Name Part no. Manuf 1 Part no. Manuf2
123 Nut ABC XYZ
456 Bolt DEF QWV
The result Im looking for Is to map a file structured a above so that two main table records are created (Nut and Bolt) which both have two qualified table records for each manufacturer. I have not been able to create such a map. I have tried to partitioning and combining fields without success.
I have no problem creating the map if I manually restructure the file to look like:
Part ID Name Manufacturer Part Number
123 Nut Manufacturer 1 ABC
123 Nut Manufacturer 2 XYZ
456 Bolt Manufacturer 1 DEF
456 Bolt Manufacturer 2 QWV
It where a way to import the file directly in MDM without restructuring it?Hi Alexander,
MDIS will not work fine if you have multiple tables as the mapping is saved only for 1 table. If you have multiple tables then after performing the process of Pivoting/Reverse pivoting, you will have to use joins.
Join the other tables as Lookup in the Main Table
Save all your configuration in a map. And then configure the map in the port.
It should then work with the MDIS also.
hope it helps.
Thanks and Regards
Niitn Jain -
RH Project Structure - Source File (*HTM) - advise pls
Hi All, (running RH X5.0.2 on Windows XP SP2)
I transferred & inherited an 'unstructured RH HELP s/ware
documentation system (*.chm output) and I'm trying to determine
upfront the best way to organize, share and manage the projects for
chm help, documentation & translation/localization.
I'm a Newbie to RH X5 but not tech. authoring etc, but
gaining experience fast, such as editing/updating existing (legacy)
projects - building them out as .chm projects - though I intend to
advance to shared outputs i.e. printed docs etc in good time. But
How?
My output (.chm's)62 chms and 54 in the other with approx.
2800 - 3500 topics - has various requirements, but the main being
its shared between 2 major branded products i.e. 'Product 1' and
'Product 2' - Product 1 being the flagship and the forerunner..
this causes soo much hassle as the S/ware products are sold or
INSTALLED in so many differing variations/permations.. so you have
to be very aware of what’s what and goes with what variation
of install - time will improve this..!!
I've found Conditional Build tags useful at this stage to
define each products content - for inclusion/exclusion!
Where as the predecessor preferred to do it the long/hard way
and recopy the Topic(*.htm) file and segregate it in another folder
(unfortunately, usually leaving the same filename and then edit the
Product 1 data for Product 2's requirements.. (Conditional text has
helped this..). ever heard of SIngle Source authoring ..?
However, there are a magnitude of repeated, duplicated topics
through out the total help system, becos of the above and I wish to
bring law & order to this non share friendly file structure -
ex BroadVision user speaking - and have the following question..
1. Do the source files, (*.htm) files, have to be
stored/located in same folder as the RH project (*.xpj).
Could you place the source files in a separate location,
away from the .xpj.. i.e. on a drive labeled F:\\Source Files
(HTML)\HOUSE projects... Then have on the local drive i.e. D:\, the
individual projects (*.xpj's) in separate folders, such as GREEN
HOUSE, RED HOUSE, WHITE HOUSE projects which are all linked to 1
copy of Source files (HTML )?
I hope the output from each separate project will build out
with the same .chm filename but contain the according Green or
White house data?
This would allow just 1 lot of source files with differing
types of HOUSE text/data - but conditioned appropriately could
provide multiple deliveries separately & version control?
Please say yes - although it’s not necessary for it to
work across separate drives/networks but it will be desired in the
future...
2. The second and quicker way I assume, would be to use
multiple project files in the same complete RH project and design
the projects files accordingly - prod1_RED HOUSE.xpj and prod2_RED
HOUSE.xpj then treat the xpj’s as separate projects and
include/exclude topics as you want...
3. The first is friendlier when collecting all *.htms from 1
drive and posting for translation I think – instead of having
to mine the HTM’s out of each folder? Agree
4. Also can anyone advise on the amount of work (damage) I
will have to do depending on which way I decide to structure the
source files/projects - as the existing projects (64+) are all in
self contained individual folders .... would prefer not to be left
with more work.. than what I'm actually achieving!! (Ref. to
Deleting and then re-importing all the topics in as file reference
have dropped…. like F/Maker?
I welcome all ideas or any suggestions please Help.
Hope to hear from people soon
Sim
BTW - Wished my company had bought Vers. RH X6 - seen the Toc
Books can now be Conditioned – v nice….Hi Colum,
Thanks for you reply - however I think you might have
misunderstood my question(s) or general intention.
You stated;
> 'However you can (and indeed should for a project your
size) organise those files into a series of folders. For example
your project folder can have any number of folders with relevant
topics in them. Set-up these folder in RH via the File > New
> Folder menu item in the Project tab and then click and drag
the topics into them. It is much easier to organise topics in this
way.' <
But Colum when you come to build this 1 project, based on
your suggested structure above, this would build out as just 1
finished final file - VERYBIG.chm. It would not allow for
variations of the install - (hence the reason I've 64 chm files).
Each feature or most of the S/ware menu commands/options are
in their own project/folder.. and that supplies 1 chm.
What I am asking is it possible to create more than 1 project
& .chm, say 10 projects/.chms from 1 lot of htm files. A more
accurate example may be required... see below:
I've 1 Folder called 'MY DREAM House' that contains all htm
files, and has 10 subfolders labeled as below with supporting
content:
1. Foundations/Ground Works - contains 10 htm files listing
how/why foundations are required & built.
2. Wall & Brick work design - contains 10 htm files
listing how/why
3. Doors/Windows design types - contains 10 htm files
listing how/why
4. Ground floor design/ rooms - contains 10 htm files
listing how/why....
5. 1st Floor Design / rooms - contains ... 7 htm files
listing how/why....
6. 2nd Floor Design / rooms - contains ... 17 htm files
listing how/why....
7. Electrical Systems /Design - contains 22 htm files and so
on....
............ Up until 10 individual Features (in separate
Folders), with the supporting HTM files, for the HELP design of MY
DREAM House....
Now you have three House Developers that require the HELP
formatted & specific Terminology their way.. i.e. 3 different
customers, but who all need the same general text/pics & but
differing Languages. So there are at least 3 deliverables involved
now
And each customer/client is not getting a complete
publication of all 10 Features - jobs required.
For Customer 1
You want to design the project (Customer1.xpj) to include
only Floor Design files - all 3 folder which totals 34 topics.. and
they receive it in 1 chm.. called DREAM HOUSE.chm
Customer 2
You want to design the project(Customer 2.xpj) to include
only Electrical Systems /Design & Foundations/Ground Works
files - 2 folders containing 32 Topics - in 1 finished file called
DREAM HOUSE.chm
Customer 3
your favorite customer - You want to design the project
(Customer 3.xpj) to include all 10 Folders/Features (not RH HELP
folders i.e. folders), supplying all the topics in a structured RH
TOC order just as the others have been, but with topics excluded -
but he gets over 80 topics in 1 file called DREAM HOUSE.chm
Separate OUTPUT folders
Of course you would require each .xpj to build out to a
different location such as Customer 1_Tender OUTPUT, and Customer
2_Tender OUTPUT and so on.. as the file names being the same would
be confusing.. (preferably I don't want to have to keep flicking
the generate Build conditions each time and have to remember and
adjust manually!
I think this may break down my requirement a bit better.
What I have just explained is my companies products
(software) being installed, but in all of there variations, scaled
down/lite version, major install or flagship fully paid up install
(Customer 3) and the .chm filenames are the same so the menu
cmd/registry entries call the file .. and the htm files remain in 1
place ready for copy to translation..
Do you understand what I'm trying to achieve now, with this
greater detail?
Please anyone feel free to HELP or offer comments
Thanks again
Sim
Maybe you are looking for
-
The display bookmark icon is on the far side of the navigation bar. When activated the list of bookmarks come up on the far left which is not convenient since I am right handed and would like to move the cursor straight down not across the screen.
-
Is there a way to lock an application?
Not sure I'm in the right place but here goes. As the title says really - I've got to take my iMac to have a repair done and they want to keep it for a couple of days. I'd like to leave it with them so they cannot open Mail as it as various financial
-
Reading .txt file and non-english chars
i added .txt files to my app for translations of text messages the problem is when i read the translations, non-english characters are read wrong on my Nokia. In Sun Wireless Toolkit it works. See the trouble is because I don't even know what is expe
-
Physical Model Data Type Issue
Hi, I have created ware house tables using E-business suite tables for general ledger model and exported into physical model. I could see all my keys/IDs which were numbers have been converted into decimal. Ex: journal_id in my oracle table is number
-
Some of my art work is not getting put on my ipad...I have all the artwork in itunes...and it show up on my ipod, iphone...