Datas through XML to the Portal
Hi,
i've the following problem:
The Datas for the Content Area are not storred in one Oracle database - the are stored in many differnet Systems.
For example: Category1 is storred in System1, Category2+4 are storred in System3 and Category3 is storred in System2.
I need now a XML from where I'm able to see in which Folder/Subfolder etc.... my Category is, and some Link to get it.
Is it possible that the Portal get an XML File with the Foldering and the Link to the Datas??
Or did anyone know an other Solution for my Problem??
Thanks in advance
Daniel
Daniel,
wwsbr_renderfolder
wwsbr_folderxml
Hi,
i've the following problem:
The Datas for the Content Area are not storred in one Oracle database - the are stored in many differnet Systems.
For example: Category1 is storred in System1, Category2+4 are storred in System3 and Category3 is storred in System2.
I need now a XML from where I'm able to see in which Folder/Subfolder etc.... my Category is, and some Link to get it.
Is it possible that the Portal get an XML File with the Foldering and the Link to the Datas??
Or did anyone know an other Solution for my Problem??
Thanks in advance
Daniel
Similar Messages
-
Sender sending data through XML, How to process it in ECC (No PI involve)?
Hi,
The sender system sending data through XML tag and that need to be processed in SAP side.
How it can be done without involving XI or IDoc?
Is it possible through HTTP post?
Sample XML Transactions
1. SAP Availability Transaction (Request)
<?xml version="1.0" standalone="yes"?>
<ECCAVAILREQUEST>
<AVAILTEXT>CHK STATUS</AVAILTEXT>
</ECCAVAILREQUEST>
2. SAP Availability Transaction (Response)
<?xml version="1.0" standalone="yes"?>
<ECCAVAILRESPONSE>
<AVAILTEXT>OK</AVAILTEXT>
</ECCAVAILRESPONSE>
3. DUMMY_SYSTEM PO Transaction (Request)
<?xml version="1.0" standalone="yes"?>
<DUMMY_SYSTEM REQUEST>
<CREATEPB>1</CREATEPB>
<POORDERDATA>
05607015156070151TORDAEHTWW05727500002D0979054+
</POORDERDATA>
4. DUMMY_SYSTEM Order/Inquiry Transaction (Response)
<DUMMY_SYSTEM RESPONSE>
<C_PO>99999</C_PO>
<RETURNDATA>
DAT
</RETURNDATA>
</DUMMY_SYSTEM RESPONSE>Hi,
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/21/e9c97ceb1911d6b2ea00508b6b8a93/content.htm
this is for processing inbound IDOc through XML-HTTP(Inbound) port
like this there should be an option for reading files placed by HTTP_POST.
in SICF transaction there should be a service to do that.
defaulthost -> sap-> xi-> adapter_plain. i know you don't have XI in your landscape but this is the component which be responsble for receving messages over HTTP_POST.
look for a program which can access messages from there.
please check with your basis team
Suresh -
Standard Proxy enhanced unable to fill the data from xml to the structure
Hi All,
We have enhanced a standard proxy structure in PI, generated the proxy in the target system SCM, but the call transformation is not filling the data from xml into the appended field.
Am i have to do any thing to fill the data.
Thanks.
Chaitanya NaruHi Srikant,
You can use the following code. This works for me.
Remember to set the multiplicity of the User structure to 0...N or 1...N
IGPStructure inputStructure = m_context.getInputStructure();
Collection inputItems = inputStructure.getStructures("User");
if(inputItems == null){
return;
for (Iterator iter = inputItems.iterator(); iter.hasNext();) {
//get input item structure and fill context
IGPStructure item = (IGPStructure) iter.next();
String attrName=
item.getAttributeAsString("AttrName");
Thanks & Regards,
Dipankar -
Inserting a record through XML into the tbale
Hi,
When i insert a record into a table through XML data which is through CLOB,
the data gets inserted and when i commit the ransaaction and check in my table, the data gets inserted for only few feilds and the remaining feilds will be blank , though the value in the field is inserted through XML.
please get back to me at the earliest.are you sure you can see the hole content?
increase the maximum width for displaying CLOB:
SQL> desc test
Name Null? Typ
DATA CLOB
SQL> insert into test values ('<EMPS><EMPLOYEE_ID>200</EMPLOYEE_ID>
2 <FIRST_NAME>Jennifer</FIRST_NAME>
3 <LAST_NAME>Whalen</LAST_NAME>
4 <EMAIL>JWHALEN</EMAIL>
5 <PHONE_NUMBER>515.123.4444</PHONE_NUMBER>
6 <HIRE_DATE>17-SEP-87</HIRE_DATE>
7 <JOB_ID>AD_ASST</JOB_ID>
8 <SALARY>4400</SALARY>
9 <MANAGER_ID>101</MANAGER_ID>
10 <DEPARTMENT_ID>10</DEPARTMENT_ID></EMPS');
1 row created
SQL> select * from test;
DATA
<EMPS><EMPLOYEE_ID>200</EMPLOYEE_ID>
<FIRST_NAME
SQL> set long 500
SQL> select * from test;
DATA
<EMPS><EMPLOYEE_ID>200</EMPLOYEE_ID>
<FIRST_NAME>Jennifer</FIRST_NAME>
<LAST_NAME>Whalen</LAST_NAME>
<EMAIL>JWHALEN</EMAIL>
<PHONE_NUMBER>515.123.4444</PHONE_NUMBER>
<HIRE_DATE>17-SEP-87</HIRE_DATE>
<JOB_ID>AD_ASST</JOB_ID>
<SALARY>4400</SALARY>
<MANAGER_ID>101</MANAGER_ID>
<DEPARTMENT_ID>10</DEPARTMENT_ID></EMPS
SQL> -
Updating the Master data Infoobjects attributes from the Portal
Dear All,
There is a requirement where through portal i want to retrive the master data infoobject ( based on the value seleceted for that infoobject by the user ) and its attributes in the portal , edit them and save them back so that the updated values goes back to BW master data infoobject data base tables and updates the value.
Eg . I have Natural Account master data infoobject in the BW with attributes fucntional area and expense center.Based on the user selection of any values for the Natural account lets say 01110 , then for 01110 natural account the portal should display the correspoding attributes values of fucntional area and expense center.Lets take this values as 10 , 20 respectively for fucntional area and expense center . What I want to do now is to change these attrbute values to 30 and 40 and I would like to save it back as the changed attribute values for that natural account for 01110 with new attribute values 30 & 40 respectively for fucntional area and expense center .
Is this possible through portal and BW?
Any idea on this would be appriciated.
Regards,
AnkitHi Ankit,
this is a quite tough but not impossible requirement. Maintaining Master data is possible with Visual Composer and some function modules (at least that's one way I know). However it could be a bit complicated maintaining attributes Master data depending on your data model. This How might help getting familiar with this topic:
Maintaining BI Master Data with SAP NetWeaver® Visual Composer
Good luck.
Brgds,
Marce -
How to add a data-source.xml to the project to config DB connections and to be SCM'ed
I'd like to explicitly manage a data-sources.xml for my JSP + BC4J project.
Any helps on getting the released Jdev to add a data-source.xml that would then
be what the .ear deploys to OC4J?
Thanks, curtI have a JSP + BC4J project:
So far my naive experiments to explicitely add data-sources.xml to a
project that is picked up by the deploy to .ear step and put in the
root of the .ear have failed.
Is this one of those gaps like the orion-application.xml file, that has no
solution at present?
Or is the back-door via adding an EJB component to my project, then deleting it??
Thanks, curt -
Embedding inline HTML data in XML using the mx:XML tag with <; and >;
What is best practice for embedding HTML within the
<mx:XML> tag? Programmatically, I can implement this
successfully:
[Bindable]
public var xmlDP:XML = <component data="<" />;
However, I get the following error if I try to store the same
data inline in an mx:XML tag, as such:
<mx:XML id="xmlDP">
<component data="<" />
</mx:XML>
Error #1095: XML parser failure: Unterminated attribute.
If I change the MXML tag as follows, it works fine:
<mx:XML id="xmlDP">
<component data="&lt;" />
</mx:XML>
Unfortunately, I also can not source the mx:XML tag to an XML
file which uses < or > codes, as it yields the same
results. This leads me to believe that the <mx:XML> tag does
not support the special character codes for < and >, but why?
Incidentally, this code also gives a 1095 error:
<mx:XML id="xmlDP">
<component data="<" />
</mx:XML>
This is causing an issue with my source data as it is not
hand typed into Flex, and standard XML supports the < and
> codes. I have tried a full HTML string, as shown below,
but this also generates the error:
<mx:XML id="xmlDP">
<component data="<b>Test</b>"
/>
</mx:XML>
Many thanks for any input you may have!I’m generating the XML source file with
Microsoft’s XML Notepad 2007. It will encode invalid special
characters automatically. My understanding is that this is the
proper way to handle the less than symbol in a XML string, that is
to say using the < code.
With respect to the escape and un-escape methods, I am able
to successfully implement these in AS, but not in MXML. This makes
sense considering they are AS methods, but I was hoping to be able
to do something like:
<mx:XML id="xmlDP">
<component data="escape('<');" />
</mx:XML>
This gives the following compilation error:
The value of attribute "data" must not contain the '<'
character.
As does using the escape character as such:
<mx:XML id="xmlDP">
<component data="\<" />
</mx:XML>
Below is an example of what the escape character may be used
for in AS:
var myString:String = "\"";
trace(myString);
// result: "
Likewise, I can escape the < character as such:
var myString:String = escape("<");
trace(myString);
// result: %3C
<mx:XML id="xmlDP">
<component data="%3C" />
</mx:XML>
trace(un-escape(xmlDP.@data));
// result: <
As you can see, using %3C and unescaping in AS will yield the
correct result; however, this is not a practical method of
representing the data in MXML as I would have to write an AS method
to un-escape the XML string anyway, so I might as well just store
the data in AS to begin with. I was hoping for a way to source an
mx:XML object, without having to load it into ActionScript
manually. Here’s an example of the functionality I would
expect:
<mx:XML id="xmlDP">
<component data=">" />
</mx:XML>
trace(xmlDP.@data);
// result: >
Only this does not work for the less than symbol. I’m
assuming at this point that this is a bug in the Flex compiler.
Thanks again for your help troubleshooting this one! -
Importing form data per XML - Using the form interface?
Hi!
I'm developing interactive forms by adobe and I want to import my form data per XML file. The xml file and the email are created by my pdf document.
Now this xml file has to be parsed by a report or something like this.
Is it possible to use the form interface, I implemented, or do I have to parse it manually?
I think it has to work with this interface because it makes the pdf and it "knows" what to import/export.
Am I wrong with my suspicions or can you help me with this problem?
Thanks & greets,
Philip GillißenI'm pretty impressed of Adobe and their stuff (I do NOT refer to the community), how helpful they are.
Perhaps I didn't understand the meaning on the offical customer support website, stating:
The best way to contact us...
Ask our experts
Our community and staff are at your service 24/7
Even worst, their is a similar question from 25/09/2013 (http://forums.adobe.com/message/5711946#5711946) and no feedback form Adobe stuff at all.
Great service guys!
Thanks a lot! -
Hi,
I am new to oracle in SQL we use to import bulk data in xml formate and then insert it into the data.
is there any way of doing the same job in oracle?
i have a table
empId empName empFatherName
i want to bring a bulk of user name and father name in xml(clob) format,
add my id by extracting it from a sequence and insert it combine to the table.
thx...Hi,
By using SQL*LOADER you can do this in oracle database.Check the below link for usage.
http://www.oracleutilities.com/OSUtil/sqlldr.html
Best regards,
Rafi.
http://rafioracledba.blogspot.com/
Edited by: Rafi (Oracle DBA) on Jan 11, 2011 10:41 PM -
Iterate through XML find the missing element and prepare report
Hi',
I am reading a XML and if the ID is missing in that XML, then I have to make a report which can be send by mail
by telling that these are the name for which ID is not present.
I am able to iterate through the records and check if the ID is not present and pick the names for that,
What I am not getting is how to put these names in a proper format.
Like if I copy then each time the variable will be overwritten, if I use a append then a full new XML gets created.
Please tell me how I can make a proper report.
Thanks
Yatan
<Records>
<Employee>
<name>Yatan</name>
<ID></ID>
<Age>28</Age>
</Employee>
<Employee>
<name>Yagya</name>
<ID>101</ID>
<Age>27</Age>
</Employee><Employee>
<name>Yugansh</name>
<ID></ID>
<Age>24</Age>
</Employee>
</Records>What about you do a XSLT transformation to get the email content in HTML format... That would avoid you to iterate through your XML...
The template would be like this:
<xsl:template match="/">
<h2>These are the employees without ID</h2>
<xsl:for-each select="/Records/Employee[ID = '']">
<xsl:value-of select="name"/>
<BR/>
</xsl:for-each>
</xsl:template>This is just a sample, syntax was not verified, but I think you'll get the idea...
Please let me know if this was helpful...
Cheers,
Vlad -
Cant see the Data thru Iview in the Portal
Hi All,
I have created a Web Template (for an Infocube) thru Web Application Designer and i am using the URL created by the WAD application as an the Query String for creating an iview.
But when i am previewing the iview in the EP, it is giving me a blank Screen though reporting data is available in BI.
Please help me to correct this.
Thanks and regards,
Ankur AgarwalHi All,
I have created a Web Template (for an Infocube) thru Web Application Designer and i am using the URL created by the WAD application as an the Query String for creating an iview.
But when i am previewing the iview in the EP, it is giving me a blank Screen though reporting data is available in BI.
Please help me to correct this.
Thanks and regards,
Ankur Agarwal -
Where will the portal activity data reside in SolMan?
Hi,
I have activated the portal activity data reporting feature in the portal and the portal activity extractors in SolMan. Now where will the portal activity data reside in SolMan?
Will the portal activity data be present in the SolMan BI (i.e infocubes such as 0SMD_ADCD, 0SMD_ADCH)?
thans and regards,
Divya.Hi
seems it stores ADC datafiles files in file system of portal, from there its fetching ad reporting data time to time
pleare read this guide [PADC_Activation_Guide.pdf|https://websmp110.sap-ag.de/~sapidb/012003146900000606822009E/PADC_Activation_Guide.pdf]
and check this [How PAR works?|http://help.sap.com/saphelp_nw04/helpdata/en/b5/c652070d474533a18a930112a4b926/content.htm]
Jansi -
ConnectionCacheName not read from data-sources.xml
I created a simple web application to test the use of the ConnectionCacheBean (from the jdbc 3.0 examples page). I read through the code and some other articles regarding data sources and noted that you "should" be able to set the connection cache name and caching enabled, as well as failover support, even in oc4j 9.0.4 and 10.1.2. I tried this (at least the first two), and it would NOT set the cache name.
The data-sources.xml entry was the same as in the one documented here:
http://www.oracle.com/technology/tech/java/newsletter/articles/oc4j_data_sources/oc4j_ds.htm
What gives?
Also, I tried to simulate the database going down - I killed all the sessions rather than doing a shutdown, but anyway... even with a connection cache property of validatelogin (i think that's the name) to true, and a refresh of invalid connections (they'd all be invalid if I killed them), it would only reactivate ONE SESSION. If I refreshed ALL Sessions, then it would do 9 of the 10 sessions (10 being my initial cache limit).
Any ideas?
I can post the code if that is an issue.A response I got back from Frances Zhao regarding the two issues that I experienced was:
Issue#1: Cannot set the connectionCacheName via data-sources.xml
1. This is very likely because of an OC4J bug that affects the actual order of
setting each <property> specified in data-sources.xml. The connection cache
in OracleDataSource requires the cache-name property be set after the cache
is enabled; but OC4J may not always follow this order, causing the name
to be null. If you really need the cache name, you have to do it in the code
for now.
Issue#2: Can't refresh the invalid connections
2. These are known issues in the Oracle JDBC driver in both 10.1.0.4 and
10.2.0.1. The fix for the REFRESH_INVALID case will be in the next
patch release for both 10.1.x and 10.2.x; the fix for the REFRESH_ALL
case will come later. -
Hi,
I am new for ALSB and I have problem with it.
How can I transform binary Data to xml. The binary datas are in a directory and after mapping to xml, I want them to have in other directory or in Oracle DB.
With Query tool I created binary_to_XML.xq file but can't use it in ALSB.
ALSB passes the files with out mapping?!
Thanks,
EmulateThe ALSB forum is http://forums.bea.com/bea/category.jspa?categoryID=600000003
-
Regd: Converting Data in XML file
Hi All,
We hav a requirement to convert the data from Internal table into a XML file.
The scenario is we hav developed a program to download the data in XML format,the problem is when the file is converted inot XML format its giving erreor that
<b>The XML page cannot be displayed
End tag 'KUN' does not match the start tag 'KUNNR'. Error processing resource 'file:///C:/TEST.xml'. Line 2, Position 1712
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"><asx:values><IT_XML_OUT><item><VBE...</b>
The code is specified below for understanding.
TBALES DECLARATION
TABLES: VBAK, "Sale Order Header
VBAP, "Sale Order Item Data
VBEP, "Schedule Line Data
KNA1, "General Data in Customer Master
VBRP. "Billing Document Item Data
TYPES DECLARATION
TYPES : BEGIN OF TY_SOSTATUS,
KUNNR LIKE VBAK-KUNNR, "Customer Number
NAME1 LIKE KNA1-NAME1, "Customer Name
BSTNK LIKE VBAK-BSTNK, "Customer P.O.
BSTDK LIKE VBAK-BSTDK, "Customer P.O. Date
VBELN LIKE VBAK-VBELN, "Sale Order Number
ERDAT LIKE VBAK-ERDAT, "Sale Order Date
POSNR LIKE VBAP-POSNR, "Sale Order Line Item
MATNR LIKE VBAP-MATNR, "Material Number
ARKTX LIKE VBAP-ARKTX, "Material Description
KWMENG LIKE VBAP-KWMENG, "Sale Order Quantity
VRKME LIKE VBAP-VRKME, "Unit of Measurement
EDATU LIKE VBEP-EDATU, "Sale Order Schedule Date
FKIMG LIKE VBRP-FKIMG, "Despatch Quantity
GBSTA LIKE VBUP-GBSTA, "Overall Sale Order Status
PNDQTY TYPE I,
END OF TY_SOSTATUS.
TYPES : BEGIN OF TEMP_DISP,
VBELN LIKE VBAK-VBELN,
AUART LIKE VBAK-AUART,
ERDAT LIKE VBAK-ERDAT,
KUNNR LIKE VBAK-KUNNR,
BSTNK LIKE VBAK-BSTNK,
BSTDK LIKE VBAK-BSTDK,
POSNR LIKE VBAP-POSNR,
MATNR LIKE VBAP-MATNR,
ARKTX LIKE VBAP-ARKTX,
KWMENG LIKE VBAP-KWMENG,
VRKME LIKE VBAP-VRKME,
END OF TEMP_DISP.
DATA: XML_OUT TYPE STRING.
INTERNAL TABLE DECLARATION
DATA : IT_SOSTATUS TYPE STANDARD TABLE OF TY_SOSTATUS
WITH HEADER LINE INITIAL SIZE 100 WITH DEFAULT KEY.
DATA : IT_TEMP TYPE STANDARD TABLE OF TEMP_DISP
WITH HEADER LINE INITIAL SIZE 100 WITH DEFAULT KEY.
DATA : BEGIN OF IT_XML_OUT OCCURS 0,
A(1500) TYPE C,
END OF IT_XML_OUT.
SELECTION SCREEN DECLARATION
SELECTION-SCREEN BEGIN OF BLOCK SOBLOCK WITH FRAME.
SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN,
S_ERDAT FOR VBAK-ERDAT,
S_AUART FOR VBAK-AUART,
S_WERKS FOR VBAP-WERKS.
SELECTION-SCREEN END OF BLOCK SOBLOCK.
START OF SELECTION
SELECT SVBELN SAUART SERDAT SKUNNR SBSTNK SBSTDK
LPOSNR LMATNR LARKTX LKWMENG L~VRKME FROM VBAK AS S
INNER JOIN VBAP AS L
ON SVBELN = LVBELN
INTO CORRESPONDING FIELDS OF TABLE IT_TEMP
WHERE S~AUART IN S_AUART AND
S~ERDAT IN S_ERDAT AND
L~WERKS IN S_WERKS .
CALL TRANSFORMATION (`ID`) SOURCE IT_XML_OUT = IT_TEMP[] RESULT XML XML_OUT.
CALL FUNCTION 'SOTR_SERV_STRING_TO_TABLE'
EXPORTING
TEXT = XML_OUT
FLAG_NO_LINE_BREAKS = 'X'
LINE_LENGTH = 65000
LANGU = SY-LANGU
TABLES
TEXT_TAB = IT_XML_OUT[].
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filetype = 'BIN'
filename = 'C:\TEST.xml'
TABLES
data_tab = IT_XML_OUT[].
Is there any other way to process this and download in XML format.
Help and Suggestions will be much Appreciated.
Thanks & Regds.
Ramesh.Hi ramesh,
1. itab --- > xml
xml ---> itab.
2. This program will do both.
(just copy paste in new program)
3.
REPORT abc.
DATA
DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
DATA : BEGIN OF itab OCCURS 0,
a(100) TYPE c,
END OF itab.
DATA: xml_out TYPE string .
DATA : BEGIN OF upl OCCURS 0,
f(255) TYPE c,
END OF upl.
DATA: xmlupl TYPE string .
FIRST PHASE
FIRST PHASE
FIRST PHASE
Fetch Data
SELECT * FROM t001 INTO TABLE t001.
XML
CALL TRANSFORMATION ('ID')
SOURCE tab = t001[]
RESULT XML xml_out.
Convert to TABLE
CALL FUNCTION 'HR_EFI_CONVERT_STRING_TO_TABLE'
EXPORTING
i_string = xml_out
i_tabline_length = 100
TABLES
et_table = itab.
Download
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filetype = 'BIN'
filename = 'd:\xx.xml'
TABLES
data_tab = itab.
SECOND PHASE
SECOND PHASE
SECOND PHASE
BREAK-POINT.
REFRESH t001.
CLEAR t001.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'D:\XX.XML'
filetype = 'BIN'
TABLES
data_tab = upl.
LOOP AT upl.
CONCATENATE xmlupl upl-f INTO xmlupl.
ENDLOOP.
XML
CALL TRANSFORMATION ('ID')
SOURCE XML xmlupl
RESULT tab = t001[]
BREAK-POINT.
regards,
amit m.
Maybe you are looking for
-
This is a screenshot of my visual studio csharp the References and properties part of the dll's: You can see on the right the 3 problem files are the directx dll files. When my brother is running the program he get exception say one or more of the dl
-
How do I set shortcuts on my new onn wireless keyboard for volume control?
Replacement Keyboard Volume control issue with a non- Apple Keyboard [Sunday - July 29, 2012 - 2:18pm] Question: I just purchased a new keyboard in place of the orginal for my iMac which gave out this morning. The brand name of the keyboard is O
-
ITunes keeps asking for authorization and won't close
I have been having trouble with iTunes ever since I upgraded to Mountain Lion. iTunes will open and repeatedly ask for authorization. I've tried resetting the authorization, using terminal to do it, deleting folders, etc. I would like to try and u
-
Why do I have trouble playing youtube videos?
Most of the time when I attempt to watch a youtube video, it either loads very slowly, or not at all. I do not have trouble watching videos on any other site. I've got a brand new MacBook Pro running 10.7.4, 2.9 ghz, 8 gb memory. The current downloa
-
I have various DVD's downloaded and converted to H.264 format and they have been transferred into iTunes and then on to the iPad 2. There are about 40. I have been using a 15 ft. HDMI cable with the iPad adapter to watch them on the TV. I now ordere