How to transfer multi-input xml file to One xml file using BPM?
Hi!
Using BPM, We wana transfer multiful xml file to One xml at Remote FTP Server.
I don't know how to design BPM.
============== samle1: input xml====================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Shipments SYSTEM "DTD/Shipment.dtd">
<Shipments>
<sendingPartnerID>XXX</sendingPartnerID>
<receivingPartnerID>XXX_UPSTMS</receivingPartnerID>
<receivingMessageType>TPSDLS</receivingMessageType>
<Shipment ID="0081646547" Type="CREATE">
<CustomerID>XXX</CustomerID>
</Shipment>
</Shipments>
============== samle2: output xml====================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Shipments SYSTEM "DTD/Shipment.dtd">
<Shipments>
<sendingPartnerID>XXX</sendingPartnerID>
<receivingPartnerID>XXX_UPSTMS</receivingPartnerID>
<receivingMessageType>TPSDLS</receivingMessageType>
<Shipment ID="0081646547" Type="CREATE">
</Shipment>
<Shipment ID="0081886548" Type="CREATE">
</Shipment>
<Shipment ID="0081646999" Type="CREATE">
</Shipment>
</Shipments>
Message was edited by: ChangSeop Song
Hi,
To convert multiple xml files into a single file, you will have to perform a N:1 mapping.
The following tutorials are available on SAP to help you understand BPM and also to collect multiple XML messages so that they can be mapped into a single message. Check them out,
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Regards,
Bhavesh
Similar Messages
-
(urgent)How to transfer(outbound) the data of invoices to flat file?
HI All,
i am new to oracle Receivables. i have assigned task like below. How to transfer Oracle Receivables data(open invoices) to flat file(format like Xl Sheet or csv).i mean to say that outbound interface with sample data and code. can some one help me to sort out this issue. pls send me sample code for invoices outbound.
Thanks.
Edited by: user627525 on Feb 18, 2009 9:30 PMHi, Here is what you required...Below logic shows how to use utl_file to write a data into file which is store outside of database. Please let me know in case of any additional information is required. Thanks!
V_Extract_Dir:=ltrim(rtrim('/cdunix/erp/'||V_Instance_ID||'/global/acctrecon/wrk'));
V_Rename_Dir:=ltrim(rtrim('/cdunix/erp/'||V_Instance_ID||'/global/acctrecon/snd'));
V_Fname := 'ASSURENET-GL-'||V_SOB_ID||'-'||V_Date||'-'||V_Fnum||'.csv';
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,V_Fname);
V_File:=UTL_FILE.FOPEN( V_Extract_Dir,V_Fname,'w');
FOR C3 IN C2 LOOP -- Header record
UTL_FILE.PUT_LINE(V_File,'"HEADER"'||','||C3.V_Con ||','||C3.V_Total);
END LOOP;
FOR C4 IN C1 LOOP -- Body
UTL_FILE.PUT_LINE(V_File,C4.md);
END LOOP;
FOR C3 IN C2 LOOP -- Footer Record
UTL_FILE.PUT_LINE(V_File,'"FOOTER"'||','||C3.V_Con ||','||C3.V_Total);
END LOOP;
Regards,
Murali -
How to zip multi files into one zip file in ABAP
hi all:
As you know, ABAP has CL_ABAP_GZIP class to support zip file function. But it only support one file zip. If I want to zip two files into one zip file, how to do it?
thanks.Hi,
<li>If you know how to zip one file, to zip two files , you can follow the below steps.
DATA:g_zipper TYPE REF TO cl_abap_zip.
"create our zipper object
CREATE OBJECT g_zipper.
"add 1st file to zip
CALL METHOD g_zipper->add
EXPORTING
name = file_name
content = content_x.
"add 2nd file to zip
CALL METHOD g_zipper->add
EXPORTING
name = file_name
content = content_y.
"save zip
CALL METHOD g_zipper->save
RECEIVING
zip = zip.
Thanks
Venkat.O -
Generate multiple XML files from one Invoices file in AR Selected Invoices
I have converted our Oracle EBS 11i Selected Invoice RAXINV.rdf to XML and created a template for XML Bursting. I'm bursting fine at the:
/ZRAXINV/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_CF_NO/G_CF_NO. My question is since I'm writing out my pdf output invoices to the filesystem on Sharepoint; I also need to archive the XML part of each invoice broken down by the same group as .//LIST_G_CF_NO/G_CF_NO. When I convert the rdf to XML it produces one XML file from which I created the templates.
My requirement is to archive both the individual invoices from the templates and the corresponding XML pieces on Sharepoint so that we will be able to search and link the xml to the pdf written out to the filesystem on Sharepoint.
Any idea how should go about this requirement will be much appreciated.
Thanks,
LeoSo how does it take this file
file>
<statement>
<name>John Dow </name>
<address>123 Main</address>
<phone>972-213-3434</phone>
</statement>
<statement>
<name>Jane Dow </name>
<address>345 Main</address>
<phone>972-213-3534</phone>
</statement>
<statement>
<name>Marry Dow </name>
<address>678 Main</address>
<phone>972-213-3435</phone>
</statement>
</file>
and create these three different one?
1.)
<statement>
<name>John Dow </name>
<address>123 Main</address>
<phone>972-213-3434</phone>
</statement>
2.)
<statement>
<name>Jane Dow </name>
<address>345 Main</address>
<phone>972-213-3534</phone>
</statement>
3.)
<statement>
<name>Marry Dow </name>
<address>678 Main</address>
<phone>972-213-3435</phone>
</statement>
Is it not going to just grab each element after the file tag? I'm just confused about that. -
How to transfer the whole address book from one no...
Dear friend,
Could you please advise me "how to transfer the whole address book from one nokia to another nokia phone via blue tooth connectivity. (move one by one is not convenience for my hundreds of contact.
Thank and waiting for advice...
victorIf your phones have the built-in "Transfer" (sometimes called "Switch") application, try it.
Otherwise, depending on the model(s) you can also copy all contacts to/from the memory card, and get them over that way.
And you can also synchronize both programs to the same service (e.g., Outlook on a Windows PC using Nokia PC Suite).
And newer versions of Nokia PC Suite can also be used to make a backup of one phone, and then restore to another.
PC Suite you can find here: http://www.nokia.com/pcsuite -
How can I publish my flash movie in one swf file in V.2
Hi
When I publish my movie to flash format , skin swf file is
segregated from main movie swf file . How can I publish my movie
only in one swf file ? I want to merge skin and main movie files
together in one swf file .Hi Corona,
The screen size is whatever you captured or specified during
the recording or new movie setup process. This will cause the
playback control to be placed "on top of" some portion of the
captured background, but there are two ways around that problem.
1) When you set the red recording area before recording, drag
the bottom of the recording area downward about 35 pixels below the
application window (assuming you are capturing an area that
includes a "bottom" or even an application window - grin). For this
to work, it is best if you do your recording against a
solid-one-colored desktop background, so the "extra" area at the
bottom doesn't include desktop images that you don't want in the
capture (even though that area will not be visible in the end ...)
OR...
2) Use the Project > Resize Project dialog to increase the
palette size on the bottom, taking care to leave the original movie
the same size. This will effectively do the same thing as
Suggestion #1, create a "blank" area at the bottom of the movie on
which there is room to mount the playback control bar.
Best of luck, Corona, and omid02. Hope this helps, in
conjunction with the advice that Rick has already offered.
. -
How do I combine pdf files into one pdf file?
How do I combine a number of pdf files into one pdf file?
If you want a more affordable option, you can try CreatePDF from Acrobat.com.
-
Mixing sound files into one sound file. Urgent
Hi,
I want to mix different sound files into one sound file but I don't have any idea of how to do this. Can anybody tell me how or just point me to the right tutorial. I do not want to do this through an applet.
Thanks all in advance.try it this way:
String oneFile = "mp3" + "wav" + "allOthers";
you can use System.out.println(oneFile) to see if it works. good luck! -
I cannot open pdf files from one supplier when using Adobe Reader but I can using another Viewer
I cannot open pdf files from one supplier when using Adobe Reader but I can open it if using Google PDF viewer or another viewer. The Adobe reader gives the error "There was an error opening this document. The file is damaged and could not be repaired" when I try to open the file. The version of Adobe Reader is 10.1.7, however I have tried other versions and they all fail the same way. I have tested on a number of different PC's in different networks and all fail using Adobe Reader but work using alternate viewer. Also the PC's will open a PDF from any other source.
Newer Reader versions are more strict than older versions (and other PDF viewers). If certain minimum requirements are not met, Reader will tell you that the PDF is damaged. This can happen when a document was created with software that does not adhere to PDF standards, or when the file was damaged during a download or email transmission.
You should contact the creator of these PDFs. -
SAP XI - Combine Two files as one in File Adapter
Experts,
I want to combine two files as one in File adapter itself. I am using a simple scenario of File-to-File where i am just sending the file from sender to receiver as it is , EXCEPT, i want to add one line at the end of the file .
I was thinking of doing this in File adapter , avoiding any mapping program in Integration Repository ..
ANY INDEA's ??
Regards,
AshutoshHey
You have 3 options,first one can be to execute a OS command before message processing or use adapter modules to append the new line in the sender adapter.
the second option(and better one) is to do this via message mapping.
third option is to write a OS script and execute it after message processing on receiver file adapter.
one thing you need to make sure is that since OS scripts run on XI server itself(not on FTP server) so in case you are picking file from FTP server and delivering to FTP ,then you can't use option 1 or 3,you can only use option 2
Thanx
Aamir -
Can I have two Data Files in One control file of sql*loader tool
hi,
Can someone help me out. is it possible to have two Data Files in one control file of Sql*loader.
And isit possible to run 10,000 records before lunch and 10,000 records before tea and 10,000 records before evening session by giving breaks after every 10,000 records.
Thanks
RamYes. You can specify two datafiles in one control file and can load using sql loader.
I give you the sample control file.
Load DATA
INFILE 'TEST1.CSV'
INFILE 'TEST2.CSV'
TRUNCATE
INTO TABLE TEST_P
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(COL_1,
COL_2,
COL_n)
Hope It will help you.
-Karthik -
Can we combine multiple excel files into one excel file using SSIS?
I have a bunch of excel files in a specified folder. I wanted to combine all the excel files into one excel file by adding additional tabs in one excel file. Can I do this using SSIS?
OR
I know using macro we can combine multiple excel files. Can we run a excel macro in SSIS? Please help me.
Actually the complete package is this:
Step1: Using FTP task I'm downloading the bunch of excel files into a folder.
Step2: Above implementation is the second step that I have to do.You can do it in two steps
1. First get all data from excel sheets to a sql staging table. For that you need to use a looping logic as explained in below link (you dont required the additional logic used for checking file name etc in below example as you need all files). Also make
source as excel instead of flat file
http://visakhm.blogspot.in/2012/05/package-to-implement-daily-processing.html
2. Once you get the data onto a single table, use below to get it exported to multiple sheets within same excel destination file
http://visakhm.blogspot.in/2013/09/exporting-sqlserver-data-to-multiple.html
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Open 100 files in one photoshop file
Hi,
I need to open 100 files in one Photoshop file.
I would like to have those 100 files on a different layer.
Is there a way to do this faster than opening each of them and copying them one by one in a file?
thanksHi Dedinne.
A simple action should do it. It is run as a batch on your source images.
1. Select All.
2. Copy.
3. Close
4. Paste.
The target image is created and left open before the action is run on the source images.
Batch opens the source image.
1. & 2. Copy the source image.
3. Closes the source image.
4. Pastes into the target image, which remains open during the process receiving each image in turn.
FWIW.
Peace,
Lee -
Can you merge 2-3 mp3 files in one mp3 file?
Can you merge 2-3 mp4 files into one mp3 file?
you can purchase mixing programs (or down load trials and shareware although im usually a skeptic of free programs)
-
Error Message When Merging Multiple PDF Files into One PDF File
Good Morning,
I have a problem with Adobe Acrobat 9 Pro. I am trying to merge/combine multiple PDF files into one PDF file, but I keep receiving this error message:
Does anyone have a fix for this? Thank you!To fix:
Provide a unique name for each form field. This includes the individual PDFs fields. As you intend to combine/merge no field name in each of the individual PDFs can be the same.
Be well...
Maybe you are looking for
-
Failed to start dependent service com.sap.portal.usermapping
Hi I am trying to retrieve the User mapping information from my Webdynpro application. I added PORTAL:sap.com/com.sap.portal.usermapping to my service references in the web dynpro application. However, I am getting an error while deploying the applic
-
Wireles sync not found in options for any of the "syncable" modules
When syncing, I get a message that my Outlook calendar can't be synced because Wireless is turned on. Help tells me " On your BlackBerry® device, in the Calendar application, Contacts application, Tasks application, or MemoPad, press the Menu key >
-
Hi, I've got a real problem with on demand video. It has gradually got worse over the past few weeks and is now unwatchable. Downloads are OK, as are normal freeview channels, but anything from on-demand just waits 10 seconds or more between frames
-
Need a current copy of Adobe Flash Player
I installed a current copy of Adobe Flash Player but I'm still getting the message I need a current copy, WHY?
-
NFC after update to 10.2.1.537
I have done the update to 10.2.1.537 on the day it came out in Canada, and I noticed that if the phone is lock the NFC is not working even with the setting for the NFC is set to work "When locked or backlight is off" and "When device is turn off", an