How to apply Name attribute to rowset while creating a rowset in TRX

Hi all,
I have two transactions.
In my first transaction, I am creating a multi-rowset XML document using couple of repeaters and XML Output actions block from BLS such as Rowset and Row.
In my second transaction, I am loading my first  transactions multi-rowset XML document output and doing some processing on it. Since its multi-rowset document, in the second transaction I need to provide my rowset number as shown below..
Rowsets/Rowset[1]/Row
and
Rowsets/Rowset[2]/Row
I would like to assign some names to these Rowsets in my first transactions and refer those names in my second transaction.
see below what I want
Rowsets/Rowset[testname1]/Row
and
Rowsets/Rowset[testname2]/Row
So the question is, Can I assign a name to the Rowset, while its being created in BLS.
Reference :-
I am sure that, name attribute is possible in XML rowset, as shown below.
                        <Rowsets>
          <Rowset name="testname1">
               <Row>
               </Row>
          </Rowset>
          <Rowset name="testname2">
               <Row>
               </Row>
          </Rowset>
     </Rowsets>
Many thanks in advance for suggestions.
Edited by: Vijay Aundhekar on Sep 10, 2009 12:05 PM
Edited by: Vijay Aundhekar on Sep 10, 2009 12:06 PM

Hello Jeremy,
thanks for your inputs.
Currently I am fetching data by requesting the Rowset by index number itself.
Since, the endpoint for my xml document is java servlet and an external XSL Stylesheet, I am curious to know if I could request data by Rowset name.
This will help me and the application debugger's in future as the Rowsets are more than 10 in quantity and hence it becomes bit difficult to use index numbers.

Similar Messages

  • How to add more than one datafile while creating tablespace

    how to add more than one datafile while creating tablespace. I know by using alter command i can add datafile but i want while creating tablespace

    Hi Dadivela,
    how to add more than one datafile while creating tablespace.Here is the syntax:
    !http://www.dba-oracle.com/images/create_tablespace.jpg!
    I do it like this:
    create tablespace myts
    datafile
    *'/u01/app/oracle/db1.dbf' size 100m,*
    *'/u02/app/oracle/db2.dbf' size 200m;*
    Here are my complete notes:
    http://www.dba-oracle.com/t_tablespace_create_alter.htm
    Hope this answers your question . . .
    Donald K. Burleosn
    Oracle Press author

  • How to find the Acoount Group used while creating the customer master data.

    Hi,
    I am in xd03 mode displaying the customer master data. I want to know the ACCOUNT GROUP which was used while create this customer. How can i find it? Can any one tell me the process to find the account group?
    Thanks in advance.

    Enter the customer number in XD03 and click enter. Once the screen displays the customer name go to dropdown extras--> Administrative Data. This will give you the account group and the creation date of the customer. The same is stored in KNA1- KTOKD.
    Thanks
    Indranil

  • How to avoid XVBPA line item values while creating sales order

    Hi Friends
    I am creating Sales order using function module IDOC_INPUT_ORDERS, for that I am passing partner details through segment E1EDKA1.If I pass the same partner details(Partner number, name1,name4,city,postel code) which is same like customer master,
    I can able to book the order and entries are coming only one time in VBPA table(Header Item level).But if I change any value for the particular partner in the Input(For example Name4, there is no value in customer master but I added through program).Now its creating an order but its showing the entered partner informations in header level.When I checked the same in line item level, its not picking the values from header, its picking the values from customer master for that particular partner.
    So this line item also coming in VBPA table, because its different from header data.
    Anyone guide me, how to avoid this problem while booking order through program.
    Thanks
    Gowrishankar

    I am updating Ship-To-Party value in segment E1EDKA1 and calling IDOC_INPUT_ORDERS function module to create the sales order.
    In this case for the particular partner there is no NAME4 value in KNA1, I am passing some value through this segment E1EDKA1.
    So its creating an order with this new addresses , so its generating new ADRNR in VBPA header level.Thats fine.But the same time
    its not copying the same value from header to line item.
    In Line item level again its picking the address details from KNA1 for the particular partner number.So its showing Blank value in NAME4 field of line items.Its creating and spllitting issue, while creating delivery.
    Thanks
    Gowrishankar

  • How to manual maintain TAX condition value while creating sales order

    Hi
    I am creating one Tax condition suppose JLST without access sequence .
    while creating sales order I am manually maintain the % value of TAX. suppose it is 1%
    then I see It show some value in TAX .
    save that sales order & creating delivery document for that but when I create Invoice its show error.
    " Tax code  in procedure CMTAXP is invalid ".
    I know the configuration only for Tax condition with vk11 condition record .
    BUT now I want to maintain TAX condition at the time of creating sales order.
    so I remove the access sequence of that condition .
    but It shows tax code error while billing.
    My main question is that If i maintain condition record while creating sales order then how i can assign Tax code .
    Can it is possible ?
    if yes then How?
    please help me.
    thank you

    Hi,
    The "straight-forward" answer for Tax Code creation is contact the FI consultant. He shall help you, by creating Tax codes.
    I have tested, with creating a tax cond type (copy of MWST) & manually entering values. I can create Sorder, Dlv and Bill but I cannot create an Accounting document. That is because of every line (amount) a Tax code is necessary.
    I THINK, you can NOT have manually filled tax codes; access sequence is needed to get the tax value (%) and the Tax code from the condition record.
    There is lot of material on the web to understand Tax classification, code etc. etc. See a useful link below -
    http://www.sapgeek.net/2010/04/sd-determines-tax-code/
    In short Tax code is a must and take the help of your FI consultant for the configuration of the same.
    BTW - Tax code is already made created for MWST, therefore I suggested that you can use MWST. Furthermore, you can change the values corresponding to Tax codes in FTXP.
    But if you are a beginner in these things, better take help.

  • How to default current date in MIGO while creating a return delivery

    HI,
    While creating the return delivery using 122 mov type, system is defaulting the document date of the original doc which is being referred as the document date of the return delivery document.
    How we can make the system to populate current date as document date automatically, even though we are referring a material doc to create the return delivery. Pl suggest.
    Regards,
    Robin

    HI,
    My question is,
    How we can make the system to populate current date as document date automatically, even though we are referring a material doc to create the return delivery. Pl suggest.
    Regards,
    Robin

  • A file activation error occurred. The physical file name may be incorrect while creating database

    Hi Experts,
       I am trying to create a database in my local system, while creating i am getting error like below can anyone please help me on this.
    Msg 5105, Level 16, State 2, Line 1
    A file activation error occurred. The physical file name ' C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\NewData\Demo_dynamic.mdf' may be incorrect. Diagnose and correct additional errors, and retry the operation.
    Msg 1802, Level 16, State 1, Line 1
    CREATE DATABASE failed. Some file names listed could not be created. Check related errors. 
    Awaiting for the response......!! 
    Niraj Sevalkar

    I have created earlier database in 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA'
    but now i have created one newdata folder and trying to create in it also i have checked the path what have you suggested above and the NewData folder is existed please check below snapshot
    Both folders files and NewData folder which don't have any files 
    Niraj Sevalkar

  • How to change the status of material while creating sales order via BDC

    Hai.
    In BDC while creating sales order( va01 posting ) it is stucking up in middle saying material is new. I.e Sales order (va01) is not  getting created because  of material status is new . I want to create sales order  (va01) even  material status is new.
    pls give me out the solution. Points will be rewarded.
    thanks & regards,
    sami.

    Hi,
    If you drag the line item a little towards the right side, you will find a filed material entered. The one you see in the material filed on sales order over view screen is the one determined. You can as well double click and see the fields material entered and material determined.
    Is there anything else you are expecting to see as part of analysis ?
    Regards
    Sadhu Kishore

  • How to hide componant row of BOM while creating sales order  OR AR Invoice

    Dear expert
    my client wants to create Sales order with Sales BOM, but they do not want to see componant product while create sales order or AR invoice they want to see only parent items.
    Please help me asap

    Hi,
    check below link
    Avoid printing child items of Sales BOM in AR Invoice
    Regards
    Deepak Tyagi

  • How to set standard quantity for po while creating idoc

    hi..
    i have a requirement to create an outbound idoc for PO in which i need to set a standard quantity as '1000'... plz tell me where to set the quantity,so that  the PO quantity is 1000 by default while creating PO...
    Plz help me asap

    Hello,
    Your requirement is not clear, why you want to change PO item quantity? anyway, If you want to post an IDOc with changing the PO item quantity, go to Customer exit EXIT_SAPLEINM_002 in IDOC_OUTPUT_ORDERS and change the quantity(MENGE) for each segment (E1EDP01) and modify the IDoc data (INT_EDIDD).
    Remember to create a Poject using CMOD and add this customer exit and activate, otherwise your code doesn't get triggered.
    Thanks
    RK

  • How to apply XSLT to XML file while importing XML data using XSU plsql API

    I need to load XML file with nested repeating elements into Oracle tables and I am using XSU PLSQL API utility package dbms_xmlSave.insertXML. Can use XMLGen package also!!
    I found out through documentation that I need to have XML file with ROWSET/ROW tags around the elements. As I have no control of XML file coming from external source, so I wish to apply XSLT to XML. I found setXSLT/setStylesheet procedures but it's not working as expected.
    Can you help me with some sample code for the purpose.
    Thanks

    I'm new at XML and XSL as well, but maybe the following code I built can help:
    CREATE OR REPLACE PACKAGE Xml_Pkg AS
    /* this record and table type are used for the transformTags procedure */
    TYPE TagTransform_t IS RECORD (
    old_tag VARCHAR2(255),
    new_tag VARCHAR2(255) );
    TYPE TagTransformList_t IS TABLE OF TagTransform_t INDEX BY BINARY_INTEGER;
    /* use DBMS_OUTPUT to print out a CLOB */
    PROCEDURE printClobOut(p_clob IN OUT NOCOPY CLOB);
    /* using a list of old/new tags, transform all old into new in XML2 */
    PROCEDURE transformTags(
    p_List TagTransformList_t,
    p_XML1 IN OUT NOCOPY CLOB,
    p_XML2 IN OUT NOCOPY CLOB);
    END Xml_Pkg;
    CREATE OR REPLACE PACKAGE BODY Xml_Pkg AS
    /* print a CLOB using newlines */
    PROCEDURE printClobOut(p_clob IN OUT NOCOPY CLOB) IS
    buffer_overflow EXCEPTION;
    PRAGMA EXCEPTION_INIT(buffer_overflow,-20000);
    l_offset NUMBER;
    l_len NUMBER;
    l_o_buf VARCHAR2(255);
    l_amount NUMBER; --}
    l_f_amt NUMBER := 0; --}To hold the amount of data
    l_f_amt2 NUMBER; --}to be read or that has been
    l_amt2 NUMBER := -1; --}read
    l_offset2 NUMBER;
    l_amt3 NUMBER;
    l_chk NUMBER := 255;
    BEGIN
    l_len := DBMS_LOB.GETLENGTH(p_clob);
    l_offset := 1;
    WHILE l_len > 0 LOOP
    l_amount := DBMS_LOB.INSTR(p_clob,CHR(10),l_offset,1);
    --Amount returned is the count from the start of the file,
    --not from the offset.
    IF l_amount = 0 THEN
    --No more linefeeds so need to read remaining data.
    l_amount := l_len;
    l_amt2 := l_amount;
    ELSE
    l_f_amt2 := l_amount; --Store position of next LF
    l_amount := l_amount - l_f_amt; --Calc position from last LF
    l_f_amt := l_f_amt2; --Store position for next time
    l_amt2 := l_amount - 1; --Read up to but not the LF
    END IF;
    /* divide the read into 255 character chunks for dbms_output */
    IF l_amt2 != 0 THEN
    l_amt3 := l_amt2;
    l_offset2 := l_offset;
    WHILE l_amt3 > l_chk LOOP
    DBMS_LOB.READ(p_clob,l_chk,l_offset2,l_o_buf);
    DBMS_OUTPUT.PUT_LINE(l_o_buf);
    l_amt3 := l_amt3 - l_chk;
    l_offset2 := l_offset2 + l_chk;
    END LOOP;
    IF l_amt3 != 0 THEN
    DBMS_LOB.READ(p_clob,l_amt3,l_offset2,l_o_buf);
    DBMS_OUTPUT.PUT_LINE(l_o_buf);
    END IF;
    END IF;
    l_len := l_len - l_amount;
    l_offset := l_offset+l_amount;
    END LOOP;
    EXCEPTION
    WHEN buffer_overflow THEN
    RETURN;
    END printClobOut;
    /* shortcut "writeline" procedure for CLOB buffer writes */
    PROCEDURE wr(p_clob IN OUT NOCOPY CLOB, s VARCHAR2) IS
    BEGIN
    DBMS_LOB.WRITEAPPEND(p_clob,LENGTH(s)+1,s||CHR(10));
    END;
    /* the standard XSLT should include the identity template or the output XML will be malformed */
    PROCEDURE newXsltHeader(p_xsl IN OUT NOCOPY CLOB, p_identity_template BOOLEAN DEFAULT TRUE) IS
    BEGIN
    DBMS_LOB.TRIM(p_xsl,0);
    /* standard XSL header */
    wr(p_xsl,'<?xml version="1.0"?>');
    /* note that the namespace for the xsl is restricted to the w3 1999/XSL */
    wr(p_xsl,'<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">');
    IF p_identity_template THEN
    /* create identity template (transfers all "other" nodes) */
    wr(p_xsl,' <xsl:template match="node()">');
    wr(p_xsl,' <xsl:copy>');
    wr(p_xsl,' <xsl:apply-templates/>');
    wr(p_xsl,' </xsl:copy>');
    wr(p_xsl,' </xsl:template>');
    END IF;
    END newXsltHeader;
    PROCEDURE newXsltFooter(p_xsl IN OUT NOCOPY CLOB) IS
    BEGIN
    /* standard xsl footer */
    wr(p_xsl,'</xsl:stylesheet>');
    END newXsltFooter;
    /* using the stylesheet in p_xsl, transform p_XML1 into p_XML2 */
    PROCEDURE transformXML(p_xsl IN OUT NOCOPY CLOB, p_XML1 IN OUT NOCOPY CLOB, p_XML2 IN OUT NOCOPY CLOB) IS
    l_parser XMLPARSER.Parser;
    l_doc XMLDOM.DOMDocument;
    l_xsl_proc XSLPROCESSOR.Processor;
    l_xsl_ss XSLPROCESSOR.Stylesheet;
    BEGIN
    /* parse XSL CLOB */
    l_parser := XMLPARSER.newParser;
    BEGIN
    XMLPARSER.showWarnings(l_parser,TRUE);
    XMLPARSER.parseClob(l_parser,p_xsl);
    l_doc := XMLPARSER.getDocument(l_parser);
    XMLPARSER.freeParser(l_parser);
    EXCEPTION
    WHEN OTHERS THEN
    XMLPARSER.freeParser(l_parser);
    RAISE;
    END;
    /* get Stylesheet from DOMDOC */
    l_xsl_ss := XSLPROCESSOR.newStylesheet(l_doc,NULL);
    BEGIN
    /* parse XML1 CLOB */
    l_parser := XMLPARSER.newParser;
    BEGIN
    XMLPARSER.showWarnings(l_parser,TRUE);
    XMLPARSER.parseClob(l_parser,p_xml1);
    l_doc := XMLPARSER.getDocument(l_parser);
    XMLPARSER.freeParser(l_parser);
    EXCEPTION
    WHEN OTHERS THEN
    XMLPARSER.freeParser(l_parser);
    RAISE;
    END;
    /* process doc to XML2 */
    l_xsl_proc := XSLPROCESSOR.newProcessor;
    BEGIN
    XSLPROCESSOR.processXSL(l_xsl_proc, l_xsl_ss, l_doc, p_xml2);
    XSLPROCESSOR.freeProcessor(l_xsl_proc);
    EXCEPTION
    WHEN OTHERS THEN
    XSLPROCESSOR.freeProcessor(l_xsl_proc);
    RAISE;
    END;
    XSLPROCESSOR.freeStylesheet(l_xsl_ss);
    EXCEPTION
    WHEN OTHERS THEN
    XSLPROCESSOR.freeStylesheet(l_xsl_ss);
    RAISE;
    END;
    END transformXML;
    /* transform XML1 into XML2 using list p_List of old/new tags */
    PROCEDURE transformTags(p_List TagTransformList_t, p_XML1 IN OUT NOCOPY CLOB, p_XML2 IN OUT NOCOPY CLOB) IS
    l_xsl CLOB;
    BEGIN
    /* create XSL CLOB */
    DBMS_LOB.CREATETEMPORARY(l_xsl,TRUE);
    /* create standard header with identity template */
    newXsltHeader(l_xsl,TRUE);
    /* create one template for each node translation */
    FOR i IN 1..p_List.COUNT LOOP
    wr(l_xsl,' <xsl:template match="'||p_List(i).old_tag||'">');
    wr(l_xsl,' <'||p_List(i).new_tag||'><xsl:apply-templates/></'||p_List(i).new_tag||'>');
    wr(l_xsl,' </xsl:template>');
    END LOOP;
    /* create standard footer */
    newXsltFooter(l_xsl);
    -- dbms_output.put_line('l_xsl:');
    -- dbms_output.put_line('--------------------');
    -- printClobOut(l_xsl);
    -- dbms_output.put_line('--------------------');
    transformXML(l_xsl, p_XML1, p_XML2);
    DBMS_LOB.FREETEMPORARY(l_xsl);
    /* -- unit testing
    set serveroutput on size 100000
    Declare
    queryContext DBMS_XMLQUERY.ctxType;
    xList XML_PKG.TagTransformList_t;
    xmlCLOB CLOB;
    xmlCLOB2 CLOB;
    Begin
    DBMS_LOB.CREATETEMPORARY(xmlCLOB,true);
    DBMS_LOB.CREATETEMPORARY(xmlCLOB2,true);
    xList(1).old_tag := 'A';
    xList(1).new_tag := 'MyTag1';
    xList(2).old_tag := 'B';
    xList(2).new_tag := 'MyTag2';
    queryContext := DBMS_XMLQUERY.newContext('Select * from t');
    xmlCLOB := DBMS_XMLQUERY.getXML(queryContext);
    DBMS_XMLQuery.closeContext(queryContext);
    dbms_output.put_line('xmlCLOB:');
    dbms_output.put_line('--------------------');
    XML_PKG.printClobOut(xmlCLOB);
    dbms_output.put_line('--------------------');
    xml_pkg.transformTags(xList,xmlCLOB,xmlCLOB2);
    dbms_output.put_line('xml2CLOB:');
    dbms_output.put_line('--------------------');
    XML_PKG.printClobOut(xmlCLOB2);
    dbms_output.put_line('--------------------');
    DBMS_LOB.FREETEMPORARY(xmlCLOB);
    DBMS_LOB.FREETEMPORARY(xmlCLOB2);
    End;
    END transformTags;
    END Xml_Pkg;

  • SAP NAME FILE lock error while creating the TR in development system.

    Hi All,
    I am getting an error message while saving the changes in my SAP Script that 'SAP names file for <UserId> locked by another process'
    The name of the lock file is "/usr/sap/trans/tmp/<UserId>.LOS".
    Can any body help me, how to resolve this problem ?
    Thanks,

    Hi Kamlesh,
    did you find any solution? I'm getting the same error while a saving the changes in a Dynpro in the ABAP Development Workbench.
    Thanks,
    Viktor

  • How to make settings of root folder , while creating customize JSP Pages.

    Hi All,
    I am developing customized BI Beans Application.While the development ,I gose to compnent pallete and try to access BI Beans Objects which are on same workspace . But in the location tab it shows root foloder and only one object . I am unable to access another object which are belongs to same workspace .
    My question is how to make setting of root folder (there is no any option) and how to access other objects from same workspace
    Please guide me, if someone have any idea
    ViSHAL

    Can you describe the steps in detail?
    Which tag are you using from the component Palette?
    Also do you have multiple workspaces in your OLAP source DB?

  • How to send more than one email while creating Order

    Hi,
    after upgrade from 4.5 to 4.7 we have following problem. In 4.5 in XK03 t-code we could enter for our vendors more than one email address (divided by ";" sign). In 4.7 it is impossible. When we create Purchase Order, the output of the created document is email (our own defined Z*) and we would like that this document prinout should be sent to more than one vendor's email addresses.
    And in our R/3 4.7 we cannot input in XK03 more than one email address because program SAPFM06P, which prints Purchase Orders, runs function module SX_INTERNET_ADDRESS_TO_NORMAL, which checks if there are ";" in the address and if yes - it causes error.
    How to make vendor data so that the email is sent to more than one email address?
    any help would be appreciated.

    Hi Dorota,
    I think there is no such option to disable in SPRO as far i am aware of.
    May be you might want to use a distribution list instead of an email? Or try to misuse any unused field( you can enable many other fields from SPRO which are really not used generally).
    Cheers
    VJ
    Btw if you wish to explore here is the path in SPRO
    Fiancial Accounting --> Accounts Receviable and Accounts payable --> Vendor Accounts --> Master Data --> Prepareations for creating vendor master data --> Define account groups with screen layout.
    Select the account group for your vendor and from the next screen double click on General data section and then again double click on communication section.
    Cheers
    VJ
    Message was edited by: Vijayendra  Rao

  • How to change workcenter in my routing while creating producton order?

    we have 4 workcenters in routing.
    PP guy configured the system in such a way that when production order is created, it will by default assign 1st workcenter in the routing as work center.
    I need to write prg to change the work center in the routing for that production order accroding to the free capacity on workcenter.
    I know which workcenter i need to assign to the production order in my routing.
    i am using enhancement ppco0007 for assigning workcenter to the produciton order automatically according to the free capacity.
    Can any one please suggest me if i am wrong in selecting the enhancement or ehat r the fields that i need to change to assign diffferent workcenter to the production order...
    thank you very much in advance...
    Any hint is very much appreciated..
    Points will be given for sure...

    Hello Lavanya,
                          You have to use the enhancement "EXIT_SAPLCOBT_001" for updating the Work center in Production order. You need to query to the table CRHD with the field value ARBID to get the work center number . This field is existing in the enhancemnet that you had mentioned before. Try that enhancement as well. That also may work.
    Let me know how it goes.
    Thanks,
    Greetson

Maybe you are looking for

  • Multipart request is garbled in case of binary file (excel)

    Hi, I am having problem in uploading file in our portal application. Setup: We have a 10g portal server (10.1.0.4). Authentication is done using coreid. We have a http apache server hosted on a different machine with webgate plugin protecting all the

  • Web cams in IE but not firefox

    The Hogs Breath Saloon web cam wont run on FireFox4. It runs on the older version no problem. Duval St web cam has the same problem. I like to keep an eye on Key West so I look at these every day.

  • My color picker has stopped working

    Basically my color picker will not choose a color anymore.  I'm not sure why.  Please give me some ideas on how to make it work again.

  • Billing cannot be realease automatically to accounting

    Hi All, I have a problem to release the billing automatically  to Accounting. In my current scenario i have to go to TC VF02 after billing has been saved and release it manually. But in my Dev Client it can be post to accounting automatically. Would

  • Midnight format in timesheet not working

    I am using Standard XI to create a timesheet that is filable. However, midnight is showing at 00:00 am not 12:00 am. Anything in that 12 am hour is 00.  Is there a script I can add to change it? I tried to download a free version of Pro to see if I c