Enhancing the transaction code WS20000081 - Leave request

Hi all,
I have a requirement where i need to use the transaction WS20000081 for creating a leave for those employees who dont have ESS access.
I have created a Z program where the employee will login & then use the above mentioned T-code for creating leave
The problem I am facing is that this T-code fetches the personnel no & name of the SAP GUI login.
I need to change it to the personnel no & name of the employee who has logged in to the Z program.
Z program accepts personnel no for logging in.
Kindly help me....
Thanks in advance
Seema Peswani
SAP ABAP HR

with out seeing your code no one can answer your question. If its some standard program we could have looked in our systems and would have guided you...
why dont you save that login varaibles using set parameters and retrieve when needed using get parameters. Search with those key words in SCN you will find many examples.

Similar Messages

  • Required the transaction code for the user exit

    Hi Abap Gurus,
            i want to find out the *sap transaction code for which the user exit belongs to  from the below code i am getting the enhancement name and the type.
    i want to know the transaction code for exit EXIT_SAPLMEKO_002 and  EXIT_SAPLFYTX_USER_001
    data: begin of it_modsap occurs 0,
            name   type modsap-name,
            typ    type modsap-typ,
            member type modsap-member,
          end of it_modsap.
    type-pools:slis.
    data:wa_layout type slis_layout_alv.
    data:it_sort   type slis_t_sortinfo_alv.
    data:wa_sort   like line of it_sort.
    parameters:p_exit type modsap-member.
    select * from modsap into table it_modsap where member = p_exit.
    read table it_modsap index 1.
    select * from modsap into table it_modsap where name = it_modsap-name.
    wa_layout-colwidth_optimize = 'X'.
    wa_sort-fieldname = 'NAME'.
    wa_sort-tabname   = 'IT_MODSAP'.
    wa_sort-up        = 'X'.
    append wa_sort to it_sort.
    clear  wa_sort.
    call function 'REUSE_ALV_GRID_DISPLAY'
      exporting
        i_callback_program = sy-repid
        i_structure_name   = 'MODSAP'
        is_layout          = wa_layout
        it_sort            = it_sort
      tables
        t_outtab           = it_modsap.

    HI
    The user exit EXIT_SAPLFYTX_USER_001 is trigered for the below transactions and also postings via IDOC.
    'ME21' 'ME21N' 'ME22' 'ME22N' 'ME23'  'ME23N' 'ME31L'  'ME31'   'ME32L' 'ME32'  'ME33L'  'ME33' 'ME38'   'ME39'  'VL31N'  'VL32N' 'VL33N'.
    This is basically used for tax calculation purposes.
    The user exit EXIT_SAPLMEKO_002 is trigerred for multiple transactions of purchansing scenario.
    Also use user exit for your business scenario.
    Br
    Vijay V

  • FBL3N  Report  -not able to get all the transaction code details

    Hello,
    when FBL3N report  ran for one the expenses account (time paid off  - project charges account) , only few  line items are displaying  the transaction code like CJ88 and CJ8G.
    can you please tell me why all the line items are not showing the transactions codes and is there any know situation when the T- codes are not displayed.
    What I need to do, to get all the T- codes in the report ?
    I really appreciate your help.
    Regards
    Radha

    I know it is a line item report and I was expecting to see the transaction code details in the report for every line item. But in I'm not able to see all  T- codes for all the line items
    Thanks
    Radha

  • What are the transaction codes we use for LSMW in MM, SD, PP  & FI/CO gnrly

    Hi all,
    What are the transaction codes we use for LSMW in MM, SD, PP  & FI/CO generally?
    Help will be surely rewarded.
    Thanks and Regards,
    Creasy

    > What are the transaction codes we use for LSMW in MM, SD, PP  & FI/CO generally?
    General threads about LSMW in MM, SD, PP, FICO will be locked and deleted generally.
    > Help will be surely rewarded.
    &********************** Please read "the rules" if found usefull... ************************&
    Cheers,
    Julius

  • Hi what is the transaction code for vendor master delete

    hi
       what is the transaction code for vendor master delete? and customer master delete?
    thank u
    surya

    Hi
    There won't be any Deleting of customer and vendor completely
    we only BLOCK them
    FK05                   Block Vendor (Accounting)
    MK05                   Block Vendor (Purchasing)
    XK05                   Block Vendor (centrally)
    FD05                   Block Customer (Accounting)
    VD05                   Customer Block (Sales)
    XD05                   Block customer (centrally)
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Is it possible to find the transaction code via table name ??

    Hi
    Can any body please let me know is it possible to find the transaction code via table name ??
    Thanks in advance
    Sesh
    Edited by: seshu_sapfico on Dec 8, 2009 12:21 PM

    Please, specify your requirement... A table could be modified by various programs which are called by numerous transactions.

  • STAD - get the 'transaction code' and 'program name'

    Hi, I was wondering if someone knows about a bapi with which I can get only the "transaction code" and "program name".
    I need to get those for a specified user, but I don't want to set on a trace, that's why I'd like to use the transaction STAD.
    If anyone can help, thanks in advance
    Grtz,
    Dragovian

    ok, so I go like this
    TYPE-POOLS sapwl .
    DATA:  all_stats        TYPE sapwl_allstats.
      CALL FUNCTION 'SAPWL_READ_STATISTIC_FILES'
       EXPORTING
         read_client                 = '*'
         read_time                   = '200000'
         read_start_date             = sy-datum
         read_start_time             = '000000'
         read_username               = sy-uname
         read_workprocess            = 'FFFF'
         wait_factor                 = 150
        CHANGING
          all_stats                   = all_stats
    how'd I get "start-time" "report-name" "date" "username"?

  • Why charged me twice for the same item? They have withdrew money from my bank account for the second time about half an hour later after the transaction was completed leaving me overdrawn.

    Why charged me twice for the same item? They have withdrew money from my bank account for the second time about half an hour later after the transaction was completed leaving me overdrawn.

    Hi Benjamins,
    I've checked your account—you have two ExportPDF subscriptions. One placed on October 20 2013, and the other placed on October 11 of this year. So, you were probably charged the auto renewal for the subscription placed in 2013, and then the new charge for this year's order.
    Please Contact Customer Care so that an agent can help get things situated for you. There's no reason to have two subscriptions to the same service, so an agent can help you cancel one, if you'd like.
    Best,
    Sara

  • What is the transaction code to change a service master ?

    Hi,
    can any one please tell me the  path or the transaction code to change a service master

    Hi
    Service Master Change T.Code AC03 , u select icon of swith between display and change mode or  Press Ctrl+F1.
    Please award points if it is usefull
    with regards
    vishnu

  • Reg : Enhacement for the transaction code MD04

    Hi experts,
    I have implemented an user exit for the transaction code MD04 where in the stock/requirement list I am supposed to add a new column for the exception number which displays the exception description for the corresponding exception number.
      The coding part for fetching the exception description for the corresponding exception number is done in the include 'ZXM61U03'.
      The problem is in the importing parameter IMDEZEXIT in which all the screen data will be present basing on which the data fetching is done .The AUSKT(Exception number) value is not getting populated . All the other data in the row is getting populated.
    Please suggest e a solution for this.
    Regards,
    Ramkishore.

    Hi
    Hope it will help you.
    reward if help.
    Please use FM MD_STOCK_REQUIREMENTS_LIST_API to get all information for transaction MD04/MD05.
    You might also want to check out the function module API.
    MD_MRP_LIST_API
    and also
    check this link for extracting data from MRP tables:
    http://www.sap-img.com/pp001.htm

  • What is the transaction  code SM  31?

    4.What is the transaction  code SM  31?

    Hi,
      SM31 is TABLE MAINTAINENACE. Table maintainence is created for a table to enter the data in the table. Instead of updating the table by program.
    Table Maintainence is created in SE11 .Enter table name ---Utilises --> Table maintenance generator.
    Br,
    Laxmi.

  • What is the transaction code for where used list

    hi,  
                    what is the transaction code for where used list and
               how to retrieve the previous delivery quantity and quantity delivered for a particular material  with reference to both material document number and material number.

    hi,
    there is no transaction code for where-used-list..
    its one of the buttons in application tool bar which if you click will tell you where,in which program or tables etc this object is used.
    to retrieve the previous delivery quantity and quantity delivered for a particular material with reference to both material document number and material number,
    use tables <b>likp lips and mara</b> and use material number and document number in where condtion.
    regards,
    pankaj singh
    <b>**** please mark all helpful answers</b>

  • What is the transaction code to enter data into mkpf table

    Hi,
    I want to enter data into mkpf table but through a transaction code.
    What is the transaction code?
    Thanks.
    deniz.

    Hi,
    Go to SE16N transaction code.
    Now you enter the table name ex: u201CMKPF u201C, if u wants to insert the values.
    in Command bar
    you enter the transaction code u201C &SAP_EDIT u201D. 
    Press enter.
    Then click on execute button. 
    Now here I would like to change some data.
    Here we can do any operation in application tool bar.
    Enter values
    And click on save button.  
    Regards,
    Sujit

  • What is the transaction code to set the download directory?

    What is the transaction code to set the download directory?

    SO21 is the Maintain PC Work directory transaction
    Cheers,
    Ben

  • Where to see the transaction code for a script

    Hai my dout is  where to see the transaction code for a script after assigning to  a drive programm for example i see output for medruck in me11 and for other standard scripts where can i see the  output is there any table avaible to check it

    Hi masthan,
       for sd and mm related scripts. u can use tnapr.
    Otherwise go to nace transaction u can find the script name as well as program name.
    Or u can try with TSTC table, which will give the t/c's.
    Regards...
    Arun.

Maybe you are looking for

  • How to Change Source system type of ECC6.0 in BW system

    Hi BW Experter,    I connected ECC6.0 PRD system with BI7.0 PRD system  , the connection is successful, but the source system type of ECC6.0 PRD is not collect . The ECC6.0 PRD is as a BW system type in the source system list of bw system  .    I fou

  • Manipulating excel file while using GUI_DOWNLOAD

    hi all, while using GUI_UPLOAD i want to 1) fix the width of the column of excel file 2) define the font of the data in excel file 3) change background color of the cells in excel file. please suggest as to how can this be done?

  • Need help to run video calling in iBook G3 with Mac OS 10.4.11

    hello there, I have an iBook G3 PowerPC processor based with Mac OS X 10.4.11 (600 MHz, 384 MB SDRAM), i am using skype version 2.6 - 2.8 on it. As a voice calling it is working perfect without any issue but when i tried to do video calling i can onl

  • Address in smartform

    Hi Friends, I have the following code in SAPScript but I need to change it to SmartForms. Can anybody tell me how to handle? /:   ADDRESS PARAGRAPH AS /:        TITLE             &SERVICE_ADDRESS-ANRED& /:        NAME            &SERVICE_ADDRESS-NAME

  • Default File Type for New Forms - How to change?

    Hi, How can I change propperty: Default File Type for New Forms? It is enabled! Do I have to be Administrator to change it? I have SAP ALL.. SFP -> Layout -> Tools --> Options -> Document Handling tnx, Adibo.