To create multiple files on the receiver side based on key field
Hi Gurus,
My scenario is File to File
My Source structure is as below
My File looks like
My file looks like below
570774 11/26/2008 8:12 6296 xxxxxxx 985-399-5157 1153 Teche Road Morgan City United States Lori Eisenman Louisiana 70380 0 1153 Teche Road Morgan City United States Lori Eisenman Louisiana 70380 303 101400100000 3365440332522 ELLE YVES SAINT LAURENT Eau de Parfum Spray 2 61 78 156 184 184 0
570774 11/26/2008 8:12 6296 xxxxxxx 985-399-5157 1153 Teche Road Morgan City United States Lori Eisenman Louisiana 70380 1153 Teche Road Morgan City United States Lori Eisenman Louisiana 70380 376 106074700JP0 3365440347229 GOLDEN GLOSS N° 27Shimmering Lip Gloss 1 28 28 28 0
570775 11/26/2008 8:15 6296 xxxxxxx 985-399-5157 1153 Teche Road Morgan City United States Lori Eisenman Louisiana 70380 7 1153 Teche Road Morgan City United States Lori Eisenman Louisiana 70380 284 9000400000 3365440316546 L'HOMME Eau de Toilette Spray 1 53 53 53 60 60 0
for each new order number(key field ex: 570774) a new xml file to be created , from the above example 2 xml files sholud be created(one for 570774 and the other for 570775)
How can i acheive this functionality?
Please help me on this, Thanks in advance
Regards
Srinivas
Hi Srinivas,
map the key field to the parent record of the target field. Use the split by value and change the source key field level to higher one so that the all occurences of the key field are occuring. The mapping will be like this;
Source Key Field (change to higher level) --> Spli by value --> Filename creation UDF --> Target header field.
Try this.
Regards,
Murugavel.
Similar Messages
-
Sending an idoc to 1 the of the 2 idocs in the receiver side based on field
Hi,
Am having 1 idoc in sender side SHPMNT05 and 2 idocs in receiver side DELVRY05 and VEHCLE01.
My requirement is to send data to DELVRY05 only when one field in SHPMNT05 is having space in it
and to VEHCLE01 only if having Vehicle no in that particular field.
And to populate DELVRY05,
Need to call a FM with Delivery no and del item details.
Function module has to determine based on the FS scenarios, whether to change the delivery, split the delivery (Create new delivery) based on the reason code.
Take the return values from RFC function module and populate DELVRY05 idoc.
Using conditional operator on that particular field we can map it to root nodes of the idocs and do mapping, i think.
But How can i call a func module for populatng del05.
Help me firends.
Thanks,
Ravi.You may perform RFC lookup in your mapping to call the function module. Make sure that your function module is remote enabled.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
Regards,
Prateek -
How to archive file on the receiver side using file adapter
Hi All,
In our company we have many file to file scenarios some of them for B2B communication. We want to archive all the files that are sent from vendor to our company. Is there a way of archiving the orignal files being sent by the vendors?
Regards,
Xier
Message was edited by:
XIerhey
>>we want to archive the files before they are processed by XI, i.e the way the sender adapter picks it up.
well if the files are not picked up by XI then they will stay in the sender directory then why do u want to archive them and create a duplicate copy.
files are archived when they are picked by sender file adapter so that in future if we have any issue in message transfer we can resend them,simple set the mode as archive in the sender CC.
Thanx
Aamir -
Creating Multiple Files with different name at Receiver side
Gurus -
Can anybd tell me how to generate multiple files at the Receiver side in the given target directory with different file names?
One source message will contain number "N" using which we have to generate files "N" number of times at the Receiver side.
Kindly help.hi,
are you following this blog?
provided you have SP>14 and no IDOC/HTTP involved.
and have you got the error you mentioned when testing with sample payload?
from where did you take the payload? if is from SXMB_MONI make sure you dont have <MESSAGE> tags in the payload,generally systems adds <MESSAGE> tags when you do multi mapping.
get the payload from SXMB_MONI right click ->view source payload(this is raw data) and test it.
it should be ok now.
and refer my discussion in the thread ,as I got he same error.
Split mapping created no messages -Mluti Mapping -
Acrobat 9 Pro - Batch Create Multiple Files from InDesign CS5 files
When attempting to batch create PDFs from Indesign CS5 files using Acrobat Pro 9's File>Create PDF>Batch Create Multiple Files ... option the operation fails with the error 'Could not find the application that created this file: [path to file] Please select a file created by an application that resides on your computer.' as shown in the screenshot below:
Acrobat 9 Professional was bundled with Creative Suite 5 Design Standard so shouldn't this work? My machine is running OS X 10.6.7, Acrobat Pro 9.44 and InDesign CS5 7.04.
Any help to solve this issue would be most gratefully received - this feature had previously saved me a lot of time on my old machine with 10.5.8, Acrobat Pro 9 and CS4.I have uploaded the files and shared them. These are the links
Grade 11 Maths Standardisation Project Paper 2 2013.doc
https://files.acrobat.com/preview/9694310d-ca7f-4919-883d-c53b36215d89
Grade 11 Maths Standardisation Project Paper 2 Analysis Grid 2013.doc
https://files.acrobat.com/preview/97da9e5f-d412-4d25-9bbc-d1a525d90826
Grade 11 Maths Standardisation Project Paper 2 Diagram Sheet 2013.doc
https://files.acrobat.com/preview/f50dd62e-af04-4060-85c5-fa81ce6803d8
Grade 11 Maths Standardisation Project Paper 2 Formula Sheet 2013.doc
https://files.acrobat.com/preview/7fc6007b-aaa6-4d65-9a8c-bf99818474a5
Grade 11 Maths Standardisation Project Paper 2 Marking Guidelines 2013.doc
https://files.acrobat.com/preview/b3a715bb-3683-48df-b0ec-3d17442275be
Grade 11 Maths Standardisation Project Paper I Analysis Grid 2013.docx
https://files.acrobat.com/preview/ab62e6b6-0261-434e-8a2f-382f74335685
The first file is the problem file. If you create this file separately, Acrobat will convert it perfectly. But "Batch create multiple files" and the graphics are deconstructed on page 8 -
Dynamic File Name on Receiver Side using XSLT mapping
Hi,
My scenario is a Proxy to File scenario.The File on the receiving side is a TEXT file generated due to XSLT mapping. The file name has to be dynamic like- TEST<DDMMYYHHMMSS>File.DAT.
If somebody knows how to do the same please help.
Regards
RituHi Ritu,
I agree to Krishna.With your XSLT mapping create a XML output which can be converted to a text file with content conversion.
And for the dynamic file name, i guess its the date that matters which needs to be in DDMMYYHHMMSS format. the same can be accomplished by a Java function and calling it in your XSLT .
Do refer this weblog it will help you accomplish the same.
>>> /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
Regards,
Shabarish -
Combine functionality Batch Create Multiple files and Set Security
Greetings,
Is there any way to combine the functionality of Acrobat Pro’s “Batch Create Multiple Files” (File (drop down) -> Create PDF -> Batch Create Multiple Files…) and running a batch process (Advanced -> Document Processing -> Batch Processing -> Batch Sequences -> Set Security)?
Ideally I’d like to either:
1) Add the “Set Security” batch process to the “Batch Create Multiple Files … command located under the File (drop down) -> Create PDF
or
2) Be able to create a batch process that first allows me to select the documents (Word, Excel, etc.) I want to convert into PDF files, then converts them, then runs the Set Security batch process.
Right now it isn’t too much trouble to first “Create Multiple Files…” then run the batch process Set Security, but it would be nice to be able to do both with a single command.
Any suggestions?
Thank you,
TPKI have uploaded the files and shared them. These are the links
Grade 11 Maths Standardisation Project Paper 2 2013.doc
https://files.acrobat.com/preview/9694310d-ca7f-4919-883d-c53b36215d89
Grade 11 Maths Standardisation Project Paper 2 Analysis Grid 2013.doc
https://files.acrobat.com/preview/97da9e5f-d412-4d25-9bbc-d1a525d90826
Grade 11 Maths Standardisation Project Paper 2 Diagram Sheet 2013.doc
https://files.acrobat.com/preview/f50dd62e-af04-4060-85c5-fa81ce6803d8
Grade 11 Maths Standardisation Project Paper 2 Formula Sheet 2013.doc
https://files.acrobat.com/preview/7fc6007b-aaa6-4d65-9a8c-bf99818474a5
Grade 11 Maths Standardisation Project Paper 2 Marking Guidelines 2013.doc
https://files.acrobat.com/preview/b3a715bb-3683-48df-b0ec-3d17442275be
Grade 11 Maths Standardisation Project Paper I Analysis Grid 2013.docx
https://files.acrobat.com/preview/ab62e6b6-0261-434e-8a2f-382f74335685
The first file is the problem file. If you create this file separately, Acrobat will convert it perfectly. But "Batch create multiple files" and the graphics are deconstructed on page 8 -
Batch create Multiple files in Acrobat X and X1 cannot convert Word 2010 with graphics
I work for an exams board where hundreds of exam papers are produced. Once approved, these exams are converted to PDF and sent to print. Using the Batch Create Multiple Files option is therefore essential to getting these papers print ready on time. We have found that using this function to convert multiple Word 2010 files with graphics will not render it properly. It deconstructs the graphics which loses the integrity of the exam paper.
I have trialled the same group of files on Acrobat X1 with the same result.
Have other Acrobat Pro Users experienced the same problem? Is there a fix?I have uploaded the files and shared them. These are the links
Grade 11 Maths Standardisation Project Paper 2 2013.doc
https://files.acrobat.com/preview/9694310d-ca7f-4919-883d-c53b36215d89
Grade 11 Maths Standardisation Project Paper 2 Analysis Grid 2013.doc
https://files.acrobat.com/preview/97da9e5f-d412-4d25-9bbc-d1a525d90826
Grade 11 Maths Standardisation Project Paper 2 Diagram Sheet 2013.doc
https://files.acrobat.com/preview/f50dd62e-af04-4060-85c5-fa81ce6803d8
Grade 11 Maths Standardisation Project Paper 2 Formula Sheet 2013.doc
https://files.acrobat.com/preview/7fc6007b-aaa6-4d65-9a8c-bf99818474a5
Grade 11 Maths Standardisation Project Paper 2 Marking Guidelines 2013.doc
https://files.acrobat.com/preview/b3a715bb-3683-48df-b0ec-3d17442275be
Grade 11 Maths Standardisation Project Paper I Analysis Grid 2013.docx
https://files.acrobat.com/preview/ab62e6b6-0261-434e-8a2f-382f74335685
The first file is the problem file. If you create this file separately, Acrobat will convert it perfectly. But "Batch create multiple files" and the graphics are deconstructed on page 8 -
Batch create multiple files in a script
I have 130,000 gif files I want to convert to pdf. I can only batch convert about 1,500 at a time, acrobat will bomb out if I do more. Is there a script I can use to process all my files ?
Thanks,
AlexI have uploaded the files and shared them. These are the links
Grade 11 Maths Standardisation Project Paper 2 2013.doc
https://files.acrobat.com/preview/9694310d-ca7f-4919-883d-c53b36215d89
Grade 11 Maths Standardisation Project Paper 2 Analysis Grid 2013.doc
https://files.acrobat.com/preview/97da9e5f-d412-4d25-9bbc-d1a525d90826
Grade 11 Maths Standardisation Project Paper 2 Diagram Sheet 2013.doc
https://files.acrobat.com/preview/f50dd62e-af04-4060-85c5-fa81ce6803d8
Grade 11 Maths Standardisation Project Paper 2 Formula Sheet 2013.doc
https://files.acrobat.com/preview/7fc6007b-aaa6-4d65-9a8c-bf99818474a5
Grade 11 Maths Standardisation Project Paper 2 Marking Guidelines 2013.doc
https://files.acrobat.com/preview/b3a715bb-3683-48df-b0ec-3d17442275be
Grade 11 Maths Standardisation Project Paper I Analysis Grid 2013.docx
https://files.acrobat.com/preview/ab62e6b6-0261-434e-8a2f-382f74335685
The first file is the problem file. If you create this file separately, Acrobat will convert it perfectly. But "Batch create multiple files" and the graphics are deconstructed on page 8 -
How to create multiple files with Receiver File Adapter in SAP PI 7.31 Java Stack
Dear Friends,
I am using Sender JDBC Adapter and Receiver File Adapter in Integration Flow in SAP PI 7.3 EHP 1 SP08 Java Stack environment. The requirement is that we need to create multiple files based on the row count in jdbc resultset. If there are 5 rows in resultset, we need to create 5 XML files with one row elements in one file. Similarly if there are 10 rows, we need to create 10 XML files.
So how can we create multiple files in this scenario. I tried placing a for loop in the Java Mapping as below in the transform method:
DynamicConfiguration conf = arg0.getDynamicConfiguration();
StringBuffer sbFileData = new StringBuffer();
for (int i =0; i < record.size(); i++ {
. // Create XML for each row and Marshal the object into to the String Buffer
String strFileName = "DC_" + new SimpleDateFormat("ddMMyyyyHHmm").format(new java.util.Date())+"_"+i+".xml";
conf.put(KEY_FILENAME, strFileName);
arg1.getOutputPayload().getOutputStream().write(sbFileData.toString().getBytes("UTF-8"));
arg1.getOutputPayload().getOutputStream().flush();
So here I'm flushing the OutputStream for each record. But it's not creating the multiple file, instead it creates only one file will all record XMLs appended to each other.
Please let me know if I missing something or need to do some thing else.
Regards,
Shreyansh ShahHi
You can easily achieve this using graphical mapping. Create your target message type like below
MT_Target
Details 0 to 1
Data 0 to 1
Source sample structure
<resultset>
<row>
<column-name>column-value</ column-name>
</row>
Then do the message mapping like below
map <row> with MT_Target
contant ----> Deatils
column-name ------>Data
In the signature tab of message mapping, choose the occurrence of your target message type as
0 to unbounded.
This will generate multiple files from multiple rows.
Let me know if you have any doubt. -
Part of sender File name at the receiver side?
Hello All,
My requirement is like this.
iam picking the file from FTP server and place the file in another FTP server with out mapping.
I need to use part of sender file name to create the receiver side along with current date.
for example.
sender side file name : LM01000008.txt
recevier side file name need to generate : LM01dd/mm/yyyy
Please let me know how to achive this.
i tried with the blog given below, but partial file name is not possible with that blog.
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID0229698450DB11989196758750510369End?blog=/pub/wlg/6400
Thanks and Regards,
chinnaHi Chinna,
Use this code
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
SimpleDateFormat dateformat = new SimpleDateFormat("yyyyMMdd");
String timestamp = dateformat.format(new Date());
String newfilename=fileName+timestamp+".txt";
// change to new file name
conf.put(key, newfilename);
return "";
Regards
Suraj -
How to Get the Source File Path in the Receiver Side
Hi Experts,
Here We are Trying to Do How to Get the Sender Information ( File Name & Path ) on the Receiver Side .
According to the Michal Blog
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Here we Are Able to Get only the File Name.
But If I Want to get the Total File Path Also means What Should I Do Here ????
Please Let Me Know
Regards
KhannaKhanna,
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey fkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
DynamicConfigurationKey dkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
String fname = conf.get(fkey);
Sring path = conf.get(dkey);
String final=fname""path;
return ""final"";
Best regards,
raj. -
When saving a File OS Is Creating Multiple Folders With The Same File Name
Not sure what I changed but, now when I save a any file (ppt. word, Keynote,Pages e.g.,) to the desktop or any other location the OS will also create multiple file folders with the same file name as the file I'm saving. Inside the folders are what appears to be files locating the saved files. What can I do to fix this problem?
I'm using the 10.7.2 version
MacBook ProMisio wrote:
It looks like a finder bug. To replicate, I surf to any website, I right-click on a jpg image, select "Save Image As" and in the window that pops up I type in the filename "000.jpg", I select the folder Pictures, and click on Save.
BTW, I don't know why, but the file was saved only as "000" without the file extension ".jpg". Does anybody know why?
the extension is simply hidden. go to the get info panel for the file and uncheck the option to hide the extension.
Then I surf to another image, and again I save it as "000.jpg" and now it asks me if I want to replace the existing filename, although the existing one is "000" and I try to save as "000.jpg", so I say yes, and then magically the file is saved with the full filename including the extension "000.jpg"
When I did it a couple of times, always saving image as "000.jpg" from various sources, I ended up with two distinct files named "000" and both in the same folder Pictures.
Please advise.
it sounds to me like you saved one file as 000.jpg and the other and 000.jpg.jpg.
check the info panels for the files for full names to verify if this is the case. -
Can I create multiple links to the same file without duplicating file?
does anyone know if it is possible to create multiple links to the same file using iWeb without the program automatically making multiple copies of that file in the published output? It seems that one file is created for each link.
Thanks!Hi Franz,
have a look at the second method on this page
http://alyeska.altervista.org/en/iWeb_Downloads.html
see if you understand how it works (if you don't, please ask me)
Regards,
Cédric -
Changing the pdf profile of batch create multiple files in Acrobat?
Is it possible to load another pdf profile for batch create multiple files from Acrobat? I am batching indesign pages and I need to use a high resolution pdf profile with printer marks
The default seems to be low res rgb. Any idea if this can be done?it is a custom Pdf Profile but basically an X1a with a few tweeks, When I try a watch folder with distiller it just errors out all the files.
Batch Processing using the "Create PDF, Batch Create Multiple Files " in Acrobat works but does not let me choose a pdf profile.
C
Maybe you are looking for
-
I have a problem opening pdfs from certain websites. This problem occured when I upgraded to Firefox 4.0. I usually opened pdf-files from Firefox in the adobe reader directly (not using the plugin). Now this does not work any more. When having set, t
-
First of all let me say that THIS IS NOT SPAM!, A LOTTERY, A SCHEME, A CHAIN LETTER OR A PIRAMID MLM. Although it may take the appearance of a "chain letter" it is actually a unique legitimate opportunity for individuals to start their own home based
-
How to open Reader in firefox tab when both acrobat and reader are installed.
I would like to open pdf files in firefox using Adobe Acrobat Reader. I have both Acrobat Pro or whatever its called and Acrobat Reader installed. Presently going to firefox's tools, options, then selecting the file types option I cannot select any p
-
I won't let me change his iPad so that all my iCloud stuff isn't downloading to his iPad???? Help!
-
Transfer from old to new Mac impossible
I can't transfer the information from old G5 to a new Mac Pro 8 core. Using T mode, as described, transfer doesn't occur after two hours at all. There is a window "Transferring information" but nothing happens. Using SuperDuper! or Migration Assistan