Unable to display PL/SQL item

Hi
Why do I get this message whith this PL/SQL expression or function display only item /
ORA-06550: Ligne 1, colonne 27 : PLS-00103: Symbole "DECLARE" rencontré à la place d'un des symboles suivants : ( - + case mod new not null avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe
     Error      ERR-1020 Error in PLSQL item processing (function).
This is the code :
DECLARE X VARCHAR2 (4000);
BEGIN
x := 'SELECT NULL LINK, a.DATE1, b.pourcentage_remplissage
FROM    EVV_'||:P13_SITE|| a, bassin_remplissage b
' WHERE CLEF_VAR = (SELECT CLEF_VAR FROM SITE_ECHELLE WHERE SITE='''||:P13_SITE||''')
AND     round(a.valeur, 1) = b.cote_ngf
AND     a.DATE1 BETWEEN
TO_DATE ('''||:P13_DATE_DEBUT||'000000'', ''DD/MM/YYYYHH24MISS'') AND
TO_DATE ('''||:P13_DATE_FIN||'235959'', ''DD/MM/YYYYHH24MISS'')
ORDER BY DATE1';
RETURN (X);
END;Thank you for your kind help.
Christian

Christian from France,
I miss a quitation mark between :P13_SITE|| and a, bassin
I miss a quitation mark and a || between remplissage b and ' WHERE CL (or delete q.mark)
Regards
Andree

Similar Messages

  • Unable to display the Kit Items and component Items in XML Publisher

    we have created an Order with Kit Items,when we Pick Release the Order it is not printing Kit Items as it is Oracle standard functionality. We customized the Pick Slip RDF to display Kit Items.
    when we run the XML Publisher version of Pick Slip report, it is displaying component Items on one page and Kit Items on another page without header information.
    How can we display Kit Items and Component Items on single page instead of 2 pages?
    Please give us suggestions to implement this in XML Publisher.
    Thanks&Regards,
    Suresh.

    Suresh
    I dont know anything about the Pick Slip template so am unable to help without more information.
    If there are enough kit items to fill more than one page then w/o reducing the font size you'll have to put up with the items spilling to a second page
    Tim

  • Email seems to be sent, but it doesn't arrive. No 'unable to send' message, sent items and draft folders are empty. The mail disappears.

    Email seems to be sent, but it doesn't arrive. No 'unable to send' message, sent items and draft folders are empty. The mail disappears. I tried to fully turn off the iPad and have it restart. But it doesn't go off. I keep seeing the small white 'turning wheel' untill the battery is gone. After that, it works again (and so does the e-mail). This happens about every week. What can I do?

    *there's no reason to be paranoid*
    Says Mulder .
    Anyway, as I mentioned, I don't use any sync-able email, just a very plain-jane POP email provider. iSync reports no devices and has nothing in its log, which matches my never having installed anything in need of syncing.
    The thing is, if Mail says its sending something when nothing was ever sent, that's a largish bug whether it is actually sending something or isn't, and there isn't really enough info here to know which of those are the case. Maybe Mail just displays "Sending" because an attempt to do something reasonable is timing out, maybe it does an innocuous and normal POP thing using very confusing nomenclature, or maybe it's really trying to send something which has a wrong flag or something. There isn't really enough info to know what is going on, so I was hoping someone could identify the symptoms.

  • Displaying multiselect select items row-wise

    Hello ,
    I have a multiselect item where the user can select multiple items . I want to display the selected items in the next page - one value at a time .
    example :- if the user selects a, b, c from multiselect item i want to display in the next page as
    a
    b
    c
    what i am getting is a b c in the next page when i display the value of the item &<item_nam>.
    how to display the selected multiselect items one below the other ?
    thanks

    Hi,
    One way is
    Create PL/SQL Dynamic Content and enter to region source something like
    DECLARE
      l_arr APEX_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN
      htp.ulistOpen;
      l_arr := APEX_UTIL.STRING_TO_TABLE(:P51_EMP);
      FOR i IN 1 .. l_arr.count
      LOOP
        htp.listItem(l_arr(i));
      END LOOP;
      htp.ulistClose;
    END;Change P51_EMP to your multiselect item name
    Sample here
    http://apex.oracle.com/pls/otn/f?p=40323:51
    Br,Jari

  • REP-1401: Warning: Unable to find PL/SQL library

    Hello,
    I am running a 10g report from web using rwservlet and i faced this problem when running a report that is attached to library. it displays the following message: REP-1401: Warning: Unable to find PL/SQL library.
    Although i put the .pll and .plx in the same directory where the .rep files are located.
    Please tell me what can I do to solve this problem.
    Thanks.

    i am using this url link in running a report
    http://<servername>:7778/reports/rwservlet?report=<report_name>.rep&destype=cache
    when i run a report without external library is attached to it, it works fine..
    But when external library is attached.. it displays error message.
    Please tell me what can i do?

  • Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor

    Dear All,
    I am frequently getting following error message on aspx pages on my SharePoint 2007 environment
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer.
    If the problem persists, contact your Web server administrator.
    Upon refreshing and restarting the browser several times, this error message temporarily gone and everything becomes fine. But after some time same error message starts appearing again. Also I have noticed that this error message also appears
    while working with SharePoint Designer 2007.Any clues how to resolve this issue ? 
    Any help in this regard will be greatly appreciated.
    Muhammad Tariq khan

    Hi All,
    As I regenerated the problem (Unable to display this Web Part... ) from the faulty
    user. I experience following error message in the ULS logs...
    Error while executing web part: System.Data.SqlClient.SqlException: Invalid object name 't5_sco'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
    exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler,
    SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()     at System.Data.SqlClient.SqlDataReader.get_MetaData()    
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior,
    Boolean returnStream, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
    cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
    behavior)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean& bSucceed)    
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback,
    ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter
    pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()    
    at Microsoft.SharePoint.WebControls.SPDataSourceView.ConvertToIEnumerableWrappers(SPBaseCollection items, Int32 firstRow, Int32 rowCount, String[] fieldList)     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments
    selectArguments)     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()    
    at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator(IDataSource datasource, Boolean originalData)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String
    viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform()
    What does this error message mean ?
    Muhammad Tariq khan

  • FRM - 40105 : Unable to resolve reference to item item name

    Hi,
    FRM - 40105 : Unable to resolve reference to item <item name>
    When I am opening a form I am getting the above mentioned error. Instead of <Item name> how we can display the error like <:CTRL_BLK.DOC_DATE>
    Thanks & Regards,
    Jenson

    Hi,
    Actually I know what is the reason for getting this error. What I tried to ask you is any way to display the item name, which error is occurred.
    In the form around more than hundred item setting the SET_ITEM_PROPERTY , there only I am getting this error. Like this around more than five form I have to debug. I would like to know through error handling routine or some other code we can display the exact item name, which error is occurred.
    Thanks & Regards,
    Jenson V.A.

  • Unable to Display This Video

    Watching videos at nbcnews.com, some days get message: Unable to display this video. The ads always display, but not the stories.  And only some days. Why?

    You're right that when the apps are available they work better than Safari.  I can't find one for The Last Word, which is my favorite show.  And like I said, the problem seems to be intermittent, so I don't believe that its a Flash issue.  Actually, it's been a couple of days now since I could view The Last Word, so perhaps they are doing something different with their coding than before.
    Thanks for your suggestions... They are helpful.  :-)

  • Display a database item on display item

    please i have a varchar database item and i want to display the last item in this field on a display item what should i do and i used the row id to get the last value but it didn't work

    Still not clear what you are trying to achieve...
    it is just a non database item that i want to view the data in the database item in itIf it a "non database item", how can it have a relationship with a database value?

  • Reports to display vendor open items by payment methods

    Hi Gurus,
    Is there any reports to display vendor open items by payment methods?
    Thanks i

    Hi,
      Use FBl1N or F.41
    Goto Dynamic selections, Select payment method give that and execute. It will give you the report payment methd wise.
    Regards,
    Radhika.

  • Unable to clear vendor open item.

    Hi experts,
    Have posted vendor document  under document type KZ directly, there is no open item invoice to clear the document.
    posted entry as below. now we are unable to clear the open item document through F-44. we did not find open item for the posted document which is posted in document type KZ.
    Vendor account entry
    25 vendor account 10000
    38 vendor account  8000
    50 bank account     2000
    document has been cleared only 8000 not 2000.  Please advice me how  to clear the KZ document.
    Regards,
    Anji Reddy.

    HI Anji Reddy,
    There is some Process to do Clearing function
    first of all Open item should be there in Vendor account with the Invoice.
    For that invoice there should be a payment which is full payment or else Partial Pament.
    Then you can do clearing function to clear the Open items.
    Through F-51 you can do both Payment and clearing which is Post with clearing
    if you have done payment throgh any other Tcodes you have to come F-44 and do mannual Clearing.
    Try to explain your senario more Clear so that your doubt can solve
    Regards
    Mahesh

  • Unable to print multiple line items in Z-SAP SCRIPT

    Hi ALL,
    We have a scenario where in we are calling the Driver program (RFKORD50) for Document Extract(F.64), Where in we have attached the Z-Script to the program(RFKORD50),
    Unable to print multiple items.
    1) Checked with all the elements in STD program for printing multiple items in main window but unable to get all the items we are able to fetch only 1 item .
    (&BSEG-BUZEI&,,     &BSEG-SGTXT&,,,,&BSEG-DMBTR&)
    2) I have also tried with external subroutine but it also didnot work.it is fetching the latest value.
    Ex: if we have 3 items say 1,2,3 first 2 items are not getting fetched it is taking 3rd item and printing it straight away(Problem is it is not going to script for fetching the first item).
    see the perform which i have used
    /: PERFORM ITEMS IN PROGRAM ZTFI_ZNV20296
    /:USING &BSEG-BUKRS&
    /:USING &BKPF-BELNR&
    /:USING &BSEG-GJAHR&
    /:CHANGING &V_BUZEI&
    /:CHANGING &V_SGTXT&
    /:CHANGING &V_DMBTR&
    /: ENDPERFORM
    IL  &V_BUZEI&,,     &V_SGTXT&,,,,&V_DMBTR&
    Please suggest me whetther we can call write_form from external subroutine. or is there any loop commands in SAP SCRIPT Form.
    Regards,
    Jana

    Hi!
    The LOOP is always within the printer program. In this case also.
    Just check out the RFKORI35 include, the LOOP begins in the 215th line (in 4.6C).
    SORT HBSEG BY BUKRS SORTP1 SORTP2 SORTP3 SORTP4 SORTP5
                          BELNR GJAHR BUZEI.
            LOOP AT HBSEG.
    *         WHERE BUKRS = SAVE_BUKRS.
              SAVE_BUKRS  = HBSEG-BUKRS.
              IF  ( HBSEG-KUNNR = SAVE_KUNNR
              AND   NOT SAVE_KUNNR IS INITIAL )
              OR  ( HBSEG-LIFNR = SAVE_LIFNR
              AND   NOT SAVE_LIFNR IS INITIAL ).
                CLEAR RF140-ELEMENT.
                RF140-ELEMENT = '521'.
                CALL FUNCTION 'WRITE_FORM'
                         EXPORTING  WINDOW    = 'MAIN'
                                    ELEMENT   = '521'
                         EXCEPTIONS WINDOW    = 1
                                    ELEMENT   = 2.
    You might try out to write your code within the 521 elemnt in the sapscript.
    Regards
    Tamás
    Edited by: Tamás Nyisztor on Jun 12, 2008 3:34 PM

  • Display all valid items and select multiple items

    Let us say I have valid items in table. For each purchase user can select few items from the list. I have to display all valid items from table and user should able to check items to buy. What is the best way we can implement this in forms.
    Thanks, lalitha

    For all the valid items you can create LOV as i understood then user can choose what he wants. But this sentence ti still confusing to me. Or what is the tricky things in you scanerio if only you have to show the valid item then use LOV.
    Lalitk wrote:
    and user should able to check items to buy.-Ammad

  • Display Totally paid items(cleared items), partial payments and residual pa

    Hi Experts,
    I am working on one requirement,
    Requirement: Display Totally paid items(cleared items), partial payments and residual payments.
    I am fetching data from BSAD table for Totally paid items, but I want to understand what are the fields to check when fetching data.
    Partial payments: Please let me know the logic to get data for partial payments from BSID table.
    Residual payments: what are the tables to check for residual payments and the logic.
    What are the fields that i have check and what are the fields that I have to check and get.?
    Please let me know what ever you know about this.
    Regards,
    Dileep,

    Hi,
    All types of Payments  either Totally paid items(cleared items) or  partial payments and residual payments the Document Number serious will b same.   Try to  extract by  Filtering Assignment Field .
    Thanks
    Goutam

  • FBL5N - in Rule set - It is a Display customer line items

    Dear All,
    We observed that FBL5N - Display customer line items in Standard SoD rule set under function AR07  addressing a risk of S022.
    Unless there are t-codes of FD03 or FB02 this t-code does not allow to change the payment terms of the customer.
    We are having a challenge from the client that FBL5N is a display t-code and why it is there in rule set.
    Has anybody came across this scenario? If yes, what is the underlying risk for this FBL5N independently.
    Is there any SAP Note for this t-code like ME23N from SAP.
    Thanks and Best Regards,
    Srihari.K

    Hi Christian,
    We checked the authorization objects as well enabled in GRC rule set as below:
    F_BKPF_BUK - Docume t Authorization document for company codes - 01 or 02 - Enable.
    Inspite of this access, FBL5N cannot be used to change the document for payment terms and assignments without FB02 t-code
    assignment in the role.
    Independently FBL5N cannot be used for any change or create activity except Display customer line items.
    Please advise
    Thanks and Best Regards,
    Srihari.K

Maybe you are looking for