Storing xs:any fields via DSP
Hello everyone, I'm glad to see DSP back in business :)
In a project for a customer we're preparing order management system, used to perform process operations on ALSB/DSP sets of services. It is based on WLI/ALSB/DSP/ORA infrastructure.
Order schema is composed of few typed elements (orderId, orderDate, and so on) and one untyped (xs:any) orderHeader element - for storing xml document of unknown structure (in fact, structures are known, but very different for different orders), mapped to database type of CLOB (or very large string).
There comes the question: how can we perform insert / update operations via DSP on such a structure, WITHOUT losing the xml markup in the orderHeader field after storing in Oracle? What we have now is working physical and logical services, with one glitch: <orderHeader><test><field1>1</field1><field2>2</field2></test></orderHeader> get inserted and updated like this: ORDER_HEADER = "12".
Anyone, any ideas how to push the XML markup through the service?
Best regards,
Norbert
fn-bea:serialize($order) will string-ify your Order element and you can store that in a CLOB/String. And to turn the string into typed XML use validate{ fn-bea:inlinedXML( $string ) } (you will need to have a schema matching that type in your dataspace else validation/typing will fail).
However - you might want to revisit your architecture. XML stored in database strings is inefficient. It would be difficult to use such a column as an index, or to even perform a simple selection on it (for ORDER_ID=123, for instance - you would have to hope that <ORDER_ID>123</ORDER_ID> didn't occur in a product name within the order. To select on any XML would require DSP reading all the rows in that table, turning them into XML and then evaluating the selection.
Similar Messages
-
Highlight required fields via script...
Does anyone know how to highlight all of the required fields via script?
Acrobat displays a checkbox for highlighting required fields, but it
is unchecked by default and the user has to click it each time they open
the document. I have yet to see a way to set it as a preference in
Acrobat or Reader and I don't see any way to enable this via an
initialize script either.
Any ideas?[email protected] wrote:
> Justin,
>
> This line should work...
> app.runtimeHighlight = true;
>
> I try using it in the initialize event for the page but the results are inconsistent. I am having other issues so we left this one alone for the moment. If you get it to work consistently please let me know.
>
> - Yolanda
Yolanda,
This highlights ALL fields. I want to highlight only the required
fields.
Justin -
I have a number of audiobooks in my Itunes library. Can they be stored in the Cloud via Itunes match? All of the info refers only to "music".
They cannot be stored on icloud at all
-
In iTunes 10, I could type "Sinatra" in the search file, and would get a list of all tracks with "Sinatra" in any field. In iTunes 11 I get these clever little windows, with nice arrows, but no lists to view. What am I missing?
Thanks for chipping in. I discovered something after trying what you suggested. I have quite a few collections of hits by year from Time Life and Billboard. I've eliminated duplicate tracks that appear in both collections (or other CDs for that matter), but cross-reference the CD where I deleted the track and placed in in the comments section of the CD track I retained. If I "search" by song name, only the remaining track appears. But if I want to hear for example Classic Rock 1964, only those tracks remaining would be there when I pull up that CD. So, I type "Classic Rock 1964," in the search field. First the boxes on the right of the screen open up showing album icons. Showing four tracks by album with a button to view 10 more, then four songs with an option to vies 18 more. I finally noticed that at the top of the boxes is a blue band that reads, :Show Classic Rock 1964 in Music. When I double click on this blue band, all 24 tracks from the original CD appear in the song list format even though I had deleted two of them because they appeard in a Beach Boys CD. On those tracks, I had referenced Classic Rock 1964 in the comments field. So, bottom line, Search will also look in the comments field if you click "filter by all" in the magnifying glass to the left of the search field. And you can move all tracks that if finds into a song list by double clicking on the blue band.
-
How to get the number of bytes stored in a field?
Hi Guys,
How can i get the number of bytes stored in a field.
I tried using DESCRIBE FIELD, But here i am getting the length from the definition.
i.e 8 bytes for string and for character value is from definition.
Prompt replies will be Awarded with full points:-)
Thanks,
vinod.u see this : http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f2e5446011d189700000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f2e5446011d189700000e8322d00/frameset.htm
Madhavi -
My phone no longer outputs any sound via it's speakers
iPhone 4S, iOS 6.1.3
My phone no longer outputs any sound via it's speakers. I can hear sound with headphones and also if it is connected by the dock connector it will output sound to whatever it is connected to.
I have tried plugging and unplugging headphones several times thinking that it is stuck in headphone mode but that did not resolve the problem. I tried a factory reset in case it was software related but that didn't fix it either. The phone is out of warranty.
Thanks.Bring your phone to Apple for out of warranty replacement. In the US this will cost $199.
-
Are the messages stored in any table
Hi,
while Changing a material in a Std Tcode i get the error Message "Error in creation of the BoM". So, i was looking jf there is any way i can find the message class of this message, if it is stored in any table.
Any suggestions please ?
Thanks!Hello,
Lemme rephrase my statement.
Double click on the error message which is displayed, it will take you to some documentation screen where you can get the details.
BR,
Suhas -
I like the idea of auto back-up for my new iMac, Ipad and PC Netbook, particularly if I can access all files and data stored on any device. But I have a Conceptronic router.
1. Will Time Capsule work with this and how?
2. Can my printer USB be plugged in and then shared between the devices?
3. Can I create a network and how?
4. What happend when a visitor logs onto my existing wireless router?
I'm new to Macs (well a returning user having started with Mac Plus!!) and not very technical. Any help / advice will be much appreciated.
RayThe key to what you seem to want to do is to be able to get Apple's Time Capsule router to "join" the network that your Conceptronic router. I believe that works with some third-party routers, but I've never seen a list of those that work in such a configuration and I have no experience with Conceptronic equipment.
You might be better off with a Network-Attached Storage (NAS) device instead of a Time Capsule. -
Good day!
On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09
When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Unable to process the document in the module Save As. File not created"Hi,
Was it working fine for you before?
Is it with some specific documents?
Are you able to convert the word/excel files to pdf?
Regards,
Rave -
Good day!
On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09
When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Unable to process the document in the module Save As. File not created"This happens with any file .
Send a file with the screen errors and system data . Also send a couple of files PDF.
Translates only txt format.
Acrobat установлен: C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
Версия: 11.0.9.29
Дата создания: 2014/09/12
Время создания: 13:43:46
Браузер по умолчанию:
Версия BIOS: _ASUS_ - 1072009
Версия ОС: 6.2.9200
Всего виртуальной памяти: 4194176 KB
Всего физической памяти: 4077252 KB
Графическая плата: Intel(R) HD Graphics 4000
Версия: 10.18.10.3412
Отметить: Не поддерживается
Доступная виртуальная память: 3638168 KB
Доступная физическая память: 1689940 KB
Имя пользователя: Vazgen
Имя системы: VAZGENTAICHI
Монитор:
Название: Intel(R) HD Graphics 4000
Разрешение: 1920 x 1080 x 60
Бит на пиксел: 32
Название ОС: Microsoft Windows Vista
Папка Windows: C:\WINDOWS
Папка для временных файлов: C:\Users\Vazgen\AppData\Local\Temp\
Почтовая программа по умолчанию: Microsoft Outlook
mapi32.dll
Версия: 1.0.2536.0 (winblue_rtm.130821-1623)
Производитель ОС: Microsoft Corporation
Процессор: Intel64 Family 6 Model 58 Stepping 9 GenuineIntel ~1696 Mhz
Сведения о Windows:
Планшетный ПК: Да
Начальная версия: Нет
Media Center Edition: Нет
Медленный компьютер: Нет
Сведения о сеансе:
Тип загрузки: Обычный
Завершение работы: Нет
Сеть: Доступно
Внутри Citrix: Нет
Внутри VMWare: Нет
Удаленный сеанс: Нет
Удаленное управление: Нет
Использование JAWS: Нет
Использование Windows-Eyes: Нет
Использование NVDA: Нет
Сведения об Acrobat:
Изолирование программной среды: Отключить
Связанная программа для чтения: Нет
Multi-Reader с поддержкой Desktop: Отключить
Сведения об отображении:
Ширина экрана: 1920
Высота экрана: 1080
Число мониторов: 2
Число кнопок мыши: 2
Мышь с колесом прокрутки: Нет
С маркером Windows: Нет
Двухбайтовая кодировка: Нет
С редактором метода ввода: Да
В программе для чтения с экрана: Нет
Сведения об учетной записи:
Права пользователя: Администратор
Управление учетной записью пользователя: Ограниченное
Целостность процесса: Не определено
Тип профиля: Отсутствует
Установленные приложения:
Версия Office: Office 2013 32-bit
Файл подкачки: 4194303 KB
Часовой пояс: Московское время (зима)
Язык: Русский (Россия)
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\Accessibility.api
Версия: 11.0.9.29
Дата создания: 2014/09/12
Время создания: 13:44:20
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\Annots.api
Версия: 11.0.9.29
Дата создания: 2014/09/12
Время создания: 13:44:22
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\IA32.api
Версия: 11.0.9.29
Дата создания: 2014/09/12
Время создания: 13:44:18
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\PaperCapture.api
Версия: 11.0.9.29
Дата создания: 2014/09/12
Время создания: 13:43:36
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\SaveAsRTF.api
Версия: 11.0.9.29
Дата создания: 2014/09/12
Время создания: 13:44:20
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\SendMail.api
Версия: 11.0.9.29
Дата создания: 2014/09/12
Время создания: 13:44:20
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\Updater.api
Версия: 11.0.9.29
Дата создания: 2014/09/12
Время создания: 13:44:22 -
Getting null object loaded from local variable error while trying to drag any field
Hi,
I am getting the below error while I am trying to drag any field in webi reports. Error message is attached below.
Can anyone help me on this. Webi is based on two different universe.
Thanks
SnehasishThanks Sathish for the reply.
BO Version is 4.0
reporting database is oracle 11.2.0.3.0
I am getting this error when I am trying to drag any field(dimension, measure, variable everything) in the report.
Universe has been created on top of Bex query. Now the webi is built on top of universe.
Thanks
Snehasish -
How to get total of any field in sapscript?
Hello ,
i m making sapscript...
How to get total of any field in sapscript?Hi
Yes, you can define a variabe in your print program and pass it to the SAPScript.
LIKE:
Define L_SUM in the Global data.
DATA: L_SUM TYPE BSEG-DMBTR.
LOOP AT ITAB.
L_SUM = L_SUM + ITAB-AMOUNT.
ENDLOOP.
CALL FUNCTION 'WRITE_FORM'
WINDOW = 'MAIN'
ELEMENT = 'TOTAL'.
Now, in your SAPScript, create a text element in MAIN window
/E TOTAL
Total,, &L_SUM&.
Go through below link
http://sap-img.com/sapscripts/sapscript-how-to-calculate-totals-and-subtotals.htm
Regards,
Chandru -
Access files stored in Time Capsule via iCloud
how to access files stored in Time Capsule via iCloud
Yes, you can remotely access files in the TC..
Did you read the apple instructions and do them??
http://www.apple.com/au/support/icloud/back-to-my-mac/
It does depend on the main router being upnp or NAT-PMP capable.. so the best is if the TC is the main router.. otherwise you may have to manually forward the ports. -
Is there any field on waste packaging information in MM03
Please help me in finding any field on waste packaging information in MM03. If it is there please let me know in which view we can find it, if not let me know where else i can find information on Waste packaging.
Hi Vinod,
If i got you right, you need the information on Packing material in material master, if this is the case then go to
Material Master - Basic data1- Packaging Material Data here you get to see
1) )Material group packing material - here grouping of materials which require same kind of packing is done.
2) Reference material for material packing - here material number is given which is to be packed with the similar packing and there should be a material master record for the reference material.
3) Product composition - if you check ithis tab then composition gets printed on packing
For example - say you have two material X(glass bottles) and y( glass jars) since these two are one of a kind they require same kind of packing.
hope this will help you
Thanks
Abdul -
Complete record to be deleted if any field consist of any JUNK characters
Hi
I have the data in a structure, from there some of the table fields are updating. Let's say
Loop at itab into wa
zvaluetab-field1 = ztable-wa-fil1.
zvaluetab-field2 = ztable-wa-fil2.
zvaluetab-field3 = ztable-wa-file.
zvaluetab-field4 = ztable-wa-fil4.
zvaluetab-field5 = ztable-wa-fil5.
zvaluetab-field6 = ztable-wa-fil6.
zvaluetab-field7 = ztable-wa-fil6.
zvaluetab-field8 = ztable-wa-fil7.
append wa to itab.
end loop.
modify zvaluetab from itab.
Along with this I have fieldname called File_Name, which contains 12 chars length.
1. I want that file name need to be splitted and to be updated into zvaluetab in four other fields. Since these four fields are mandatory for updating the above fields. So, along with these fields the above 7 fields also to be updated.
2. Some time data will be having some special(junks) characters, If at all any field will have such junk characters then the whole record(4 +7 fields) need to be deleted.
It is greatful for me if at all any one edits that above code and include's my requirment.
Swara.
Thanks much.Hi Swarna ,
If you want the file name need to be splitted and to be updated into zvaluetab in four other fields.
you can use this syntax..
SPLIT File_Name AT space INTO: str1 str2 str3 ..(other four fileds)
If you are familar with that junk characters in that string use string operations such as
CO--Contains Only
CS--Contains String
CN--Contains Not Only
CA-- Contains Any
NA--Contains Not Any
NS--Contains No String
CP--COntains Pattern
NP--No Pattern
and find it ..
Then check if that following field is junk
Then delete that intenal table...
or YOU CAN USE FM
SWA_STRING_SPLIT
check the sample code :
data : d_string type string.
data: begin of i_inst occurs 0.
include structure swastrtab.
data: end of i_inst.
call function 'SWA_STRING_SPLIT'
exporting
input_string = d_string
max_component_length = 100
tables
string_components = i_inst
exceptions
max_component_length_invalid = 1
others = 2.
Hope this solves
ALL The Best !!!
Regards,
Vinu.R
Maybe you are looking for
-
I would like my text form fields to retain Helvetica, 9pt., all caps? or do I have to make these changes in Adobe Acrobat? Any advice is appreciated. Thanks in advance.
-
How to connect SharePoint 2013 and Reporting Server - SQL Server 2008 - in native mode
Hi, We are running Report Server on a SQL Server 2008 environment in NATIVE mode. We just installed a SharePoint 2013 environment. The SharePoint roles are installed on a single server and we are using a seperated SQL Server 2012 server. The goal: Di
-
Hi all, I am using /: INCLUDE ZTEST_TEXT OBJECT TEXT ID ST LANGUAGE EN in my smart form. nothing is printing.What was the mistake in my statement?It gets printed if I use Include text and give same values.But why doesn't it print Standard text va
-
Re: Functionality temporarily unavailable
Think I have solved this problem myself with a bit of help from some other postings in the newsgroup. I think that there is a problem with the documentation. It states that /portlets/portlet3/welcome.jsp should be used as the Content URL field. Unfor
-
Iprocurement punchout category mapping R12
Hi, I am experiencing some problems on setting the category mapping for Punchout (XML) in Oracle Iprocurement. I have 1) setup a content zone for the punchout. In the content zone the key1 and supplier have the same value (i.e. TEST01) 2) Created a s