HR ABAP - Country re assignment

Hi
I have a probelm with retrieving the data's for the following scenario in HR ABAP.
An employee havin a number of 1 in india and he has got transferred to us and his emploee number has got changed to 2.
Based upon his changed pernr(2) number can v retrieve the old pernr number  which is 1 india..
Can anyone suggest me some logic how to do this??

Hi Radhu,
In HR there is a concept of Central person to which you can attach two different personnel numbers through some relationship , or you can try out infotype 706 where u can assign a personnel number to a person ID, this involves the concept of global employment.
Regards,
Santosh.

Similar Messages

  • ABAP centered role assignment not working

    I have been trying to implement ABAP centered role assignment for our users but not really having much luck in gettng it to work. I've been trying to make sense of it by using [the help guide|http://help.sap.com/saphelp_nwmobile71/helpdata/en/d2/3e3842b23d690de10000000a155106/frameset.htm] but I must be doing someting wrong. Here are the steps that  take.
    1. Create a single ABAP role - A single role with no menu or authorizatons
    2. Create a UME Group - I name the group exactly the same as the ABAP single role from the previous step
    3. Assign UME Group to Portal Role
    4. Assign mapped user to ABAP role
    Supposedly the ABAP role assingment is supposed to reflect through to the UME group membership so the portal user then sees the associated portal tab.
    Can you enlighten me?
    Thanks in advance

    Hi,
    I 'm facing same kind of problem.
    Case 1:
    I tried with:
                      Assigning users to group (abap role) which didn't worked.
                      Assigning UME Role to group (abap role) which worked. Then i assigned the user to the UME Role, but the user is not getting the backend authorizations.
                      Assigning the portal role to the group (abap role), then when i assiged a user to the abap role from R/3 automatically the user is getting the portal role.
    How can i do the same from portal?
    Case2:     
    While distributing the portal roles to the ABAP system (System Administrator -> Permissions -> SAP Authorizations), the status is showing as "Role transfer compleated". but when i checked from the R/3 transaction WP3R, there are no portal roles.
    Why are the portal roles not getting transfered even though the status is green?
    Mr.Chowdary

  • ABAP Query- Report Assignment functionality

    Dear Collages,
    I am using SQ01 for reporting materials data information.
    Also I am using the Report Assignment functionality to call transaction MM02
    In the drill down mode expecting to change materials according to the ALV list after selecting double click on one material out from list.
    The problem is that the material I am getting after moving to transaction MM02 is the last in Memory Id not the one I want to get fro ALV list.
    Is this functionality I am expecting is available in ABAP Query??
    If so how!
    Many Thanks in advance
    Oren

    You need to clear the parameter id MAT , Try to use some events or using free coding clear the MAT
    SET PARAMETER ID: 'MAT' FIELD space.

  • Standard ABAP functions for assign resources?

    Hi all.
    I would like to share this with you all.
    After loosing three days looking for any kind of standard FM to assign resources (rooms or instructors) to an event (E), I request your help.
    Any of you have found or used those functions in SAP?
    Thanks in advance for your support.

    Hello Roberto:
      the FM we're using is HRIQ_EVENT_CREATE, not very creative , but we found nothing more appropriate, and we found it very flexible to work with events (unluckily flexible is a synonym of complex and hard work).
    Let's move into when and how we used it:
    regular courses are still created using SAPgui
    we needed something more agile to use when a room or resource was needed for unusual activities (meetings for example), and no instructors were needed. We went into a web app. The user will indicate date(s), start and end time and resource. We developed a FM+webservice which "receives" the data inserted by the user and ends executing HRIQ_EVENT_CREATE. (precondition: we have a generic module created with its correpsonding event type needed to execute HRIQ_EVENT_CREATE)
    a previous step to the event creation (on a separate FM+webservice) will check for conflicts in the proposed resource reservation, where the user will see a report of conflicts and make necessary changes before submitting the reservation.
    Would you like to see our codes? Part of it is in Spanish which'll help you read the code
    Cheers,
    Michael

  • Tax Code V0 Country IN does not exist in procedure ZTAXIN

    Hi all,
    While doing IV in Import Purchase scenario, while simulating, i 'm getting the following error.
    Tax Code V0 Country IN does not exist in procedure ZTAXIN.
    Can someone help me on this.
    Thanks
    AG..

    You can define the tax code for your country using the following menupath in customizing:
    IMG>Financial Accounting>Financial Accounting Global Settings>Tax on Sales and Purchases>Calculation-->Define tax codes ........... in the next screen enter your country and then the tax code you wish to create and press enter. You would be then directed to another screen, where you would maintain the description and whether it is a Input tax or Output tax and then maintain the appropriate tax percentage and save.
    Your country should also be assigned to a calculation procedure. You check the same using the same menupath as mentioned above: .............Tax on Sales and purchases>Basic Settings>Assign country to calculation procedure........In the next screen, enter the appropriate tax procedure for your country. Eg: for country IN, assign tax procedure as TAXIN and save.
    Hope this helps.
    Regards
    SATYA

  • "Tax code V0 country IN does not exist in procedure TAXINN"

    I am following , following sequence for import purchases :
    1. PO on bond plant ( tax tab at inovice tab in PO : V0 )
    2. Following conditions are planned delivery costs :
    JCDB / JCV1 / JECV / ZEBC --> these condition values are entered manually
    at PO.
    3. When I am trying to enter invoice for Planned delivery costs at MIRO ,
    the error appears : "Tax code V0 country IN does not exist in procedure TAXINN"
    V0 ( V-ZERO) Tax Code is maintained has
    been assigned to company code. This tax code works fine for local purchase , why
    the system is not allowing it for import purchase ? I even tried to remove it from
    Info record and OMR2 and OBCL , however no effect ? I am using TAXINN . Can anybody
    advise ?

    Check whether condition table 003 i.e. Tax classification is there in your access sequence for your condition type JMOP or not?
    If not then maintain/create  the same in Acees sequence of JMOP.
    Now in FV11, select condition JMOP, key combination should be 'Tax Classification' only.
    Maintain Country 'IN', assign tax code V0 to V0.
    Regards,
    Piyush

  • Alt Chart of Accounts: Change of GL Assignment

    Hello Experts,
    We have implemented Alternate Chart Of Account (CoA). Balances have been posted. Now during the middle of the Fiscal Year, Government has changed the numbering of few of the local chart of account numbers.
    SAP gives error message and does not allow to change the Alt G/L assigned in the master data of the main CoA.
    Is there any way out to change the G/L assignments, some SAP program to run or likewise?
    We don't want to create new G/L accounts in the corporate CoA in this case and redo the new assignment.
    Please let me know if you have come across such a situation.
    Regards,
    Kshitij J

    Hi,
    Try this:
    remove the  COUNTRY COA assigned
    replace Alt G/l ...
    Again asssign COUNTRY COA
    If it helps then pl points as a way to say thanks..
    Sudhanshu

  • How to create a new user in Netweaver system for ABAP training?

    Hello,
    I had been learning ABAP using a trial version but recently purchased and installed a developer subscription of Netweaver 2004 SR3. Can someone please tell me the best way to create a new user for ABAP development and assign the needed transaction authorizations appropriate for a developer? I was able to create one in SU01 and assign a profile of S_ABAP_ALL but still could not get into SE80 with that logon. And the user had a license expiration of only one month, is there a way to obtain a permenant license for it from SAP?
    Thanks
    -Chris Piret

    Hi Chris,
    You can create a role in t-code pfcg with all required transaction and assign it to your user id or else You can assign profile sap_all to you for all authorization.
    Regarding license you can get it from sap.How to get it is explained in the document in the below link.
    https://websmp108.sap-ag.de/~sapidb/011000358700006339962006E
    For ABAP development you need developer key and that also you will get from sap marketplace
    Regards
    Ashok

  • Can I use OLAP variable in ABAP Code of infoobject filter

    I have 0FISCPER infoobject in filter section of info-package while loading data.
    Below OLAP varaibles has below dynamic values that are being calculated at run time.
    0P_PRFP2 -  (Current fiscal period - 2)   ex: 2010010
    0P_PRFP1 -  (Current fiscal period - 1)   ex: 2010011
    0FPER    -    (Current fiscal period )        ex: 2010012
    I want to write ABAP CODE FOR using filter values from 0P_PRFP2 to 0FPER. (Last 3 fiscal periods - ex: 2010010 to 2010012).
    how to  use above standard OLAP variables in ABAP CODE to assign l_t_range (low or  high).

    try this using ABAP routine option (6)
    DATA: curryear(4)           type N,
                 currperiod(2)         type N,
                 prevper1(2)           type N,
                 prevyear1(4)         type N,
                 prevper2(2)           type N,
                 prevyear2(4)         type N,
                 prevfiscperYr1(7)   type N,
                 prevfiscperYr2(7)   type N,
                 prevfiscper1(3)      type N,
                 prevfiscper2(3)      type N,
                 w_length1              type i,
                 w_length2              type i.
      curryear = SY-DATUM+0(4).
      currperiod = SY-DATUM+4(2).
      If currperiod EQ '01'.
        prevyear1 = curryear - 1.
        prevper1   =  '12'.
        prevyear2 = curryear - 1.
        prevper2   = '11'.
      elseif currperiod EQ '02'.
        prevyear1 = curryear.
        prevper1   = '01'.
        prevyear2 = curryear - 1.
        prevper2   = '12'.
      else.
        prevyear1 = curryear.
        prevper1   =   currperiod - 1.
        prevyear2 = curryear.
        prevper2   = currperiod - 2.
      endif.
      w_length1 = STRLEN( prevper1 ).
      If w_length1 = 1.
        concatenate '0' prevper1 into prevper1.
      Endif.
      w_length2 = STRLEN( prevper1 ).
      If w_length2 = 1.
        concatenate '0' prevper2 into prevper2.
      Endif.
      concatenate '0' prevper1 into prevfiscper1.
      concatenate '0' prevper2 into prevfiscper2.
      concatenate prevyear1 prevfiscper1 into prevfiscperYr1.
      concatenate prevyear2 prevfiscper2 into prevfiscperYr2.
      l_t_range-low = prevfiscperYr2.
      l_t_range-high = prevfiscperYr1.
    *  modify l_t_range index l_idx from l_t_range.
    l_t_range-sign   = 'I'.
    l_t_range-option = 'BT'.
    modify l_t_range index l_idx.

  • Assignment Between Structure and Single Field - CL_ABAP_CONTAINER_UTILITIES

    Hi, Need some help on this as I'm not familiar with Java programming.
    Basically in ABAP, we can assign a structure (with complex data type) into a field (please refer to link below).
    Now we need to do similar thing in PI, since PI only support Java then we need to perform similar logic as in CL_ABAP_CONTAINER_UTILITIES =>FILL_CONTAINER_C, but in Java. Understand that there's no concept of structure in Java, in this case PI will receive multiple fields (with different data type) and need to combine them into one field.
    I tried few Java command/method but it doesnt give me the same result as in the ABAP class. Appreciate your help if you know anything about this or some sample program that i can test. thanks!
    SAP Help Reference for ABAP
    [ABAP - Assignment Between Structure and Single Field|http://help.sap.com/saphelp_nw04/helpdata/en/79/c554d3b3dc11d5993800508b6b8b11/frameset.htm]

    Hello Rika,
    In java we have collection framework instead...
    As per your requirement I understood :
    1. You will get a list of different type of objects as input.
    2. You want to club it in one unit....right...
    3. Once done.....I dont know what you will do with that.....I guess pass it somewhere.....
    Now, You can use ArrayList in java to club all your objects in one unit....and send it to any function you want....
    Arraylist list= new ArrayList();
        list.add(new MachineGun());
        list.add(new Gun());
    But there be carefull when you extract data from List....as you need to type cast them accordingly....
    Start trying it...and revert back if you face any problems.....
    While extracting you will have to use something like :
    if(list.get(0).getClass().getSimpleName().equals("MachineGun")){
       //here you can safely cast in the right class
           MachineGun mgun= (MachineGun )list.get(0);   

  • The tax code entered is not defined in the country for this company code

    HI ALL
    when we relase billing document to finance i am getting this below error
    Diagnosis
        The tax code entered is not defined in the country for this
        company code.
    System Response
    Procedure
        Check and, if necessary, correct the entry.
    Procedure for System Administration
        If it is not an input error, check and possibly change the
        system settings.
        To do this, choose Maintain entries (F5).
        1.  Check whether the required tax determination procedure
            is assigned to the relevant country. the Procedure
            field is in the detail screen.
        2.  Create a new tax code if required.
    Thanks & Regards
    Aarman

    You can define the tax code for your country using the following menupath in customizing:
    IMG>Financial Accounting>Financial Accounting Global Settings>Tax on Sales and Purchases>Calculation-->Define tax codes ........... in the next screen enter your country and then the tax code you wish to create and press enter. You would be then directed to another screen, where you would maintain the description and whether it is a  Input tax or Output tax and then maintain the appropriate tax percentage and save.
    Your country should also be assigned to a calculation procedure. You check the same using the same menupath as mentioned above: .............Tax on Sales and purchases>Basic Settings>Assign country to calculation procedure........In the next screen, enter the appropriate tax procedure for your country. Eg: for country DE assign tax procedure as TAXD and save.
    Hope this helps.
    Regards
    SATYA

  • Why not ABAP HR Forum

    Dear
    Mentors and Moderators
    in SDN Forums we have Forums related to ABAP but not ABAP HR   as we all know an ABAPER can be assigned to various functionla modules like FICO  SD MM off course he also can do HR.  but we dont call ABAP SD  , ABAP FICO
    but we have specilised the Technical Consultant nameing him as ABAP HR ??? Why is it so does there is any reason behind it ??
    Reponse from Matt , Suresh datti , Julius are highly appriciated

    >
    Gareth Ellem wrote:
    > Nonsense SAS
    >
    > The client cannot be poor if he can afford to hire us.
    >
    > Gareth
    Ohh..Gareth Give me  a break...........
    Well it make sense GARETH ...If you check paul reply stating
    Paul Tomlinson wrote:Is that not the way you are supposed to do it? Work on it, become an expert and then go on the course to find out where you were going wrong?
    Paul
    " You can work and only become Expert until you really worked on the requirements of the client " I feel  above words of paul as Insane ...Dont it sound funny ?
    Ex: If a war is happening Paul suggestion is dont practice, go directly and fight if you are still alive then come back and learn from mistakes then you find out were going wrong
    If this happens then "what about  poor client who is investing " thats i mean...
    Sas
    Edited by: Julius Bussche on Aug 18, 2009 9:29 AM
    code tags --> quote tags, otherwise it does not make sense
    Thanks Julius ,BTW Juilius " but SAS (a.k.a. ABAP HR) will be there??? "
    what does A.KA. stands for :)?
    Edited by: saslove sap on Aug 18, 2009 10:45 AM

  • Tax Code and Company Code assignment

    Dear Experts,
    Please let me know, whether is there any mandatory requirement to assign tax codes to company codes
    Whereas we are using condition based tax procedure.. TAXINN
    What are the implications and necessity to do the same..
    Thanks in advance.

    Hi,
    When you are using TAXINN assign the tax codes to company code in CIN settings. If you assign tax codes to company code in CIN, those tax codes we can use for the company code.
    Based on country we will define taxcodes, in Company code country is assigned.
    Hope its clear.
    reg
    Durga
    *Assign points if info is useful

  • Name of the table to find Tax code for different country....?

    Hi,,
    Can some help me to know the tax code for all the country(DE,CA,FR,GB,SE)...?
    thanks,
    praveen

    HI,
    the tax codes are maintained for a country in T-code FTXP and stored in table T007A. Each country is assigned to a tax scheme (table T005). Each comp. code is assigned to a country (table T001), so the tax scheme from table T005 is indirect assigned to a comp. code.
    BR Christian

  • SLT based ABAP Transformation for MSSQL source

    Hi,
    In our current landscape we have MSSQL source replicating to HANA via SLT. However we are unable to add ABAP transformation(Rule Assignment and Table Settings) as LTRS does not recognize the source system table structure. Is it a known issue or we are missing something here?
    Are the transformations for non-SAP sources supported?
    Regards, Rahul

    Hi Tobias,
    After clicking 'Yes', as shown in the second screenshot, we do not get source table structure. If we want to add transformations to existing table fields,how should we proceed.
    Should we add all columns manually in this screen?
    Which is the expected SP for DMIS 2011, where you think this will be resolved?We are currently on DMIS2011 SP6.
    Regards,
    Rahul

Maybe you are looking for

  • Apple TV auto sync inoperative since 2.3 update

    I have an Apple TV setup with the following components (most all Apple pieces): iMac G5 with Enet connection to Time Capsule (router) with wireless connection to Apple TV, a laptop PC, and iPod Touch My software versions are: OS X 10.5.5, iTunes 8.0.

  • Do I need to run wifi on my iMac in order to sync with my iPad?

    I am a new user of Lion 10.7.3. Just downloaded it yesterday from the thumb drive. I have an iPad running ios5. My major question is whether I really need to run wifi on my wired iMac in order to sync between it and my iPad. Seems counterproductive t

  • Adobe Reader 9 installation freezes computer

    upon running the installation for adobe reader 9, setup gets to 99.90 percent, then a new window comes up, similar to the installation window. Estimated time remaining gets to 9 seconds, then the installation freezes, and so does everything else. A c

  • Local skype to go number is long distance

    I have a contact skype to go number which is long dsitance as well as my access number for all other calls is a long distance number. How do i get a different skype to go number for a contact as the rest of my contacts are local skype to go numbers

  • Need Help Restore iPod

    Reset iPod Classic. Slowly boots up with the Apple Logo on screen. When I place my ear to the back of the iPod I can hear clicking sounds like a clock ticking. Tick, Tick, Tick. iTunes won't see it's connected. I get the 'ipod disk write error' from