Creating an employee by copying from other employee

Hi Guys,
               I need to create an employee by copying the other employee data for testing purpose.
Can it been done ?
Cheers

Hi,
When hiring the new employee via PA40, you can fill the "reference personnel number" field.
By this way, some of the infotypes are copied to the new employee.
However, there is no option of copying an employee entirely to a new employee number.
Regards,
Dilek

Similar Messages

  • Creating po in me21n with copy from other po

    Can any one tell the procedure to create PO copying from other PO.
    Edited by: Csaba Szommer on Jan 18, 2012 8:06 AM

    Hi,
    Option 1: Goto ME21N, In item Overview move to right side to 4th last column "Purchasing Doc." enter your PO number & press enter, PO will get copied if 1 item is there , otherwise if more than 1 item in PO then it will ask for which item Number you want to copy.
    Option 2: Enter ME21N T.Code
    Click u201CDocument Overview onu201D
    Click u201CSelection Variantu201D and Select Purchase Orders and Enter your PO No. & execute
    you will be able to view in document overview the PO No & Item No,
    Select the PO you need to copy & Click u201CAdoptu201D and you will see all PO details related copy to new PO which you can save.
    Option 3: Enter ME21N T.Code
    Click u201CDocument Overview onu201D
    Click u201CSelection Variantu201D and Select Purchase Orders and Enter your PO No. & execute
    you will be able to view in document overview the PO No & Item No,
    Now select 1st item and press Shift button(or you can also use Ctrl button on your keyboard for randomly selecting the line item) & with mouse select all line items and click 'Adopt' button (next to selection variant button).
    All the 100 items will get copied in the New PO.
    Refer below link for clarification,
    [Copying old PO to New PO|Re: Copy the Purchase Order]

  • Slow creating AP Invoice when "Copy from" GRPO is used

    Hi,
    I was creating an AP Invoice by "copying from" an existing GRPO and the process was slow. I took 10 minutes to successfully add the AP Invoice after clicking the "add" button. Creating an invoice directly - not copying from a PO or a GRPO - gave no problems
    i tried asking all the other users to log off from sap first but it was just the same - slow creating AP Invoice.
    What could we do to solve this? Thank you.
    eric

    Thanks Gordon, I see only three UDFs in those document types and just one FMS.
    I already did shrink the Log and set the recovery model to "simple" though i do not think that it would help much as the Log is not growing wild in size.
    Regards,
    derrick

  • Cannot see file and folders copied from other windows 8

    Hi everyone,
    The problem is the next:
    I have new PC for that i was asked to setup and install software, i perform on it clean windows 8 install, it have single HDD 1TB that was partitioned by regular windows setup option to system drive C: 100GB and all left space was partitioned as drive D:
    After setup finish i only boot to system to check that everything is OK and without to make ANY change to windows shut it down.
    I physically disconnect HDD from new PC and connect it via standard USB 3 docking device to my own PC that also run windows 8 i can see the new connected HDD with all partitions without any problem! Than i create on second partition on new drive folder and
    copy there some files, after copy finished i disconnect the drive in safe way by performing "eject" option in windows.
    i connect new drive back to new pc, boot to windows and access the second partition and it ... empty, no folder or files on drive, it also show like no space was used !!!
    MOST IMPORTANT ! - Why it don't looks like security or permission or even hardware problem - NO any major security changes was performed on my own (old) PC, but most important fact when i connect other hdd to same dock station and create folder and copy some
    files and then connect it to NEW PC - problem does not exist !!! i can see and access without any problem the folder and files on both PC's !
    I also tried:
    to reinstall windows on new pc
    to create or delete partition after setup in both PC's
    to check folder and drive permissions and adding "everyone" with "full control"
    to turn on "show hidden files and folders" and "system files" too
    to copy or create new different type files
    Interesting - if i create a folder in NEW PC i can see this folder on OLD PC and copy files to it, but whet i connect drive back to NEW PC it sometimes show the folder have those files and even use the appropriate space and programs even try to open those files
    without any security warnings but it cannot be open properly because files looks corrupted !
    Thanks for any help !

    Hi,
    According to your description, I don't think this is system problem. More like HDD or its interface problem.
    Have you tried to reconnect your new HDD to your own computer again after you copy some file to it but couldn't find anything on new computer. If there is problem in new PC, how about your own PC?
    Please have a try, If there was any progress, feel free let us know.
    Roger Lu
    TechNet Community Support

  • To populate dynamically created int table with data from other table

    Hi everybody,
    I have already created an internal table dynamically, but now want to populate it with data from another IT depending on the plant name.
    My dynamic int table contains fields with plant name like '8001' ,'8002' and so on.
    no I want to read data from the other table and depending on bwkey which contains similar data like plant name , want to append to this new dynamic int table through read key statement.
    I cannot reference the field name hard coded as it does not allow field symbol reference to be hard coded.
    Pls help.

    Hi,
    Check the code below:
    REPORT  ztestdyn.
    TYPE-POOLS : slis.
    TABLES: yyle0003.
    DATA:
      g_exit    TYPE c,
      g_save    VALUE 'A',               "For parameter I_SAVE
      g_repid   LIKE sy-repid,           "For program name
      g_variant TYPE disvariant.         "For parameter IS_VARIANT
    *Tables
      DATA: d_ref TYPE REF TO data,
            d_ref1 TYPE REF TO data,
            i_alv_cat1 TYPE TABLE OF lvc_s_fcat,
            ls_alv_cat1 LIKE LINE OF i_alv_cat1.
      DATA: BEGIN OF total_tab OCCURS 0 ,
            tknum TYPE yyle0003-tknum,
            quantity TYPE p,  "yyle0003-QUANTITY,
            END OF total_tab.
      DATA: BEGIN OF g_scandata_tab OCCURS 0.
              INCLUDE STRUCTURE yyle0003.
      DATA: END OF g_scandata_tab.
      DATA: g_yyle0003_tab LIKE yyle0003 OCCURS 0 WITH HEADER LINE.
      DATA: g_itab1 TYPE TABLE OF yyle0003.
      DATA: wa_itab1 LIKE g_scandata_tab.
      TYPES: BEGIN OF itab2,
             tknum TYPE yyle0003-tknum,
             vhilm TYPE yyle0003-vhilm,
             quantity TYPE p,
             END OF itab2.
      DATA: g_itab3 TYPE TABLE OF itab2.
      DATA: wa_itab3 TYPE itab2.
      DATA: g_itab5 TYPE TABLE OF itab2.
      DATA: wa_itab5 TYPE itab2.
      DATA: g_itab4 TYPE TABLE OF itab2.
      DATA: wa_itab4 TYPE itab2.
      DATA: gv_wa TYPE REF TO data.
      DATA : wa_tab TYPE itab2.
      DATA: BEGIN OF itab6 OCCURS 0,
             vhilm TYPE yyle0003-vhilm,
             quantity TYPE p,
             END OF itab6.
    ******************Start of Internal Table Definition *******************
      DATA:
            g_custom_container_0100 TYPE REF TO cl_gui_custom_container,
            g_alv_grid_0100    TYPE REF TO cl_gui_alv_grid,
            g_container_0100   TYPE scrfname VALUE 'LIST',
            g_mylayout         TYPE lvc_s_layo,
            ok_code            LIKE sy-ucomm.
      FIELD-SYMBOLS :<f_fs> TYPE table,
                     <f_fs11> TYPE table,
                     <f_fs1> TYPE table,
                     <f_fs3> TYPE ANY,
                     <f_fs4> TYPE ANY,
                     <f_field> TYPE ANY,
                     <f_fs5> TYPE ANY.
      FIELD-SYMBOLS: <fs_wa> TYPE ANY.
      DATA: l_var TYPE i,
            l_i   TYPE i.
      DATA: l_var1 TYPE char20,
            l_var2 TYPE char20.
    DATA: l_TOTAL TYPE I,
          L_FILL TYPE i,
          L_TOT  TYPE I.
    DATA: l_int TYPE i,
           l_sum TYPE i.
    FIELD-SYMBOLS: <f_fs2> TYPE  itab2, "
                     <f_fs6> TYPE ANY,
                     <f_fs7> TYPE ANY.
      DATA: l_var3 TYPE char15.
      DATA: l_quant TYPE p.
    FIELD-SYMBOLS: <f_fs8> LIKE itab6, "
                     <f_fs9> TYPE ANY,
                     <f_fs10> TYPE ANY.
    FIELD-SYMBOLS : <f_fs12> TYPE ANY,
                      <f_fs13> TYPE ANY.
      SORT g_scandata_tab BY tknum vhilm.
      LOOP AT g_scandata_tab INTO wa_itab1.
        MOVE-CORRESPONDING wa_itab1 TO wa_itab3.
        APPEND wa_itab3 TO g_itab3.
      ENDLOOP.
      LOOP AT g_itab3 INTO wa_itab3.
        COLLECT wa_itab3 INTO g_itab4.
      ENDLOOP.
      LOOP AT g_itab4 INTO wa_itab4.
        MOVE-CORRESPONDING wa_itab4 TO wa_itab5.
        MOVE-CORRESPONDING wa_itab4 TO itab6.
        APPEND wa_itab5 TO g_itab5.
        COLLECT itab6.
      ENDLOOP.
      CLEAR wa_itab3.
      SORT g_itab4 BY tknum vhilm.
      DELETE ADJACENT DUPLICATES FROM g_itab4 COMPARING vhilm.
      DESCRIBE TABLE g_itab4 LINES l_var.
      l_i = '2'.
      ls_alv_cat1-fieldname = 'TKNUM'.
      ls_alv_cat1-col_pos = 1.
      ls_alv_cat1-coltext ='ShipmentNo.'.
      APPEND ls_alv_cat1 TO i_alv_cat1.
      DATA: l_var4(10) TYPE c,
            l_var5(10) TYPE c,
            l_fieldname(20) TYPE c..
      LOOP AT g_itab4 INTO wa_itab4.
        IF l_var >= 1.
          CONDENSE wa_itab4-vhilm NO-GAPS.
          ls_alv_cat1-fieldname = wa_itab4-vhilm. "l_fieldname.
          ls_alv_cat1-col_pos = l_i.
          ls_alv_cat1-coltext = wa_itab4-vhilm.
          ls_alv_cat1-do_sum  ='X'.
          APPEND ls_alv_cat1 TO i_alv_cat1.
          CLEAR : ls_alv_cat1, l_fieldname.
          l_i = l_i + 1.
        ENDIF.
        AT LAST.
          ls_alv_cat1-fieldname = 'TOTAL'. "l_fieldname.
          ls_alv_cat1-col_pos = l_i.
          ls_alv_cat1-coltext = 'TOTAL'.
          ls_alv_cat1-do_sum  ='X'.
          APPEND ls_alv_cat1 TO i_alv_cat1.
          CLEAR : ls_alv_cat1, l_fieldname.
        ENDAT.
        SORT i_alv_cat1 BY fieldname.
        DELETE ADJACENT DUPLICATES FROM i_alv_cat1.
      ENDLOOP.
      SORT i_alv_cat1 BY col_pos.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = i_alv_cat1
        IMPORTING
          ep_table = d_ref.
      ASSIGN d_ref->* TO <f_fs>.
      CREATE DATA gv_wa LIKE LINE OF <f_fs>.
      ASSIGN gv_wa->* TO <fs_wa>.
      DELETE ADJACENT DUPLICATES FROM <f_fs> COMPARING ALL FIELDS.
        LOOP AT itab6.
        CLEAR wa_itab5.
        wa_itab5-tknum = 'Total'.
        MOVE-CORRESPONDING itab6 TO wa_itab5.
        APPEND wa_itab5 TO g_itab5.
        CLEAR wa_itab5.
      ENDLOOP.
         DESCRIBE TABLE g_itab5 LINES L_TOT.
           LOOP AT TOTAL_TAB.
          L_TOTAL = L_TOTAL + total_tab-quantity.
         ENDLOOP.
      LOOP AT g_final ASSIGNING <f_fs2>.
        ASSIGN COMPONENT 'TKNUM' OF STRUCTURE <f_fs2> TO <f_fs6>.
        ASSIGN COMPONENT 'TKNUM' OF STRUCTURE <fs_wa> TO <f_fs7>.
        <f_fs7> = <f_fs6>.
        CONDENSE <f_fs2>-vhilm NO-GAPS.
        ASSIGN COMPONENT 'VHILM' OF STRUCTURE <f_fs2> TO <f_fs3>.
        ASSIGN COMPONENT 3 OF STRUCTURE <f_fs2> TO <f_fs4>.
        MOVE <f_fs3> TO l_var1.
        ASSIGN COMPONENT l_var1 OF STRUCTURE <fs_wa> TO <f_fs5>.
        <f_fs5> =  <f_fs4>.
        CLEAR total_tab-quantity.
        READ TABLE total_tab WITH KEY tknum = <f_fs6>.
        IF sy-subrc = 0.
          ASSIGN total_tab-quantity TO <f_fs12>.
          ASSIGN COMPONENT 'TOTAL' OF STRUCTURE <fs_wa> TO <f_fs13>.
          <f_fs13> = <f_fs12>.
        ENDIF.
        L_FILL = L_FILL + 1.
        IF L_FILL = L_TOT.
         ASSIGN L_TOTAL TO <f_fs12>.
          ASSIGN COMPONENT 'TOTAL' OF STRUCTURE <fs_wa> TO <f_fs13>.
          <f_fs13> = <f_fs12>.
        ENDIF.
        AT END OF <f_fs2>-tknum.
          APPEND <fs_wa> TO <f_fs>.
          CLEAR  <fs_wa>.
        ENDAT.
      ENDLOOP.
      CLEAR: <f_fs6>,
              <f_fs7>.
      CLEAR <fs_wa>.
    CALL SCREEN 0100.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'ZVKS'.
      SET TITLEBAR 'ZVKS'.
      CHECK sy-ucomm IS INITIAL.
      SORT g_scandata_tab BY tknum vhilm.
      CREATE OBJECT g_custom_container_0100
             EXPORTING container_name = g_container_0100
             EXCEPTIONS
               cntl_error = 1
               cntl_system_error = 2
               create_error = 3
               lifetime_error = 4
               lifetime_dynpro_dynpro_link = 5.
      CREATE OBJECT g_alv_grid_0100
             EXPORTING i_parent = g_custom_container_0100.
      g_mylayout-grid_title = 'Display Scanning data'.
      CALL METHOD g_alv_grid_0100->set_table_for_first_display
        CHANGING
          it_outtab                     = <f_fs>
          it_fieldcatalog               = i_alv_cat1
                    EXCEPTIONS
                      invalid_parameter_combination = 1
                      program_error                 = 2
                      too_many_lines                = 3
                      OTHERS                        = 4.
      IF sy-subrc <> 0.
                  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    Regards
    Kannaiah

  • Create trigger if referenced column from other db not exists

    I have such scenario: there are two databases DB1 and DB2.
    DB1 has table MyTable and new column was added NewCol.
    On the DB2 table a trigger was created that updates DB1.MyTable.NewCol.
    Both scripts generated by SSDT are correct but the problem is during deployment. I have an automation tool which executes publish scripts in a predefined order. In this case DB2 is executed first and the scripts fails because referenced column from DB1 doesn't
    exist yet.
    Do you have any idea how to overcome this issue? Off course I could change an order in which scripts are executed and create DB1 before DB2. But in other scenario I could have a cross reference dependency and I am afraid there is no use for SSDT in such
    case.

    I found a workaround. The solution is to handle it manually in an pre-deployment script.
    In this scenario I added pre-deployment script for DB2 to check if new column exists in DB1 and if not then create it.
    IF (OBJECT_ID('ATC.dbo.tblDisplayStatusOverview') IS NOT NULL)
    BEGIN
        PRINT 'Checking if columns exists ATC.tblDisplayStatusOverview.IPAddress...'
        IF (COL_LENGTH('ATC.dbo.tblDisplayStatusOverview', 'IPAddress') IS NULL)
        BEGIN
            PRINT 'Adding column ATC.tblDisplayStatusOverview.IPAddress...'
            ALTER TABLE ATC.dbo.tblDisplayStatusOverview
                ADD [IPAddress] VARCHAR (15)  NULL;
        END    
    END

  • Files copied from other PC getting "read only" permissions

    I have a PC running Fedora and Samba and when I drag a folder from the Finder onto my desktop it gets "Read Only" permissions. I cant remember that this happened with 10.5.1 or Tiger.
    Anyone having the same problem or know how to fix it?
    Message was edited by: Norsk
    null

    Try clicking "File>Get info" on the file, and look at it's permissions. Clicking the lock lets you change them, providing you have the right credentials.

  • Copy of Purchase order from other Purchase order.

    Hi all,
    How to know when a purchase order is a copy from other purchase order?
    some FM?
    Thanks!
    Regards,
    David.

    Hi,
    There is no  FM with the same you can create multiple purchase orders.
    Why do you want this functionality
    if you want this functaionality you have write  a new program and you have give
    the condition
    Regards
    G.Ganesh Kumar

  • How can Sales Group on a sales order be copied from emlpoyee

    We are on SAP 4.7 ERP
    We have created sales groups
    G01
    G02
    We have assigned G02 to emlpoyee JohnD via HR, in table PA0900
    We have assigned the sales group to sales office 001
    When JohnD creates a sales document for sales office 001 can the sales group on the sales document be automatically be populated with G02 based on the entry on the employee master. Currently the sales group is blank in the sales document.
    We do know that the sales group can be populated from the customer master but we don't want that, we want to copy from the employee into the sales order.
    Thanks for the help
    Brad

    This is possible through a modification. Change include MV45AFZZ to add your own changes to FORM USEREXIT_MOVE_FIELD_TO_VBAK.
    You can move value of sales group from the person created the order. Check on VBAK-ERNAM and then you can select sales group from the personnel info.

  • PO no.& PO dt. to be copied from contract to sales order at header level??

    Hi,
    I have a requirement, Purchase Order number & date has to be copied to the sales order (header fields below the SP & SH fields) when i create a sales order with reference to a contract. Can you tell which routine to be used in copy control??
    Thanks
    Ghanesh
    Edited by: Ghanesh Visu on Feb 16, 2010 9:17 AM

    Hi,
    I as far as my understanding you have to create new routine or copy from existing and modify that
    and maintain condition P.O & Date should not be change.
    Kapil

  • A/R Invoice copied from Service call

    Dears,
    Can someone please tell me if is there a way to create an AR Invoice copying from a service call (just like we do when copying from e.g. sales order)?
    I'm looking for a way to automatically bill a service call that I have opened for a customes, without having to write again and manually all the details included in that service call. Basically we should be able to copy the details of a service call into an A/R Invoice again and send it to the customer.
    Any idea regarding this?
    Thanks in advance!
    Kind Regards
    Victor

    Hi Bala,
    Thank you for your reply!
    By this, you mean there's no link from the service call to the Invoice. Right?
    Kind Regards
    Victor

  • Copying from Oracle SQL Developer to Microsoft Word doesn't retain formatting (Font,colors etc)

    Copying from Oracle SQL Developer Worksheet doesn't retain formatting (font,color etc...)in Microsoft Word but copying from other programs such as
    visual studio, chrome browser etc works fine. This doesn't work even after changed the setting to Keep Source formatting of Options-> Copy and Paste Settings

    Hi,
    I notice that you have cross posted in Answers forum and Oracle forum. Have you tried Mr. Peter's suggestion?
    Then, I recommend we check the Word settings:
    1. Go to: Options > Advanced > Cut, Copy and Paste
    2.  Make sure that Use smart cut and paste is ticked. 
    3. Click the Settings button next to this option
    4. Make sure that Smart Style
    Behavior is checked.
    If the issue still exists, please upload a sample through One Drive, I want to test.
    Regards,
    George Zhao
    TechNet Community Support

  • Can "order combination" field be copied from ship-to party?

    We want "order combination" field on sales order to be copied from ship-to party, not the sold-to party, is there any way to do so? Do we have to modify the user exit? anyway to do this, without modify the user exit?
    Thanks!

    Thank you for reply!
    Business has customers with different ship-to parties. Some ship-to party requires 'order combination', other ship-to do not need 'order combination', so the businees users want to make this field copied from ship-to, instead of sold-to.
    As I can see almost all business relevant data, for example, inco term, payment term, shipping conditions.... are all copied from sold-to party, by standard SAP. I am wondering is there anyway to make them to be copied from other partnership, when require. I know we can do this by modify the user exit, but just wondering is there anyway in configuration settings....& without program change, can achieve this?

  • I can't open a folder copied from windows after mountain lion install.

    Yesterday, I installed mountain lion, since then I can't open any of folders I copied from other windows computer.
    It worked fine with lion. Idon't understand. 
    Any help?? pleas??

    All of your TBird mail files are located in ~/Library/Thunderbird/Profiles/XXX.default. The library folder is hidden in Mountain Lion by default. To make it visible open the terminal app in your utilities folder and type "chflags nohidden ~/Library" without the quotes.

  • Creating single role by copying profiles from other roles

    HI ,
    I am creating a single role from 4 roles. Ihave copied the authorizations of 4 roles and added into the new role. This is done by copying the profiles.
    Problems Faced :-->
    1. )In table AGR_TCODES i am not able to see the Tcodes for this new single role present in  the new role, whereas if i goto object S_TCODE i am able to see tcodes and have that access.
    2.) Some of the objects are not copied into this new role. Even from the roles whose all other objects are copied into this role.
    Can anybody help me on this and also if someone knows what other problems can be faced by doing this.
    <removed_by_moderator>
    Thanks,
    Rajesh
    Edited by: Julius Bussche on Oct 15, 2008 3:55 PM

    Hi Rajesh,
    If you have created a role by copying authorizations, then it is possible to get the t-codes provided your role contains the auth.obj S_TCODE which you might have copied manually from one or two among the 4 roles.
    If S_TCODE exists in your role then you can find out the t-codes belonging to this role through SUIM->Transactions->Executable for Roles-> Insert your role name
    or
    Go to SE16-> Table AGR_1251->
    In the field AGR_NAME, give the role name
    In the field OBJECT, enter S_TCODE and then
    Execute.
    Q.My second question THere is one role created by some user I am checking it in AGR_Tcodes and SUIM ....I am finding that the no. of Tcodes in both cases donot match....Can anybody tell where i can look for this and what is the possible reason.
    Possible reasons for this could be that some of the t-codes have been entered into the role manually and not through the menu in PFCG and as mentioned earlie that AGR_TCODES only shows the transactions that exists in the menu of the role.
    It could also be that the manually entered t-codes contains wildcards specifying a range of values.
    The best option would be to find it out from the AGR_1251 table.
    Hope this helps !
    Thanks,
    Saby..

Maybe you are looking for

  • To everyone with IOS6 Sound related issues & Others

    If you are facing a problem of not having any system sounds, notification sounds, no calls or other software sound related issues I'd suggest you read below it's a stupidly simple fix and it should solve most software issues after an immediate iOS6 u

  • Monitor help for my macbook pro?

    I want to add a second monitor up to my macbook pro(mid 2010 13 inch). I have a tight budget and all I want is a decent screen with fairly good resolution. Does anyone have any recommendations for monitors and the appropriate wires that would be requ

  • Changing a title in iWeb

    I am trying to change the title of my home page in iWeb. I am using the Publish to an FTP Server. Currently it says "Welcome" the name of the page, but I would like it to say my site name and a short description. Is there a way to do this without pub

  • 3000 v100 random shutdown

    Hi all: I think some one already posted a similar problem but it was a n100 notebook. I have had the v100 for over a year and my battery has also died. But the problem is not that. Problem is that even on the AC adaptor, the notebook shuts down rando

  • How to use IE proxy with an applet and a socket ???

    Hello! I need to make an applet running with Internet Explorer. This applet uses socket and sends http request to a server (the server where the applet is). It's ok but it doesn't work when my IE uses a proxy. My question is: how my applet can makes