Error for fetching long text in xml tag for xml publisher report

My requirement is to fetch a large document which is in text format in XML output which can be printed in PDF format by using RTF method to generate PDF.But during XML ouput i got the following error-
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
button, or try again later.
The following tags were not closed: XXBG_EAMWRREP_V1, LIST_G_WO_ACTIVITY_CODE, G_WO_ACTIVITY_CODE, LIST_G_MEDIA_ID1,
G_MEDIA...
XXBG_EAMWRREP_V1 is the rdf and LIST_G_WO_ACTIVITY_CODE, G_WO_ACTIVITY_CODE, LIST_G_MEDIA_ID1, G_MEDIA are the groups name. In the group
G_MEDIA i am fetching long_text from attahcment in application. In Database table the datatype of the text attachment is 'long' and there is a huge text
data loaded in large data editor of that column. If the text data volume is small enough then there is no problem for fetching the xml output.
If we change the output format as HTMl then there is no problem for fetching the output for long text but for xml output format we are unable to fetch the data
in xml tag.
One thing to mention the oracle report is the copy of Maintenance Work Order Detail Report. The seeded report is HTML format in 11i. The requirement is to make it in xml report.
Please help.

Hi,
Actually clob datatype is not available in oracle report builder datatype lov. Could you pls tell the other ways of converting that to clob in oracle report...

Similar Messages

  • [CS3][JS] Apply XML tag for selected text

    Hi
      I need to apply XML tag to selected text in a tagged content.The XML tag is already applied for paragraph.I need to apply XML Tag for selected text in a paragraph.
    I have used following code, it applies tag for entire paragraph,not a selected text in a paragraph.
    app.selection[0].associatedXMLElements[0].markupTag=myDoc.xmlTags.item("italic");
    Please suggest me.
    Regards
    kumar

    The example script, markup.jsx
    //Markup.jsx
    //An InDesign CS4 JavaScript
    //Shows how to use the markup method.
    main();
    function main(){
        mySetup();
        mySnippet();
        myTeardown();
    function mySetup(){
        var myDocument = app.documents.add();
        var myPage = app.activeWindow.activePage;
        var myRootXMLElement = myDocument.xmlElements.item(0);
        var myXMLTag = myDocument.xmlTags.add("xml_element");
        var myXMLElementA = myRootXMLElement.xmlElements.add(myXMLTag);
        myXMLElementA.contents = "This is a paragraph in an XML story.";
        var myTextFrame = myPage.textFrames.add({geometricBounds:myGetBounds(myDocument, myPage)});
        myTextFrame.contents = "This is the first paragraph in a text frame.\rThis is the second paragraph in a text frame.\rThis is the third paragraph in a text frame.\rThis is the fourth paragraph in a text frame.\r";
    function mySnippet(){
        //<fragment>
        var myDocument = app.documents.item(0);
        var myPage = myDocument.pages.item(0);
        myDocument.xmlElements.item(0).xmlElements.item(0).markup(myPage.textFrames.item(0));
        //</fragment>
    function myTeardown(){
    function myGetBounds(myDocument, myPage){
        var myPageWidth = myDocument.documentPreferences.pageWidth;
        var myPageHeight = myDocument.documentPreferences.pageHeight
        if(myPage.side == PageSideOptions.leftHand){
            var myX2 = myPage.marginPreferences.left;
            var myX1 = myPage.marginPreferences.right;
        else{
            var myX1 = myPage.marginPreferences.left;
            var myX2 = myPage.marginPreferences.right;
        var myY1 = myPage.marginPreferences.top;
        var myX2 = myPageWidth - myX2;
        var myY2 = myPageHeight - myPage.marginPreferences.bottom;
        return [myY1, myX1, myY2, myX2];
    I think you can use the markup function on the selected item (Text Object have a markup method)
    Thomas B. Nielsen
    http://www.lund-co.dk

  • PDF PO Release - XML Tags for the Header and Line Attachments

    Hi,
    I request you to please help me in finding out the XML tags for the PDF PO Release Header and Line Attachments? I tried to get the XML data by running the 'PO Output for Communication' program with the parameter as 'Debug' but its completing normally without giving me the XML data in the log file.
    Please help me in finding the XML tags for the PDF PO Release for the Header and Line Attachments.
    Thanks,
    Kunal

    Hi Kunal,
    Following syntax will get you the header and line level short and long text attachments.
    --Header short text attachments
    <?for-each:HEADER_SHORT_TEXT_ROW?>
         <?SHORT_TEXT?>
    <?end for-each?>
    --Header long text attachments
    <?for-each:/PO_DATA/HEADER_ATTACHMENTS/LONG_TEXT?>
         <?.?>
    <?end for-each?>
    --Line short text attachments
    <?for-each:LINE_SHORT_TEXT_ROW?>
         <?SHORT_TEXT?>
    <?end for-each?>
    --Line long text attachments
    <?variable@incontext:PoLnID;'PO_LINE_ID'?><?for-each:/PO_DATA/LINE_ATTACHMENTS/ID[. =$PoLnID]?>
         <?current()[$PoLnID]/preceding-sibling::TEXT[1]?>
    <?end for-each?>
    Also note that, while running the program in Debug mode for a particular PO/Release the status should be INCOMPLETE, otherwise you won't be able to see the XML tags.
    Thanks,
    PS.
    Edited by: PS on Sep 25, 2012 6:16 AM

  • How to add Multiple XML Tags for a single column for an RDF

    Hi Gurus,
    I have Requirement in the Oracle D2k Report from which we are generating the xml tags.
    My Requirement is in a table i have 2 columns say A and B.
    i am able to generate three xml tags separately using the report builder by clicking on the column name and in the xml setting giving the xml tag.
    eg: table Acount contains 2 columns A and B with respective data
    A B
    QT 1
    QTS 0
    QTR 2
    i am able to general xml tags like this
    <ACount>
    <AStatus>QT</AStatus>
    <HeadCount>1</HeadCount>
    </ACount>
    <ACount>
    <AStatus>QTS</AStatus>
    <HeadCount>0</HeadCount>
    </ACount>
    my requiremnt for the xml tags is
    <ACount>
    <AStatusQT>1</AStatusQT>
    <AStatusQTS>0</AStatusQTS>
    </ACount>
    kindly help me out how to achieve this requirment in the rdf file mulitple xml tags.
    all your input are most valuable to me, thanks in advance
    Edited by: 909577 on Apr 9, 2012 3:10 PM

    I'm sorry for being so dense, but I'm not quite following, although what I've tried makes me think if I can follow you, it will work :)
    To answer your initial questions, you are correct with both your assumptions:
    1) detailType is the parameter that specificies YTD/Weekly, this is a "report defined" parameter that I am using to determine which Row Group to display (either YTD or Weekly)
    2) SchoolDaysActiveWeek is the parameter that is being set to either true or false -- this is a field in the cube that states whether that record is for the current week or not
    So in following your instructions, well that's the problem I'm not quite following :)
    1) When you say Delete the SchoolDaysActiveWeek parameter from the report only, do you mean to mark the parameter as Hidden?  If so, I've done this.
    2) I'm not quite sure where to use the statement you provided me.  You said to put it in the dataset, but I don't know which dataset.  I assume you mean the "main" dataset (as opposed to the hidden dataset that gets generated when you mark a field
    as a parameter).  If this is the case, the only place I could see that would allow you to use such a statement is in the Filter section of the properties.  I tried this, and it did not generate any errors, but it also kept my report groups from displaying
    -- it just showed a blank report, so I think it probably wasn't bringing back any rows to populate them with.
    I also tried going into the Expression section for the SchoolDaysActiveWeek parameter in the second screenshot and placing the statement there.  When I did this and ran the report, I would get the following error:
    The 'SchoolDaysActiveWeek' parameter is missing a value
    So what am I missing!? 
    Also, thanks for taking the time to respond!!

  • Error while saving Long Texts

    Hello
    We are using SRM7 Extended classic scenario.
    We don't use shopping carts, rather create POs directly in SRM which will be transferred to ECC as per the standard.
    Error:
    I am getting an error "Error while saving Long Texts" during my PO creation. I get this message in a small pop-up screen. As soon as i click ok or close the pop up screen it kicks me out of the PO creation screen back into the main SRM screen.
    When:
    During the PO Creation
    Any specific situation:
    Yes, only for Material POs
    This is happening when I am creating the PO with a Material code. I can create free text PO without any issues.
    This is a standard message and the message number is 022.
    Thaks for the help guys.

    Hi,
    To confirm can you check commeting "getOADBTransaction().commit();" gives any error message?
    If yes then you can try the following option:
    Have you checked whether the "/" is changed to "\" in the dbc file?
    In the following two entries the slash has to be made as shown below:
    APPS_JDBC_URL=jdbc\:oracle\:thin\:@(DESCRIPTION\=(ADDRESS_LIST\=(LOAD_BALANCE\=YES)(FAILOVER\=YES)(ADDRESS\=(PROTOCOL\=tcp)(HOST\=10.100.503.6)(PORT\=1521)))(CONNECT_DATA\=(SERVICE_NAME\=VIS)))
    JDBC\:processEscapes=true
    Thanks and Regards,
    Lacman

  • Getting xml tags for PO releases.

    I need some help in getting xml tags for PO releases.
    When I refer metalink they gave me the following for Std PO.
    Create a new Standard Purchase Order and DO NOT approve it. Let it be in Incomplete status. Go to
    concurrent requests and run the 'PO Output for Communication' concurrent
    program will the following parameters:
    Print Selection: All
    Purchase Order Number From: The PO # you just created
    To: The PO # you just created
    Test: Debug
    May I know for PO releases what are additional parameters.I tried to enter release numbers in addition to the above.Bit it did not work,..
    I am having issue in getting buyer contact phone for PO releases.So I am trying to see if the work_tele_phone is available for Po releases xml tags.
    Can anyone please advise
    prasamb

    To get the tag name, you can use the following XSL stylesheet:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="node()">
    <xsl:value-of select="name()"/> <xsl:text> </xsl:text>
    <xsl:apply-templates/>
    </xsl:template>
    </xsl:stylesheet>

  • No CATS record exists for the long text in row 4

    Hi,
    When we are tyring to upload the time sheets of tha employees in se38 usinga  customized program, from Non sap to sap,  for a few employees we are getting an erro like No CATS record exists for the long text in row 4,  where are we supposed to verifiy, what causes this error.
    Please assist.
    Thanks,
    Shilpa.

    Your first step should be in your input file.  What is on the fourth line?
    Look into the Blueprint Specifications of your Custom Program for the parameters of that input file.

  • Object ID for PO long text for BDC of material master

    Hi all,
    we are working on BDC of material master:
       I have given some technical specifications in the P O text view of Material Master, i want to assign an object id for this long text , how to assign an object id for the long text?
    regards,
    urendra

    Hi
       thanku for quick response,,,  i had checked the textid,
       my problem was resolved, i have awarded some points
    thank u
    regards,
    urendra

  • Generation of XML Tags for columns in Lexical parameter in select query

    Hi,
    I have lexical parameter in my select statement of my data model in the report.
    How do i generate XML tags for these columns inside a Lexical Parameter?
    Simple Example: I have data model query as follows:
    SELECT msi.inventory_item_id
    &LP_SELECT
    FROM mtl_system_items_b
    Here my lexical Parameter LP_SELECT is generated in before report trigger as follows in my report:
    :LP_SELECT := 'msi.segment1,msi.description';
    So, the question is how to generate XML Tags for columns in Lexical Parameter(as in the example above, i need XML tags for these columns - segment1 and description)
    Thanks,
    Ratan

    try this
    Select &order data_show
    from oe_order_headers_all
    where order_number ='7889'
    and setting  :order:='order_number';  in after parameter form trigger.
    Hope this helps
    Hamid

  • How to write program for the long text in EMIGALL for the DEVICE LOCATION.

    Hi,
    I am pretty new to this ISU field and i have been asked to code for a Long Text in EMIGALL for DEVICE LOCATION,
    so i would like someone can help me with it.
    thanks in advance.
    Robert.

    Robert,
    You can find most of the answers to your questions in the Guidelines:
    Chapter 2.4.2 describes how to configure the field rule Fixed Value.
    Chapter 2.4.5 describes how to configure the field rule via KSM.
    Chapter 2.5 descibes the Key- and Status Management and the usage of the the KSM in field rules.
    The specific answer to your questions are:
    (1) ...When i was adding the fixed rule, it was asking for domain so what should be the Domain that i should add ... You may ignore the domain field when creating a fixed value object. It's more for information purposes.
    (2) ... and what should i keep the fixed value, string or filed or abap rule ... I'd suggest to use 'String' and enter the specific value in the field 'FV contents'.
    (3) ... Finally you need to adjust the RETURN-FIELD of the newly created BAPI migration object to AUTO-X_HEAD-TDNAME, where do i make this adjustment can you specify that ... The return field can only be adjusted int the migration object maintenance screen (MigObject -> Change). Please see chapter 3.1 for more details on the 'return field' and figure 3-8 in chapter 3.4.2 how to generate a BAPI migration object.  
    (4) ... Well i would also like to ask about the x_head-tdname =  via KSM (e.g. DEVLOC), where should i put the value ... You wanted to know how to migrate a long text of a device location migration object DEVLOC). According to chapter Chapter 2.4.5 you need to enter the name of the superior migration object (here DEVLOC) in the 'MigObject1'field on the 'via KSM' sub-screen on the field maintenance screen.
    (5) ... and what exactly would it be can i put DEVLOC in the ID of technical Object and where should i put this value... I am not sure I understand your question. In the end you will need to pass the number (ID) of the technical object in the TDNAME field. Either you put the id into the import file (only if you know the id) or you need to use the 'via KSM' field rule to replace the legacy system key of the device location by the SAP key by the load report and prior to passing the auto data to the application thus your new function module.
    Kind regards,
    Fritz

  • REST API XML tags for person extension fields

    We are trying to use REST API to create a person. We are able to update most of the data but am unable to find the right xml tags for Person Extension fields like custom1 etc. Could you please help?

    Hi !
    In the Account WSDL, you have the ListOfAddress object. If you are using it, filling the field "StreetAddress2" should work...
    Max

  • Long Text Missing In COA(Certificate of Analysis) Report

    Hi Friends,
    We have a case where Long text entered in the results recording is missing  in the COA Report for only certain Batches .
    For same MICs and COA Profile,the Long text is displayed correctly in the report for the different batches.
    I have investigated this and text element been used in the MIC is 0024 Code short text with results long text.
    We have checked the COA Profile for this MIC and material has been assigned ,so profile find to be correct.
    The SAP form used for COA Print is a standard and MIC is of Qualitative.
    Could you please help on this .
    Thank you.
    Regards
    Siddartha

    No idea really but look at this:
    Any chance the user was logged in with a differnt language when they created the long text?  If they logged in as ES for instance, the long text might be stored as ES.  But the COA is bring printed in EN so the ES long text is not found.
    Do you see an entry in table STXH for the long text for the batches that don't display it?  (Text ID is QMEP).
    I'd compare the entries in STXH for a long text that prints and one that doesn't and see if you notice any differences.
    Craig

  • Remove XML tags from XML element in Oracle

    Hi,
    I have a requirement where I have to remove all the xml tags from xml element with banks, currently I'm using replace 4 times to replace all different types of xml tags, performance is really bad. is there any better option to remove xml tags from xml data leaving the actual data. please find the example data below.
    select
    TO_CLOB(REPLACE(REPLACE(REPLACE(REPLACE
    ('<Concatcolumn><ConcatGroupID>MyText Data goes here </ConcatGroupID><ConcatGroupID>Data agian</ConcatGroupID></Concatcolumn>','<ConcatGroupID>'),'<Concatcolumn>'),'</ConcatGroupID>',';'),';</Concatcolumn>')) AS Concatcolumn
    from dual
    **************Out put*************
    MyText Data goes here ;Data agian

    One way is to use xquery:
    SQL> with t as
    select xmltype('<Concatcolumn>
                          <ConcatGroupID>MyText Data goes here </ConcatGroupID><ConcatGroupID>Data agian</ConcatGroupID></Concatcolumn>'
       ) xml from dual
    select xmlquery('string-join(//text(), ";")' passing xml returning content).getclobval() xml from t
    XML                                                              
    MyText Data goes here ;Data agian                                
    1 row selected.

  • Error While uploading Long Text for Operations in IA05 Transaction.

    Dear Team,
    Good Day.
    While we are trying to upload the Long Text through BDC for IA05 operations  the text is updating in Database but it is not visible in the long Text field. Is it possible to upload the long text through BDC or any bapi's which can be used for the same. Any configuration needed for this please do the needful.
    Regards,
    Bhanu.

    Hi Bhanu
    correct me if im wrong, the long text is a multiline text, its an object for text, this cant be filled with BDC since this object can not be created in background mode, so i think the bdc skip the routines to fill this object, you can use the save_text function right after the transaction ends
    Regards
    MC

  • Error : ORA-06502: PL/SQL: numeric or value error while fetch LONG datatype

    Hello All,
    I have written a script to fetch the text for a view in PLSQL and it gives me the following error :
    Error : ORA-06502: PL/SQL: numeric or value error
    declare
    l_text all_views.text%type;
    begin
    SELECT text INTO l_text FROM all_views WHERE view_name = 'XXVIEW';
    exception
    when others then
    dbms_output.put_line('Error : '||sqlerrm);
    end;
    The above works for some views and not view other views. Can anyone let me know what could be the reason for ORA-06502 when fetching into a long variable in PLSQL.
    Would appreciate any response.
    Thanks,

    If view 'XXVIEW' contains "no record" for field "text" then it'll show this error.
    I mean "SELECT text FROM all_views WHERE view_name = 'XXVIEW';" returns "No record found" then how can you assign "no record" to a variable "l_text ".
    try to execute : SELECT text FROM all_views WHERE view_name = 'XXVIEW';
    What does it give you? any "Blank records"?
    Edited by: H. on Feb 20, 2009 8:17 AM

Maybe you are looking for