Employee Name in AR01 report

Dear Expert,
Please advise how to bring Employee Name field in AR01 report apart from Employee Personnel No.
Thanks,
Deb

Hi Debasish,
You can create an implementation in the form FILL_OUTTAB_LINE as follows:
ENHANCEMENT 1  Z_RABEST_ALV01.    "active version
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(7) Form FILL_OUTTAB_LINE, Start, Enhancement Z_RABEST_ALV01, Start                                                                                   A
data: l_nachn type pa0002-nachn,
       l_vorna type pa0002-vorna.
CLEAR: l_nachn, l_vorna.
SELECT SINGLE nachn vorna from pa0002
   into (l_nachn, l_vorna)
   WHERE pernr = anlav-pernr.
ASSIGN COMPONENT 'S4' OF STRUCTURE <itab_line> to <field>.
  <field> = l_nachn.
ASSIGN COMPONENT 'S5' OF STRUCTURE <itab_line> to <field>.
  <field> = l_vorna.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(8) Form FILL_OUTTAB_LINE, Start, Enhancement Z_RABEST_ALV01, End                                                                                     A
ENDENHANCEMENT.

Similar Messages

  • Sales Analysis by Item Group (Monthly) - To include Sales Employee Name

    Hi,
    I have added Sales Employee Name in the Sales Analysis by Item Group (Monthly) report by A/R Invoices. I have added this under Repetitve Area Header0. However, the sales employee name showed in the preview is different than the criteria entered.  It seems that the report only the first Sales Employee Name in the report.
    Anyone have any idea? Thanks in advance
    Regards,
    MH

    That is a good question.  You have to find out any unique relationships between your Sales Employee and your sales analysis data if there is. Hope the help below can assist you:
    Relate to
    This option is relevant for special scenarios only and requires knowledge of SQL.
    This field is used for retrieving data related to key records found in tables other than the table linked as default to the current print template.
    A key record is a field used as a primary key in a certain table. This key record functions as the identifier of the record, and, therefore, it is required to retrieve any additional data related to it.
    Following is an example:
    e.g.If you need to print the name of a certain bank, which is not linked to the table used in the current print template, you must first create a Text field of Database source type using the required table and select a key record, such as Bank Code.
    Then, you need to create an additional Text field of Database source type. Select the table again, select the required column (such as Bank Name), and enter the unique ID of the field with the key record in the Relate to field.
    There might be two or more key records in the same table. In such a case, these two key records are both required for retrieving the data.
    Identical bank codes are used in many countries. If you need to print the name of a specific bank, you need to link it to a relevant country, in addition to its relevant bank code.
    You are currently working on a print template for Incoming Payments. However, you need to retrieve data (such as the business partner's bank name) linked to the key record Bank Code from the Bill of Exchange for Payment table, rather than from the Incoming Payments table.
    In the Relate to field, select the unique ID of the field containing the required key record. In this example, this is a Text field of Database source type containing Bill of Exchange for Payment in the Table field and BP Bank Country in the Column field. The drop-down list contains the unique IDs of all the fields that are situated in the same area as the current field.
    This link makes the system retrieve the Bank Code linked to the BP Bank Country field found in the Bill of Exchange for Payment table.

  • How to show 'No Records Found' and 'Employee Name Unknown' in oracle report

    Hello,
    I'm using 6i and building a report to show employees who have incorrectly input their time. I have an input parameter so a user can select a specific employee by emp_id or can leave it empty to show all. That part works. I also have date parameters that are required. That works too. However I am having trouble displaying 'NO Records Found' if the date parameters have no late or rejected employee time records. I currently have it as a text field arranged behind the emp_name field which i filled white. It works...however i have a pretty good feeling there is a better way to do this. Also, I have some data that is null since i am using two tables. There are time stamps with no emp_name or emp_number. I still need to show these records but want them to show up as "Employee Name Unknown" that way the user doesnt get confused and thinks the emp_name in the row above also includes this row.
    select e.location "Clock Location",
    e.emp_no "Emp No",
    l.first_name ||' ' || last_name "Name",
    e.time_stamp "Time",
    from emp_time e, master_all l
    where e.emp_no (+) = l.emp_no
    and e.status = 'rejected'
    --and e.emp_no  = nvl (:p_emp_no, emp_no)
    --and e.time_stamp between :p_start_date and :p_end_date                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    So, when the join between emp_time and master_all produces no rows, you still want one row of output, saying 'No Records Found'; is that right?
    If so, you can outer-join the result set to dual, with some join condition that accepts anything.
    Use CASE (or equivalents) to get special values (like 'No Record Found' or 'Employee name unknown') when certain columns are NULL.
    For example:
    SELECT     j.location     AS "Clock Location"
    ,     j.emp_no     AS "Emp No"
    ,     CASE
              WHEN  j.name     IS NULL
              THEN  'No Records Found'
              ELSE  j.name
         END          AS "Name"
    ,     time_stamp     AS "Time"
    FROM     dual     d
    ,     (     -- Begin in-line view j, join of emp_time and master_all
              SELECT     e.location
              ,     e.emp_no
              ,     CASE
                       WHEN  l.first_name IS NULL
                       AND       last_name    IS NULL
                       THEN  'Employee name unknown'
                       ELSE  l.first_name || ' ' || last_name
                   END     AS name
              FROM      emp_time     e
              ,     master_all     l
              WHERE     e.emp_no (+)       = l.emp_no
              AND      e.status (+)       = 'rejected'
    --           AND     e.emp_no (+)        = NVL (:p_emp_no, emp_no)
    --           AND       e.time_stamp (+)  BETWEEN :p_start_date
                                             AND        :p_end_date
         ) j     -- End in-line view j, join of emp_time and master_all
    WHERE     d.dummy     != j.name (+)
    ;In an outer join, all conditions involiving the optional table need a + sign; otherwise, the effect is the same as an inner join.
    The message 'No Records Found' is a string, so it has to go in a string column.
    I put it in the "Name" column, just because I knew that "Name" was a string.
    You can put in in any other column if you wish. If that column is not already a string, then use TO_CHAR to make it a string.
    You could also have a column just for this message.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables, and also post the results you want from that data.
    DOUBLE U wrote:
    I've tried nvl in the select statement but since emp_name is a concatination of first and last name it doesnt work. This is what i have tried
    nvl(l.first_name|' '||l.last_name,'NO EMPLOYEE RECORD FOUND') "Employee",I assume you meant to have two | characters, not just one, after first_name.
    The first argument to NVL will never be NULL in that case; it will always contain at least a space, whether or not the other columns are NULL. You could say:
    NVL ( NULLIF ( l.first_name || ' ' || l.last_name
        , 'NO EMPLOYEE RECORD FOUND'
        )        "Employee",bujt I find it less confusing to use CASE, as shown above.

  • Display Employee Name linked in Item Master in Order Recommendation Report

    Dear Experts,
          My requirement is that the "Employee Name" linked in Item master have to be displayed next to the item in MRP Order Recommendation Report.
    I have created a header level UDF "Employee Name" in Item master and have selected an employee in this field. I have also created another UDF in Order Recommendation Report as "Internal Buyer" as a column. But the employee linked to the Item is not getting displayed in the Order Recommendation Report.
    FMS query used in "Internal Buyer" is
    SELECT T0.U_Employee FROM OITM T0 where T0.ItemCode=$[oitm.Itemcode]
    Regards,
    G.Shankar Ganesh

    Hi Shankar,
    Could you try with this query
    SELECT T1.[U_Employee ] FROM [dbo].[OITM]  T1 WHERE T1.[ItemCode] =$ ORCM.ItemCode
    Regards,
    Vijay kumar

  • XL Reporter - Sales Employee Name

    Has anyone else had issues getting Sales Employee Name to show up correctly on XLReporter from the default employee linked to a business partner?  We can get the Employee code to show up correctly but when adding the name it always displayes "no sales employee" even though there is one specified.

    You need select both codes and names. Code can be hidden. Have you tried that?
    Thanks,
    Gordon

  • Cycle Count Entries Form not showing specific employee name in "Counted By" LOV List

    Cycle Count Entries Form not showing specific employee name in "Counted By" LOV List.But the Employee is active . Is there any setup for this activity?

    Hi,
    This is because the query is excluding the current site you are trying to modify since it is actually in the report.
    You can include in your query:
    or site_id = :Pxx_SITE_ID
    Where Pxx_SITE_ID is the item holding the site_id value and xx is your page number.
    Thank you,
    Erick

  • Dynamic name for a report

    Hi,
    I have a report query that print the emplyee report
    I use BI publisher.
    The report query name attribute is : employee.
    This name is static, in other word for each employee i get the same name (employee.pdf).
    But i want that the name of the report will be dynamic.
    for example if i have to print the jhon report i get jhon.pdf
    for david i get david.pdf
    My question is: is it possible?
    If yes how can I do that
    Thanks,
    Abdo

    Hi,
    Assuming that your link is just part of the page somewhere, then you could create a hidden page item that has the desired name in it (typically populated by a computation or process that runs Before Header). You should then be able to use:
    f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=&P1_EMPLOYEENAME.Where P1_EMPLOYEENAME is the hidden page item name.
    Andy

  • Unable to get the employee name in performance Management

    Hi All,
    I am facing problem with Performance Management in My Employment. Unable to see the employee name in PM docs to approve by manager.But same user is able to see in Backend under manager who has to be approve..Please assist to go further. Is there anything need to be done from portal side.?
    Thanks & Regards,
    Kumar. V.

    Hello Sainth,
    In Webi Prompts..you can see the "Key icon" click on that icon..it will show both text and key..it will helps you to run the report based on the Key..
    Regards,
    Naveen D

  • Getting the variant name when the report program is run in background

    Hi All,
    How to get the variant name for the report program when run in background? My requirement is to create an email attachement with the name 'variant.XLS', where variant = selection screen variant, when the report program is run in background. The system field SY-SLSET holds the variant name only when run online.
    Any pointers to this will be highly appreciated.
    Thanks and regards,
    Nilesh.

    Hello Nilesh,
    Please find the algo:
    1. Call the FM: GET_JOB_RUNTIME_INFO to get the background job details.
    2. Select data from TBTCP using these details:
    DATA:
    FP_EVENTID   TYPE BTCEVENTID
    FP_EVTPARM   TYPE BTCEVTPARM
    FP_ACTIVE    TYPE BTCXPGFLAG
    FP_JOBCNT    TYPE BTCJOBCNT
    FP_JOBNM     TYPE BTCJOB
    FP_STEPCNT   TYPE BTCSTEPCNT.
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
        IMPORTING
          EVENTID                 = FP_EVENTID
          EVENTPARM               = FP_EVTPARM
          EXTERNAL_PROGRAM_ACTIVE = FP_ACTIVE
          JOBCOUNT                = FP_JOBCNT
          JOBNAME                 = FP_JOBNM
          STEPCOUNT               = FP_STEPCNT
        EXCEPTIONS
          NO_RUNTIME_INFO         = 1
          OTHERS                  = 2.
      IF SY-SUBRC <> 0.
    *   Error calling FM: GET_JOB_RUNTIME_INFO
      ENDIF.
    DATA: FP_VARIANT TYPE BTCVARIANT.
      SELECT JOBNAME JOBCOUNT STEPCOUNT VARIANT
      FROM   TBTCP
      INTO TABLE L_IT_TBTCP
      WHERE  JOBNAME   = FP_JOBNM
      AND    JOBCOUNT  = FP_JOBCNT
      AND    STEPCOUNT = FP_STEPCNT.
      IF SY-SUBRC = 0.
        SORT L_IT_TBTCP BY JOBNM JOBCNT STEPCNT.
        READ TABLE L_IT_TBTCP INTO L_WA_TBTCP INDEX 1.
        IF SY-SUBRC = 0.
          FP_VARIANT = L_WA_TBTCP-VARIANT.
        ENDIF.
      ENDIF.
    Hope this helps.
    BR,
    Suhas

  • How to show employee names in descending order but 3rd row is fixed and always top on the table ?

    how to show employee names in descending order but 3rd row is fixed and always top on the table ?
    for example employee names is A,B,C, D, E
    and output is     C,E,D,B,A

    Since you are posting in the design forum, the short answer is - you don't.  Rows in a table have no inherent order that you can rely on and the "position" of rows is a visual characteristic that should be implemented by the application that displays
    this information or by the query that is used to generate the resultset.  
    So the next question is how one accomplishes this particular order within a select statement.  That is a tsql question which, for future reference, is best posted to the tsql forum.  In addition, many of the questions or issues that you will face
    have been discussed in the forums - often many, many times.  The first thing you should do when faced with an issue is to simply search the forums and leverage the the knowledge that has already been discussed.  In doing so you are quite likely to
    see suggestions or related issues that you should consider in your search for a solution.  
    Now, to answer the question - you need to formulate a order by clause that forces the rows to be sorted in the manner you desire.  Effectively you have 2 levels of sorting.  The first level divides your rows into 2 groups.  Group 1 consists
    of rows where name = E and Group 2 is everything else.  Following that you then need to sort the rows in each group by name in descending order.  Something like:  
    order by case name when E then 1 else 2 end, name desc

  • How do I find out what the name of the reports server  is?

    Hi Everyone,
    I am connecting to a remote machine using gotomypc.com and have started up Reports Builder 10g. I know very little about installation of Oracle on this machine. Just enough to log into Oracle 10g and run tools like the Report Builder, TOAD, etc. When I run a report from the Report Builder I get a web browser with a blank report. It works when I run a paper report. I am guessing that the Reports Server is not running or not configured properly.
    Can you tell me how to find out what the name of this Reports Server is and/or how to start it up?
    Thanks.
    Emad

    I realize this is old, but... You can find out your servers name by looking at the $ORACLE_HOME\reports\conf\rwservlet.properties file. It has a entry for SERVER. Should also have a corresponding conf file after starting up OC4J and activating the server for developer installs.
    Next, you can also run rwdiag. It will show you all report servers available to your installation. This is interesting when Multicast is used by Reports (10g). Ran into issues with servers named the same not on the hardware I was expecting.... ;)
    Good luck.
    BradW

  • How to avoid  save same employee name under same company name

    hi,
    i am doing flex4 web application with mxml tags,
    i am having one text box and one datagrid and one save button. text box having one company name, data grid having employee names.
    when i click save button which is placed in outside the datagrid it will save all the details.
    Now my requirement is text box having the same company name and when i enter same employee name in datagrid and click save button means it wont
    allow to save that record, and through msg box with some alerts.
    How to do this,
    Any suggession or snippet code are welcome
    Thanks ,
    B.venkatesan

    hi raghs,
    i want to add records in cloud.bt while adding the records if we enter existing record details and try to save again na it wont allow to that record.
    that time the alert box  should show this msg "This record is already existing record in cloud database.
    ex: one company name called mobile. i am adding a employee name called raja now i save this record,its data saved in     cloud DTO
      again try to add same employee name raja under the same compny means it should through error.
    I am give my code here please if any suggession tel.
    CODE:
    private function saveRecord():void
                refreshRecords();
                model.employeeDetailsReq=new EMPLOYEEDETAILS_DTO();
                    var lengthindex:uint=model.employeeDetailsReqRecordsList.length;
                    var i:int;
                    for (i = 0; i < lengthindex; i++)
                    if((model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employ ee name==customerdet.selectedItem.employeename)&&
                         (model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employeeN  umber==customerdet.selectedItem.employeeID)){
                        Alert.show("you cannot Add Same CustomerName and Invoiceno again");
    (when this line come the error through like this: Index '8' specified is out of bounds.
    else
    var dp:Object=employeedet.dataProvider;            
    var cursor:IViewCursor=dp.createCursor();
    var employeename:String = employeename.text;
             model.employeeDetailsReq.employename = employeename;
    model.employeeDetailsReq.employeeNumber=cursor.current.employeeID;
    var sendRecordToLocID:QuickBaseEventStoreRecord = new
                        QuickBaseEventStoreRecord(model.employeeDetailsReq, new
                            KingussieEventCallBack(refreshList))
                    sendRecordToLocID.dispatch();
    <mx:Button  id="btnAdd" x="33" y="419" enabled="false" label="Add" width="65"  fontFamily="Georgia" fontSize="12" click="saveRecord()"/>
    employeename and employeeID are datafields of datagrid. datagrid id=customerdet
    employeeDetailsReqRecordsList---recordlist of save records
    Thanks,
    B.venkatesan

  • Table name changed in Reports 3.0

    My DBA asked me to change the table name from SA_AWARDS to SAFETY_AWARDS.
    I had already developed a report using table name SA_AWARDS.
    When I change the table name in my report to SAFETY_AWARDS, I get compilation errors.
    How can I fix it ?
    Thanks.
    Suresh

    Hi
    As i understand your problem , you have changed the table name in the query wizard and then tried to compile and it is giving errors ....
    well anytime you modify the sql (even add a space) the column names are renamed ... ie if you originaly had column Customer_name it would be renamed as customer_name1 ....
    now if in the original report you are using the columns for any computation etc it will not find the old column and will give compilaiton errors .... one way is to change the column names back to original names ... or better modify the sql once more by adding space and you will get back the original names most of the times .....
    the best way to avoid this is give alias name in the sql first time around , so it dosnt create problems ....
    once you take care of this i think your problem should be solved .....
    if not do let me know in more detail
    bye
    sudhir

  • Define Logical Systems and Template Names for BW Reports

    Hi experts
    I would like to know if someone used the mentioned functionality 'Define Logical Systems and Template Names for BW Reports, I would like to know too IF I create a Z REPORT for example in webdynpro and insert it in this configuration it will work and where it will appear in sourcing cockpit?
    sds.
    Javier

    Hello Muthu,
    BW reports will be shown in SRM Box if the corresponding BW roles for SRM are integrated with SRM roles.
    You might to activate the corresponding datasource of this in SRM.
    And since you have to connect the source system to BW, I think you have to define SRM system as logical system in BW.
    Regards,
    Pavan

  • Asset transfer in AR01 report

    When making a inter company transfer, i can see the asset in the transferring company deactivated and the asset in the transferred to company  created.
    IN our client this new asset is created with an asset value date of 01/01/2009. and this transfer is done in April 31/2009
    The problem is it is not displayed in the asset balances report when pulled up during the month of 31/2009/March.(run for the new company
    Nor the old company because it is deactivated there. So this is missed in the AR01 report if run for the months jan to mar both in the transferred as w
    Even though the asset value date is  01/01/2009, i think it goes by the posting date. Can anyone clarify is this how it works? Am I missing any settings in the asset balances report.

    Siva,
    Please check your settings for valua date determination via the below path.
    SPRO->IMG->FA->AA->TRANSACTIONS->Specify How Default Asset Value Date is Determined..
    Here check standard variant SAP_DEFAULT for business transaction inter compamny transfer.
    Maintain the primary rule and secondary rule according to your requirement.
    Thanks,
    Srinu

Maybe you are looking for

  • How to mass print a report with multiple queries?

    Dear All, i want to precalclate a report (which includes 4 queries) to pdf for printing. Because i have to print it for all profitcenter (~200), i want to use the filter navigation. Because this isn't possible for reports, i inserted my report using

  • Problem with NVidia Quadro FX 4000 on MSI K8T Master2-Far

    Hello everyone, I am new to the forums here.  I cannot figure out what is causing my problem. I have been having performance issues with my new Quadro FX 4000 on my system.  I have been in communication with Nvidia tech support for a while now.  Here

  • Best Way to Export Single Tracks in Audition

    Hello, What is the best way to export one single track (stereo or 5.1) from a multiple track mix in the Multitrack Editor if I want to make it mono? Is it by just muting the tracks I don´t want in the final mixdown and then selecting a mono Master in

  • Website Not loading properly when CDN is used(only in firefox) ?!

    I am designing a joomla 2.5 based website www.entrancesuccess.net which is using MAX CDN .This Website is built in HTML5 & CSS3 When i used CDN: The website loads horribly. All the text formatting is lost. When CDN is off: Everything is fine All othe

  • How can i increase the length of material description

    hi my client wants to increase the length of material description (MAKT Table) form 40 cha how can it possible to increse the description plz guide me K.Raghuram