Product reclassification XML sample file
Hello,
I have been trying check out the functionality to automatically reclassify products using an XML upload in Compliance Management (/SAPSLL/PR_RETARIF_XML_002).
Unfortunately nobody seems to have an example file (US Commerce Control List or EU Export List or whatever). I suppose its an old number vs. new number file, depending on the structure of the numbering scheme ?
I have tried to use an upload file for a numbering scheme with changed numbers/validity dates but that did not do.
I haven't found anything on the SAP Support Site neither nor did I manage to get a sample from a data provider so sorry to bother you.
Cheers and Thanks for your advice,
Uwe
Edited by: Uwe Rasp on May 28, 2010 3:47 PM
Did you ask Customs Info' I'm sure they have one for US export.
Cheers,
Marc
Similar Messages
-
AIAInstallProperties.xml - Sample file REQUIRED
Hi,
I have installed (file only) option with AIA FP but in my AIA_HOME/config directory there is no file called 'AIAInstallProperties.xml' which is required to deploy AIA using an script. Can anyone please copy or upload an AIAInstallProperties.xml sample file here so I can download and copy to machine and continue my installation.
I am using Single server, basic installation.
Thanks
SJunejoDid you ask Customs Info' I'm sure they have one for US export.
Cheers,
Marc -
Hi all,
I recently downloaded some extensions and installed them
through the extension manager. The extensions say they installed
correctly but I can not find the sample xml files anywhere. Any
ideas?Hi,
try this forum: WebCenter Portal
Frank -
Script code sample for looping through the records from xml data file in formCalc script
Hi
I have a xml data file which contains a sequence of repeating applicant data like given below
US
II
CEO
Mr
111111111
0000000111
GuarantorA
111
IN
11111
WILLIAMS1
R3
KENNETH1
City1GU
PA
1934-03-14
[email protected]
GU
R
113 Lazlo LaneCA
Suite 3500CA
OaklandCA
TX
11345
AL
I want to assign a textfield with a value based on the value of coap_flag.
So i need to loop through all the record and check the value of coap_flag and then assign the textfield a value based on that.
I am new to Adobe livecycle...Please help me how it can be done.
I have developed something like this
foreach Item in ($record.applicant[*].coap_flag) do
test.value=Item
if(test.value=="MA")then
concat($record.applicant.first_name,$record.applicant.middle_name)endif
endforUsing the data you posted in the forum, I copied it a couple of times to give multiple records and used this code to extract the different values that you wanted. I had to wrap it in a <root> node that I called root (to make it valid XML). In my case I wrote the extracted values to a field, but in your case you can do whatever you want with them. Note that this was done in javascript:<br /><br />var currentElement;<br />var obj;<br /><br />//Get the nodes below the root node in the dataDom<br />obj = xfa.datasets.data.root.nodes;<br /><br />//Set an initial value for the textField<br />TextField1.rawValue = "The values of the coap_flag are: ";<br /><br />//Loop through the nodes in the obj set <br />for (i=0; i< obj.length ; i++){<br /> //set the currentElement to the 1st child node<br /> currentElement = obj.item(i);<br /> //Check to see if it is an applicant node<br /> if (currentElement.name == "applicant"){<br /> //It is an applican, now find the coap_flag node value and write it to the text field<br /> TextField1.rawValue += "\n" + xfa.resolveNode("xfa.datasets.data.root.applicant[" + i + "]").coap_flag.value;<br /> }<br />}
-
XML Schema file in data definition
Hi,
I am creating a custom RTF template for a seeded data definition in the eBusiness Suite. The data definition has an XML Schema file loaded however this does not include all the data required for the template. Running the report to just generate the XML (i.e. no template) I can see that the additional data is available at this level just not included in the XSD.
I have built the template including the additional elements from the XML and expected to have to create a custom data definition as well to add the additional elements to the XSD. However the template is working against the seeded definition and successfully picking up the elements that are not included in the XSD.
Has anybody else come across this situation? And are there any potential issues? I could create a custom data definition as well to load an amended XSD but this would be a more invasive change as it would involve end dating the seeded data definition which I would prefer not to do. The report is not being generated from a concurrent request so I cannot just create a custom request and leave the seeded report untouched.
Thanks,
SarahThe XML Schema is only required if you are using a PDF template (the template file itself is PDF) with field-mapping. For other template types the schema is optional.
The XML Schema is used to define a "class" of XML documents, so to speak. The define the semantics and structure of the XML documents more thoroughly.
If you have closely related reports, you could use a single schema to standardize (in a sense) the XML to be output from the class of related reports. In that case you could have a single schema file uploaded to multiple reports/data-definitions.
The W3C has good documentation on XML Schema.
If you want to see samples, you can use tools such as dtd2xs to create sample schemas from your DTD. -
Okay, as a heads up I work for a financial institution and we are converting our legacy "jetforms" to pdf format. I have in my staff for the project, 2 code developers and myself- a form designer. We have currently spent 2 months in trial and error attempting to resolve this problem, please let us know anything you can have. All client-side (internal) machines are running Windows XP and Adobe Reader 7.0.7
The software we use as a financial institution allows our users to export a customer's data file onto their machine which is then renamed to include the member's account number and first and last name for our staff to determine which data file they need more accurately. In legacy jetforms, we have developed a program that pushes the data from the customers file that they select, into the jetform that they want to open and the matching fields in the data file fill in the fields of the jetform. Clean and simple.
Now, i have hit nothing but frustration when attempting to perform the same process with pdfs using a form designed in livecycle designer 7. First, i see no obvious command for opening a pdf and importing a data file using a command line, like pdfmerge or something of the sort in which an xml data file can be specified and a pdf can be specified. I saw something like it using an fdf format and attempted to do this but apparently reader cannot import the data into the pdf that was designed adobe livecycle 7. All i have been seeing is database connections and using javascript inside the form to populate fields based on these database connections, etc. etc. or doing a manual file>import data>etc. which we don't want to have our staff do. We do not have reader extensions enabled, simply because i cannot get an adobe representative to call me and discuss pricing nor see any estimated pricing chart around. I don't know if reader extensions are necessary for this or not but i'm becoming very very frustrated with it.
We don't want a complex server-side data connection binding with dynamic input. No, we just want it where our developers can say "if this data file is selected, and this pdf form is selected run this command" which would be a simple pdfmerge type solution. Is this possible or do i need to stay with jetforms until our software the billion dollar financial institution uses does form building inside its own application? I don't want to fight about who is better, what version to use, etc. I just want the straight up honest truth. If you need to know the pricing that the reader extensions would have to go by, assume there will be 500 client computers that will need to use it.From your post it sounds like you are Central Pro (a product for which I am by no means an expert), but you say you want to upgrade to a newer product from your "legacy" one. Is there a reason for this? Have your requirements change so that it no longer fits them? Central is still in the current Adobe roster and as far as I know there is no plans to get rid of it any time soon, so if it does everything you want I don't see why you would want to change.
There is no product in the LiveCycle suite that merges xml data into a form from the command line. LiveCycle (with the exception of Designer) is a suite of server products, so the closest you would come is LiveCycle Forms (merge the xml and create a fillable PDF) or LiveCycle Print (merge the xml and print the form).
Hope this helps somewhat.
Chris
Adobe Enterprise Developer Support -
Oracle script to extract SQL server data to XML/CSX file format
HI,
I have a requirement like-
Create an Oracle script to Extract data from SQL Server to XML/CSV file format in File server (Oracle Server and File Server are in different boxes).
Create an Oracle script to Retrieve data from the File Server, validate and load into the Oracle staging table
Create an Oracle script to Push data from Oracle Staging table to native SQL Server table
We may/may not be using the staging table
Could anyone please respond immediately as it is urgent ?
Thanks,
Inbamalaruser10594152 wrote:
HI,
I have a requirement like-
Create an Oracle script to Extract data from SQL Server to XML/CSV file format in File server (Oracle Server and File Server are in different boxes).
Create an Oracle script to Retrieve data from the File Server, validate and load into the Oracle staging table
Create an Oracle script to Push data from Oracle Staging table to native SQL Server table
We may/may not be using the staging table
Could anyone please respond immediately as it is urgent ?
Thanks,
Inbamalar
Urgent issues indicate a live/production system is having problems and a company is losing money, or customers are being prevented from using it.
For urgent issues you should raise your issue with Oracle Support using your customer support identifier.
The community forums are for non-urgent issues. To suggest such issues are urgent is considered rude, as the people who help here are volunteers with their own jobs to do, so demanding their time for your "urgent" issue is not appropriate. It also suggests that you think your issue is more important than other people's issues, so you are being rude to those people too. Your issue is no more important than anyone elses.
In relation to your question, you need to provide more information.
Please read: Re: 2. How do I ask a question on the forums?
When you refer to "SQL Server" are you referring to the Microsoft SQL Server product, or are you just referring to a physical server with your oracle database on it? -
Tab delimited file to XML by file adapter
Hi,
I got following sample flat file input, can we convert it to XML in file adapter's file content conversion?
Key1,Key2,Item1,Item2,Item3 <-comments
0001,AAA1,001,Cup,100
0001,AAA1,002,Glass,100
0002,BBB1,001,TV,10000
0002,BBB1,002,Radio,100
<Orders>
<Order>
<Key1>0001</Key1>
<Key2>AAA1</Key2>
<Item>
<Item1>001</Item1>
<Item2>Cup</Item2>
<Item3>100</Item3>
</Item>
<Item>
<Item1>002</Item1>
<Item2>Glass</Item2>
<Item3>100</Item3>
</Item>
</Order>
<Order>
<Key1>0002</Key1>
<Key2>BBB1</Key2>
<Item>
<Item1>001</Item1>
<Item2>TV</Item2>
<Item3>100000</Item3>
</Item>
<Item>
<Item1>002</Item1>
<Item2>Radio</Item2>
<Item3>100</Item3>
</Item>
</Order>
</Orders>you cannot create it to what is as shown below due to some limitations of the file adapter. read my post in this thread to know y - file adapter
But you can use tools like the conversion agent etc to acheive the same or read the XML in flat and then use XSLT or java to create the req. structure.
<i>
Note :
Conversion agent
/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
/people/paul.medaille/blog/2005/11/18/conversion-agent-a-free-lunch
/people/alexander.bundschuh/blog/2006/03/14/integrate-sap-conversion-agent-by-itemfield-with-sap-xi
/people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield -
Exporting xmltype table data into xml/txt file
I want to export data stored in oracle as xmltype table into xml format file.
I want to use alternatives to the method shown below as my xml file is large.
set long 10000000
spool c:\\StudentXMLJan08.xml
SELECT
XMLElement("Student",
XMLForest(s.studentid "studentid",
s.firstname "firstname",
s.lastname "surname"),
XMLElement("enrollments",
(SELECT XMLAGG(
XMLForest(sc.coursecode "courseid"))
FROM studentcourse sc
WHERE sc.studentid = s.studentid
and sc.is_approved='Y'
and sc.takenyear='2008'
and sc.takenterm='1')))
FROM student s
where s.statuscode in (select studentstatuscode from studentstatus where studentstatusactive=1)
order by s.studentid;
spool off
please help, thank youHow's this one for size
SQL> create or replace view DEPARTMENT_XML of xmltype
2 with object id
3 (
4 'DEPARTMENT'
5 )
6 as
7 select xmlElement
8 (
9 "Departments",
10 (
11 select xmlAgg
12 (
13 xmlElement
14 (
15 "Department",
16 xmlAttributes( d.DEPARTMENT_ID as "DepartmentId"),
17 xmlElement("Name", d.DEPARTMENT_NAME),
18 xmlElement
19 (
20 "Location",
21 xmlForest
22 (
23 STREET_ADDRESS as "Address", CITY as "City", STATE_PROVINCE as "State",
24 POSTAL_CODE as "Zip",COUNTRY_NAME as "Country"
25 )
26 ),
27 xmlElement
28 (
29 "EmployeeList",
30 (
31 select xmlAgg
32 (
33 xmlElement
34 (
35 "Employee",
36 xmlAttributes ( e.EMPLOYEE_ID as "employeeNumber" ),
37 xmlForest
38 (
39 e.FIRST_NAME as "FirstName", e.LAST_NAME as "LastName", e.EMAIL as "EmailAddre
ss",
40 e.PHONE_NUMBER as "Telephone", e.HIRE_DATE as "StartDate", j.JOB_TITLE as "Job
Title",
41 e.SALARY as "Salary", m.FIRST_NAME || ' ' || m.LAST_NAME as "Manager"
42 ),
43 xmlElement ( "Commission", e.COMMISSION_PCT )
44 )
45 )
46 from HR.EMPLOYEES e, HR.EMPLOYEES m, HR.JOBS j
47 where e.DEPARTMENT_ID = d.DEPARTMENT_ID
48 and j.JOB_ID = e.JOB_ID
49 and m.EMPLOYEE_ID = e.MANAGER_ID
50 )
51 )
52 )
53 )
54 from HR.DEPARTMENTS d, HR.COUNTRIES c, HR.LOCATIONS l
55 where d.LOCATION_ID = l.LOCATION_ID
56 and l.COUNTRY_ID = c.COUNTRY_ID
57 )
58 )
59 from dual
60 /
View created.
SQL> create or replace trigger DEPARTMENT_DML
2 instead of INSERT or UPDATE or DELETE
3 on DEPARTMENT_XML
4 begin
5 null;
6 end;
7 /
Trigger created.
SQL> declare
2 cursor getDepartments is
3 select ref(d) XMLREF
4 from DEPARTMENT_XML d;
5 res boolean;
6 targetFolder varchar2(1024) := '/public/Departments';
7 begin
8 if dbms_xdb.existsResource(targetFolder) then
9 dbms_xdb.deleteResource(targetFolder,dbms_xdb.DELETE_RECURSIVE_FORCE);
10 end if;
11 res := dbms_xdb.createFolder(targetFolder);
12 for dept in getDepartments loop
13 res := DBMS_XDB.createResource(targetFolder || '/Departments.xml', dept.XMLREF);
14 end loop;
15 end;
16 /
PL/SQL procedure successfully completed.
SQL> select path
2 from path_view
3 where equals_path(RES,'/public/Departments/Departments.xml') = 1
4 /
PATH
/public/Departments/Departments.xml
SQL> select xdburitype('/public/Departments/Departments.xml').getXML()
2 from dual
3 /
XDBURITYPE('/PUBLIC/DEPARTMENTS/DEPARTMENTS.XML').GETXML()
<Departments>
<Department DepartmentId="60">
<Name>IT</Name>
<Location
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Temp>ftp localhost
Connected to mdrake-lap.
220- mdrake-lap
Unauthorised use of this FTP server is prohibited and may be subject to civil and criminal prosecution.
220 mdrake-lap FTP Server (Oracle XML DB/Oracle Database) ready.
User (mdrake-lap:(none)): SCOTT
331 pass required for SCOTT
Password:
230 SCOTT logged in
ftp> cd /public/Departments
250 CWD Command successful
ftp> ls -l
200 EPRT Command successful
150 ASCII Data Connection
-rw-r--r-- 1 SCOTT oracle 0 NOV 10 20:18 Departments.xml
226 ASCII Transfer Complete
ftp: 71 bytes received in 0.01Seconds 7.10Kbytes/sec.
ftp> get Departments.xml -
200 EPRT Command successful
150 ASCII Data Connection
<Departments><Department DepartmentId="60"><Name>IT</Name><Location><Address>2014 Jabberwocky Rd</Address><City>Southlak
e</City><State>Texas</State><Zip>26192</Zip><Country>United States of America</Country></Location><EmployeeList><Employe
e employeeNumber="103"><FirstName>Alexander</FirstName><LastName>Hunold</LastName><EmailAddress>AHUNOLD</EmailAddress><T
elephone>590.423.4567</Telephone><StartDate>2006-01-03</StartDate><JobTitle>Programmer</JobTitle><Salary>9000</Salary><M
anager>Lex De Haan</Manager><Commission></Commission></Employee><Employee employeeNumber="105"><FirstName>David</FirstNa
me><LastName>Austin</LastName><EmailAddress>DAUSTIN</EmailAddress><Telephone>590.423.4569</Telephone><StartDate>2005-06-
25</StartDate><JobTitle>Programmer</JobTitle><Salary>4800</Salary><Manager>Alexander Hunold</Manager><Commission></Commi
ssion></Employee><Employee employeeNumber="106"><FirstName>Valli</FirstName><LastName>Pataballa</LastName><EmailAddress>
VPATABAL</EmailAddress><Telephone>590.423.4560</Telephone><StartDate>2006-02-05</StartDate><JobTitle>Programmer</JobTitl
e><Salary>4800</Salary><Manager>Alexander Hunold</Manager><Commission></Commission></Employee><Employee employeeNumber="
107"><FirstName>Diana</FirstName><LastName>Lorentz</LastName><EmailAddress>DLORENTZ</EmailAddress><Telephone>590.423.556
7</Telephone><StartDate>2007-02-07</StartDate><JobTitle>Programmer</JobTitle><Salary>4200</Salary><Manager>Alexander Hun
old</Manager><Commission></Commission></Employee><Employee employeeNumber="104"><FirstName>Bruce</FirstName><LastName>Er
nst</LastName><EmailAddress>BERNST</EmailAddress><Telephone>590.423.4568</Telephone><StartDate>2007-05-21</StartDate><Jo
bTitle>Programmer</JobTitle><Salary>6000</Salary><Manager>Alexander Hunold</Manager><Commission></Commission></Employee>
</EmployeeList></Department><Department DepartmentId="50"><Name>Shipping</Name><Location><Address>2011 Interiors Blvd</A
ddress><City>South San Francisco</City><State>California</State><Zip>99236</Zip><Country>United States of America</Count
ry></Location><EmployeeList><Employee employeeNumber="120"><FirstName>Matthew</FirstName><LastName>Weiss</LastName><Emai
lAddress>MWEISS</EmailAddress><Telephone>650.123.1234</Telephone><StartDate>2004-07-18</StartDate><JobTitle>Stock Manage
r</JobTitle><Salary>8000</Salary><Manager>Steven King</Manager><Commission></Commission></Employee><Employee employeeNum
ber="122"><FirstName>Payam</FirstName><LastName>Kaufling</LastName><EmailAddress>PKAUFLIN</EmailAddress><Telephone>650.1
23.3234</Telephone><StartDate>2003-05-01</StartDate><JobTitle>Stock Manager</JobTitle><Salary>7900</Salary><Manager>Stev
en King</Manager><Commission></Commission></Employee><Employee employeeNumber="121"><FirstName>Adam</FirstName><LastName
Fripp</LastName><EmailAddress>AFRIPP</EmailAddress><Telephone>650.123.2234</Telephone><StartDate>2005-04-10</StartDate><JobTitle>Stock Manager</JobTitle><Salary>8200</Salary><Manager>Steven King</Manager><Commission></Commission></Employee
<Employee employeeNumber="124"><FirstName>Kevin</FirstName><LastName>Mourgos</LastName><EmailAddress>KMOURGOS</EmailAddress><Telephone>650.123.5234</Telephone><StartDate>2007-11-16</StartDate><JobTitle>Stock Manager</JobTitle><Salary>5800<
/Salary><Manager>Steven King</Manager><Commission></Commission></Employee><Employee employeeNumber="123"><FirstName>Shan
ta</FirstName><LastName>Vollman</LastName><EmailAddress>SVOLLMAN</EmailAddress><Telephone>650.123.4234</Telephone><Start
Date>2005-10-10</StartDate><JobTitle>Stock Manager</JobTitle><Salary>6500</Salary><Manager>Steven King</Manager><Commiss
ion></Commission></Employee><Employee employeeNumber="128"><FirstName>Steven</FirstName><LastName>Markle</LastName><Emai
lAddress>SMARKLE</EmailAddress><Telephone>650.124.1434</Telephone><StartDate>2008-03-08</StartDate><JobTitle>Stock Clerk
</JobTitle><Salary>2200</Salary><Manager>Matthew Weiss</Manager><Commission></Commission></Employee><Employee employeeNu
mber="127"><FirstName>James</FirstName><LastName>Landry</LastName><EmailAddress>JLANDRY</EmailAddress><Telephone>650.124
.1334</Telephone><StartDate>2007-01-14</StartDate><JobTitle>Stock Clerk</JobTitle><Salary>2400</Salary><Manager>Matthew
Weiss</Manager><Commission></Commission></Employee><Employee employeeNumber="126"><FirstName>Irene</FirstName><LastName>
Mikkilineni</LastName><EmailAddress>IMIKKILI</EmailAddress><Telephone>650.124.1224</Telephone>
<StartDate>2002-06-07</St
artDate><JobTitle>Public Relations Representative</JobTitle><Salary>10000</Salary><Manager>Neena Kochhar</Manager><Commi
ssion></Commission></Employee></EmployeeList></Department></Departments>226 ASCII Transfer Complete
ftp: 40392 bytes received in 0.08Seconds 480.86Kbytes/sec.
ftp> -
About the exporting and importing xml data file in the pdf form
Hi all,
I need help for importing xml data file in the pdf form. When I write some thing in the text field with fill color and typeface (font) and exported xml data using email button. When I imported that xml file in the same pdf file that is used for exporting the xml data then all the data are shown in the control but not color and font typeface. Anyone has suggestion for solving this problem. Please help me for solving this problem.
Thank you
Saroj NeupaneCan you post a sample form and data to [email protected] and I will have a look.
-
Problem with sample file "SampleShapefileToJGeomFeature"
I download two zip files shape2sdojava.zip and sdo_java_040319.zip (http://www.oracle.com/technology/software/products/spatial/index.html) , because I want write java aplication that will work with shp files.
I tried to compile this example file "SampleShapefileToJGeomFeature.java", but i get error message:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
DBFReaderJGeom cannot be resolved to a type
DBFReaderJGeom cannot be resolved to a type
The constructor ShapefileReaderJGeom(String) is undefined
ShapefileFeatureJGeom cannot be resolved to a type
ShapefileFeatureJGeom cannot be resolved to a type
The method getShpFileType() is undefined for the type ShapefileReaderJGeom
The method getMinMeasure() is undefined for the type ShapefileReaderJGeom
The method getMaxMeasure() is undefined for the type ShapefileReaderJGeom
The method getMinZ() is undefined for the type ShapefileReaderJGeom
The method getMaxZ() is undefined for the type ShapefileReaderJGeom
The method getMinX() is undefined for the type ShapefileReaderJGeom
The method getMaxX() is undefined for the type ShapefileReaderJGeom
The method getMinY() is undefined for the type ShapefileReaderJGeom
The method getMaxY() is undefined for the type ShapefileReaderJGeom
The method getShpDims(int, double) is undefined for the type ShapefileReaderJGeom
at SampleShapefileToJGeomFeature.main(SampleShapefileToJGeomFeature.java:303)
So is this mean that this class DBFReaderJGeom does not exist in java.spatial.util?
Maybe this sample file is outdated, because class ShapefileFeatureJGeom is changed, now takes two parametars insted of one.
Message was edited by:
user547750I found similar problem on this thread
Oracle Spatial Java API Problem
Is it possible for somebody to send me on mail these jar libraries from oracle database 10gR2?
And I dont know why this is not fixed yet on the oracle web site?
mail: konj_p @ yahoo.com
Thanks -
How to insert a new line character inside CDATA tag in the source xml data file?
values for form fields in the xml data file is contained inside CDATA tags which is an Unparsed Format.
Eg: [CDATA[IBM-01 ~ DSHFSJDSJ ~ FGFGFJ, ~ VA 665665]] delimited by "~" char
Actual o/p:-
IBM-01 ~ DSHFSJDSJ ~ FGFGFJ, ~ VA 665665
Expected o/p is like :-
IBM-01
DSHFSJDSJ
FGFGFJ,
VA 665665
live cycle product does not interpret ~ as a newline character. Please suggest which character should be used instead inside CDATA section or if there is any other way to fix this?I do not have any problem while using IE's XML parser
for XML+XSLT merging.That is because IE's parser does not implement XML correctly.
But when I use JAXP's Transformer object, it does not
preserve the new lines inside attribute values and
converts those into white spaces.That is exactly what the XML specifications say should happen.
>
----If you have text that contains newlines, you
should put it in an element, not in
----an attribute.
That would be my last solution. But I'd really hate
to change my logic just 'coz JAXP is not capable of
handling new lines inside attribute values. I may be
wrong... but If IE can keep those then there has to
be a way to do the same from server side merging....Sure. Write your own parser with the same bug in it. But you don't have any right to demand that other people supply you with parsers that work incorrectly. -
I though I found gold but it has nothing when I clicked on it.
Steve Muench's "Not Yet Documented Examples" [http://blogs.oracle.com/smuenchadf/resource/examples] > "Using ViewObject writeXML and JSTL XML Tag Library" suppose to provide the example. but I am getting File not found error. Seems the sample application doesn't exists any more.
Please point me to correct example for my following use case:
At Run-time:
1. My Application will ask user for database table name.
2. for provided database table name, my application should Generate XML Definition file for EO, Associations, VO and View Links inside Model Project (basically all definition file should be created which gets created when developer create these Business Components for database table through JDeveloper Studio).
3. Once done, application should also generate JSPX file using ADF page template in ViewController Project, with binding definition to it's corresponding newly generated VO Objects from step 2.
4. The page will be then, visible to user to use it (create/update/delete records)
First of all, is it possible to achieve above requirement ? Based on description of Steve Muench's "Using ViewObject writeXML and JSTL XML Tag Library", I think it is possible, but I don't have the sample application to refer.
I could have used dynamic view object concept to display the records with basic page layout. But I want users the ability to modify the create/records/delete the records with following requirements:
1. If require, Business Logic Developer can use Jdeveloper Studio to access new generated Business Components and modify it (like adding some validation rules)
2. If require, UI Developer can access newly generated JSPX file and change the layout.
Please let me know how much and how can I achieve it ?Shay,
Thank you for your reply. I will take a look at your links.
Use Case:
Application will have different BC for different IT Assets (like Monitor, Keyboard, Servers etc), which will basically hold records for all available Assets (like Display Resolution, screen size etc for all monitor in Monitor BC).
I want to give user; the ability to create, for e.g., the sub-class of Monitor to store more specific attribute-values in different table (which will be linked Parent BC). For e.g.: They may want to care about holding CRT and LCD Monitor records in separate new database table -- Application will ask user what all attributes/Columns they want to see for LCD which is specific to this type AND which is not present in already existing out-of-box Monitor BC/Table - e.g. - "Viewing Angle" Attribute).
With that said, I can write code to create database table on fly (having 1-to-1 foreign key reference to parent table) but writing ADF part seems difficult. I also wanted application to automatically generate new page for newly added VO BC. E.g.: LCD-Monitor.JSPX inheriting all attributes from monitor (parent VO) in the same structure as Monitor.JSPX file is having with extra LCD-specific Attributes in separate panel tab (which again UI developers can customized it).
Too much to expect huh !
I am going to start building the application so If not above way, any other suggestion to achieve the requirement ?
Edited by: Anandsagar Sah on Aug 29, 2011 9:23 PM -
XML data file links java and sap
Hi ,
Please help me this
How to connect xml file to java into sap
please send me sample scenario.
in java i call the this sap function module 'BAPI_MAT_BOM_EXISTENCE_CHECK'.
1. Check BOM existence with BAPI_MAT_BOM_EXISTENCE_CHECK
2. Exit BOM diff if BOM doesn’t exist
3. Read BOM structure with CSAP_MAT_BOM_READ
4. Compare SAP BOM items incl. subitems to XML BOM items and subitemscurrently I use following methods tu opload and to transfor the xml into a string.
* Method to create XML from data file
CALL METHOD instance->import_from_file
EXPORTING
filename = gf_filename
RECEIVING
retcode = ch_retcode.
* Convert into XML-Stream
CALL METHOD instance->render_2_string
* EXPORTING
* pretty_print = 'X'
IMPORTING
retcode = ch_retcode
stream = lf_string .
* size = .
When I use read dataset the output of the xml is into an internal table where I have many lines depending on the XML data file, this means if my xml has 10lines the internal table of read dataset has also 10 lines but I need a string to make the transformation of the xml. -
ABAP program to output data from SAP table to an XML format file?
hello ABAP experts,
Does anyone know how to output data from SAP table to an XML format file? Would be appreciated if someone show the detailed sample codes and we will give you reward points!
Thanks!Edited by: Jose Hugo De la cruz on Aug 19, 2009 8:23 PM
Maybe you are looking for
-
Is it possible to install Forms and Reports 11.1.1.2.0 without Weblogic
is it possible to install Forms and Reports 11.1.1.2.0 without Web logic ?
-
IMovie and iPhoto file duplication or alias/shortcut?
If I make a video on my iPhone, import it into iPhoto, and then open it in iMovie by clicking on the iPhoto video folder, does iMovie copy the video from iPhoto or does it make a shortcut/alias for that video file? In other words, do I end up having
-
Hi all, Can someone throw some light on the below questions? 1. What is the latest version of Weblogic 12c available in the market? 2. What is the version of JDevleoper used? 3. Can soa composites be deployed into this version as we do it in weblogic
-
I'm trying to create a .jar file with this manifext file: Manifest-Version: 1.0 Name: classes\Testing.class Main-Class: classes.Testing (JBuilder created the manifest file but I added the Name: Line) The problem is no matter what I try for Main-Class
-
Object type Appraisals by objetives (PD)
Hi, I want to know in the new type of objectives settings and appraisal which is the object that are create an evaluation. For example in the old evaluation system the objects type was BS-BG-BK, this make possible to create an evaluation BA. In the