Apply spry functions on data uploaded from xml?

Hi,
I am trying to "simplify" my personal pages so I have only 1
html page and everything else is taken from xml through spry
framework (guys ... I love it .. super work)
But currently I am stuck on one issue:
Step 1
I replace the html parts -> I just put the html code to
xml node inside CDATA and call spry:setrow
Step 2
I would like to use the spry:detailregion /
spry:repeatchildren in the code that is inside CDATA ... but here I
am not successful yet
Is this possible? Or can you give me some hint/other
direction (I woul love to stay with XML and do not want to use the
Tabs)
You can check it here
http://doma.princ.biz/test-ajax/index.html
- (it is slow) click on Hudba and you will see what I ment. The xml
is music.xml so you can check the structure.
Thank you very much for help.

Hi,
little update - I put the "final" state together with using
the tabs - it is not best solution because the page reads lots of
data on the load. But it is the state I would like to reach by
using xml some how
http://doma.princ.biz/test-ajax/index-tab.html
See the left menu and the changes in the middle and on the
right side.
The menu Hudba and then the accordion works now.
Any idea how to get the same stuff without spry tabs?
Thank you very much
Jiri
(using spry 1.4 - do not know if 1.5 will be help
here)

Similar Messages

  • XML data upload from .xml file

    Hi,
    Can anyone let me know is ther any way how I can upload the data from .xml file into Oracle Table.
    Note: I just want to upload the data from xml file; not entire .xml file.
    I have data like as below in test.xml file and I want to upload the data only into TEST_EMP table:
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1">
    <TABLE_NAME>DEPT</TABLE_NAME>
    <TABLESPACE_NAME>USERS</TABLESPACE_NAME>
    </ROW>
    <ROW num="2">
    <TABLE_NAME>EMP</TABLE_NAME>
    <TABLESPACE_NAME>USERS</TABLESPACE_NAME>
    </ROW>
    <ROW num="3">
    <TABLE_NAME>BONUS</TABLE_NAME>
    <TABLESPACE_NAME>USERS</TABLESPACE_NAME>
    </ROW>
    <ROW num="4">
    <TABLE_NAME>SALGRADE</TABLE_NAME>
    <TABLESPACE_NAME>USERS</TABLESPACE_NAME>
    </ROW>
    <ROW num="5">
    <TABLE_NAME>BHAVESH_EMP</TABLE_NAME>
    <TABLESPACE_NAME>USERS</TABLESPACE_NAME>
    </ROW>
    </ROWSET>
    Any help would be highly appreciated!!
    Thanks... Bhavesh

    One way is to use sql* loader...
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb25loa.htm

  • How to schedule Job for data uploading from source to BI

    Hi to all,
    How to schedule Job for data uploading from source to BI,
    Why we required and how we do it.
    As I am fresher in BI, I need to know from bottom.
    Regards
    Pavneet Rana

    Hi.
    You can create [process chain |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502b2998-1017-2d10-1c8a-a57a35d52bc8?quicklink=index&overridelayout=true]for data loading pocess and schedule start process to any time/date etc ...
    Regadrs.

  • Data upload from R3 to BPC using filters

    We are facing a performance issue on the uploading data flow from R3 to BPC. Two steps have been set up.
    Step1: R/3 --> ODS --> BW CUBE (No filters and full mode)
    Step2: BW  CUBE --> BPC CUBE (Standard BW upload package)
    The first one (from R3 to a BW Cube) has no filters, so it loads every data and it takes too much time. However, the second one (from the Cube to BPC)  has filtering options, so we can only load the data we need to (we usually use entity and time filters).
    Both are executed from the BPC DataManager.
    Any advice to improve the performance of the first step? Could we join the step 1 and step 2 and get the filters from the standard BW upload process using a custom process chain?
    Does anybody have any experience using filters to reduce the amount of records on the data uploading from R/3 to BPC?
    BPC Version 7.50.15

    Hi,
    for example in BI data is stored as below
    GroupAcc - Date - Balance
    100000 - 12.12.10 - 400
    **I'm not quite sure how you are getting the above data from infocube.Are you directly loading data from PSA to infocube with out loading data into DSO -0FIGL_O10(General ledger(New):Transaction figures) ?
    To get required format of following data, no need to do any thing while laoding the data into BPC. Your BI infocube should maitain the data in below format.
    GroupAcc - Date - Balance
    100000 - 12.12.10 - 100 - (LC)
    100000 - 12.12.10 - 100 - (TC)
    100000 - 12.12.10 - 200 - (GC)
    To acheive above format of data in the infocube please follow standard way of data flow given by SAP in BI Contect(http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e6/f16940c3c7bf49e10000000a1550b0/frameset.htm).
    Flow should be
    R/3 --> PSA --> DSO -->Infocube.
    In this flow its important to remember about infoobect 0CURKEY_TC in DSO.
    This is always the currency key of the transaction currency; it is also filled for records with a different currency type. Without this key field, postings with different transaction currencies would be overwritten after summarization and thereby be lost.
    (http://help.sap.com/saphelp_nw70ehp1/helpdata/en/a8/e26840b151181ce10000000a1550b0/content.htm)
    Once you follow the standard flow, your infocube contains the requried format (LC,TC and GC )of data to load it into BPC application.
    hope it helps...
    regards,
    Raju

  • Question about insert date value from xml file

    I want insert value into table from xml file. Every time I inserted value of date type into the table, I got the unpasable error message as following:
    oracle.xml.sql.OracleXMLSQLException: Exception 'java.text.ParseException:Unpars
    eable date: "2000-04-19 00:00:00.0"' encountered during processing ROW element
    Thanks for anyone that can fix my problem or give me any suggestion.
    email: [email protected]

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by matmnwx:
    I want insert value into table from xml file. Every time I inserted value of date type into the table, I got the unpasable error message as following:
    oracle.xml.sql.OracleXMLSQLException: Exception 'java.text.ParseException:Unpars
    eable date: "2000-04-19 00:00:00.0"' encountered during processing ROW element
    Thanks for anyone that can fix my problem or give me any suggestion.
    email: [email protected]<HR></BLOCKQUOTE>
    Use:
    OracleXMLSave sav = new OracleXMLSave(conn,tabName);
    sav.setDateFormat(<hier the date format in the XML-File>);

  • Data Load from XML file to Oracle Table

    Hi,
    I am trying to load data from XML file to Oracle table using DBMS_XMLStore utility.I have performed the prerequisites like creating the directory from APPS user, grant read/write to directory, placing the data file on folder on apps tier, created a procedure ‘insertXML’ to load the data based on metalink note (Note ID: 396573.1 How to Insert XML by passing a file Instead of using Embedded XML). I am running the procedure thru below anonymous block  to insert the data in the table.
    Anonymous block
    declare
      begin
      insertXML('XMLDIR', 'results.xml', 'employee_results');
      end;
    I am getting below error after running the anonymous block.
    Error :     ORA-22288: file or LOB operation FILEOPEN failed”
    Cause :   The operation attempted on the file or LOB failed.
    Action:   See the next error message in the error stack for more detailed
               information.  Also, verify that the file or LOB exists and that
               the necessary privileges are set for the specified operation. If
               the error still persists, report the error to the DBA.
    I searched this error on metalink and found DOC ID 1556652.1 . I Ran the script provided in the document. PFA the script.
    Also, attaching a document that list down the steps that I have followed.
    Please check and let me know if I am missing something in the process. Please help to get this resolve.
    Regards,
    Sankalp

    Thanks Bashar for your prompt response.
    I ran the insert statement but encountered error,below are the error details. statement.
    Error report -
    SQL Error: ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 1
    22288. 00000 -  "file or LOB operation %s failed\n%s"
    *Cause:    The operation attempted on the file or LOB failed.
    *Action:   See the next error message in the error stack for more detailed
               information.  Also, verify that the file or LOB exists and that
               the necessary privileges are set for the specified operation. If
               the error still persists, report the error to the DBA.
    INSERT statement I ran
    INSERT INTO employee_results (USERNAME,FIRSTNAME,LASTNAME,STATUS)
        SELECT *
        FROM XMLTABLE('/Results/Users/User'
               PASSING XMLTYPE(BFILENAME('XMLDIR', 'results.xml'),
               NLS_CHARSET_ID('CHAR_CS'))
               COLUMNS USERNAME  NUMBER(4)    PATH 'USERNAME',
                       FIRSTNAME  VARCHAR2(10) PATH 'FIRSTNAME',
                       LASTNAME    NUMBER(7,2)  PATH 'LASTNAME',
                       STATUS  VARCHAR2(14) PATH 'STATUS'
    Regards,
    Sankalp

  • How convert date/time from xml in xdp(Designer)?

    Hi, i want to convert date/time format from xml in Designer, date/time value in xml is NOT in common format YYYY-MM-DD (if is in a common format i can do this with pattern)
    I have a "DateTime" Field in Xdp can get from Xml date and time:
    In XML <DateTime>DD-MM-YYYY</DateTime> i want to convert in XDP in DateTime Field in "DD-April-YYYY"
    Can i do this?

    You can do this way..
    Bind the date field to your XML tag.
    Set the display pattern for the date field.
    In the initialize event of the date field place the following code.
    Set JavaScript as language.
    var dtStr = this.rawValue;
    var pos1=dtStr.indexOf("-");
    var pos2=dtStr.indexOf("-",pos1+1);
    var strMonth=dtStr.substring(0,pos1);
    var strDay=dtStr.substring(pos1+1,pos2);
    var strYear=dtStr.substring(pos2+1);
    //Assign the formatted value to the Date field.
    this.rawValue = strYear + "-" + strMonth + "-" + strDay;
    Thanks
    Srini

  • Va31 shedule line agreement data upload from flat file

    Hi abapers
    I have to upload some data (va31) from flat file to my database (shedule line agreement data) I am using user exit for it...Cant get which user exit will solve the purpose and where to check it from..I tried using SDTRM001 , meeta001 and and the va45A series but its not working. I used break point on these user exits but its not stoping at break point.
    Can any one help me where to find which user exit will work in this case?
    Thanks in Advance
    Annu

    Hi Prash,
    Check these posts:
    Re: Increasing the length of Infoobject from 60 to 240 characters
    Re: InfoObject > 60
    Bye
    Dinesh

  • Data Import from XML Format file

    I want to import data  from XML file format.Can i do it ? If yes then please give me more details in the step.

    Pl read the below link.
    It will be helpful.
    SAP Business One Application
    Jeyakanthan

  • Strange date format from XML

    Hi There!
    We have an XML that we read into an XMLtype - and at a time we want to display it in a normal date type....
    Its formatted as this: '2007-02-20T09:30:47.0Z' (Zero 0) - I guess it means no timezone in some ISO 86* standard
    select TO_date('2007-02-20T09:30:47.0Z','YYYY-MM-DD"T"HH24:MI:SS.??????') from dual;
    I have trie to find a format for reading it ... do you have an idea?
    regards
    Mette

    Sorry, forgot to say that some of the dates in the XML field is in this format
    '2007-02-20T09:30:47+100 ...... (yyyy-mm-dd"T"hh:mi:ssstzhtzm)
    /Mette

  • Error in data upload from CRM to BI

    Hi all,
      Kindly help me with this error.
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class                        
    'CX_SY_DYN_CALL_PARAM_NOT_FOUND', was neither                         
    caught nor passed along using a RAISING clause, in the procedure       
    "SMOX3_GET_DATA" "(FUNCTION)"  .
    Data Source - 0CRM_LEAD_H. Error occured in RSA3 , in CRM

    Hi Anup,
    Check OSS Note 857278 - Generating DataSources with BWA adapters returns errors.
    I am pasting the content of the note here:
    Symptom
    When you generate new fields from BWA DataSources, the system issues an error message:
    "DataSource cannot be generated"
    This affects the DataSources that use the CRM_BWA_GET_DATA_WITH_ARC extraction module:
    0CRM_COMPLAINTS_I
    0CRM_LEAD_ATTR
    0CRM_LEAD_H
    0CRM_LEAD_I
    0CRM_OPPT_H
    0CRM_OPPT_I
    0CRM_QUOTATION_I
    0CRM_QUOTA_ORDER_I
    0CRM_SALES_ACT_1
    0CRM_SALES_ACT_I
    0CRM_SALES_CONTR_I
    0CRM_SALES_ORDER_I
    0CRM_SRV_CODES
    0CRM_SRV_CONFIRM_H
    0CRM_SRV_CONFIRM_I
    0CRM_SRV_CONTRACT_H
    0CRM_SRV_IBASE_TRAN
    0CRM_SRV_PROCESS_H
    0CRM_SRV_PROCESS_I
    Other terms
    EEW, CRM_BWA_GET_DATA_WITH_ARC, 0CRM_COMPLAINTS_I, 0CRM_LEAD_ATTR,
    0CRM_LEAD_H, 0CRM_LEAD_I, 0CRM_OPPT_H, 0CRM_OPPT_I, 0CRM_QUOTATION_I, 0CRM_QUOTA_ORDER_I, 0CRM_SALES_ACT_1, 0CRM_SALES_ACT_I, 0CRM_SALES_CONTR_I, 0CRM_SALES_ORDER_I, 0CRM_SRV_CODES,
    0CRM_SRV_CONFIRM_H, 0CRM_SRV_CONFIRM_I, 0CRM_SRV_CONTRACT_H, 0CRM_SRV_IBASE_TRAN, 0CRM_SRV_PROCESS_H, 0CRM_SRV_PROCESS_I
    Reason and Prerequisites
    To determine whether you had BWA or SAPI DataSources, only SMOX3_GET_DATA was checked for, since up to now the usage of CRM_BWA_GET_DATA_WITH_ARC was unknown.
    Solution
    Import Support Package 04 of SAP_ABA 7.0, Support Package 14 of SAP_ABA 6.40 or Support Package 54 of SAP_ABA 6.20 or implement the specified advance correction.
    When you implement the advance correction for SAP_ABA 6.20, bear in mind that Note 605469 is a prerequisite for this release.
    After you implement this note, also implement Note 996352, so that the system will use the correct extractor.
    Bye
    Dinesh

  • Init Data Upload from ODS to Info cube

    Hi,
    When i am trying to upload the date from ODS to info cube using initial upload option in info package, i am not able to see the selection option fields.
    Whereas using the same ODS & info cube, if i am trying to change the option to full upload in info package, i am getting all the selection fields.
    what could be the reason for the same.
    please help
    Rajiv

    Somnath,
    Let me explain u the complete scenario
    1) we have an existing ODS which populates an info cube on daily basis (delta upload)
    2) we have created a new info cube, which fetch the data from the same ODS. that means 2 info cubes which are getting populated from one ODS.
    3) now when we have tried to initialize the new info cube from the existing ODS, it asked us to delete the initialize upload options "scheduler - initialize option for the system". & we have done the same. but by doing this, ODS has removed the option of delta upload from old info cube upload info package &&  new info cube initial upload is not dislaying any of selection fields..
    4) now, i have a query
    - how can i activate delta on old info cube (without losing any data)
    - how to upload data in new info cube with selection fields and start delta
    Regards
    Rajiv

  • No master data upload from ECC to GTS

    Hello together
    today I have opened an OSS Note regarding a problem at our client side.
    We implement SAP GTS 7.2 SP08 but I`m not able to upload any master data (customer and/or material) from ECC to GTS. This is my third implementation project. On both projects in the past, I didn`t had such a trouble with this topic in the past.
    I searched the whole forum and tried every hint - everything without any success. ;-(
    Unfortunately, the OSS Note is in German. But I hope that anyone could help me to find an solution. Thanks to all very much.
    Here is the OSS Note:
    Keine Initialüberleitung von Kunden- und Materialstämmen OSS-NOTE: 0000637481
    Alle notwendigen Supportpackage-Stände für R/3, PlugIn und GTS sind eingespielt gemäss MasterGuide.
    R/3 client:-
    - RFC Destinationen korrekt eingestellt. Laufen sauber
    - Methodenaufrufe korrekt eingestellt
    - ALE Verteilmodell korrekt eingestellt
    - Änderungszeiger global aktiviert
    - Änderungszeiger korrekt eingestellt (siehe unten)
    Customer master /SAPSLL/DEBMAS_SLL
    Vendor master /SAPSLL/CREMAS_SLL
    Material master /SAPSLL/MATMAS_SLL
    - Ànderungszeiger den jeweiligen Funktionsbausteinen zugeordnet (siehe unten)
    /SAPSLL/DEBMAS_DISTRIBUTE_R3
    /SAPSLL/CREMAS_DISTRIBUTE_R3
    /SAPSLL/MATMAS_DISTRIBUTE_R3
    - Nummernkreise für Änderungszeiger angelegt
    GTS client:-
    - Logische Systeme angelegt und Gruppen zugeordnet
    - RFC Destinationen korrekt eingestellt. Laufen sauber
    - Methodenaufrufe korrekt eingestellt
    - Partnermapping eingestellt
    - Organisationsstrukturen angelegt und Buchungskreis bzw. Werken aus
    Vorsystem zugeordnet
    - Nummernkreise angelegt
    Beispiel:
    1. Kundenstamm im Vorsystem hat keine PLZ in den Stammdaten. Bei Übertragung nach GTS wird im GTS-System ein Überleitungsprotokoll erzeugt, mit dem Hinweis, dass Kunde nicht übertragen werden konnte aufgrund fehlender PLZ. Korrektes Systemverhalten.
    2. Kundenstamm wurde entsprechend im Vorsystem gepflegt. Bei erneuter Übertragung wird angezeigt 0 von 1 Partner übertragen. Ein Überleitungsprotokoll in GTS wird nun nicht mehr erzeugt.
    Auch unter Transaktion SLG1 wird im Vorsystem kein Anwendungs-Log
    geschrieben. Ebenfalls gibt Transaktion SM58 keine Fehlerhinweise.
    Edited by: Andreas Drees on Jun 29, 2009 3:35 PM

    Hi Sameer,
    thanks very much for your instructions. We created the variants and debugged it. Now fe found out, where the error occurs.
    The call function for calling GTS  "/SAPSLL/API_1006__SYNCH_MASS" gives us following message:
    "Not just yet all adress numbers are collected."
    Then on the other hand the SAP Basis suppors gaves us a possible solution. They told us:
    The problem occurs, because the tables TBD24 and TBD62 are not filled correct.
    Please use the following steps to correct this:
    - Transaction BD53
    - Select Message type (/SAPSLL/CREMAS_SLL, etc.), change mode
    - Choose segment (mark an unmarked segemnt)
    - save
    - Delete the activated segment
    - Activate change pointer
    - in TA BD60 set up the function module correct (/SAPSLL/DEBMAS_DISTRIBUTE_R3)
    The tables should filled correct after these steps. You can check it with report  /SAPSLL/PLUGIN_CHECK_R3.
    So I we went through these steps - but without any success. I`m getting crazy. ;-(
    Regards,
    Andreas

  • Mass Master data Upload from MS Excel and JDE into SAP ( ECC 6.0)

    Hi
    We are deciding the best method of uploading 2 million fixed assets Master data from Excel and JDE
    We are following Batch Input (RAALTD001) and Direct Input methods (RAALTD11)
    I am looking for some other efficient alternative for this upload
    Look forward ot hear form you experts !!
    Thanks
    Milind

    hi
    good
    both works not possible simultaneously.
    If you want to do it in two separate task than you can use the GUI_UPLOAD function module to fulfill your requirement.
    thanks
    mrutyun^

  • Data upload from excel into SAP

    Hi Gurus
    Could anyone please guide me how to upload excel data into SAP?
    I need to update existing Gross weight and Net weight data. Got new data in excel format.So need to upload excel file straight into SAP and update the data.
    Step by step procedure will be much appreciated.
    Rgds
    Utpal

    try with bdc .....
    below coding is move the data from excel to internal table ....
    TYPES: BEGIN OF s_ovro,
              VKORG LIKE V_TVSFK-VKORG,
              VTWEG LIKE V_TVSFK-VTWEG,
              SPART LIKE V_TVSFK-SPART,
              STGKU LIKE V_TVSFK-STGKU,
              STGAK LIKE V_TVSFK-STGAK,
              STAFO LIKE V_TVSFK-STAFO,
           END OF s_ovro.
    DATA: I_OVRO TYPE TABLE OF s_ovro,
          w_ovro type s_ovro.
    data : request(15) type c,
            i type c.
    DATA : IT_EXCEL TYPE STANDARD TABLE OF ALSMEX_TABLINE WITH HEADER LINE.
    FIELD-SYMBOLS: <FS1> TYPE ANY.
    include bdcrecx1.
    SELECTION-SCREEN BEGIN OF BLOCK DATA WITH FRAME.
    PARAMETERS: P_FILE TYPE  RLGRAP-FILENAME DEFAULT 'C:\Documents and Settings\itfactory\Desktop\sd1.xls' OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK DATA.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = 'P_FILE'
        IMPORTING
          FILE_NAME     = P_FILE.
    start-of-selection.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                = P_FILE
          I_BEGIN_COL             = 1
          I_BEGIN_ROW             = 1
          I_END_COL               = 24
          I_END_ROW               = 60000
        TABLES
          INTERN                  = IT_EXCEL
        EXCEPTIONS
          INCONSISTENT_PARAMETERS = 1
          UPLOAD_OLE              = 2
          OTHERS                  = 3.
      LOOP AT IT_EXCEL.
        ASSIGN COMPONENT IT_EXCEL-COL OF STRUCTURE
        W_ovro TO <FS1>.
        <FS1> = IT_EXCEL-VALUE.
        AT END OF ROW.
         MOVE-CORRESPONDING: Wib TO Iib.
          APPEND w_ovro to I_ovro.
          CLEAR W_ovro.
        ENDAT.
      ENDLOOP.
    through bdc program update the data from internal table to bdc...

Maybe you are looking for

  • Printer suddenly started printing blurry and double vision like

    Printer suddenly started printing blurry and double vision like. I have cleaned all i can and aligned the printer heads muliple times, but no difference

  • UNBlocked number in contact list

     I have complete blocking so that my number dosen't show on the caller id of the people i'm calling. For certain contacts, I have a *82 prefix so that My number will be unblocked for that contact.  My Problem is that when I send a text, i have to rem

  • Is it possible ?Change data capture from VSAM , DB2 , SQL Server  to Oracle

    Dear Professionals , We plan to build a warehouse project.Source systems are * VSAM files in zOS * SQL Server * DB2 Warehouse database is Oracle . Every night the changes in the source systems will be applied to Oracle warehouse DB. But only the chan

  • SAP Service Ticket: Use of due date and traffic light

    Presently our company is not doing much with the traffic light and due date when managing our tickets from the inbox.  If there is someone making use of these, I would like to know what are some your your Best Practices. Ideally we would like to use

  • Is there any way to find out who accessed the BW reports in Portal

    Hi! Experts We have some BW reports which are published through SAP Portal and access given to only Team Leaders, now we want to see who are accessed or trying to access those reports other then Team leaders. Is there any way we can generate a LOG fi