Capturing USERID in report

Does anyone know how to capture the userid and use it as a parameter in a portal report?

Nevermind. I got it working. For some reason, when I pasted my select statement into the default value field, it didn't work. But when my boss typed it in, it worked. I used the same statement to get the department, but apparently we're not storing the e-mail address in Oracle yet.
RR
portal30.wwctx_api.get_user will return logged in user's id. How do I display the user's first name and last name rather than user id? I have a select statement used elsewhere
select first_name, last_name
from portal30.wwsec_person$
where user_name = portal30.wwctx_api.get_user
but can't figure out how/if to use it.
I want to use it in a form based on a procedure that e-mails the information the user enters into the form. I want the form to automatically display the user's name, department, and e-mail address so the user doesn't have to enter it. I put portal30.wwctx_api.get_user into the default value for the name field and it works great, except I want to display first and last names, not userid. Also, how do I get and display the department and e-mail address? I'm new to PL/SQL, so I'd appreciate detailed instructions and/or code.
Thank you in advance!
Rebecca

Similar Messages

  • Error CDG-03362 while capture design of Reports

    When I try to capture design of reports in Designer6i
    it returned an error message
    CDG-03362 WARNING: No repository element found to map application logic on : 'Formular'
    and the code of the formula don't come into the repository.
    Do anyone help me How to solve this issue?

    Ramana,
    Although you eventually want to use JHeadstart, reverse engineering forms to Designer is not an issue within the scope of this forum.
    Could you please post this issue in the Designer forum, or log a Metalink issue?
    Thank you,
    Steven Davelaar,
    JHeadstart Team.

  • Capturing UserId's

    Hi All,
    I am creating a webdynpro report for displaying KM documents and hitscount. In that i want to capture the UserId's from portal and display it. How can i capture it? Is there any code samples for that?
    Regards,
    Divya

    Hi Divya,
    Use this method,
    public java.lang.String getUserName( )
        //@@begin getUserName()
              //Getting the user name
              String userName = "";
              IWDClientUser wdUser = null;
              try
                   wdUser = WDClientUser.getCurrentUser();
              catch (WDUMException e)
                   wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), false);
              IUser usernam = wdUser.getSAPUser();
              userName = usernam.getUniqueName();
              return userName;
        //@@end
    and add the jar <b>com.sap.security.api</b>. Get back if there are any issues.
    regards,
    Siva

  • Extract BI UserID for reporting

    Hi Gurus,
    What table/infoobject  in BI contains the UserID information? I need this to display in s report. Please help.
    Thanks
    Anita

    hi Anita,
    you can try infoobject 0TCTUSERNM.
    user info is stored in tables USR*
    check also table USER_ADDR, USER_ADDRP, USER_ADDRS,
    and view V_ADDR_USR; 
    hope this helps.

  • Retrieve raw captured data after report generation crash

    Hi everyone
    Yesterday we were performing load tests on a server. During which I created and I scheduled a User defined data collector set based on the system performance collector set. The data capture ran for 2 hours. It then proceeded with the process of generating
    the report. During this process I observed the Tracerpt.exe was slowly and consistently consumed memory. The generate report process was taking a while, so I came back to it 15 minutes later, to discover the process has ended, but no report could be found. 
    I'm assuming the process crashed.
    Is there a way to retrieve the raw capture data and attempt to regenerate a report? Where is the raw data temporarily stored?
    Is there any why to retrieve the missing information?
    Any help is appreciated.
    Ernie Prescott

    Suppressing Result Rows can be done in Query designer itself for one time. You need not to do after you get the report every time.
    If you always expect some 10 free chars constantly, i suggest you to insert them in Rows pane in Query designer but not in Analyzer. So that your report layout will be taking care with all settings what you want to do after the report generates in Excel. I mean you will get desired layout when you run the report first time itself.
    Suppress repeated key values also can be done in Query designer itself one time.
    By doing above, your report execution will not be tedious and it will be minimizing your efforts.
    Over all, What I have understood is, you are doing all sorts of settings in Analyzer after getting such huge volume of data, by which it gives you crash error.
    With all above steps, you can run your report with all pre-defined settings.

  • Capture runtime for report through SE30

    Hi,
    I want capture run time ( execution time ) for one report. i tried in execute in foreground using SE30 its giving timeout error.
    i tried to run in background using SE30, it did not give proper results..
    Please help how to capture run time if i run this report in background.
    Thanks
    Sireesha

    Hi,
    Pleasecheck out the below
    Check the latest version of SE30 - New ABAP runtime tool - SAT (ECC 6 onwards)
    http://scn.sap.com/docs/DOC-10248
    For a detailed info of SE30 read the below
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/Trace+for+ABAP+Analysis
    Regards,
    Karthik

  • How to capture userid,date in a custom table while updating a form

    Hi,
    I have a requirement to insert the userid, the form name and the date on which the record is saved in a custom table while updating a custom form.
    We are using Form Builder 6.0.
    I am new to Forms and can anyone help me with these?
    I would also want to know under which trigger i should be writing the code in.
    Thanks in advance.

    you can use:
    usrid := get_application_property(username);
    formname := get_application_property(current_form);
    dt := to_char(sysdate,'dd/mm/yyyy hh:mi:ss');
    you insert these values in on-update trigger at form level

  • Capture month in Report

    Hi there,
    Is there any way to capture month of current year by giving week number in selection screen ( i.e. from 1 to 52). can anybody suggest.
    Regards,
    Naseer.

    Hello,
    Try this,
    week_iv is the week number entered on the screen.
    year_iv is the year
    concatenate year_iv week_iv into week_lv.
        call function 'WEEK_GET_FIRST_DAY'
             exporting
                  week         = week_lv
             importing
                  date         = date_ev
             exceptions
                  week_invalid = 1
                  others       = 2.
    it returns the first day of the week. The date_ev would be returned and you can take month as date_ev4+(2).
    <b>Reward ponts if useful</b>
    Saket Sharma

  • Set custom database userid for report schedules

    Hi,
    I am writing a c# program to reschedule reports deployed to CRS 2008. I am able to reschedule reports, but not able to use custom database username/password. All my schedules still use the original database settings from the report even after setting the property "UseOriginalDataSource" to false. Below is the code snippet I am using. Am I missing something here?
                   ReportLogons rptLogons = report.ReportLogons;
                        for (int j = 1; j <= report.ReportLogons.Count; j++)
                            ReportLogon rptLogon = rptLogons[j];
                            rptLogon.UseOriginalDataSource = false;
                            rptLogon.CustomUserName = "sykampillila";
                            rptLogon.CustomPassword = "facets";
                            rptLogon.CustomDatabaseName = infoObj.ProcessingInfo.Properties["SI_LOGON_INFO"].Properties["SI_LOGON1"].Properties["SI_DB"].ToString().Trim();
    Thanks
    Ajith

    Did you check the new instance using Query Builder?
    Sincerely,
    Ted Ueda

  • Material PO texts not captured completely(all characters) in report

    Hi Experts,
    Please let me know How to capture all characters of a Material PO Text as maintained in Material master in a standalone report.
    Have used STXh table to poppulate the characters based on material numbers but it seems all characters are not captured in the report it is truncating some characters from the PO text entry.
    Thanks,
    AKS

    HI,
    check with your ABAp consultant
    How max character you have upload in material master and how max charterer you are reading in your report
    that may be reason
    Regards
    Kailas Ugale

  • Capture data history on a report page

    How can a history of all changes done on the data be captured on a report page beginning with the last one edited shown on top?

    Yes, it can be made.
    I would do it like this:
    1) Choose the layout model view (View->Layout Model)
    2) Select and Delete everything (Ctrl+a, Del)
    3) Using the tool palette on the left, select the last button (Additional Default Layout)
    4) Choose Tabular Style
    5) Select your data group and press Dwn/Ac (Down/Across repeat direction)
    6) If you select many fields, or if the fields are too large, it might not work (there must be enough room for two columns)
    Using the Corporate1 Template, I managed to fit three fields totalizing 23 characters (46 characters for the two columns).
    If you use a label frame, it won't be repeat for the right column. Simply select the left one with the white arrow button (Frame Select) and Duplicate it (Ctrl+D). Then, move the duplicate label frame to the desired position.
    Hope this helps,
    Pedro.

  • Batch Load Of Forms&Reports by Capture Design

    I've more than 700 Module( Forms & Reports) to be captured by Designer
    any one know how to load these modules as a batch instead of taking every one alone.
    Thanks In Advance

    Thanks
    but when making capture design of reports this error come
    CDG-03362 WARNING: No repository element found to map application logic on : 'Formular'
    and the code of the formula don't come into the repository.
    do anyone know how to solve this problem.
    Thanks In Advance

  • Multiprovider  is not capturing some fields data

    Hi Friends,
                   I got a proble when iam working on multiprovider,where i have taken two cubes into that multiprovider,now the problem is when i execute a report on muliprovider some fields are not populating with data.
    {{cube are :billing cube(data sources:2lis_11_vaitm&2lis_13_vditm)
                  account receivable item data(0fi_ar_4)}}
                           As this is RRI sender query having both cubes information,when i execute report when ever report captures first cube report the second cube data is not capturing vice versa.
    Thanks and Regards
    Gunasekhar

    Could be a problem on identification (setting on multiprovider).
    Try to execute on transaction RSRT your query
    execute + debug
    on debug option set "Multiprovider explain"
    and report the log in this post.

  • Is it possible to create a report for script selections?

    I am using UCCE version 8.5 and programming with Internet Script Editor. I would like to know which options callers are selecting in my script. I know how to do this by monitoring the script. I would like to have it captured in a report so that I do not have to remain logged in while monitoring the script. I can get the information for the skill group from CUIC. The information I am looking to capture happens in the script before it gets to the skill group.
    Thanks,
    Dale

    Maybe I am not understanding your question, the simple answer is Call Types, one of the functions of Call Types is to obtain call counts through various paths in the script. You do want to be careful with where you place Call Types in your script, Call Types are used both for Call counts and Service Level calculations. 

  • The GR & IR lines unable to shown in report ,but it does has in PO history

    Hi,
    Tcode: y_d35_87000552 [GR/IR Report for Stock Valuation/BB6 Reporting (with summary listing)]
    parameter:
    company code: HC02
    GR date: 01.01.07 to till 30.09.07
    Issue: The line items captured in the reports was not the complete one as some of the purchasing lines have been excluded.
    When trying to drill down via tcode ME23N for one of the missing transaction in the said reports (PO#SMLMFO2002), noticed that the purchasing doc was having GR and IR process in the year of 2007 as shown in 'purchasing order history' tab and all have generated the MM & FI entries.
    Conclusion: The GR & IR lines unable to shown in report from Tcode: y_d35_87000552 but it does has GR & IR entries at PO level's view.
    Appreciate if you can assist urgently. Thank you.
    Regards;
    Tata

    check in MB5S trx

Maybe you are looking for

  • Latest update has now produced issue with Car Stereo

    I eventually got round to updating my iPhone 3g with latest software 4.2.1 this week and apart from the already reported issue of apps now lagging badly everything else seemed fine. That was until i connected my iPhone to my Alpine iDA-X305 head unit

  • Vendor Return for after INvoicing

    Hi Dear, We have one scenarion suppose we already did GR for 100 Q and also made quality inpection for all quantities now we have to return  20 quantites ,but we are unable to return delivery giving message IR already happened , if first we trying to

  • How to pass variable form javacript to java BackingBean

    Hello, I am trying to pass variable from Javascript method (which is written in jspx) page to a Java BakingBean. here is the Javascript code: <SCRIPT type="text/javascript"> function OnSave() { alert("The signature you have taken is the following dat

  • Spry menu works in Firefox and Safari, but not Internet Explorer 6, 7, or 8

    Our school website is doing a re design and in the adobebrowser test lab it looks great in all browsers except for IE 6, 7, & 8. Some of our faculty and staff are still running 7 or 8, so that's why I need to find a fix. For some reason it puts my la

  • When you press space bar AE plays the wrong comp ?

    I seem to have an issue with the spacebar in AE CC. When I press the spacebar the current comp is not play, rather AE switches to another comp and plays that one instead. This is an intermittent problem and the only way to fix it is to shutdown AE an