Relation into P_ORGIN and INFOTYPE 105 SUBTYPE 0001

Hello, at the moment I have a problem, I add the user's name in the infotipo 105 and subtype 0001 but this cause that the user can see his data in the infotipo 0001, when at level of P_ORGIN one has specified that alone he can see personal to his position by means of the organizational key.
Does this infotipo have some precedence on the P_ORGIN?

when at level of P_ORGIN one has specified that alone he can see personal to his position by means of the organizational key.
At VSK1 level
P_ORGIN
INFTY   - Info type
SUBTY
AUTHC- Authorization Level
PERSA u2013 Personnel area
PERSG u2013 Employee group
PERSK- Employee sub group
VDSK1- Org Key

Similar Messages

  • Delimit Infotype 0105 Subtype 0001

    Hi All
    I am new to ABAP so need help.
    We need to delimit Infotype 0105 subtype 0001 records.
    I tried vai a number of ways but facing issues in someway or the other.
    When I try to do the same via FM: BAPI_HRMASTER_SAVE_REPL_MULT, it creates a new entry for the same record with end validity day as system date (the old record which has end validity date as 31.12.9999 remains).
    When i try to do the same via FM: BAPI_EMPLCOMM_DELIMIT, it throws an error 'EPG                  009No data stored for 0105 in the selected period' even though the record exists.
    CALL FUNCTION 'BAPI_EMPLCOMM_DELIMIT'
      EXPORTING
        employeenumber       = '00000049'
        subtype              = '0001'
        objectid             = 'P'
        lockindicator        = ''
        validitybegin        = '20100701'
        validityend          = '99991231'
        recordnumber         = '000'
        delimit_date         = '20120219'
    *   NOCOMMIT             =
    IMPORTING
       RETURN               = return.
    *   EMPLCOMMKEY          =
    Not sure how to go about it. I searched the forum which suggested to use Function Modules, but even then the issue isn't getting resolved.
    Please help.
    Martin

    Hi
    Your problem is the parameter OBJECTID It doesn't make sense to pass a 'P'.
    Other than that, you just have to lock and unlock the Personnel Number accordingly.
    Regards
    data: return type BAPIRETURN1.
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
      EXPORTING
        number        = '00000224'
    * IMPORTING
    *   RETURN        =
    CALL FUNCTION 'BAPI_EMPLCOMM_DELIMIT'
      EXPORTING
        employeenumber       = '00000224'
        subtype              = '0001'
        objectid             = ''
        lockindicator        = ''
        validitybegin        = '20070101'
        validityend          = '99991231'
        recordnumber         = '000'
        delimit_date         = '20120219'
    *   NOCOMMIT             =
    IMPORTING
       RETURN               = return.
    *   EMPLCOMMKEY          =
    BREAK-POINT.
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
      EXPORTING
        number        = '00000224'
    * IMPORTING
    *   RETURN        =

  • IT105 subtype 0001 & relation to portal (teamcalendar, leave request, etc.)

    Hi SAP Experts,
    Could you provide me some Informations/Documentations about the relationship between IT105 0001 (Systemuser) and the standard time management iViews in portal, e.g. Team calendar, Leave Request etc.
    Background is, that we use the same System user id's for different persons in different periods. I want to obviate that this could cause errors in Enterprise Portal (EP7.0, ESS/MSS 1.0, NW04s, ERP2005, SP 13). 
    I will reward points for helpful answers.
    Best Regards,
    Nadin

    Achim,
    Maybe you are right but im not sure.
    My problem is that we have a problem in a productive system: A manager looks into his team calender and all seems to be ok and then he goes back to an other month and there comes the error message infotype 105 does not exist.  I do not know what exactly was made but in IT105 subtype 0001 there is entered a system id that was deleted in su01.
    So because of the error there seems to be any relationship between the IT105 and team calender at all.
    We tested different combinations with persons that leave the company and give the user to another person and we also tested persons without a systemuser. And we were not able to force any error message in any combination.
    We go to SAP Support and ask for this relationship and told them the problem but they answered:
    <i>Hi Nadin
    This will not be possible to analyse without reproduction of
    the exact steps that cause the error
    SAP recommend that when a employee leaves his user
    or employee number cannot be re-used - the historical
    data of that person has to be linked to only one user
    to avoid confusion
    The Portal user is associated with a back-end user which
    in turn is associated to an employee via IT0105 - all
    associations must exist without delimitation
    Please also clarify the business impact given there is
    no way to reproduce the issue</i>
    I want to understand why and when does IT105 has some impact to team calender.
    So could you or anybody else give me a hint.
    Best Regards,
    Nadin

  • Change time constraint of Infotype 0006 subtype 1 and subtype 2

    Hi
    Can anyone tell me how to change the TC of infotype 0006 subtype 1 and subtype 2.
    Currently I tried to change the TC in table V_T582A but its giving me an error : "Text maintenance not permitted as infotype part of Data Sharing (T582G)  "
    Can anyone please advise.
    Currently the TC is T
    I want to change it to 2.

    hi ,
    you can use SE38 to create a report like :
    to change the time constraint for IT0006 +subty 1 + 2
    REPORT  ZTEST.
    tables: t591a.
    data: wt_tc type table of t591a.
    select * from t591a into table wt_tc where infty = '0006' AND
                                                 ( subty = '1' OR
                                                  subty = '2').
    if sy-subrc = 0.
    loop at wt_tc into t591a.
    t591a-zeitb = 'x'. "new TC that you need
    modify table t591a from t591a.
    endloop.
    endif.
    regards

  • Time constraint of Infotype 0006 subtype 1 and 2

    Hi All,
    Currently the TC of infotype 0006 subtype 1 is 1.
    I have changed it to 2, so that the gaps are there but no overlapping.
    However, when I go in SAP and create a new record, its delimiting the previous record. But if I click on change button, its overwriting the original record instead of delimiting it.
    Please advise what can be done regarding the same.

    So that means, whenever an employee updates his address from the front end, the create address standard BAPI should be fired to update the data in R/3.
    This will delimit the previous record, since I have maintained TC as 2 for subtype 1 and 2.
    Please correct me if I am wrong.

  • Infotype 105 usage in Concurrent Employment environments

    Hi, experts -
    The University of Cincinnati uses concurrent employment, and we are currently experiencing problems with ESS when an employee switches primary assignments. After the infotype 712 update, the employee is unable to log in to ESS. When we move the IT105, subtype 0001, record from his old pernr to the new pernr (by delimiting the previous record and creating a new one with a begin date equal to the IT712 begin date, the employee is able to log in to ESS again.
    Have others encountered similar problems with ESS for CE employees? If so, how did you get past this? I know I can add logic to the ZXPADU02 back-end user exit to update IT105 each time IT712 changes, but I was wondering if there was a better approach.
    Has anyone enabled the HCM_ESS_CE business function? Will this business function resolve the issue we're having, or does it simply let the user choose which personnel assingment he would like to maintain?
    What about configuring infotype 105 as a shared infotype? Will this allow a person's multiple personnel assignments to have the same user ID assigned to it (just like sharing IT 2 allows all pernrs to have the same Social Security Number)?
    As always, your help is greatly appreciated!
    - Steve

    As discussed in CSS, non-CE ESS does not consider any changes made to 0712
    nor will non-CE ESS effectively handle any CE scenarios
    That said there may be someone out-there who knows how to adapt ESS to your scenario
    However you can see from Sid's post that the SAP recommend solution is to implement EHP3 and CE business function if you want CE employees in ESS
    Best wishes
    Stuart

  • Uploading data in infotype-0586 and infotype-0587

    Dear Experts,
         Can i use the standard bapi HR_INFOTYPE_OPERATION for uploading data into infotype-0586( sec 80c deduction) and infotype-0587 (pf related).if so what are the parameters to be passed for the upload.
      Please inform if there are any other bapi for the upload process.
    regards,
    Aeroshil Nameirakpam

    Hi,
    yes you can use...HR_INFOTYPE_OPERATION for your purpose.
    in that you should pass....
    INFTY                - infotype number
    NUMBER           --pernr
    SUBTYPE          --subtype of infotype (if applicable)
    VALIDITYEND      -ENDDA
    VALIDITYBEGIN   -BEGDA
    but before you call this FM...make sure that you lock the employee for which you are updating the record and after this FM updates the record for that employee make sure you unlock the employee...
    to lock the pernr ...use FM....HR_EMPLOYEE_ENQUEUE
    and to unlock...use FM...  HR_EMPLOYEE_DEQUEUE
    in both of these FMs you just need to passs PERNR..
    summerizing this...first use...
    HR_EMPLOYEE_ENQUEUE
    then call...HR_INFOTYPE_OPERATION
    and then...
    HR_EMPLOYEE_DEQUEUE
    thats it!
    <b>Reward Points if answer was helpful,</b>
    Regards,
    Tejas

  • P_ORGIN and P_ORGXX?

    Guru's
    What are P_ORGIN and P_ORGXX?
    Thanks,
    Harish

    Hi ,
    These 2 are the authorisation objects ,
    P_ORGIN consisting of fields
    AUTHC     Authorization level
    INFTY     Infotype
    PERSA     Personnel Area
    PERSG     Employee Group
    PERSK     Employee Subgroup
    SUBTY     Subtype
    VDSK1     Organizational Key
      and
    P_ORGXX consisting of fields
    AUTHC     Authorization level
    INFTY     Infotype
    SACHA     Payroll Administrator
    SACHP     Administrator for HR Master Data
    SACHZ     Administrator for Time Recording
    SBMOD     Administrator Group
    SUBTY     Subtype
    Once these are provided to the user , he/ she can access the data accordingly .
    Let us take for example there is a role maintained for a user
    THis is how it looks for a user in SU01
          Standard   Cross-application Authorization Objects
          Standard   Transaction Code Check at Transaction Start
          Standard   Transaction Code Check at Transaction Start
                  Transaction Code               PA51, ZPTR0011
                  Changed    Human Resources
                  Changed    HR: Master Data
                  Changed    HR: Master Data
                    Authorization level            R
                    Infotype                           2006, 2007
                    Personnel Area                 HYD, BGL
                    Employee Group               *
                    Employee Subgroup           *
                    Subtype                            *
                    Organizational Key             *
         Inactiv     Standard   HR: Clusters
         Inactiv     Standard   HR: Master Data - Personnel Number Check
    Now this employee is capable of looking into data from 2 personal areas  HYD and BGL only .
    Also if this being maintained can be used in the custom reports(Z-report) as well for restricting the data according to locations .
    Hope this helps .
    Regards
    SureshP

  • Communication infotype 105 automatically limited by BAPI_USER_CLONE

    Hello colleagues,
    We have a central system for users management. When we delete users, the changes are replicated to the rest of the systems with ALE using a distribution model with message type USERCLONE. The IDOCs are processed by BAPI_USER_CLONE. We realized that when a user is deleted, communication infotype 105 is automatically limited for the related employee. We would like to know if there is a way to keep infotype 0105 unchanged.
    Thanks for your answers.
    Best regards.
    Elena.

    Hi Elena,
    copy  BAPI_USER_CLONE, implement your own logic and use it to import the IDocs.
    Best Regards
    Bernd

  • Problem updating the infotype 1208 subtype ALUM

    Hi,
    My requirement is to update the infotype 1208 subtype ALUM with the Value "YES" when I terminate a employee in PA40. ( immediately).
    I am using the FM - HR_INFOTYPE_OPERATION which doesn't seem to work.
    I tried running a BDC for PA30 , but it is not allowing me to edit the employee and says that i am processing him.
    I feel this is an issue with locks. But not sure about how to go with.
    Are there any standard classes available or any other method to use to update this infotype while terminating.
    Regards,
    Karan.

    Hi,
    try using this method, this will convert the OLD_IMAGE, NEW_IMAGE, parameters into pnnnn table.
    this code is the following class.
    CL_IM_BR_SALARY_INCREASE,
    you need to create your own method, copy the parameters as well.
    method READ_IMAGE .
      FIELD-SYMBOLS: <f> type any.
      DATA: help_prelp TYPE prelp,
            inf_tabname(10).
      data: wa_p0008      type p0008,
            wa_p0734      type p0734.
      concatenate 'WA_P' p_infty into inf_tabname.
      ASSIGN (inf_tabname) TO <f>.
      loop at p_image into  help_prelp
                      where infty eq p_infty and
                            opera eq p_opera and
                            subty eq '0'.
        CLEAR <f>.
        CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
          EXPORTING
            prelp = help_prelp
          IMPORTING
            pnnnn = <f>.
          append <f> to pnnnn.
      endloop.
    endmethod.
    Message was edited by:
            javier  santana

  • To move the wagetypes from infotype pa0008 subtype 11 to subtype 0.

    Hi all,
    I have a requirement wherin i have a need to copy the wagetypes from infotype pa0008 subtype 11 to pa0008 subtype 0 based on the begin date i.e., if if the begda of subtype 11 is greater than begda of subtype 0 it has to be copied. This has to be run on a monthly process. Can anyone provide me a sample code or tips about how to do this without using dynamic actions.
    Regards,
    Shiji

    Hi
    Usually the entire set of content management scenario like wf's , metadata , expiration etc are created on UCM Server . On the URM side all the life cycles like Retention , Disposition , Records actions etc are created .
    So when you checkin a content and if it is attached to a category / record folders then it will be searchable from URM side as well .
    As for moving the contents you can schedule the Synchronization on a manual basis from UCM side where in the contents will then be searchable from URM side .
    All the contents , metadata and such details will be on UCM itself but they will be attached to the URM life cycles .
    Apart from this if you want then the same ucm server can be turned into a standalone RM server as well by selecting Standalone Option while enabling RM components .
    Or else use the Adapter configuration to have UCM server with RM communicate with a full blown URM server .
    Thanks
    Srinath

  • Regarding Infotype 105

    Hi,
    A strange scenario: whenever we create a user into SAP HR and assign roles to user, we also maintain infotype 105. We maintain SAP systems using CUA (SAP 4.7).
    Now after few days, when we remove all roles from user of HR system (thru CUA), SAP also deletes user id from HR system. We come to know that it's a standard functionality from SAP itself. That means, infotype 105 assignment also gets deleted.
    Has anyone faced the same issue before in SAP HR ? and any way to prevent id from getting deleted by SAP ?
    Thanks,

    I think you need to create rec explicitly in IT105 to trace the user ID.. I mean I just an example like one user has been deleted from the system an year before but his Id is still in IT105.  What does it mean ? Its mean even though you delete the user from SU01, it still carried the information in IT105. One has to delimit it in IT105.
    Hope this’ll give you idea!!
    <b>Pl... award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"
    PS.
    <b>Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!</b>

  • Delimit in infotype 105

    When an employee status is withdrawn in infotype 0, then his user id(subtype 0001) is automatically delimted in infotype 105.
    However it does not delimit a custom subtype in infotype 105.
    Plz let me know on how to acheive this.

    Hi Kalyan,
    Go to SPRO: Personnel management - Personnel administration - Customizing Procedures - Actions - Define infogroups - infogroup - Select "Withdrawal" infogroup (the one which is linked to the action you're using)
    For the relevant user group make sure that entry LIS9 0105 XXXX resides where XXXX is your customized subtype for IT0105.
    If not existent, create the entry.
    Regards,
    Dilek

  • IT 0105 subtype 0001. Assign one System user to more than one person?

    Hello, Gurus!
    We are maitaining Hr master data (infotype 0105 - Communication, subtype 0001 - System User name). We have two person: person A and person B. Person A have communication with system user C. When we communicate person B with same system user C, we gettin error:
    "ID/number already used for person A".
    The time constraint is set to 3 (Record may include gaps, can exist more than once"
    Is it possible to assign one system user more than one person?
    This condition is checked by FM CHECK_USRID. We assume, what the result of this checking can be changed from "Error" to "Alert", if we will change one record in table T77S0:
    Current value:
    GRPID=MAIL
    SEMID=SAPSY
    GSVAL=0001
    Table record after modification:
    GRPID=MAIL
    SEMID=SAPSY
    GSVAL=0002 (or any digital value, which is iffer from "0001"
    Should we expect negative consequences of similar modification?
    Please, advice.

    Thanks for explanation.
    But there is a little moment, that I can not understand ((
    We check PAI module of CHECK_USRID (include MP010530, screen 2000) and find folowing fragment of ABAP code:
      CALL FUNCTION 'RH_GET_HR_USER_SUBTY'                       "YRAK040203
           EXPORTING                                                     "YRAK040203
                 mandt                 = sy-mandt                     "YRAK040203
            IMPORTING                                                     "YRAK040203
                 hr_subty              = hr_subty                         "YRAK040203
            EXCEPTIONS                                                    "YRAK040203
               SUBTYPE_NOT_AVAILABLE = 1                                "YRAK040203
                 OTHERS                = 0.                               "YRAK040203
        IF p0105-usrty = hr_subty.                                        "YRAK040203
        MESSAGE E900 WITH  PA0105-PERNR.                           "YRAk028906
          MESSAGE e900 WITH object_found double.                     "YRABEWERBER
        ELSE.                                                                  "YRAK040203
        message W900 with pa0105-pernr.                                 "YRAK040203
          MESSAGE w900 WITH object_found double.                     "YRABEWERBER
        ENDIF.                                                                 "YRAK040203
    where p0105-usrty=0001 and hr_subty is equivalent field GSVAL=0001 in table T77S0. In other terms, when we are
    maitain subtype 0001, the first condition (marked bold) is always executed.
    For what the "else" condition is used, if it never be executed? If we will change value GSVAL from 0001 to 0002, theoretically, we will get "warning" instead "error", because p0105-usrty = hr_subty=false and code MESSAGE w900 WITH object_found double will be executed.
    Any ideas?
    Regards.

  • Table relations between vbrk and bkpf for  Accounting Document Number

    hello,
    i am using 4 tables to get data into my programs.
    vbrk,vbrp konv and bkpf.
    i want to get belnr from bkpf.i found relation between vbrk and belnr.but in vbrk table belnr's value is initial.
    can anybody tell me that how should i relate vbrk and bkpf or how to get Accounting Document Number(belnr) from bkpf for Billing Document(vbeln).
    regards,
    soniya s.

    hi,
    chekc this. its working for me.
    data : WA_AWKEY LIKE BKPF-AWKEY.
    data :  WA_BELNR LIKE BKPF-BELNR.
    data : LENGTH TYPE I.
    *BREAK MTABAP.
    LENGTH = STRLEN( IT_VBRK-VBELN ).
    if  LENGTH = '10' .
    MOVE it_vbrk-VBELN TO WA_AWKEY.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR.
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY .
    else.
    CONCATENATE '0' it_vbrk-vbeln INTO wa_awkey.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR .
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY.
    endif.

Maybe you are looking for