Finding Persons having bookings for a particular Course

Hi Experts,
I am working on LSO module.
I have req to find out the person' s name  (PERNRs) having bookings for a particular Course Id .
I know this can be done with select query from HRP1001 and Pa0002 table but, i need to avoid these select queries.
Is there any FM to do this ?
Thanks.

Hi mukul
Use this FM LSO_CP_COURSETYPE_GET and go to se80 check this FG LSO_COURSE_PROGRAM
Regards
vijay

Similar Messages

  • Why does Itunes say it can't find the original file for a particular song?

    why does Itunes say it can't find the original file for a particular song? and then asks if I want to locate it? I can't access a bunch of old song files. any new cds are available to me in itunes. all others are not accessible. how do i merge the new cd's with the old ones so that all the songs are playable in Itunes. thanks.

    sheri 0713 wrote:
    Of course, I have backed up to CD and/or external drive.
    I'm wondering if you're attempting to maintain your library on your external HDD? If iTunes has been directed to use a location on your external hard drive as your iTunes Music Folder location (you can check this in iTunes > Preferences > Advanced tab) you MUST ensure that the hard drive is connected to the computer and mounted in the Finder prior to launching iTunes. If it isn't, it can cause this error to appear. This is probably one of the most common reasons this error begins to appear.
    It seemed my purchased songs were the first to DISAPPEAR and I had to rebuy.(Nice scam in the bug?)
    So... why not restore them from your backup? If, for some reason, this wasn't an option, you could have also recovered them from any iPod or iPhone they were currently synced to (http://support.apple.com/kb/HT1848), or, you can also email iTunes Store support and request a "regrant," which is a once-per-account exception they might be able to offer you and allow you to download missing purchases again.
    I am now convinced this a HUGE BUG in 7.7.1. and possibly the previous version or two.
    I'm not so sure... I've never run across this particular error (my library is stored on my internal hard drive, but copied to an external for backup purposes with an application other than iTunes or Finder. I don't think Apple will provide acknowledgment to issues experienced only by very small numbers of people... I'm one of those, perhaps foolish, individuals who allows my computer to download updates immediately, rather than waiting for fear of problems, and again, I've never had this error.
    CG

  • To find the User Exits for a particular Transaction.

    hi,
        I want to find the number of User Exits for a The Transaction MM01 or MM02,
        I serched in the forums but could not find satisfactory ans,
        I tried with:
                 T.Code-> System>Status->Prog Name>SE38>find Call Customer-Exit.
        But its not helping me,
        Please help me.
    Thanks and Regards
    Suraj S Nair.

    hi ,
    if you are new to user exist use --> follw the below methos to find the user exit for a particular transaction or t-code
    create one custom pgm in se38 and execute >selection screenenter t-code and execute it will return all the user exists for a specific transaction..
    Finding the user-exits of a SAP transaction code
    * Finding the user-exits of a SAP transaction code
    * Enter the transaction code in which you are looking for the user-exit
    * and it will list you the list of user-exits in the transaction code.
    * Also a drill down is possible which will help you to branch to SMOD.
    * Written by : SAP Basis, ABAP Programming and Other IMG Stuff
    *              http://www.sap-img.com
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    *---End of Program
    Regards,
    Prabhudas

  • Find the sequence name for a particular table

    Hi,
    Please give query to find the sequence name for a particular table in oracle.
    Thanks

    I mean getting List of Sequence names defined in DB.
    I got the answers
    select *from user_sequences                                                                                                                                                                                                               

  • How to find the customer exits for a particular transaction

    hi
    how to find the customer exits for a particular transaction

    Hi jyothsna vankadari ,
    ther is a convenient way to find all BADIS called. You may know that BADIS are the newer version of EXITs.
    I would suggest you to go for BADI.
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    Regards,
    Clemens

  • How can i find the exact BADI For a Particular Transaction

    hi ppl,
    How can i find the exact BADI For a Particular Transaction. Is there any Standard transaction or Programs to do this or suggest some other way.

    Use this code:
    *& Report  ZGET_BADI
    REPORT  ZGET_BADI.
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    *Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    *Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    *For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    Regards
    Vinayak

  • Find condition type (kschl) for a particular material document no (mblnr)

    hiiiiii
    How to find condition type (kschl) for a particular material document no (mblnr).

    Hello,
    <b>Check the table A017 and KONV.</b>
    Vasanth

  • How to find the transaction code for the particular program or include

    Dear All,
    Please help me on this queary.
    1) How to find what is the transaction assigned for the particular Report
    2) How to find the particular include is used in which programs and also transaction codes
    I have one ZProgram that contains only includes no selection screen, I have to find where this program is used, in that one include is ther I would like to know in which program and in which transaction that is used,
    They have given ME9F, ME21N/22n, wheren this includle is calling.
    Please kinely help on this.
    Thanks and Regards,
    Muralikrishna

    HI
    1. you can find the transaction for your report by opening in se80. On the left side window it will show the transaction if there is any.
    2. to find in which programs particular inclue is called , just open include in se38 and press where used list icon. in the pop up window select programs.
    regards
    vijay
    reward points if helpful

  • How to find the number views for a particular DB Table

    Hi Friends,
       I would like to know the number of views(all) exists for a particular Data Base Table like MARA, MARC etc.,
    Thanks in advance.
    BaLu

    Hi Balaji,
    check this below link may be helpful for u
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ecab446011d189700000e8322d00/content.htm
    If u find it useful plz mark the points
    Regards,
    Naveen

  • Where can i find the Datewise stock for a particular material

    Hello friends,
    In which table i can find the stock of a particular material on particular date?.MARD, MCHB these all tables gives the current stock of material.But i want to find the stock of material on particular date.In Report MB5B and MC.9 we can find the stock on particular date but is there any table from where these reports fetch the data?
    Thanking you guys in advance.

    Dear Jitendra,
    Check once again in this thread whether are you able to find out some help.
    But I'm sure MB5B is not getting the info from a single table,it's getting the information from info
    structures and few tables.
    table to see stock on particular date
    Regards
    Mangalraj.S

  • How to find out the accounts for a particular IBUs?

    Hi,
    I want to find out accounts for particular accounts.
    Regards,
    Jaya

    Hi,
    If you know the sales order numbers then u need to go VBAK table and take VDATU(requested delivery date) for the 2 sales order and find out the difference between these 2 dates by using the function modules.
    -Prasanth

  • How to find data base tables for a particular  trancation code

    Dear All,
    Is there any T.code for finding data base tables used in  a particular transaction code(Eg.: MM01).
    Regards,
    Satyapalli

    Hello Satya
    There is a very useful function module available for your requirement:
    <b>RS_PROGRAM_TABLES</b>
    Call this function module using:
    OBJECT_TYPE  = 'TRAN'       " transaction
    OBJECT_NAME = 'VA01'
    " PROGRAM  -> not required
    MONITOR_ACTIVATE = 'X'
    The function module will list you all DB tables touched by the transaction and shows whether they are read or updated (unfortunately, on ECC 5.0 this seems to be no longer the case. All tables are displayed as READ).
    Regards
      Uwe

  • Finding Work Item IDs for a particular Container Value

    Hi All,
    I am trying to find a workflow that ran on 9/3/09.  What is easiest way to find the particular workflow ID if I only have a container value to tie to the workflow?  Is there a WF table or transaction that I can use to search for work items on a particular day with a specific container value?
    Thank you for your help,
    Brian

    Hi,
    If you know the value of key elemnt of your BOR then you can use SWI6 tcode.
    Here you have to enter the object name, object key, slection variant as All instances and selection period as All.
    Example : my object is BUS2012 and iknow the object key : 4500002345 then in SWI6 you will definitely get it.
    Thnaks and Regards,
    Swaminathan

  • How do I search for a particular course subject?

    I am looking for courses via my iMac, thru iTunes U.  Where is the 'search' field into which I can put key words for the courses I am looking for?  (elder advisor)

    If you are using iTunes 12, the search field in the top-right is universal. Once you type in your search terms, you'll see various hits from the iTunes Store in the list of results.
    Alternatively, again in iTunes 12, if you click iTunes U, then iTunes Store, the search results will show results from the Store, with iTunes U content presented first.
    Does that answer your question?

  • How to find out the exit for a particular requirement.....!!!!

    Hi Freiends,
    i have the requirement like this..
      2 sales orders are creted for the same customer..but their delivery date is different..i want to  find out the that time difference....
      could you plz give me any idea...
    Best regards,
    Rajesh padya

    Hi,
    If you know the sales order numbers then u need to go VBAK table and take VDATU(requested delivery date) for the 2 sales order and find out the difference between these 2 dates by using the function modules.
    -Prasanth

Maybe you are looking for

  • Photoshop Elements 11 Problem

    I bought and installed Photoshop Elements 11 yesterday on my Windows 7, 64-bit computer.  The first time I ran it, it asked if I wanted my PSE-10 catalog converted, so I said Yes.  The conversion failed.  Now in PSE-11, when I select Manage Catalogs,

  • Gray and white smudges in MacBook Pro Screen

    About 1 week ago, I noticed 2 faint grey smudges in the middle of my MacBook Pro screen. I dismissed it at the time because I could barely see them unless I looked extremely close on a dark screen. I opened my computer up yesterday to see that the am

  • UseBean tag - question

    Hello to all, I want to ask if i use the tag bean and declare a class like this one : <jsp:useBean id="counter" scope="session" class="Chapter35.Counter"></jsp:useBean> it's work ok , i put the class Counter in the next path : \WEB-INF\classes\Chapte

  • MacBook Pro.sparsebundle" is already in use.

    my time capsule back is not backing up for the last couble of days. The response I get is The backup disk image "/Volumes/Felix Pereira's Time Capsul/Felix Pereira's MacBook Pro.sparsebundle" is already in use.

  • Single report

    Hello everybody; I use Report Builder 7.3.4. My problem is the next: I have a report which been used with more then 5 users. i want that only one user at the time can start the report and if another user want to start the report, then see a massesag