How to rename the XML file generated during payment run
Hi,
We have a requirement to rename the XML file during payment run, format some fields of XML file and upload it onto Application server with the new XML file name. All these activities need to be performed during payment run F110.
Please let know if there is any User exit or Enahancement to achieve these functionalities.
Thanks !
Regards,
Ravinder
Hi,
We have achieved the second functionality also i.e. populating the additional nodes or custom nodes of an extended tree.
This is what we have done...
We have copied the standard exit FM: DMEE_EXIT_TEMPLATE_EXTEND_ABA into a custom one and assigned it to each (custom) node in 'Source' tab. Line item text FPAYP-SGTXT will not be returned via this FM, so we fetched it explicitly from BSEG table using the input FPAYP-DOC2R (this field will have the company code, document number, fiscal year and item no, all concatenated).
Thanks,
/Ravinder
Similar Messages
-
How to get the XML file if we are using the Product short name.
Hi,
Till now I have used Short name of the Concurrent Program for Code while creating a Data Definition. Now saw a seeded template which has given the Code by Product short name. If we have the concurrent program then it is easy to refer the fields by checking the XML file. In this case how to find the XML file or how to refer all the fields if we have given code with Product short name. I saw this for iReceivables(ARI). Anybody please help me.
Thanks.Hi Siva
Just to clarify, rather than the short name of the conc program there is a shipped data definition that just uses the product short name? What is the data def so I can check it.
Regards, Tim -
How to call the XML file as PrivateResourcePath in JSP
Hi All,
I want to call the layer-config.xml values in JSP dropdown list. How to call the XML file as PrivateResourcePath in JSP... please advise me if any solution.
locaiton: dist/PORTAL-INF/layer-config.xml
<?xml version="1.0" encoding="utf-8" ?>
- <layer-config>
- <system>
<layer>Test</layer>
<internal>true</internal>
</system>
- <system>
<layer>Test1</layer>
<internal>false</internal>
</system>
- <system>
<layer>Test3</layer>
<internal>false</internal>
</system>
</layer-config>
Thanks in advance.Hi,
The below link may help you.
[Accessing image from dist/imgaes folder inside JSPDynpage Component;
Regards,
Suresh Bachimanchi -
How to call the XML file as Private
Hi All,
I want to call the layer-config.xml values in JSP dropdown list. How to call the XML file as PrivateResourcePath in JSP... please advise me if any solution.
locaiton: dist/PORTAL-INF/layer-config.xml
<?xml version="1.0" encoding="utf-8" ?>
- <layer-config>
- <system>
<layer>Test</layer>
<internal>true</internal>
</system>
- <system>
<layer>Test1</layer>
<internal>false</internal>
</system>
- <system>
<layer>Test3</layer>
<internal>false</internal>
</system>
</layer-config>
Thanks in advance.Hi,
The below link may help you.
[Accessing image from dist/imgaes folder inside JSPDynpage Component;
Regards,
Suresh Bachimanchi -
How to overwrite the xml file...
Hi,
can any one help me how to overwrite the xml file.....
~~SkFlash Player cannot write XML files at all. but using
php+flash we could do it . -
How to find the XML file size in the scenarios?
Hi All,
Recently i have attended an interview at a MNC.
They asked some realtime questions like
1.how to find the XML document size in a File-File scenario?
2.What is mass-assignment replication etc.....
Can anybody tell me the solution for these.
Best regards
Hari prasadIf the input is a flat file, there is no exact way to calculate the size of the generated XML file, since it depends on many factors (number of fields in the recordsets, size of the name of the fields, number of records, etc).
As a rule of thumb, generally ppl use XML file size = 2 x Flat file size, in order to do sizing calculations etc. But again, that is just an estimation, not a precise calculation.
Regards,
Henrique. -
How to load the XML file to BW3.5
Hi Gurus,
i am following the steps for extracting the data from XML to 3.5 following the steps in the HOWTOSENDXMLDATATOBW.doc. i have a doubt at the 22 nd Point where in the document given that jump to point 26 for 3.5 version. But where we need to specify the path of the XML file. Used the Tcode WSADMIN to test the Webservices, but i am unable to load the delta due to the above problem. what are the steps i need to follow in WSADMIN. We are using SOAPservice in BW.
Please help me for finding the soluction for XML loading of the delta data to BW.
Thanks,
James
Message was edited by:
james winsletHi,
I am sending you a link that will provide you with some good idea on XML File Uploading....
How to upload XML flat file
Hope this helpful... award points
regards,
raj
Message was edited by:
gangaraju mullapudi -
How to parse the xml file using servlet
My scenario is like this:
<b>FILE-->XI-->J2EE Application</b>
XI sends the xml file to j2ee application. My servlet receives the file in HTTPRequest string.
How to parse that file using servlets.I should get the xml file as it is and should be displayed in the browser.
Can anyone please help me with code, its urgent.
Please help me!Download this java code
http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/sax/work/Echo02.java
in your servlet code you can write
public void doPost(req,resp){
DefaultHandler handler = new Echo02();
handler.parse(req.getInputStream());
Offcourse you will need to modify the code of Echo02 class a bit to suit your requirement which would finally retrun you a string and you can then write it using
respose.getWriter().write(responseString); -
How to validate the Xml File With Java
Hi,
Can pls tell me. I want to validate the XML File for the Some Mandartory TAG. if that if Tag null i want to generate error xml file with error and i want move another folder with java. pls help me as soon as possibleUse a validating parser (any recent Xerces, for one) and switch on the validation feature. Very much vendor-specific, so look at the docs of your parser. Oh, you do have a schema for these documents, don't you?
-
I am in hurry,how to save the xml file without attributes
i have the following xml file with attributes,
<?xml version="1.0"?>
<Ve2.Configuration>
<Ve2.Displaymanager>
<type type="combobox">eVeDisplayStandardType</type>
<setCounter type="bool">false</setCounter>
<frames type="textfield">20</frames>
</Ve2.Displaymanager>
</Ve2.Configuration>
but i want to save it without attributes, that means, my saved xml file look like this.:
<?xml version="1.0"?>
<Ve2.Configuration>
<Ve2.Displaymanager>
<type >eVeDisplayStandardType</type>
<setCounter >false</setCounter>
<frames20</frames>
</Ve2.Displaymanager>
</Ve2.Configuration>
how can i do it with java.If you know the format of the XML file, then you can write a straight forward XSL file to transform it.
Paul
www.codetelligence.com -
How to overwrite the xml file by flash using Php
Hi
i am creating getting data from the xml file ... and i am
doing some Alteration in the xml file by flash after that flash
producing the xml file i finished upto this process...
nw i neeed to overwrite the xml file.... using Php.....
can any one give me some idea ... to solve this issue
~~SKFlash Player cannot write XML files at all. but using
php+flash we could do it . -
How to download the xml file with netweaver 2004s
I am trying to find the xml file in order to link R/3 to my portal
I installed Netweaver 2004s but I am not able to link to R/3
I heard that I can use another xml file from another server and download it and change the config to match the new server
JFHi JF,
Michael is right in EP5, system are defined in XML file. use the following properties you will able to create system connecting to R/3.
choose System Administration->System Configuration-> System Landscape.
Create a system of SAP_R/3_Dedicated type system
Select the <b>Connector</b> from the Property category dropdown
Application Host : <R/3 Host name>
SAP Client: <Clent no>
SAP System ID (SID):
Server Port:
SAP System Number
System Type: SAP_R3
Select the <b>User Management</b> from the Property category dropdown
Logon Method - UIDPW
User Mapping Type - Admin,user
Select <b>System Aliases</b> in the Edit dropdown list.
This opens the System Alias Editor, and displays the existing list of aliases created for this system. Add the system alias here.
Select the <b>test connection</b> in the Edit dropdown list:
test the connection
Hope this will solve your problem.
Thanks
Sai -
How to import the xml file into bcc?
My input file to atg is xml which contain category or products assets.
I want the scheduler to run in such a way that it should auto create a project and send an email to client for approval.
When the client approves the xml file,then run the scheduler to input the xml file datas into bcc.
i will be using : SingletonSchedulableService for this
Give me a guidance for the same.
Thanks in advance.I want to implement this in bcc.
Which listener will listen for the approval of the client for the email (which contains the xml to import)we sent to him?
You would have to do custom development to hook your custom workflow with the inbound email. For sending email notifications the action is already there and while creating its element in ACC you can specify a JSP for the email template. You may refer following relevant documentation:
Oracle ATG Web Commerce - Workflows
Oracle ATG Web Commerce - Workflow Action Elements
I recommend to refer the existing DeploymentEmailer source in <ATG>\Publishing\samples\Java and see different DeploymentEvent types and states can be used based on your requirement in your custom component. Also refer these API javadocs to know about the available deployment events and process:
DeploymentEvent (ATG Java API)
DeploymentServer (ATG Java API)
ATG does have a /atg/dynamo/service/POP3Service component to retrieve mails from a POP3 e-mail server but it is primarily used for detecting the bounced email. Not too sure if it would help or fit in your case but still you can go through about its details to know what is already there:
Oracle ATG Web Commerce - Bounced E-mail
You may also refer to the InboundEmail event and API javadocs for InboundEmailMessage which are used in this bounced email detection feature:
Oracle ATG Web Commerce - InboundEmail Event
InboundEmailMessage (ATG Java API)
Now based on all this, if you extend and customize a lot of things it would be bit complex and tedious to detect the inbound approval mail based on its content and then advance your workflow. Another approach can be to put a URL in the mail template of your notification email which the approver would have to click and on the landing page you can authenticate and advance your custom workflow as required. -
Hi
i am able to parse and modify the xml using DOM parser
after ever modification I am using the below code to write in the file
org.apache.xml.serialize.OutputFormat format = new org.apache.xml.serialize.OutputFormat(doc);
format.setIndenting(true);
org.apache.xml.serialize.XMLSerializer output = new org.apache.xml.serialize.XMLSerializer(new FileOutputStream(xmlFile), format);
output.serialize(doc);
using the above code I am overwriting the entire xmlFile
is there an function that change only the required node the xml that change should me reflected in to the xml file
thanks in advanceYoungWinston wrote:
chi8088 wrote:
is there an function that change only the required node the xml that change should me reflected in to the xml fileI'm pretty sure there is, but I'm afraid I'm not a DOM expert.No, there is not. An XML file is really at its heart just a text file, and just like you can't simply write a change in the middle of a text file* but rather have to re-write out the entire contents, the same is true for an XML file.
* unless you use a RandomAccessFile, and know the exact position to seek, and the change doesn't cause the rest of the contents to shift, such as by adding more content or removing some. All of which are very restrictive conditions. -
Hi all experts,
I am in Oracle Enterprise Manager 11g 11.2.0.1.0.
SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 22 11:40:23 2011
is there anyone know why
SQL> create or replace directory XMLDIR as '/xdb/faq/testdata'
2 /
SQL> set long 10000 pages 200 lines 150
SQL> --
SQL> select xmltype(bfilename('XMLDIR','2003.xml'),nls_charset_id('AL32UTF8'))
2 from dual
worked. but
SQL> create or replace directory XMLDIR as 'C:\Drag_list\Modified';
SQL> select xmltype(bfilename('XMLDIR','2011.xml'),nls_charset_id('AL32UTF8'))
from dual
did not work?
IS there any way I can load the .xml file list from 'C:\Drag_list\Modified' into xmltype table?
Thanks.did not work?Generally we'll need a bit more info than "it didn't work", was there an ora-X error message? What was the error?
Assuming you're on *nix a 'C:\<folder name>\...' directory spec just plain won't work, the directory has to point to a valid storage location on the database server host.
Try a host command (at the database server) and make sure the .xml file name and location is valid, in sqlplus a "bang" (exclamation) runs a host command, i.e.:
SQL> !ls -l /xdb/faq/testdata
... usr grp ... 2003.xml
...But if you are on windows, its the `host` command:
SQL> host dir c:\drag_list\modified
mm/dd/yyyy ... 2011.xml
... The create directory ... as ... must point to a valid storage location for it to work, at least that is step one.
Maybe you are looking for
-
I am currently using Itunes 4.1 on my IMac. It no longer shows my airport express setups as options. What is going on?
-
Can one combine static and instance methods?
Hi, Can one define a method so that is can be used as both a static or an instance method? Basically I'm trying to simplify my class to so that I can call a method either statically with parameters or instantiated using it's own attributes. In other
-
My i-tunes Wish List only shows the first page- it used to show all the pages. Its a little like the next page button is disconnected? Any ideas? thanks Simon
-
Upgrade to Solaris 10/08 hangs after reboot
I upgraded to Solaris 10 10/08 however the system hangs after reboot. I had never any issues with its previous versions. Any thoughts?
-
Determination of Production Order Type when Planned Order is Converted
Hi SAP Expert, Is there anyway to determine the Production Order type by Sales Order type when the planned order from APO is converted? Currently, all the planned orders converted from APO will be a Normal Production Order. The requirement as example