Export to Excel Don't work

Hello Experts,
The transaction code ZPP_COVERAGE no longer displays data in Excel format - we can still get it to export, but the resulting format is much different than when you just click on the Excel Icon on the application tool bar.
Any help will be appreciated and awarded.

I think this is your own custom transaction. it is not SAP transaction.

Similar Messages

  • CSV output (export to excel) don't use right code table

    CSV output (export to excel) don't use right code table. We use code table
    8859-2 (reports and forms are OK). Why export to excel don't use this code table.
    Thanks for answers

    You could also take the example from my blob that Denes mentioned and instrument it to output in either CSV or HTML. This way, you could have a single procedure that worked for both formats.
    All you would need to do is handle each field differently - pad a TD and /TD (with proper brackets, of course) if its HTML or just append a comma if it's CSV.
    Thanks,
    – Scott –
    http://spendolini.blogspot.com/
    http://sumnertech.com/

  • Oracle Applications 11i Export to Excel does not work.

    The export button does not work. When I click on export it says complete but does not bring up a window asking me to save. I have pop up blocker off and the site added to trusted sites. I have tried everything I have found so far but no luck. Help would be much appreciated.....thanks!!!!

    Please post the details of the application release, database version and OS.
    The export button does not work. When I click on export it says complete but does not bring up a window asking me to save. I have pop up blocker off and the site added to trusted sites. I have tried everything I have found so far but no luck. Help would be much appreciated.....thanks!!!!Was this working before? If yes, any changes been done recently?
    Can you reproduce the issue from other browsers/machines?
    Can you find any errors in the database log file?
    Please see these docs/links.
    Troubleshooting Export and Attachment issues in Oracle Applications 11i [ID 338651.1]
    Attachments and Exports, a Troubleshooting Guide [ID 135444.1]
    Export To Excel: How To Activate Debugging? [ID 464469.1]
    How to Troubleshoot Forms Hanging Using Export Functionality [ID 423261.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Troubleshoot+AND+Export&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Troubleshooting+AND+Export&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Export+AND+Excel&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • "Export to Excel" does not work for query based on Master Data InfoSet

    We have many queries based on InfoSet consisting 2 or more PS Master Data. After we upgraded from BW 3.1 to 3.5, the "Export To Excel" function no longer works via BEx Browser. It returns all blanks where master data should be shown. Only the non-data area like column headings are exported to excel.
    Is this a bug introduced in BW 3.5?
    Thanks,
    Kinuko

    It seems that BW 3.5 SP10 may fix this problem.

  • Export to Excel is not working for List View Web Part after filtering using Query String parameters in SharePoint 2010

    Hi, 
    I am filtering SharePoint list view web part based on Query string parameter and I am doing Export to Excel by using following code.
    <a href="#" onclick="javascript:window.location='../_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=0DC67399-BE11-48F3-ADFC-E911FB8B5845&View=54671412-3EFE-4281-835A-9EF747AE774E&CacheControl=1'"><img
    alt="Excel" src="/_layouts/images/icxlsx.gif" border="0"/>&nbsp;Export to Excel</a>
    Issue: Able to do Export to Excel when there are no filters applied on list view web part but if applied filters on web part and do export to excel , only header fields are displaying in the excel sheet.
    I don't know why owssvr.dll is behaving like that .
    Please share your ideas.
    Thanks in Advance.

    Hi,
    According to your post, my understanding is that you wanted to create hyperlink to export to excel.
    The URL to execute the export is as follows:
    {Site URL}/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List={List GUID}&View={View GUID}&CacheControl=1
    After getting the GUID, you  need to “decode” the list GUID.
    Replace %7B with {
    Replace %2D with –
    Replace %7D with }
    More information:
    Create Link to Export Library Contents to Excel
    SharePoint - Create a link to export to Excel
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Export to excel doesn't work anymore

    Hello all;
    I recently re-installed Excel, and the "export to excel" function in B1 doesn't work anymore. Even when I do "File> Export> MS-excel", it doesn't offer an *.xls file type to save.
    Any ideas?
    Thanks,
    Lazar

    Dear Lazo,
    For export option activate On SAP B1 client machine you have go general setting > Go to path > than provide SAP sever Excel Doc Path.
    and  please confirm in that folder Auto open.xls file is there or not.
    and than go to new excel file > Tools >Option .security > Macro setting > Select Security level Medium.
    Than try to open excel file.
    May it help you.
    If its not work so you check on sever if its working on sever than if definitely client machine problem.
    for that you have re-installed SAP client.
    Regards
    Mangesh Pagdhare.

  • Service Process Monitor  export to excel is not working

    Hi,
    The  Tx. CRM_SRV_REPORT ( Service -> Service Process Monitor) is not working.
    When you try to export to Excel (press button Excel (CtrlshiftF7) is not working. However, this button in other transaction is working, for example Activity Monitor.
    Any idea?
    Lyda

    Report to SAP. They sent a solution... it's an error

  • Export report Excel-Data Only works not,'not enough memory for operation'

    Hi all,
    we are using in our Software CrystalReport Version 11 Service Pack 5. Crystal report is intergated for .NET. We can not uninstall CrystalReport Version 11 Service Pack 5 to install another Version or another Service Pack.
    We are haveing problems to export report as Excel 97-2000 Data Only, "not enough memory for operation" message pop up after you try to export report as Excel data Only.
    Export Report as PDF is working fine.
    This problems are on Windows XP Sp3 and Vista. On Windows 7 we have no problem.
    Please, can somebody help me solving this problem, or to finde a workaround for Windows XP. Memory from PC is not the problem.
    Mit freundlichen Grüßen / Kind regards
    Odisej Nujiq

    Odisej, unfortunately, processes such as remote sessions are reserved for phone cases only. You can create a phone case here;
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    Also, just as an FYI, see the blog [What are these 'support' forums good for anyhow?|/people/ludek.uher/blog/2011/04/07/what-are-these-support-forums-good-for-anyhow]
    Without phone support, you are left to do most of the foot work your self. On the forums, we can provide suggestions and guidance, but that is about it.
    Couple of things to note though. If you do create a phone case, one of the 1st things that you will be asked is to update your app to SP6 - unless you can prove the same issue exists with SP6 (see more bellow).
    Something I would recommend you try is to take an XP box, install SP6 on it, then install your app on it. If this works, your options are highly limited. E.g.; SP6...
    One other utility that may be worthwhile to use is [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx]. Run that on the XP box. In the logs, look for "Access Denied" error messages. Look for load or other issues with crxf_xls.dll, exportmodeller.dll and crtslv.dll.
    From your responses I am still not sure if you actually did run Modules and compared the results. This is much, much easier to do than working with ProcMon and I'd start there. To summarize, my troubleshooting plan (irrespective of the limits imposed on you) would be:
    1) Use Modules as this is the easiest thing you can do
    2) Try this with SP6 - more work that (1) above, but at least you are on the latest. If this works, banging your head into an SP5 wall will do you no good (like I said, irrespective of what ever limits...)
    3) Use ProcMon - not too difficult, but time consuming as you will be looking over 100s, possibly 1000s of lines and not being familiar with details of CR, this will take time.
    - Ludek

  • JHS: Export to Excel doesn't work when having leading zeros

    Oracle JHeadstart Release 11.1.1.2.29
    We are using the Export to excel option, but when we have leading zeros it doesn't export it as text so the data is incorrect.
    Can any one please tell how doe we configure JHeadstart/ADF to have the leading zeros and export it as text rather than as number.
    Regards
    Ram

    Ram,
    Export to excel is native ADF feature,not related to JHeadstart. Please post your question on the JDeveloper forum.
    Steven davelaar,
    JHeadstart team.

  • VC Export to Excel Functionality not working

    Hi All,
    I have an issue an implementing the "Exporting the Table data to Excel."
    My VC version is 7.0
    Portal version NW 2004s.
    I have followed the instructions in the How To doc:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123 have implemented Export To Excell functionality in VC.
    yet we're getting the error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViewsüom.sap.ip.bi.bex.
    Exception id: 05:39_17/04/07_0001_4060051
    See the details for the exception ID in the log file
    Any assistance/advice appreciated.
    cheers,
    Imran

    Very strange, as I know there is no ü allowed. There should be used only ASCII.
    And if there is a ü, this should translated, e.g. with base64 encoding or sth. like that.
    Best Regards,
    Marcel

  • Export to excel doesn't work

    Hi all,
    I'm having a problem with exporting a workbook into an excel sheet.
    The problem is that NOTHING HAPPEND. I realy don't know what is going on. For the same account I tried to export another report... and every thing was ok (the only thing that I saw is thet for some I have the option to save the report or open it... and for others It opens directly...)
    Does someone ever had the same problem??...

    Hi
    Try closing the browser session and trying again. I have seen it lock like this sometimes.
    Take a look also at this recent thread: Can't export from Disco Plus but am able to export From Desktop
    Best wishes
    Michael

  • Slideshow dissapeared after export, now slideshows don't work at all.

    I made a slideshow with many pictures a very few video clips. (All video clips but one were created/edited in iMovie then exported).
    I exported the slideshow and imported that export into iMovie to adjust music, etc.
    Everything exported perfectly and imported to iMovie perfectly. However, once in iMovie I noticed that one of the video clips in the slideshow didn't export properly.. only the sound worked, but the scene remained blank. This video was the only video that came straight off my camera, trimmed with quicktime, then put into the slideshow instead of going through iMovie. So, I put it through iMovie like the other video clips then added it to the slideshow. I opened the slideshow, and the only thing inside was the video I JUST added. Everything else (all 300 pics and 4 vids) were gone from the slideshow. They were in the right order and everything was perfect!! NOW, I'm trying to start over and it wouldn't let me move a video clip into the slideshow, and NOW it won't even let me move pictures into the slideshow!!!! WHAT IS WRONG WITH THIS PROGRAM!?? AND, is there any chance iphoto happened to have saved my slideshow somewhere where I can restore it? I read somewhere to hold the option/command key? while the program starts to restore, but I don't know what those optinos mean... will i lose stuff if i use those options?

    Welcome to the Apple Discussions.
    is there any chance iphoto happened to have saved my slideshow somewhere where I can restore it?
    Are you referring to the slideshow you exported or the slideshow within iPhoto? The one in iPhoto is kept in the library's database. You can try rebuilding the library as follows: backup and launch iPhoto with the Command+Option keys depressed to rebuild the library. Select the last three options.
    Click to view full size
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding the the Option key and selecting the *+Choose Library+* button.
    Are you trying to continue with the original slideshow in iPhoto? I'd trash it and start over with a fresh one. The old one could be damaged. Rebuilding the library might fix it but if it doesn't then it's best to start over with a new one.
    Any reason you didn't create the slideshow in iMovie. By doing it in iPhoto and exporting to Quicktime and then importing into iMovie for more editing causes additional encoding of the slideshow and can degrade the image quality.
    Are you up to date with all of the software and system? How much free space do you have on your boot drive. How big is your library, i.e. number of photos?
    OT

  • Export to Excel codes not working as expected

    Hello,
    I am using the code below to export data from a query to
    Excel.
    The fields of the query are as such : D,B,C,A, but when am
    using the code below to export it, the order of the columns is in
    alphabetical order (A,B,C,D), which I don't want.
    Can you please tell me how to modify the code below so that I
    get the columns in the order that it is in the query.
    Anyone to help me pls.
    thx
    (See4 my code below )
    <cfinvoke component="#variables.componentPath#"
    method="getOrds" returnvariable="qgetOrds">
    <cfinvokeargument name="mydate" value="#mydate#">
    </cfinvoke>
    <CFCONTENT TYPE="application/vnd.ms-excel">
    <cfheader name="Content-Disposition"
    value="filename=report.xls">
    <cfquery name="exportdata" dbtype="query">
    SELECT D,B,C,A
    FROM qgetOrds
    </cfquery>
    <table border="1" bordercolor=""#009966"">
    <cfoutput>
    <tr>
    <cfloop list="#exportdata.columnlist#"
    index="TDFIELD">
    <td>#TDFIELD#</td>
    </cfloop>
    </tr>
    </cfoutput>
    </table>

    Now you're talking about the internal bits that make Excel
    behave the way it does. There is an entire section in MSDN (
    http://msdn.microsoft.com)
    devoted to Office XML, which is what you'd have to use to serve up
    a fully-functioning XLS file.
    You can find an example on this site. The Google Groups
    address is
    http://groups.google.com/group/macromedia.coldfusion.advanced_techniques/browse_thread/thr ead/71abd01da20e186a/f192971168deae79?lnk=st&q=CFCONTENT+Excel+cell+format&rnum=2&hl=en#f1 92971168deae79
    Have fun!

  • Links in excel don't work once uploaded to dropbox

    Hi,
    I am busy creating an excel document that has various link to documents in other folders on my computer. I would like to share this so others in my department can use it as well (via dropbox) but once I have uploaded the original document to dropbox (with
    all the other folders containing the documents that the links point to) then when I click on the links in the excel document they cannot find the files. I have tried everything in trying to solve this. I was hoping editing it in my dropbox folder on my computer
    would solve the problem as surely it should sync it automatically? Nothing works!
    Any help MUCH APPRECIATED!!!
    Thanks!

    Hi,
    As far as I know, Office uses relative address than absolute address by default.
    When a file is uploaded, the "convert to relative" feature changes hyperlinks to relative links when the file is saved.
    Is your Office version 2003?
    To use this hotfix, follow these steps:
    1. Quit Office.
    2. Click Start, click Run, type regedit, and then click OK.
    3. Locate and then click to select the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common
    4. After you select the key that is specified in step 3, point to New on the Edit menu, and then click DWORD Value.
    5. Type UseCaseInsensitivePathForHyperlink, and then press ENTER.
    6. Right-click UseCaseInsensitivePathForHyperlink, and then click Modify.
    7. In the Value data box, type 1, and then click OK.
    8. On the File menu, click Exit to quit Registry Editor.
    Notice: Please backup the registry.
    Please refer to the below link:
    http://support.microsoft.com/kb/917689/en-us
    And you also can use HYPERLINK to create a new file.
    For more detail information, please refer to the following link:
    http://office.microsoft.com/en-us/excel-help/hyperlink-function-HP010342583.aspx
    Regards,
    George.zhao

  • Report export to excel doesn't work correctly

    I've seen this problem is quite common, and some workarounds but none is correct for me.
    I have a SQL function returning report with several filters (something based on the Issues report of the Issue Tracking Application, APEX example).
    In my case seems to work correctly only when I hard code the value of :P15_CANVI_DE_CLUB. I've tried Denes Kubicek solution of setting a computation before header of this item, but it does not work. Unluckily Denes package can't be used with SQL function returning report so I cannot use it to print my report.
    Anyone knows how to face this flaw?
    Thanks for your help.
    That's the SQL function
    declare
    q varchar2(20000); -- query tasques
    q0 varchar2(4000); -- query suport subtasques
    q1 varchar2(4000); -- query subtasques
    w varchar2(4000) ; -- where, condició de filtres
    w1 varchar2(4000) ; -- where, condició de tasques
    w2 varchar2(4000) ; -- where, condició de subtasques
    w21 varchar2(4000) ; -- where subtasques
    w22 varchar2(4000) ; -- where subtasques amb filtres de pantalla
    begin
    -- q és la consulta de tasques ("TAS_TAS_ID" is null) a aquesta
    -- consulta s'ha d'unir q1 que són les subtasques
    q:= 'select null as "Tasca", '||
    '"GES_GES_ID", '||
         '"TAS_ID", '||
         '"TITOL", '||
         '"DESCRIPCIO", '||
         '"ASSIGNADA", '||
         '"DATAINICI", '||
         '"PREVISIO_FI", '||
         '"DATA_FINAL", '||
         '"PRIORITAT", '||
         '"SITUACIO", '||
         '"ORIGEN", '||
         '"NUMERADOR", '||
         '"ANY_NUMERADOR", '||
    '"CODI_NUMERADOR", '||
    '"NUMERO", '||
    '"AGR_ASS_ASS_ID", '||
         '"AGR_CODI", '||
         '"TAS_TAS_ID", '||
         '"TAS_GES_GES_ID", '||
         '"GES_GES_ID_ESTA_ASSIGNADA", '||
    '"GESTOR", '||
         '"PUBLICA", '||
         '"GRUP_TASQUES", '||
         '"NOM", '||
         '"COGNOM1" '||
    'from     "STASVWREPORT_TASQUES" ';
    -- Les següents línies calculen les condicions de filtres de pantalla
    -- Filtre origen
    if :P15_ORIGEN!='-1' THEN
    w:= w||' AND "STASVWREPORT_TASQUES"."ORIGEN"=:P15_ORIGEN';
    end if;
    -- Filtre prioritats
    if :P15_PRIORITATS<>'-1' then
    w:= w||' AND "PRIORITAT"=:P15_PRIORITATS';
    end if;
    -- Filtre situacions
    if :P15_SITUACIONS<>'-1' then
    w:= w||' AND "SITUACIO"=:P15_SITUACIONS';
    end if;
    -- Filtre grup de tasques
    w:=
    case :P15_GRUPS_TASQUES
    when '%' then w||' AND ("STASVWREPORT_TASQUES"."AGR_CODI" LIKE (''%'') or
    "STASVWREPORT_TASQUES"."AGR_CODI" IS NULL)'
    when '-2' then w||' AND ("STASVWREPORT_TASQUES"."AGR_CODI" IS NULL)'
    else w||' AND "STASVWREPORT_TASQUES"."AGR_CODI"=:P15_GRUPS_TASQUES and '||
    '"STASVWREPORT_TASQUES"."AGR_ASS_ASS_ID"=:ASSOCIAT '
    end;
    -- Filtre obertes/tancades
    if :P15_OBERTES='O' then
    w:= w||' AND "DATA_FINAL" IS NULL';
    end if;
    if :P15_OBERTES='T' then
    w:= w||' AND "DATA_FINAL" IS NOT NULL';
    end if;
    -- Filtre títol/DESCRIPCIO
    IF :P15_TITOL_DESCRIPCIO=1 THEN
    IF :P15_TITOL IS NOT NULL then
    w:= w || ' AND TRANSLATE(UPPER("STASVWREPORT_TASQUES"."TITOL")';
    w:= w || ',''ÀÁÈÉÍÏÒÓÚÜ'', ''AAEEIIOOUU'') ';
    w:= w ||'LIKE ';
    w:= w ||'TRANSLATE(UPPER(''%';
    w:= w ||:P15_TITOL||'%''),''ÀÁÈÉÍÏÒÓÚÜ'', ''AAEEIIOOUU'')';
    END IF;
    ELSE
    IF :P15_TITOL IS NOT NULL then
    w:= w || ' AND TRANSLATE(UPPER(';
    w:= w || '"STASVWREPORT_TASQUES"."DESCRIPCIO")';
    w:= w || ',''ÀÁÈÉÍÏÒÓÚÜ'', ''AAEEIIOOUU'') ';
    w:= w ||'LIKE ';
    w:= w ||'TRANSLATE(UPPER(''%';
    w:= w ||:P15_TITOL||'%''),''ÀÁÈÉÍÏÒÓÚÜ'', ''AAEEIIOOUU'')';
    END IF;
    END IF;
    -- Filtre propietari/gestor
    if :P15_GESTOR_PROPIETARI='-1' then
    w:= w||' AND ("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR) ';
    end if;
    if :P15_GESTOR_PROPIETARI='-2' then
    w:= w||' AND ("STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR) ';
    end if;
    if :P15_GESTOR_PROPIETARI='-3' then
    w:= w||' AND (("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';
    w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';
    w:= w||'OR ("STASVWREPORT_TASQUES"."AGR_ASS_ASS_ID"=:P15_CANVI_DE_CLUB ';
    w:= w||' AND "STASVWREPORT_TASQUES"."PUBLICA"=''S''))';
    end if;
    if :P15_GESTOR_PROPIETARI='-4' then
    w:= w||' AND ("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';
    w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';
    end if;
    -- Filtre dates
    if :P15_SELECCIO_DATES = '1' and :P15_DATA_INICI_F is not null then
    w:= w|| 'and ("STASVWREPORT_TASQUES"."DATAINICI" >= :P15_DATA_INICI_F ' ;
    w:= w|| 'and "STASVWREPORT_TASQUES"."DATAINICI" <= :P15_DATA_FI_F) ';
    end if;
    if :P15_SELECCIO_DATES = '2' and :P15_DATA_INICI_F is not null then
    w:= w|| ' and ("STASVWREPORT_TASQUES"."PREVISIO_FI" >= :P15_DATA_INICI_F and ';
    w:= w|| '"STASVWREPORT_TASQUES"."PREVISIO_FI" <= :P15_DATA_FI_F) ';
    end if;
    if :P15_SELECCIO_DATES = '3' and :P15_DATA_INICI_F is not null then
    w:= w|| 'and ("STASVWREPORT_TASQUES"."DATA_FINAL" >= :P15_DATA_INICI_F and ';
    w:= w|| '"STASVWREPORT_TASQUES"."DATA_FINAL" <= :P15_DATA_FI_F) ';
    end if;
    if :P15_CALCULAR_NUMERO='NUM' then w:= '"STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"="STASTBGESTORS"."GES_ID"(+) '||
    'and "STASVWREPORT_TASQUES"."AGR_ASS_ASS_ID"="STASTBAGRUPACIO"."ASS_ASS_ID"(+) '||
    'and "STASVWREPORT_TASQUES"."AGR_CODI"="STASTBAGRUPACIO"."CODI"(+) ';
    w:= w||' AND (("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';
    w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';
    w:= w||'OR ("STASVWREPORT_TASQUES"."AGR_ASS_ASS_ID"=:P15_CANVI_DE_CLUB ';
    w:= w||' AND "STASVWREPORT_TASQUES"."PUBLICA"=''S''))';
    if :P15_CODIS_GRUPS!='-1' then
    w:= w||' and "STASVWREPORT_TASQUES"."CODI_NUMERADOR"=:P15_CODIS_GRUPS ';
    else
    w:= w||' and "STASVWREPORT_TASQUES"."CODI_NUMERADOR" is null ';
    end if;
    w:= w||' and "STASVWREPORT_TASQUES"."NUMERADOR"=:P15_NUMERO ';
    w:= w||' and "STASVWREPORT_TASQUES"."ANY_NUMERADOR"=:P15_ANY ';
    :P15_CALCULAR_NUMERO:='NO';
    end if;
    w1:= '"STASVWREPORT_TASQUES"."TAS_TAS_ID" is null ' ||w;
    q:= q || ' WHERE '|| w1;
    -- La mateixa consulta però seleccionant només els TAS_ID
    q0 := 'select "TAS_ID" '||
    'from "STASVWREPORT_TASQUES" ';
    q0:= q0 || ' WHERE '|| w1;
    -- q1 dóna les subtasques de les tasques triades a q
    -- (STASTBTASQUES"."TAS_ID" in(q0)) i a més a més les subtasques que
    -- cumpleixen les condicions de filtres de pantalla
    -- (TAS_TAS_ID is not null and w)
    q1 := 'select ''Subtasca'' as "Tasca", '||
    '"GES_GES_ID", '||
         '"TAS_ID", '||
         '"TITOL", '||
         '"DESCRIPCIO", '||
         '"ASSIGNADA", '||
         '"DATAINICI", '||
         '"PREVISIO_FI", '||
         '"DATA_FINAL", '||
         '"PRIORITAT", '||
         '"SITUACIO", '||
         '"ORIGEN", '||
         '"NUMERADOR", '||
         '"ANY_NUMERADOR", '||
    '"CODI_NUMERADOR", '||
    '"NUMERO", '||
    '"AGR_ASS_ASS_ID", '||
         '"AGR_CODI", '||
         '"TAS_TAS_ID", '||
         '"TAS_GES_GES_ID", '||
         '"GES_GES_ID_ESTA_ASSIGNADA", '||
    '"GESTOR", '||
         '"PUBLICA", '||
         '"GRUP_TASQUES", '||
         '"NOM", '||
         '"COGNOM1" '||
    'from     STASVWREPORT_TASQUES ';
    w21:= '"TAS_TAS_ID" IN ('||q0||')';
    w22:= '"TAS_TAS_ID" IS NOT NULL '||w;
    w2:='('||w21||') OR ('||w22||')';
    q1:= q1 || ' WHERE '|| w2;
    q:= q ||' UNION ' || q1;
    return q;
    end;

    Problem solved!!
    <br><br>
    See this part of the query:
    <br><br>
    if :P15_GESTOR_PROPIETARI='-3' then<br>
    w:= w||' AND (("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';<br>
    w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';<br>
    w:= w||'OR ("STASVWREPORT_TASQUES"."AGR_***_***_ID"=<FONT color=red>:P15_CANVI_DE_CLUB</FONT> ';
    w:= w||' AND "STASVWREPORT_TASQUES"."PUBLICA"=''S''))';<br>
    end if;<br>
    <br>
    when instead of :P15_CANVI_DE_CLUB I put a value (say ''EE'') it works correctly, finally I created an application item (ASSOCIAT) and when when I change :P15_CANVI_DE_CLUB I set :ASSOCIAT to the same value and the query is based on this application item:
    <br><br>
    if :P15_GESTOR_PROPIETARI='-3' then<br>
    w:= w||' AND (("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';<br>
    w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';<br>
    w:= w||'OR ("STASVWREPORT_TASQUES"."AGR_***_***_ID"=<FONT color=red>:ASSOCIAT </FONT>';<br>
    w:= w||' AND "STASVWREPORT_TASQUES"."PUBLICA"=''S''))';<br>
    end if;<br>
    <br>

Maybe you are looking for

  • Mac App cannot be opened because of a problem?

    I just downloaded the free iProcrastinate app from the Mac App Store, but when I tried to open it, an error message popped up. It said: iProcrastinate cannot be opened because of a problem. Check with the developer to make sure Safari works with this

  • Creating a Selection View : HR ABAP

    Hi All, How to create a selection view in HR Abap. I found some information related to it. Call the Object Navigator, (SE80), and from the Workbench menu, select Edit object. Under More.., click Selection view and choose Create. I tried it but unfort

  • Spry Vertical Menu Bar not working in IE8

    I've upgraded to 1.6.1, but it still doesn't work in IE8 unless in compatibility mode.  http://jimgreenrealty.com/Test.html Works fine in other browsers and other Spry elements appear to work normally in IE8.  Can anyone help? Thanks, Steve B.

  • Set Deletion Flag for the Preventive Maintenance Order

    Hi, I need to set the Deletion flag for the Service Order. Deletion flag available in the screen disabled. Please suggest. also I need know under which I shall be able to set such deletions. Thank you, Vijaya

  • Always Get Edit Link When Item Level Permissions Set

    We've enabled item-level permissions in a folder, and all users receive the "edit folder" button, regardless of whether we've given them "manage" access. Turning off item-level permissions removes the edit link. Is this a known issue? Any workaround/