DME file in XML format in SAP 4.6C
Hi Experts,
For a Belgium client, I have a requirement to generate DME file in XML format for payments made to foreign and domestic vendors. I want to know the following,
1. Can DME file be generated in XML format using classic payment medium programs RFFOBE_E and RFFOBE_I.
2. If not why and what are the other options.
3. I also came to know that there is an options of using Payment medium workbench - through XML format trees BE_BEPDTA and BE_PIBDTA. But since we are in 4.6C, i am not able to create a payment format. Is there any support package or patch that is required.
4. I tried for SEPA_CT - again a XML format tree but was not very successful as that too was not available in SAP 4.6C. Is there any way that I can get this done in 4.6C - any support packages or patches available?
Thanks
Hi Kaylan,
could you please share that documentation with me too.
Thanks, Regards,
Alex Cardona
Similar Messages
-
Convert the flat file to xml format.
hi,
I need to write a interface program in the R/3 to pull the flat file data from the unix application server and do some manipulation and place back into the unix application server in XML format, From the unix box XML file taken by the XI server.
pls give me some idea to convert the flat file to XML format, through any function module or any other logic is there...
with regards,
Thambee.Hi Thambe
in addition to the above posts
Program to convert flat file to XML file.
please download tool from this link:
http://www.download.com/Stylus-Studio-2008-XML-Enterprise-Suite/3000-7241_4-10399885.html?part=dl-StylusStu&subj=dl&tag=button&cdlpid=10399885
how to use:
http://www.stylusstudio.com/learn_convert_to_xml.html
http://www.sap-img.com/abap/sample-xml-source-code-for-sap.htm
Flat file to XML
CONVERTION OF FLAT FILE TO XML : NO OUT PUT FOUND
Converting Idoc flat file representation to XML
how to convert flat file into IDOC-XML
Thanks
sandeep sharma
PS ; if helpful kindly reward points -
Hello guys,
I am just wondering if i can write to a text file in xml format:
For example if i want to save the following:
Avisha 00/06/2000
The text file should show:
<record>
<name>Avisha</name>
<DOB00/06/200</DOB>
</record>
I think i probably needs to use some sort of XML schema, i never done it before and i would appriciate your help.
Thanks,corlettk wrote:
thomas.behr wrote:
Well, for simple cases, such as your example, just create an appropriate String and write that to your file.
For more complex cases, create a org.w3c.dom.Document (using DocumentBuilder and DocumentBuilderFactory), create the appropriate structure and use a javax.xml.transform.Transformer (created via TransformerFactory) to convert your Document from a DOMSource to StreamResult.I'm not a fan of the DOM solution... It's slow and very memory hungry... Goog for small datasets.
@OP If you can, I recommend using an XMLBinder (like [XML-Beans|http://xmlbeans.apache.org/] jusr for example) to both read and write all your XML.Errr, XMLBeans and the like will still be using DOM under the covers, so the memory issue is still as relevant as before. Happily, this turns out to be "not as much as you probably think" anyway. So the decision is a design one. Do you have schemas for this XML? You don't? Ah well, a binding framework's out of the question anyway. What are you doing with it? ("Processing it" isn't an answer). Where is it coming from? ("my codez" isn't an answer). What format need it be in? ("XML format" isn't an answer)
Building a DOM tree and serializing it isn't necessarily all that stupid an idea -
Which are function modules used to convert into XML format in SAP 4.6c Ver
which are function modules used to convert into XML format in SAP 4.6c Ver
Hi,
check this program , I think this will help you
TYPE-POOLS: ixml.
TYPES: BEGIN OF xml_line,
data(256) TYPE x,
END OF xml_line.
data : itab like catsdb occurs 100 with header line.
data : file_location type STRING.
data : file_name like sy-datum.
data : file_create type STRING.
file_name = sy-datum .
file_location = 'C:\xml\'.
concatenate file_location file_name into file_create.
concatenate file_create '.XML' into file_create.
DATA: l_xml_table TYPE TABLE OF xml_line,
l_xml_size TYPE i,
l_rc TYPE i.
select * from catsdb into table itab.
append itab .
CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER =
I_FILENAME =
I_APPL_KEEP = ' '
I_XML_DOC_NAME =
IMPORTING
PE_BIN_FILESIZE = l_xml_size
TABLES
i_tab_sap_data = itab
CHANGING
I_TAB_CONVERTED_DATA = l_xml_table
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 24
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
bin_filesize = l_xml_size
filename = file_create
filetype = 'BIN'
CHANGING
data_tab = l_xml_table
EXCEPTIONS
OTHERS = 24.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
write : 'INTERNAL TABLE DATA IS SUCCESSFULLY DOWNLOADED TO LOCATION', file_create .
Thanks. -
Convert gzip files into XML format
We have a requirement where we receive gzip files. These files are zipped file containing base64 binary format csv files. We would have to convert these files into XML format. Please let me know any of the following.
1. Is there any Xpath query or XSL function (somthing similar like doTranslateFromNative() ) to convert from gzip files to XML format.
2. If we need to unzip the zipfile outside fusion, then java code piece to unzip the gzip file. I guess after that we can use the usual doTranslateFromNative() function to translate to XML format, since after unzipping the gzip file, they are base64 binary formats.
Thanks in advance,
TomsThere is an option to do pre-processing and post processing of Files when using File adapter. You need to create a valve which will first do pre processing and send the output to FileAdapter.
You can get more information here:
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CACDHGGG
under section: 4.2.14 Pre-Processing and Post-Processing of Files
Essentially you will use Java to unzip the file first and then the unzipped content will be passed to the adapter. -
How to store xml data into file in xml format through java program?
HI Friends,
Please let me know
How to store xml data into file in xml format through java program?
thanks......
can discuss further at messenger.....
Avanish Kumar Singh
Software Engineer,
Samsung India Development Center,
Bangalore--560001.
[email protected]Hi i need to write the data from an XML file to a Microsoft SQL SErver database!
i got a piece of code from the net which allows me to parse th file:
import java.io.IOException;
import org.xml.sax.*;
import org.xml.sax.helpers.*;
import org.apache.xerces.parsers.SAXParser;
import java.lang.*;
public class MySaxParser extends DefaultHandler
private static int INDENT = 4;
private static String attList = "";
public static void main(String[] argv)
if (argv.length != 1)
System.out.println("Usage: java MySaxParser [URI]");
System.exit(0);
String uri = argv[0];
try
XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
MySaxParser MySaxParserInstance = new MySaxParser();
parser.setContentHandler(MySaxParserInstance);
parser.parse(uri);
catch(IOException ioe)
ioe.printStackTrace();
catch(SAXException saxe)
saxe.printStackTrace();
private int idx = 0;
public void characters(char[] ch, int start, int length)
throws SAXException
String s = new String(ch, start, length);
if (ch[0] == '\n')
return;
System.out.println(getIndent() + " Value: " + s);
public void endDocument() throws SAXException
idx -= INDENT;
public void endElement(String uri, String localName, String qName) throws SAXException
if (!attList.equals(""))
System.out.println(getIndent() + " Attributes: " + attList);
attList = "";
System.out.println(getIndent() + "end document");
idx -= INDENT;
public void startDocument() throws SAXException
idx += INDENT;
public void startElement(String uri,
String localName,
String qName,
Attributes attributes) throws SAXException
idx += INDENT;
System.out.println('\n' + getIndent() + "start element: " + localName);
if (localName.compareTo("Machine") == 0)
System.out.println("YES");
if (attributes.getLength() > 0)
idx += INDENT;
for (int i = 0; i < attributes.getLength(); i++)
attList = attList + attributes.getLocalName(i) + " = " + attributes.getValue(i);
if (i < (attributes.getLength() - 1))
attList = attList + ", ";
idx-= INDENT;
private String getIndent()
StringBuffer sb = new StringBuffer();
for (int i = 0; i < idx; i++)
sb.append(" ");
return sb.toString();
}// END PRGM
Now , am not a very good Java DEv. and i need to find a soln. to this prob within 1 week.
The next step is to write the data to the DB.
Am sending an example of my file:
<Start>
<Machine>
<Hostname> IPCServer </Hostname>
<HostID> 80c04499 </HostID>
<MachineType> sun4u [ID 466748 kern.info] Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 360MHz) </MachineType>
<CPU> UltraSPARC-IIi at 360 MHz </CPU>
<Memory> RAM : 512 MB </Memory>
<HostAdapter>
<HA> kern.info] </HA>
</HostAdapter>
<Harddisks>
<HD>
<HD1> c0t0d0 ctrl kern.info] target 0 lun 0 </HD1>
<HD2> ST38420A 8.2 GB </HD2>
</HD>
</Harddisks>
<GraphicCard> m64B : PCI PGX 8-bit +Accel. </GraphicCard>
<NetworkType> hme0 : Fast-Ethernet </NetworkType>
<EthernetAddress> 09:00:30:C1:34:90 </EthernetAddress>
<IPAddress> 149.51.23.140 </IPAddress>
</Machine>
</Start>
Note that i can have more than 1 machines (meaning that i have to loop thru the file to be able to write to the DB)
Cal u tellme what to do!
Even better- do u have a piece of code that will help me understand and implement the database writing portion?
I badly need help here.
THANX -
STORING DATA IN FILE IN XML FORMAT THROUGH JAVA ?
HOW TO STORE DATA IN FILE IN XML FORMAT THROUGH JAVA PROGRAM?
Have you looked into JAXB?
That is a new way of processing XML into Java classes or visa versa.
Otherwise, there are a lot of other XML related tools for Java in the -XML link on the left side of the page. -
Legacy data(mapping to be done by xi (in xml format)) to sap using idoc .
hi all,
I need to work in an object in which requirement is like , the source data is directly extracted from legacy and input file is made. now i need to create an interface program which will be used to create purchase req. in weekly basis. now according to functional specification xi team will map the source data in xml format and then through idoc data is to be pushed into sap. i am confused about the step by step senario from source data to final pr creation . please clarify if somebody had worked on this kind of situation.Hi i encounter like this but in SD side,
from legacy ->XI -> SAP (create SO)
then from created SO via IDOC my requirement is to post delivery then billing.
I think in your case the PR is already created and to be process to PO.. better check and fully understand the flow with your team. -
Query regarding the conversion of DME file in MT940 format.
Hello Experts,
I have a query regarding the generation of MT940 file after generating the payment file from other DME tree.
After completion of payment run, my payment file is generated in the DME format which is according to the DME tree.
I want to convert the DME file (which is generated via F110) from existing format to the standard MT940 format.
Is there any standard program which converts the DME file to MT940. If so, please inform me as early.
I have tried to upload the DME file in FF.5 transaction, but it is not allowing me to convert the file in MT940 structure.
Or please inform the steps how i can convert the file .
Awaiting for your inputs.
Thanks in advanceHi Zareena.
I would like to suggest,
SX_OBJECT_CONVERT_RAW_TXT.
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Why does photoshop elements 10 back up files in xml format
I am trying to backup my catalog including tags to my external hard drive. When I do the files are all in XML format. When I attempt to open using Photoshop
i get "wrong type of file" or they are just a lot of code. What is going on. Where are the pictures?I downloaded them into the same folder, and once that was done, I did as you said and opened PhotoshopElements_10_LS15.exe. It asked for my serial number and everything, seemed as though it was installing, and asked to restart in order to complete the process. I restarted the computer, and...I don't see Adobe Photoshop Elements 10 anywhere. There is a folder on my desktop that goes by the name of Photoshop Elements 10, but it only contains data files and things that I can't use. It's not the actual software....
What should I do? -
Log file in xml format: bad idea?
Hey
Im trying to write a class that will let other classes keep a log on whatever they want to. Whoever wants to write a message to a log file will call a function there, with the specified log name and the message, and my class will write it in xml format into the file.
Simple right? But here's the catch: in order to append a log into the file, I have to read it all first, then create the Element and add it to the root element. That meens that as the file grows, so will the time it takes to read it, and eventually log will take loads of time...
All this would not have happen otherwise, with simple text files, as all I have to do is to open the file for appending, which wouldn't take that much time.
So my questions are: Am I stupid to think this is possible with xml? Should I open the xml file as text file and then manipulate it? Are there any other possibilities?
Thanks for your help - UziWriting logs in an xml file is a very good idea and will later on provide you with a lot of flexibility to perform queries and how u want to display it.
Simple right? But here's the catch: in order to append
a log into the file, I have to read it all first, then
create the Element and add it to the root element.
That meens that as the file grows, so will the time it
takes to read it, and eventually log will take loads
of time...Why do you want to read the whole file for writing new elements. You dont have to do that. I have a simple idea for your problem.
e.g <logfile>
<log>
</log>
</logfile>
So now u want to add another log element. Use RandomAccessFile's length() method to find the size of the file.
Find the size of </logfile> e.g if it is sizeOfString.
Use RandonAccessFile's seek() method as follows
.......seek(lengthOfFile - sizeOfString);
This will move the pointer of the RandomAccessFile to this position. Next step is you can use writeBytes method to further write to this file.
That will increase the speed and performance and would give u great end results of an xml file. -
Conversion of DME file to GFF format
Hi,
We have a Requirement like , we need to convert DME file format to GFF file format. Is anyone worked on this.
Any help would be very useful .
Regards
Vinid.Hi ,
I hope you have already used DME control.
could u pls guide me how to create files according to bank standards.
Looking forward to ur reply
asad -
How to convert CSV/Text files to XML format
Hi,
I am trying to convert a .csv/.txt(Flat) file(s) to XML format. How can i achive this?
Ex: I want to convert this text file to XML.
Book# first name last name ID# ID1# F#
B99 FRISBY NASIER LUCJ A A 3127 1
B131 HAWKINS MICHAEL LUCJ A A 3129 2
B313 KING JOSHUA CUCJ I I-DORM 10
B307 GRAVES KIMBERLY NUCJ F F-DORM 24-FL
R469 HEATH DARRELL SUCJ A A 3132 1
R212 PEREZ DARRELL SUCJ A A 3133 2
R62 COFFEY GREGORY NUCJ HC H C 3112 3FLOOR
R215 BLACKWELL DEREK LUCJ OOW W 01 1 Could anyone please suggest me if we have any open source java api to acheive this?
Thanks,
Srikanth.Have a look at [http://servingxml.sourceforge.net/|http://servingxml.sourceforge.net/] or [http://www.talend.com/|http://www.talend.com/]
-
Storing data from Java Pogram(data in xml format) to SAP R/3
Hi,
I am having a java program which results me an xml.
I want to dump the data to SAP R/3.
What are the different ways/techniques should i use,to achieve the result?
Thanks for your reply,
regards,
cgHi,
In simle terms can you explain me in more detail.
lest say my java application produces xml as:
<xml>
<fname>myfirstname</fname>
<lname>mylastname</lname>
thanks for your reply,
reg
cg -
Hello SAP Gurus
I want to configure PMW for UK. I have used GB_BACS. But this is not in specified foemat
,,,06,,<bulk list name>,,,,,,,<sortcode><account number>,,,,,,<payment date>,,,,,,,,,,,,,,,,,,<bulk list reference>,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,<remittance advice(C)>,,,,,,
,,,07,,,,<benef identifier>,,,,,,,,<currency>,<amount>,,,,,,,,<sort code>,,,,,,<account number>,,<benef name>,,,,<reference for beneficiary>,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Can anyone help me in resolving this
Thanka a lotHello Everybody.
Can anyone help me with this
Maybe you are looking for
-
Encountering XML-20108: (Fatal Error) Start of root element expected
Hi, We are trying to invoke a XML Publisher report from a custom OAF page using API's. However, it is erroring out with the following error message (in xdo.log) [021710_121811671][oracle.apps.xdo.common.xml.XSLTWrapper][EXCEPTION] XSL error: <Line 1,
-
How to Disable field in Selection-screen
Hi All, I want to disable Screen field in my seelction screen. Below is my Code, but it is not working. I want to perform. If RB1 = X Then Parameter P_VBELN should get disabled. Please suggest, find below my code. *....Selection Screen selection-scre
-
Difference between Oracle Customer Hub and Hyperion Data Relationship Manag
Hi, I need integrate diferents data bases and eliminate information redundancy. I think Hyperion Data Relationship Management can help me to acomplish with the task. But i know there is another product named Oracle Customer Hub than can help me too.
-
Moving smth with mouse, file sticks to it?
Some times when i drag a file in Finder or any linkin Chrome, the object that I'm dragging can be stuck to the mouse. I can move mouse, sometimes even use it, but objects won't be released from the mouse, the will be attached to the arrow for quite a
-
How do you mark answers as helpful/correct?
how do you mark answers as helpful or correct?