Report dependant on portal username

i have been following the forums regarding the retrieval of usernames for reporting purposes.
i have created a view based on the WWCTX_API.get_user.
selecting from this is fine, and i returns my username to the page.....however if i run the following query
select dept.username
from matt_dept_user dept,
pot_merc_user_mmg mmg
where dept.username = mmg.username
matt_dept_user being the view which i have created and pot_merc_user_mmg being the referencing table.
when i run this, i get the following error...
Failed to parse query
Error: ORA-00918: column ambiguously defined (WWV-11230)
Failed to parse as MNUNN - select dept.username from matt_dept_user dept, pot_merc_user_mmg mmg where dept.username = mmg.username order by rowid (WWV-08300)
Error: Unable to execute query (WWV-10201)
Any ideas?????
Matt.

Matthew,
try this query instead
select dept.username
from matt_dept_user dept,
pot_merc_user_mmg mmg
where dept.username = mmg.username
order by dept.username
OR
select dept.username
from matt_dept_user dept,
pot_merc_user_mmg mmg
where dept.username = mmg.username
order by dept.rowid
==================================
NOTE: I have supplied an order by clause
at the end.
==================================
If it still fails then pls post it with error msg, version.
Thanx,
Chetan.

Similar Messages

  • How to get the Portal Username to SAP Transaction IView ( ABAP cust repor )

    Hi Experts,
    We have an ABAP program that will be exposed in portal as SAP transaction IVIEW.  However the username that is being displayed in the report is the username that is defined in SICF > SAP > BC > GUI > ITS > WEBGUI.  I tried to remove the username and password defined, changed the procedure to Alternative Logon Procedure and deleted some logon procedure list retained Basic and SSO Authentication but we are getting DDIC username.  We have successfully implemented SSO, and it works in Personal Information of Standard ESS.  The following are configure in our portal:
    1.  We have set SSO ticket
    2.  We are using User Mapping for portal and ABAP System
    3.  Retain Basic and SSO authentication
    what could be the cause why the program (iview) is still getting the user instead of Portal Username? How can we get the portal username for our abap customized report exposed in iview

    Hi,
    Make sure that the System you are using to connect to R3 has Log On Method and Authentication Ticket Type properties has SAP LOGON TKT as the value selected.
    Path: System Administration --> System Configuration ---> Systems....
    Regards,
    SrinivaS

  • Hyperlink to ABAP report in web portal

    Is there a way of linking to an abap report in the web portal system without using the www_get_selscreen function? R/3 version 4.0 and an ITS server is being used.
    The abap reports all work from system>services>reporting in the portal, but I'd like to offer a web page which just lists a couple of reports.

    Hi Durairaj, hi Karen,
    Well, if the transaction code is static and the username and password are static (meaning: technical user) it shouldn't be a lot of work to create an ITS-service-file that contains transaction, username and password hardcoded (and is also configured to prevent the user from changing the transaction within webgui).
    It prevents malicious users from getting to know the content of these parameters (because they aren't submitted anywhere and therefor you don't have to hide them) and through that you can also avoid to be able to change the transaction code (the service should be configured to prevent the user from changing the transaction within webgui).
    Then you would be on the safe side and you could also use an iframe to make the url calling the ITS service invisible too.
    OK: If there are three transactions needed there would be the need for three service files. But if it is a limited number of transactions this shouldn't be a lot of work.
    Karen, please contribute to this discussion and tell us if we are still helping you to solve your problem. ;o)
    Best regards,
    Henning.

  • Why would Extension Manager CS6 report dependency issues for 29 InDesign CS6 factory plug-ins?

    Suddenly Extension Manager CS6 is reporting dependency issues for 29 InDesign CS6 factory plug-ins. I made no changes to those plugins that might have precipitated this. Anyone have any ideas about what might have happened? (This is happening with Extension Manager 6.0.8.28 and InDesign 8.0.2.) Some examples of the plugins reported as not meeting dependency condition are the following:
       Book Panel (8.0.0.370)
       PDF (8.0.2.413)
       Snippet (8.0.0.370)
       XML (8.0.2.413)
       XMLParser (8.0.0.370)
    Hayden

    1. You only pasted one log file (log0.log?), there is another more important log file: ExtensionManager.log you dind't paste.
    2. Have you removed ALL mxi files from ALL subfolders of BOTH "C:\ProgramData\Adobe\Extension Manager CS6\EM Store" AND "C:\Users\<UserName>\AppData\Roaming\Adobe\Extension Manager CS6\EM Store" to separate folder? If yes, Extension Manager shouldn't hang.
    3. Please make sure you have "Full control" permission to ""C:\ProgramData\Adobe\Extension Manager CS6\Configuration\DB\ExMan.db" and "C:\Users\<UserName>\AppData\Roaming\Adobe\Extension Manager CS6\Configuration\DB\ExManUser.db". You can check it in "Security" tab page of "Properties" dialog box.

  • Discoverer Report opened from Portal does not show correct data

    Hi,
    When I try to open a Discoverer report from a portal that I created, it shows stale data but when I click on "Analyze", it shows all the data correctly.
    Does anyone know what the reason could be for this?
    Thank you,
    Santoshi

    I assume you used the Discoverer Portlet Provider. A discoverer portlet is never live data. When you define the portlet you specify how often to 'refresh' the data. If you skipped this step, then you just get the data as-of when you created the portlet.
    Generally you specify the refresh time to be sometime after your usual database load completes.

  • Web Item Report Error in Portal

    Hi Experts,
    I am displaying a Report Designer report through BI portal. When i execute the report, instead of the variable screen, it is throwing the below error:
    "Tag "band" with name "detail": Tag "axistupleelement": Attribute "characmembername" is missing"
    Can anyone help me in resolving this?
    Thank You.
    Regards,
    Murthy.

    Hi Murthy,
    Please check whether you have changed the underlying data provider in the meantime. For static queries you can use the option 'check data provider...' in the menu -> report -> 'check data provider'. Are there any red fields displayed?
    Best regards,
    Janine

  • Scheduling Crystal report from Infoview portal doesn't show up data

    "The crystal report is based on a SAP BI query. The parameters of the report are basically the parameters(SAP variables) of the SAP BI query. When we run the crystal report in the CR Report Designer tool, it runs fine showing all the data correctly. Then we published the crystal report to the Crystal Enterprise Server from the SAP BI system. Through the Infoview portal, the user clicks on the 'Schedule' link for the report and sets the parameters. When the 'Schedule' button is clicked, it runs successfully but no data is seen in the report except for the template. But under the same report, in Infoview portal, if the user selects "View" link, sets the parameters and then clicks the 'Execute' button, it runs successfully showing all correct data.
    Dont understand why it works for 'View' link but doesn't work for 'Schedule' link. Is there any setting that needs to be made for this?"
    Thanks in advance,
    Sri

    Once you tick the schedule button the History window opens and you should see your instance. Status is usually pending and after a refersh (scheduled for run now) you should get the status running/successfull or failed. What is your status here and what happend if you tick on the instance once you get the status successfull?

  • Scheduling the report from Infoview portal does not show up data

    "The crystal report is based on a SAP BI query. The parameters of the report are basically the parameters(SAP variables) of the SAP BI query. When we run the crystal report in the CR Report Designer tool, it runs fine showing all the data correctly. Then we published the crystal report to the Crystal Enterprise Server from the SAP BI system. Through the Infoview portal, the user clicks on the 'Schedule' link for the report and sets the parameters. When the 'Schedule' button is clicked, it runs successfully but no data is seen in the report except for the template. But under the same report, in Infoview portal, if the user selects "View" link, sets the parameters and then clicks the 'Execute' button, it runs successfully showing all correct data.
    Dont understand why it works for 'View' link but doesn't work for 'Schedule' link. Is there any setting that needs to be made for this?"
    Thanks in advance,
    Sri

    Hi Sri,
    When we are able to see the report and unable to schedule the report with in the Info view, then check with the user rights.
    Just try to login with admin account and try to schedule the report.
    Also check the report in CMC and see the preview of the report.
    If the user doesn't have enough rights to schedule the report, then  it doesn't allow it.
    Also check with in the Folder rights with in the report is saved.
    Regards,
    Naveen.

  • Creating SAP BW Report iview in Portal to access BW System

    Hello Everybody ,
    Iam creating an iview for publishin BW Reports in Enterprise Portal with the iview name SAP BW Report iview ,it asks for <b>BEx Web Application Query String</b> and <b>Application Parameters</b> and we are stuck over that.Do we need to create some standard templates for it and then connect them to reports .What should we enter under these parameters.Kindly revert back.
    When we launch the SAPBWWebAppDesigner for template designing,an error message is displayed as mentioned below.Kindly please check that and the reason for its display.Do we need to make certain configurations for the Webapplication server for BW ,if any one has a document /guide available for that,kindly please revert back.
    Error:
    "You are logged on to an application server that does not support HTTP.Some of the Web Application Designer functions are therefore not available.Do you want to logon to a different application server?"
    We are also not able to connect to the Web Application Server of BW directly by putting the url of the WAS into our browser.Are any extra configurations needed for that on the BW side for WEBAS.
    You can send me attachents on my Email id which is [email protected] back soon,
    Thanks,
    Somya

    Hello,
    I was asking abt the following parameters to be entered in BW for Portal inorder to create RFC ,Rfc for BW in Portal is already created.   
                                                         Program ID
    PortalDirectory                                                                               
    RFCDestination                                                                                URL Prefix for Portal                                                       
    Prefix of RM for BWMetadata
    Export Path                   
    Export File Name                                                      
    Path in Portal
    Name in Portal Content                                                                               
    System Alias                                                                               
    Logon Ticket Client                                                                               
    Portal SID                                                                       
    Import Path  
    Import File Name

  • Creating a report in EP portal using Web Dynpro

    Hi all,
            Can anyone guide me how to create a Report in EP portal using Web Dynpro.
    Regards,
    R.V.Easter

    Hi,
    You should read the documentation ([Web Dynpro ABAP: Development in Detail|http://help.sap.com/saphelp_nw70/helpdata/en/03/0048413e466e24e10000000a155106/frameset.htm]) and study the tutorials : [Go and Create First Application with Web Dynpro ABAP|http://help.sap.com/saphelp_nw70/helpdata/en/e6/2c4b29dc87c6409d6469ec390e8f3d/frameset.htm] and [Creating a Simple Flight Info Application|http://help.sap.com/saphelp_nw70/helpdata/en/e6/2c4b29dc87c6409d6469ec390e8f3d/frameset.htm].
    Regards,
    Pierre

  • How can we copy report from one portal to other portal

    hi,
    I have to copy one report from 1 portal to other portal so how we can do that .If anybody knows pls tell me

    Hi,
    Can you tel us the type of Report you are using ?
    Regards,
    Sandeep

  • Create a report in oracle portal based on a different database.

    Hello,
    I'm trying to create a report in oracle portal based on table in a different database than te one from portal.
    I have allready succesfully added a new DAD in the enterprise manager, but how can I select that database in the portal environment?
    Thierry

    Hi,
    Please check the below link
    http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_voyager_userguide_en.pdf
    I think you can get more information in Integration Kits - SAP or Business objects forum.

  • CALL WEBI Report from SAP Portal

    Hi Experts,
    I need to call WEBI report from SAP Portal, is it possible?
    The submitted report will be opened in the same window?
    Kind Regads.

    Hi
    You can call SAP portal from WebI Report...
    insert blank cell in the report / or select the cell whaere do you want to in the report
    and then Right click and select hyper link.
    Enter the portal address
    It will be opened in the same or new window based on your settings.
    Target Window : New Window ..then it will open new window.

  • Report display in Portal

    Hi,
    I had a report to which i had to add some new columns.
    I have added the new columns and ran the report in Bex analyzer which looks fine.
    When i run this report from the portal we have, i see the the changes are not reflected,it still shows the report with the old column.
    My question is, are there any more activities to be done to make the chnaged report available on portal ?
    I mean anything on web template side or anything else ?
    Regrdas,
    Tapish

    Hi Tapish,
    In theory you should not need to create the ivew again.  But I have found the portal behaves very strange when picking up chnages to quieres.
    Possibly at a minimum refresh the iview and tet it in the PCD.
    The best way to refresh is to do a restart on the Java stack.  Also you can try the following:
    To clear PCD Cache:
    Sys Admin -> Support -> PCD -> PCD Admin -> Release Cache Cluster wide
    To Clear Navigation Cache:
    Sys Admin -> Navigation -> Clear Cluster Cache (ROLES)
    thanks,
    Nick.

  • Does BW unicode reports run on Portal 60 SP11, without any problem?

    Hi,
    Does BW unicode reports run on Portal 60 SP11, without any problems?
    Thanks,

    Hi,
    Does BW unicode reports run on Portal 60 SP11, without any problems?
    Thanks,

Maybe you are looking for