Calculation of number of training programmes attended

Hi experts,
   Can anybody explain me how to calculate number of training programmes attended for the given employee. Also let me to know is there any function modules to execute the earlier.
useful replies will be rewarded.
Regards,
Sankar.

Hi,
I am not sure how you are maintaining these entries in a table. But there are 2 possibilities.
Scenario 1.
If the table consists of
EMPID       COURSE_NAME      No.Of. Trainings(NOTrg)
001            ABAP                      5
002            OOPs                      3
001            OOPs                      3.
In this case you can use COLLECT.
Here is a simple example
====
DATA: BEGIN OF training,
        empid   TYPE emp-empid,
        NOTrg TYPE emp-NOTrg,
      END OF training.
DATA training_attended LIKE HASHED TABLE OF training
               WITH UNIQUE KEY empid.
SELECT empid NOTrg
       FROM emp
       INTO training WHERE empid = 001.
  COLLECT training INTO training_attended.
ENDSELECT.
====
Scenario 2.
If table consists of each training as a apecific line
EMPID       COURSE_NAME     
001            ABAP 
002            OOPs
001            OOPs
In this case you can do the following
Select count(*) from emp into wa where empid = 001.
I hope this answers your query.
Regards,
Saurabh

Similar Messages

  • Problem in booking training programme in ESS

    When an employee tries to book a Training programme and requests for attendance it is giving an error as "You have no authorization for the function or the object" in ESS & R/3.  I am using the ITS service PV7I.
    Request to help in this issue.
    SB

    Thank you Barin,
    I had done SU53 before. It shows that authorisation values are ok. I have found a note 575812 which is 100% identical to my issue but it is for 4.7.
    I think the issue is with workflows.  I will try with my WF consultant.
    Shrikant Basarkar

  • A Postscript Professional Trainer is Required From India - Training Programme

    A Postscript Professional Trainer is Required From India - Training Programme
    Hi Friends,
    We are in real need of a Postscript Professional Trainer from INDIA, who could train the team on "Postscript".PLEASE respond me, if anyone knows any good trainer from INDIA, we require some additional details for contact.
    You can respond to the following mail id also:
    [email protected]
    Thanks You.
    Regards,
    Navaneeth Sivappan
    Programmer
    Kumaran Systems
    Tidel Park,Chennai
    Tamil Nadu
    India

    please i would like to know whether there is a training and certification (OCP) for Oracle Application Server 10g (IAS) available at IIIT hyderabad.
    i am a DBA 9i OCP holder and i desire to register for 10g IAS certification track.
    if any institute offers such course please let me know
    Mr. KOnan

  • The quiz is not correctly calculating the number of quiz items in the published version

    The quiz is not correctly calculating the number of quiz items in the published version
    I created 20 quiz questions, but the output say there are 255.  The slides between do not have quizzing enabled.

    I have a similiar problem. However, I am tracking user activity through tracking "next" buttons. Each button (and other interactions) has a objective ID and interaction id. The objective id is the same throughout the course; however each interaction and quiz item have different interaction ids. The total quiz items is shown as 54 and the first question is shown as question 50 or 54.
    The course will be published to Blackboard as the LMS; I am using SCORM 1.2
    The following settings are needed to track the user activity throughout the course, specifically the "next" buttons:
    1. include in quiz
    2. report answers
    The  answers to the problem of total quiz items not matching the actual number of questions has you turn off the include in quiz for interactions. How is this problem resolved when you want these interactions included with the information passed through SCORM to the LMS?

  • Call forward to external number which has auto attendant

    Hi 
    I am a voice administrator in my company
    I want to forward all of my calls to my Other location's number.
    Other location has only POTS line and to reach my extension user needs to go through Auto attendant menu.
    Is it possible to enter a digit pattern in call forward destination in CUCM so that it can take care of Auto attendant menu of my Other location and land on my number?
    We have CUCM 8 running.
    Please help!!
    Ashwin

    Hello Ashwin,
    "Other location has only POTS line and to reach my extension user needs to go through Auto attendant menu."
    What type of phone system and voice mail is providing the auto attendant?
    How are the POTS lines(analog only correct?) terminated into the phone system?

  • JLabel - calculating the number of lines in HTML wrapped text

    Hi folks,
    I've run into a problem. I have a JTable with row and column headers embedded within a JScrollPane. I have this component sized just how I like it. What I want to do is add a label above it serving as a title to the chart. I want this title to respect the width of the table - in other words, if the text within it is too long, I want it to wrap rather than to enlarge the size of the Table to fit it.
    I found that wrapping the title in "<html><center></center></html>" tags takes care of the wrapping. And furthermore I found code to handle the "dimension" of said label.
         * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4348815
        class WrappableJLabel extends JLabel {
               private final int preferredWidth;
               public WrappableJLabel(final int preferredWidth)
                  this.preferredWidth=preferredWidth;
               @Override
               public Dimension getPreferredSize()
                  Dimension superPreferred=super.getPreferredSize();
                  return new Dimension
                      (int) Math.min(preferredWidth,superPreferred.getWidth()),
                      (int) superPreferred.getHeight()
        }The problem is that the height does not get calculated correctly for the label. If I knew how many lines the JLabel's text took up, then I could multiply the height returned by the getPreferredSize() method by that number and get the correct size. I need to do all of this at compile time (so calling getHeight() on label doesn't help) so that I can size the JPanel holding both my table and my label to be of the correct size.
    Does anyone have any clues on how to do this?
    Thank you

    Maybe you need to calculate it yourself. The Java Developers Almanac 1.4 contains an general example:
    [http://www.exampledepot.com/egs/java.awt/TextDim.html|http://www.exampledepot.com/egs/java.awt/TextDim.html]
    You can obtain the font with the getFont() method on any component.

  • Training Book Attendance issue

    Dear all,
          As we know in training the end user should not have authorization for booking attendance directly, he should be able to request the attendance then his immediate supervisor will approve then only he will be booked for that training. We have removed the authorization of the user from tha backend for not allowing him to book his attendance but to request for training.
    As per the link http://help.sap.com/erp2005_ehp_03/helpdata/EN/44/2bc9367a23fb68e10000009b38f889/frameset.htm
    my HR functional has done the backend training config. in the end user EP screen when the user clicks on request attendance button he is getting an error "You do not have authorization for function or object".
    This is a big bottle neck for me till now.
    Thanks and regards,
    --VP.

    Issue resolved.
    In PFTC go to the desired training workflow.
    In triggering event tab activate the standard event by default it is deactivated
    Thanks all

  • Cannot summarize my calculated field(number)

    Post Author: bwebb
    CA Forum: Formula
    I am using Crystal Reports XI  version 11.5.3.417
    My calculated field formula is:
    IIF({bw_spread.fy_period}=totext(dateadd("m",3,{@max_data_date}),"yyyy.MM"),{bw_spread.actual_cost},0)
    bw_spread.fy_period (string) and typical data = 2008.04
    @max_data_date (datetime) and gets 3 months added, then turned into text in the same format as fy_period
    bw_spread.actual_cost(number)
    It takes a text field that has the Fiscal Period and compares it to the a Date that has been re-formatted as text, then returns the actual cost if they are equal else zero.
    The formula works and returns a number and shows up nicely in the report.  The problem is, that I cannot SUM this field in the group footers.

    Post Author: V361
    CA Forum: Formula
    This may not directly apply to your situation,  but here is something I found.
    Create 3 formulas as below ;
    Formula 1 :- RunningTotalName
    WhilePrintingRecords;
    CurrencyVar Amount;
    Amount := Amount + {Customer.Last Year's Sales}
    Place the above formula on the details section . and suppress this
    formula if u dont want to display .
    Formula2 :- Display
    WhilePrintingRecords;
    CurrencyVar Amount
    Place this formula on PageFooter Section
    formula3 :- AmountToReset
    WhilePrintingRecords;
    CurrencyVar Amount := 0;
    place this formula on PageHeader section and suppress the same.

  • # of Decimals in a Calculated HFM number - Won't go out to 4 digits!!!

    Help! I am trying to calculate an account in HFM and have it go out 4 digits. Aggrevating, it's only calculating out 2 decimal places!!! I've already set the calculated account's metadata property to 4 decimal places....My calculation is VERY simple. What am I doing wrong...
    Sub Metrics()
    Tops = ".I#[ICP Top].C1#TOTC1.C2#TOTC2.C3#TOTC3.C4#TOTC4"
         If HS.Entity.Member = "SR001" Then     
              HS.Exp "A#BASIC_EPS_YTD = A#NetIncome.W#YTD" & Tops & " / A#BASIC_SHRS_YTD"
         End If
    End Sub

    Try utilizing this Round/NoRound function in your rules:
    HS.NoRound Function (turns off rounding for the account)
    HS.Exp "A#BASIC_EPS_YTDNoRound" = " A#BASIC_EPS_YTD "
    Or:
    HS.Round Function 0.0001 (rounds to the ten thousandths)
    HS.Exp " A#BASIC_EPS_YTDRound " = " A#BASIC_EPS_YTD "

  • Calculation of number of Days?

    Hi Experts,
    i have two key figures one is calulate the number of day and the other is calulate the total number of stocks.
    So now my requirment is the user want to see the data like this,in report level.
    for Exp:
    if Number of days in between   10 -60 total stock is 100
    if Number of days in between    70- 80 total stock is 200
    if Number of days in between    81-130 total stock is 500.l  ike this.
    so how can i achieve this in query designer as i am using BI(7.0)?
    Regards,
    sat

    Hi ,
    Before posting a thread please provide the minimum info so that you can get the exact reply for your post.
    What are the data fileds that you have in your target to calculate the no of days?
    What is the source and IC on which you want to design the report?
    If u have any smaple data how you want the report to be? etc....
    If you have the date fields in your info provider then create 2 formula variable of type replacement path on both the date fileds.
    create a formula where use these two formula variables to get the difference of days.
    after that create one more formula and use
    ((diff of days>=10)AND(diff ofdays<=60)*Kf) will give you the stock value during that bucket.
    For more info plz refer to the below link which explains about the bucketing scenario.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30f15839-0cf1-2b10-c6a7-ebe68cc87cdc?quicklink=index&overridelayout=true
    Regards
    KP

  • Calculating a Number in a Cross-Tab

    Not sure the best way to explain this one, but I was helped to create a cross-tab that used an array to calculate the number of incentives and summarize the result in a cross-tab.  Now I'm looking to take this number and multiple it by another column in a table {UnitCost} to calculate the total value of the incentives used for the report.
    The previous issue was here:
    Problems with running totals
    For instance, if the units costs are as follows:
    Double Fandango = 10
    Fandango = 5
    Gift Card $10 = 10
    Movie Ticket = 5
    I would like to cross tab to look like the attached picture.  Would this be possible?
    The array formula is:
    whileprintingrecords;
    stringvar d:= {OBI_EquipmentMaster.Description};
    numbervar p:= {DriveProjectionAndCollectedTotals.ProcedureProjection};
    numbervar pe:= {DriveProjectionAndCollectedTotals.ProceduresPerformed};
    stringvar array ad;
    numbervar array ap;
    numbervar array ape;
    numbervar c2:= 1;
    numbervar n:=0;
    // check to see if the description has been added to the string array
    // if not, add it plus add the initial projection value to the number arrays
    if not (d in ad) then
            numbervar c:= c + 1;
            redim preserve ad[c]; ad[c]:= d;
            redim preserve ap[c]; ap[c]:= p;
            redim preserve ape[c]; ape[c]:= pe;
    else
    // if the description is already in the array, find its position
    // then add the new projection as a running total to the appropriate number array values
        while c2 <= count(ad) do
                if d = ad[c2] then (n := c2; exit while);
                c2 := c2 + 1
        ap[n]:= ap[n] + p;
        ape[n]:= ape[n] + pe;
    // grand running totals
    numbervar gp:= gp + p;
    numbervar gpe:= gpe + pe;
    I thought it would be a start creating a new number variable:
    numbervar i:= {OBI_EquipmentMaster.UnitCost}
    But I'm not sure I understand the rest of the formula nor how to insert a new column in the cross-tab.  Any suggestions on how to proceed?
    Thanks,

    hi Trey,
    since you're using the Display String in your first summary you need to assign the displayed value to a variable. i.e. change the Display String formula to
    whileprintingrecords;
    stringvar t:= GridRowColumnValue ("rpt_EquipmentMaster.Description");
    stringvar array ad;
    numbervar array ap;
    numbervar c3:= 1;
    numbervar n2;
    while c3 <= count(ad) do
            if t = ad[c3] then (n2 := c3; exit while);
            c3 := c3 + 1
    numbervar apn:= ap[n2];
    totext(apn,0)
    once that is done, you now have a variable (apn) that is available on the row level for your summaries.
    once you've added the unit cost field as a Maximum type summary to your cross-tab as the second summary, right click on that summary and go to the display string for unit cost maximum. enter in this syntax:
    whileprintingrecords;
    numbervar apn;
    numbervar apnrt:= apnrt + apn*currentfieldvalue;
    totext(currentfieldvalue * apn,0)
    note that you're referencing the variable apn which is used in the output of the previous summary. also note that you're creating another running total named apnrt which runs in the background of the cross-tab. you'll need this running total for the grand total in the cross-tab.
    now right click on the grand total for the maximum unit cost summary and go to the display string for this value. enter in this syntax.
    whileprintingrecords;
    numbervar apnrt;
    totext(apnrt, 0)

  • Calculating the number of days based on transaction in Query

    Hi friends,
    I would be greatful if u can help me out. I have got a situtation where in i need to take the day when the transaction has occured otherwise i dont need to take that day. For example if one transaction occurs on 1st , i need to take that day and if the transaction dosent occur then i need to ignore it. If there is one transaction or multiple transactions i need to take the day only once.
    Like transaction has happened on 1st Jan so it will be considered,
    on 2nd the transaction dosent happen so i need to ignore it
      on 3rd there is a transaction so its taken.
    So its like 1st - 1
                   2nd - 0
                   3rd - 1
    So total will be 2.
    Transactions are being taken from a cube. Kindly let me know as to how to do this in query.
    Thanks,
    Kapil

    PLease give us some more inputs.. requirement is not clear.
    Do u have 0calday in ur Cube?
    Khaja

  • Training & Events Management

    Hi all,
    We have implemented Training & Events Management & ESS.  The employees can book their attendance through ESS.  Now the user wants that the Training Calender should be viewable according to Employee subgroup.
    Eg : Employee A belongs to Top Management employee group then he should be able to view all training programme and if Employee B belongs to General staff employee then he should be able to view only training programmes related to him.
    Where can we configre this in T & E Mgt. that this Training programme is valid for this Employee subgroup.
    Thanks & Regards,
    SB

    Hi,
    In the ESS, all the Employees in the Organisation are able to view all the list of Training Programs that are going to occur.In standard SAP there is no provision in SPRO to restrict the user to view the Training programs based on ESG.
    The display of the Training Programs in ESS as per ESG cannot be controlled.
    However we can restrict the Booking & Pre-booking of the Business Event & Business Event Types by making custom tables specifying which ESG are eligible for which Business Event & Business Event Types.
    These Custom Tables will be referred before the execution of Booking/Pre-booking Badii.
    Warm regards,
    Abhijeet

  • The Advantages of Official Microsoft and Cisco Certification Training Courses

    Lots of professionals in design and networking management channels are desirous to obtain various recognized Microsoft certifications like MCSE (Microsoft Certified System Engineer) and MCSA (Microsoft Certified System Administrator). These Testking
    642-446 certifications can shift you from average low rewarding jobs as a programmer towards prosperous and lucrative career. People are crazy today to do anything to obtain such certifications. They invest their time, money, and energy toward achieving
    their goal certifications.
    But beware of internet scammers who commonly lure people into buying various second-hand tutorials and self-study oriented training programs, promising great results with Testking SY0-201 minimal efforts. However at the same time lots of reliable and solid
    web sites are available also, providing comprehensive, well structured, and elaborate study material. It definitely facilitates your process of learning and guaranteeing success.
    It is very important to distinguish a difference between an average and a reliable website. Take time out of your busy schedule and focus on your study course. It is better if you attend a short classroom Testking 640-863 training course instead of using
    self-study oriented programs. If you search online you will come across various websites providing advanced MCSE and MCSA accelerated training courses, seminaries, laboratories, taught by experienced, well educated experts. That is why these classes are better
    than self study programs because they involve better comprehension and learning, more participation, stimulating students' thinking and enhancing their overall skills and knowledge. If a person attends 14 days training course of MCSE or MCSA then he is capable
    enough to formulate a solution in design and Testking VCP-410 network management issue with the help of well-trained professionals. In fact these training classes make the candidate capable of all practical abilities that help him in future career. Training
    program of MCSE or MCSA guarantee graduates acceptance in the best multinational companies of the world!
    Apart from MCSE and MCSA, Cisco certified Network Associate CCNA and Cisco Certified Internetwork Expert certification CCIE are highly demanded in present era. There are various training institutions providing a comprehensive and elaborate training to
    the candidates. These training centers quickly familiarize the students with latest Cisco technologies and hardware. During CCNA and CCIE training sessions , attending students receive constant support and feed-back from well-trained, experienced and certified
    professionals. The instructors here focus not only on theory but at forming and enhancing Testking 642-481 students' practical skills on various aspects of Cisco technologies and hardware. Thousands of graduates recommend professional CCNA and CCIE
    training courses to people who wish to build a solid, strong, successful career in the IT field.
    At the end I would like to recommend Testking MCSE training,Testking CCNA practice test, Testking CCIE training for gaining best guidance for the exams.

    MCSE (Certified Systems Engineer
    for Microsoft) and MCSA
    (Microsoft Certified System
    Administrator). These globally recognized
    certifications are highly desirable because they can
    easily make the difference between a thriving career
    in the lucrative design and average
    low rewarding job as a programmer. (Cisco
    Certified Network Associate) and CCIE
    (Cisco Certified Internetwork Expert)
    certifications are also in demand today.
    There are several training centers that offer people
    the opportunity to participate in the development of
    training programs for CCNA and CCIE
    in exchange for a reasonable sum of money.
    When attending a CCNA five or
    six days and the CCIE training course, students can
    quickly become familiar with the latest technologies and
    Cisco hardware.For more info about this exam Latest Dumps PDF Exam Question visit Examcollectionvce.com

  • Training & Event Management - Business event appraisal

    Dear all,
    Wish you all a very Happy new year.
    I hve two questions.
    1. For e.g. there is one trainer who has conducted many training program in an org and business event appraisal has been performed where there is criteria to capture instructor information. Then how I can get a report for that trainer only. There is one selection criteria in the report of business event appraisal where I can select the instructor(appraisee) id. But it is not working.
    2. When there are more than one instructor in one business event, then how attendee appraisal and business event appraisal are done?
    3. In training & event mgt is it possible to perform periodic appraisal?
    Thanks,
    Have a happy weekend.
    Daniel

    Hi Daniel,
    There is no SAP standard report on Trainer wise attendance history for this purpose you have to define the Adhoc query.
    When there are more than one instructor in one business event it is a tough scenario to have attendee appraisal .
    In TEM it is possible to have periodic Appraisals.
    Warm Regards,
    Kapil Kaushal

Maybe you are looking for