How to maintain Infotype 21

Hi Experts,
We have a interface to third party system which sends Infotype 21 details.
We are facing a problem of sending duplicate record in the interface.
Upon investigation we came to know that users are creating mulitple record for same dependant.
Is there any standard way in there to distingush between them and find out the unique record. I know the field objps in PA0021 gives us this. Is there any other way?
One more question.
Suppose one employee has a child and same record exists from say 01.01.2000 to 31.12.9999
The child is getting the SSN and employee wants to update the same in IT 21. He wants to create a new record with SSN.
So here what is the ideal way to create?
Copy the infotype record and add SSN with new validity date or cretae a new record with SSN.
Please keep in mind the objps field depends upon this copy or create.
BR/Manas

Actually field objps for infotype 0021 is suposedly used to create new dependants for the same subtype, for example if you have 2 children, one should be 01 and the other 02 and so forth.
Since what you are saying is that people want to create new information but for the same dependant, there are 2 aproaches, one would be to consider this as new information from a particular date, then what you should do is create a new record by copying the previous and adding that new information, also delimiting the previous record, so that way you would have only one record valid for a given date. The other aproach is for example wrong information (wrong birthdate) and in that case it should be a modification of the valid record only, without creating a new one.
In both cases, the objps field should not change, since we are talking about the same dependant.

Similar Messages

  • Maintain Infotype Text using BDC

    Hello All,
    How to maintain infotype text using BDC (Edit->maintain text).
    Thanks,
    Rushi

    Hi,
    First Manually try to do the same activity using SHDB transaction and give the coding part to ABAPER to follow the same to upload the text to infotypes.
    Regards
    Team Member.

  • How to maintain Dynamic Action for Infotype 2 .

    Hi SAP-HR Experts .
    I want to maintain Dynamic Action for Infotype 2 .
    If Employee's No. of Children exceeds then System immediately ask for maintenence of IT-21 also at the same time .
    How to maintain code in table V_T588Z .
    Please elaborate it .
    Thanks & Regards : rajneesh .

    Hi kanupriya .
    your reply was Very helpful for me u2026But i unable to achieve the desired result . I maintained the entries in View V_T588Z like this .My Objective is when some body update the Infotype 2 for a employee , and his/her no. of Childrens exceeds by 2 then system should jump into IT-21 for
    updation of IT-21 at the same time . I think this what Dynamic Actions work out .
    ==========================================================
         ANZKD 04 500 P PSPAR-TCLAS='A'
         ANZKD 04 175 P T001P-MOLGA='40'
         ANZKD 04 176 P P0002-ANZKD>='2'
         ANZKD 04 177 I INS,0021,2,01
         ANZKD 04 178 I INS,0021,2,02
    ==========================================================
    Please suggest me what to do , as the above entries are not workout .
    Your help will be very appreciated.
    Regards ,
    rajneesh(9873607039)

  • How to create infotype 1001

    Hi experts,
    I am doing some configuration in accouting and an error pops up indicating infotype 1001 is not maintained. As I know very little about HR module so I just try to create infotype 1001 in PA30 but turn out it can not be maintained there. Could any body tell me how to maintain this infotype.
    Thanks,
    Tony

    Hi Tony,
    You can go to PP01, select the otype, type in the objid and create 'Relationships' infotype which is infotype 1001.
    Through transaction OOVK, you can find out what all relationships have to be created for an object. Some of these can be maintained through PP01, some cannot be (selecting the relationship subtype and then allowed relationships -> not maintainable flag).
    Basically, you need to find out that for which relationship (subtype of infotype 1001) it is sayin that 1001 is not maintained. Then you can go and create only that relation in PP01.
    Regards,
    Neha

  • How to maintain table hrp1020

    Hi all
    SAP how to maintain table hrp1020 ,
    basically the Infotype 1020 which creates the relationship I want to create the relationship between the object and the workflow template so that I can see in the GOS bar and can start the workflow from there .
    Thanks in advance.
    Naval Bhatt

    HRP1020 can only be maintained my maintaing the relationship with objects.
    you can use transaction P013 Maintain Position and then select the 1020 infotype and creates the record.
    Hope this would help you,

  • Idoc -  message type to maintain infotype

    Hi.
    Please, anyone knows the message type to maintain infotype?
    Regard Angela

    Hi.
    How to implement HRMD_A? With an Event?
    In other words, If a change in Infotype 0002, when the user save, the idoc start and in bw the infopackage load the data passed by idoc?
    Regards
    Angela

  • How  to maintian Infotype 0302?

    Dear All,
    How  to maintian Infotype 0302, Additional Actions.
    Direct selection shows error- This Infotype cannot be maintianed directly.
    Is it maintained directly when we do two actions on the same day, if yes how to view both the actions?
    Regards,
    Saureb

    Hi
    Please see SPRO node "Set up personnel actions"
    You can use personnel actions to carry out complex personnel administration procedures. A personnel action displays, in the correct sequence, the infotypes that have to be maintained for a specific action.
    In this step
    you determine whether you want to use the Additional Actions infotype (0302).
    The Additional Actions infotype (0302) enables the automatic logging of all personnel actions types that you carry out for an employee on a key date.
    Note that in the Actions infoytype (0000), only one personnel action type is saved per day. In this infotype, you only store the personnel action types that change the status of the employee, such as the personnel action type Leaving.
    you define the personnel action types that represent the personnel processes in your enterprise. This means that within the personnel action Hiring, all the infotypes that must be maintained when hiring a new employee are displayed automatically to the personnel administrator for processing.
    define a priority list for the personnel action types that do not change status, and must therefore not be stored in the Actions infotype (0000), but which should nonetheless be logged in this infotype.
    If the personnel administrator performs no personnel action types that change status, but instead several that do change status on one day, the priority list controls which of these personnel action types is to be stored in the Actions infotype (000).
    Note that personnel action types that are only used to process several infotypes in an infogroup should not be stored in the Actions infotype (0000). SAP recommends that you log personnel action types such as these automatically using the Additional Actions infotype (0302).
    You only have to carry out this activity if you want to use the Additional Actions infotype (0302), and have activated this infotype.
    If you want to perform simplified employee organizational changes, you can also set up a 'Country reassignment' action type in this step, for which you set the Country reassignment indicator. For more information on country reassignments, refer to Personnel Administration documentation under Business Processes in Personnel Administration -> Country Reassignment.
    Requirements
    Familiarize yourself with the personnel processes that occur in your enterprise, such as entry or leaving.
    Standard settings
    In the standard system, the Additional Actions infotype (0302) is not activated. Furthermore, the SAP standard system contains several personnel action types.
    Recommendation
    Refer to the SAP sample entries for guidance when you are defining your own personnel actions.
    Activities
    1. If you want to use the Additional Actions infotype (0302), call up view Activate 'Additional Actions' for all existing personnel numbers.
    2. Call up the view Personnel Action Types.
    3. Check the SAP sample entries.
    4. Delete the entries you do not require.
    5. If required, define several personnel action types.
    a) Choose New entries.
    b) In the Action type field, enter a number, and in the Name of action type field, enter a name for the personnel action type.
    c) In the FC field, enter the function character for the personnel action type.
    You can distinguish the first entry actions from all the others. Choose the function character 1 for first entries, 7 for first entries with data transfer from recruitment and 0 for all other personnel action types.
    d) If required, define the status indicator STAT1 (customer specific).
    This status indicator is not used in the standard system. You can use this indicator individually.
    e) Define the status indicator STAT2 (recruitment) and STAT3 (Special payment).
    f) Decide whether you require standard decision rules to define plausibility rules for the sequence of personnel action types (check feature).
    Note: Never change the standard decision rules.
    g) Decide whether organizational assignment data may be changed whilst personnel actions are being carried out. When you set the indicator P, the position field in the Actions infotype (0000) is ready for entry.
    You can process the fields Personnel area, Employee group and Employee subgroup with the indicators PA, EG and ES.
    h) Assign an infotype group number to the IG field in the personnel action type.
    You can then process the the individual infotypes from the selected group in the personnel action type in the appropriate sequence.
    You defined the infotype groups in the " Define Infogroups" step.
    i) Specify whether the date entered on the initial screen of the Actions infotype (0000) is the start date for new infotype records or the end date for old infotype records. This is especially important in the case of leaving actions.
    j) Use the indicator U0000 to determine whether your personnel action type should create a new record for the Actions infotype (0000).
    k) Use the Country change indicator to determine whether the personnel action type is a country change.
    6. If you have activated the Additional Actions infotype (0302), determine whether your personnel action type should be logged in the Additional Actions infotype (0302) using the U0302 indicator. Call up the view Priority list for personnel action types.
    Specify a priority list for the personnel actions which do not change the status, and for which you have set the indicator to U0000.
    In the Priority field assign sequential numbers with a maximum of two digits to each of the personnel action types. The smaller the number, the higher the priority of the accompanying personnel action type.
    Further notes
    Do not define any new personnel action types if only the infotype group should be different for the personnel administrator. To achieve this, you can define the infogroups as user group dependent.
    The keys for personnel action types, which you carry out for an employee, for example, hiring, organizational change, leaving, are stored in the infotype Actions (0000).
    The existence of a personnel number is ruled out by the existence of a record in this infotype.  Only one record can exist for this infotype on the database at any one time.
    When an employee has left, there is also a record in the system for the personnel action Leaving. The most important information in this infotype is the employee's employment status: active, leave of absence, retired, left.
    Personnel actions that are only used to process several infotypes in an infogroup should not be saved in the infotpye Actions (0000). SAP recommends that you log personnel actions of this kind automatically using the Additional actions infotype (0302).
    Notes on the creation of batch-input sessions:
    If you want to carry out a batch-input for a personnel action, do not call up transaction PA40 (Actions menu). Instead, call up transaction PA30 (infotyp menu). In the actions menu place your cursor on the line containing the relevant action; this assumes you know the exact setup of the menu.
    Proceed as follows:
    1. Call up transaction PA30.
    2. Choose the Actions infotype (0000).
    3. Enter the personnel action type in the Type field.
    4. When processing entry actions, enter the function code '=INS', for other actions, enter the function code '=COP'.
    regards
    Pravin

  • How to maintain budget in 2006 when user in 2008 & vice versa?  frame 1 y

    Problem:
    User could not save changes in  original budget in 2006 & in 2008 also.
    Description
    When user tried to change original budget (FR04) in 2006 year,
    then getting a Message on screen
    “ Payment for yearly  budget 2008 samller than distrubuted budget”
    with fund center – commitment item list &
    “ Payment for the annual budget 2006 are less than annual release “
    with fund center – commitment item list.
    User add & release fund in specific fund center-commitment item which was showing in error list.
    After the ‘check’-
    then getting error ‘’ Payment for yearly  budget 2008 samller than distrubuted budget”
    with fund center – commitment item list
    Time frame only shown 2006.
    Here how to maintain budget in 2008 when user in 2006?
    In Next step
    When user tried to change original budget (FR04) in 2008 year,
    then getting a Message on screen
    “ Payment for yearly  budget 2008 samller than distrubuted budget “
    with fund center – commitment item list &
    “Payment for the annual budget 2006 are less than annual release”
    with fund center – commitment item list.
    User add & release fund in specific fund center-commitment item which as  showing in error list.
    After the ‘check’-
    then getting error
    ‘’ Payment for the annual budget 2006 are less than annual release”
    with fund center – commitment item list
    Time frame only shown 2007 2008 2009.
    here how to maintain budget in 2006 when user in 2008?
    Means user can only change budget in 2007 to 2009” when more years coming in timeframe.
    Current year :2008
    Closed year: 2006 
    In Fund Management, need change original budget payments in 2006 which is already closed.
    Purpose:
    Maintain the positive budget in fund center -Commitment item in 2006 & in 2008 which is shwoing in error.
    Can we see past-current timeframe at the same time ?

    1. copy the frames of your looping animation.
    2. create a new movieclip and paste those copied frames onto
    this movieclip's timeline
    3. from your library drag a copy of the above movieclip to
    frame 1 of your main timeline and attach a stop() to that frame.
    4. place your login textfield and ok button on frame 1 of
    your main timeline.
    5. when ok is pressed (and login) passes some condition
    direct your main timeline to frame 20.

  • How to add records or how to maintain list in stored Procedure

    Hi,
    I am facing an issue in the addition of record in the type
    create or replace
    TYPE               "PROD_SEARCH_COUNT_TBL"                                          AS TABLE OF PROD_SEARCH_COUNT_OBJ;
    create or replace
    TYPE               "PROD_SEARCH_COUNT_OBJ"                                          AS OBJECT
    ( /* TODO enter attribute and method declarations here */
        V_Name Varchar2(500 Byte),
        v_Value Varchar2(500 Byte),
        v_count Number
    I want to add records to the type I tried following way
    prod_wcf_rec PROD_SEARCH_COUNT_TBL;
      SELECT PROD_SEARCH_COUNT_OBJ('Name1','Value1',1) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
        SELECT PROD_SEARCH_COUNT_OBJ('Name2','Value2',2) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
        SELECT PROD_SEARCH_COUNT_OBJ('Name3','Value3',3) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
        SELECT PROD_SEARCH_COUNT_OBJ('Name4','Value4',4) BULK COLLECT INTO PROD_WCF_REC FROM DUAL;
    DBMS_OUTPUT.PUT_LINE ('-----------------------------Looping----------------------------');
    FOR i in 1 .. prod_wcf_rec.COUNT
    LOOP         
    DBMS_OUTPUT.PUT_LINE (prod_wcf_rec(i).V_Name||' - '||prod_wcf_rec(i).v_Value||' - '||prod_wcf_rec(i).v_count);     
       END LOOP;
       DBMS_OUTPUT.PUT_LINE ('-----------------------------Looping----------------------------');
    In printing I am getting last records only .So is there any way to add records to PROD_SEARCH_COUNT_TBL
    How to add records or how to maintain list in stored Procedure

    Every time you BULK COLLECT into a collection type the value is overwirtten. So you need to try something like this.
    SQL> create or replace type prod_search_count_obj as object(v_name varchar2(500 byte), v_value varchar2(500 byte), v_count number)
      2  /
    Type created.
    SQL> create or replace type prod_search_count_tbl as table of prod_search_count_obj
      2  /
    Type created.
    SQL> declare
      2    prod_wcf_rec prod_search_count_tbl;
      3  begin
      4    select obj_val
      5      bulk collect into prod_wcf_rec
      6      from (
      7            select prod_search_count_obj('name1','value1',1) obj_val from dual
      8            union all
      9            select prod_search_count_obj('name2','value2',2) from dual
    10            union all
    11            select prod_search_count_obj('name3','value3',3) from dual
    12            union all
    13            select prod_search_count_obj('name4','value4',4) from dual
    14           );
    15
    16    dbms_output.put_line ('-----------------------------looping----------------------------');
    17    for i in 1 .. prod_wcf_rec.count
    18    loop
    19      dbms_output.put_line (prod_wcf_rec(i).v_name||' - '||prod_wcf_rec(i).v_value||' - '||prod_wcf_rec(i).v_count);
    20    end loop;
    21    dbms_output.put_line ('-----------------------------looping----------------------------');
    22  end;
    23  /
    -----------------------------looping----------------------------
    name1 - value1 - 1
    name2 - value2 - 2
    name3 - value3 - 3
    name4 - value4 - 4
    -----------------------------looping----------------------------
    PL/SQL procedure successfully completed.
    SQL>

  • How to maintain Ztable using function module instead of SM30

    Hi Friends,
    please tell me , How to maintain Ztable or view using function module instead of SM30.
    Thanks,
    Veerendra.

    Hi,
    You can design your report and use Function module VIEW_MAINTENANCE_CALL for that.
    You need to use Action type as 'S' for displaying and 'U' for maintaining the table.
    Ex:
    CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
      EXPORTING
        ACTION                               =  'S'
        VIEW_NAME                            =  'Table Name'
    EXCEPTIONS
       CLIENT_REFERENCE                     = 1
       FOREIGN_LOCK                         = 2
       INVALID_ACTION                       = 3
       NO_CLIENTINDEPENDENT_AUTH            = 4
       NO_DATABASE_FUNCTION                 = 5
       NO_EDITOR_FUNCTION                   = 6
       NO_SHOW_AUTH                         = 7
       NO_TVDIR_ENTRY                       = 8
       NO_UPD_AUTH                          = 9
       ONLY_SHOW_ALLOWED                    = 10
       SYSTEM_FAILURE                       = 11
       UNKNOWN_FIELD_IN_DBA_SELLIST         = 12
       VIEW_NOT_FOUND                       = 13
       OTHERS                               = 14.
    Hope this helps.
    Message was edited by: Imtiaz Ahmed

  • How to maintain material master data in plant....

    Hi all,
    while creating BOM I am getting an error "no material master data in plant'  can some one help me how to maintain the material master data in plant
    Regards,
    Balu

    Hi,
    Please check the below link for MMR creaion .
    http://web.mit.edu/sapr3/windocs/bpmdb01m.htm
    Regards,

  • How to maintain the material master data in plant

    Hi all,
    while creating BOM I am getting an error "no material master data in plant' can some one help me how to maintain the material master data in plant
    Regards,
    Balu

    Check the material available in MARC table in SE11 transaction against your plant.If it is not available please maintain through MM01 transaction.

  • How to maintained the Text  language for CKF keyfigure

    Dear All,
    Please let me know how to maintained the text language for CKF I am using only keyfigures in CKF.
    Issue is text is not showing in Spain language when user exeuted the report (longin Spain) for CKF keyfigures .
    As per report design there are formuals and direct keyfigures and CKF has defined and we keep it under in Row struture in the report.
    After exeuted the report (Login Spain)Text has converted in all languages along with spain except for CKF keyfigures.
    Issue in text CKF's:
    There is a main  CKF (Cost) under this again we defined two sub CKF's those are total cost and average cost. We able to see the text in Spain language for Main CKF(cost) and also cheked in RSZELTTXT(Texts of reporting component elements) for the same.
    We can able to see the text in all languages for main CKF(cost) and enteries are there in RSZELTTXT table.
    We can see only  the text in english for  total cost and average cost and also enteris are there only in EN in RSZELTTXT table.
    It would help to me if any one can answer my question.
    Thanks in advance .
    Regards,
    MQ

    U can fetch the texts for the items using
    Read_text.
    Example:
        g_f_tdname = xvttp-vbeln.
        g_f_obj = p_obj.
        g_f_langu = 'DE'.
        REFRESH g_t_lines.
        CLEAR g_t_lines.
        CALL FUNCTION 'READ_TEXT'
             EXPORTING
                  id                      = p_var
                  language                = g_f_langu
                  name                    = g_f_tdname
                  object                  = g_f_obj
             TABLES
                  lines                   = g_t_lines
             EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
        IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    The Required fields are,
    Text-id ,language,name,object.
    Let me know if you further require help.
    Regards

  • How to maintain serial no for sales order created by BAPI

    Hi all,
    We are using BAPI for creating sales order "BAP_SALESORDERDAT2" but we are not able to assign Serial number while using this BAPI. Is there any function modul, BAPI, or workarround available to solve this problem. Or how to maintain Serial number.
    Regards
    Shambhu Sarkar

    Hi
    It is not possible to to maintain serial numbers with the normal SD
    BAPIS. This functionality is not scope of the BAPIS.
    regards,
    Ramana

  • How to Maintain the Pricing Condition Records in CRM

    Hi
    I am new to the CRM
    How to maintain the pricing condition records in crm for the particular condition type?
    as we do in SD(VK11)
    Thanks

    Hi Binu,
    First of all, you could maintain pricing conditions in the following places:
    1. In General Condition Maintenance (GCM)
    2. At the product maintenance level
    3. At the 'Price agreement' tab of Contracts
    4. As manual conditions during order processing at item level
    Now, if you want to maintain conditions using GCM, you first have to maintain a condition maintenance group in the customizing where in you can assign condition table and condition type for different counter values. I am assuming that you have done this activity successfully.
    When you run the transaction '/SAPCND/GCM', for application 'CRM', your condition maintenance group name and context 'GCM', you will be initially taken to a screen where in you'll have an item area which would be blank and then condition fields would be displayed in a tree on the left.
    Here, select the field 'Condition type' and click on icon 'Select records'. You would get a dialog prompting you to enter condition type. Here you can specifiy the condition type for which you want to maintain/view condition records.
    If no condition records are available, item area would be left blank. Here, you can choose a condition type using the standard F4 help. Depending on condition types that are assigned to condition maintenance group, different condition types would be displayed in the F4-help using which you can maintain condition records.
    Hope this helps.
    Regards,
    Pavithra
    **PS: Please reward points if this helps.

Maybe you are looking for