IT0002 New Infotype Framework with Secondary Infotype Short Dump

In our new ERP 6.0 system, we are seeing a short dump, ASSIGN_BASE_TOO_SHORT  in CL_HRPA_INFOTYPE_0002_BE when hiring a Belgium employee.  It appears in the new Framework, the SPECIFIC_INITIAL_COMPUTATIONS method of CL_HRPA_INFOTYPE_0002_BE is expecting there to already be data in IT0108 (secondary infotype for Belgium IT0002).  However, during a hire, this data has not been filled yet.  That will be done during the processing of the IT0002 itself.
I looked into IT0021 for the US, where IT0106 is a secondary infotype and the issue isn't present.  The code in the SPECIFIC_INITIAL_COMPUTATIONS of CL_HRPA_INFOTYPE_0021_US is written entirely different without the use of field symbols, so maybe it is a coding issue?
Has anyone else run into this issue, or know if we are possibly missing configuration that would keep this issue from happening?

Suresh,
Yes, we have seen that note, and we have those changes implemented.  We are still having an issue.  The issue is related to any IT0002 with a secondary infotype so that includes Belgium, Brazil, Korea just to name a few.
It appears the PNNNN2 structure within the SPECIFIC_INITIAL_COMPUTATIONS method is null (because it hasn't been created yet), and that is causing the short dump.  I can't believe this is working as expected because there is no way the IT0108 can be assumed to have a value in it, or you could never hire anyone.
Bob

Similar Messages

  • Data load failing with a short-dump

    Hello All,
    There is a data load failing with the following short-dump:
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                    CX_FOEV_ERROR_IN_FUNCTION
    Full text:
    "UNCAUGHT_EXCEPTION" CX_FOEV_ERROR_IN_FUNCTIONC
    "CL_RSAR_FUNCTION==============CP" or "CL_RSAR_FUNCTION==============CM004"
    "DATE_WEEK"
    It seems as if it is failing in a function module - please advise.
    Regards,
    Keith Kibuuka

    Did you read OSS [Note 872193 - Error in the formula compiler|https://service.sap.com/sap/support/notes/872193] or OSS [Note 855424 - Runtime error UNCAUGHT_EXCEPTION during upload|https://service.sap.com/sap/support/notes/855424]
    Regards

  • Create employee with detached infotype framework

    Hello,
    I'm desperately trying to create a new employee with the decoupled infotype framework, without success.
    I try to save IT0000 and IT0003 (as secondary record) at first, but when I call the  'if_hrpa_masterdata_bl~get_infty_container' method, a 'cx_hrpa_missing_infty_data' exception is raised because the framework can not find any IT0003 record for the new employee (of course, since I'm trying to create it!).
    So I can't do any insert since I can't get any container...
    Thanks in advance.
    Mathieu

    So, isn't there a way to create an employee with the detached infotype framework?
    Here is the code I used to try to create an employee in the system:
    *-- Get business logic from masterdata factory
      CALL METHOD cl_hrpa_masterdata_factory=>get_business_logic
        IMPORTING
          business_logic = lo_masterdata_bl.
      TRY.
          CREATE OBJECT lo_message_list.
    *-- THIS IS WHAT DOESN'T WORK. Since I can't get a container, I can not do anything else.
          lo_masterdata_bl->get_infty_container(
            EXPORTING
              tclas           = c_employee_tclas
              pskey           = ls_pskey
              massn           = '00'
              massg           = '00'
              no_auth_check   = abap_true
              message_handler = lo_message_list
            IMPORTING
              container       = lo_infty_container
              is_ok           = success
    *-- Message management
    *-- Update old data with new one
          lo_infotype_container ?= lo_infty_container.
          lo_infty_container ?= lo_infotype_container->modify_key( ls_pskey ).
          lo_infotype_container ?= lo_infty_container.
          lo_infty_container ?= lo_infotype_container->modify_primary_record( pnnnn ).
          IF pnnnn2 IS NOT INITIAL.
            lo_infty_container ?= lo_infotype_container->modify_secondary_record( pnnnn2 ).
          ENDIF.
    *-- Insert record
          CALL METHOD lo_masterdata_bl->insert
            EXPORTING
              massn           = space
              massg           = space
              update_mode     = ls_update_mode
              no_auth_check   = abap_true
              message_handler = lo_message_list
            IMPORTING
              is_ok           = success
            CHANGING
              container       = lo_infty_container.
    *-- Flush
          IF flush_immediately EQ abap_true.
            CALL METHOD lo_masterdata_bl->flush
              EXPORTING
                no_commit = space.
          ENDIF.
    *-- Message management
        CATCH cx_hrpa_violated_assertion INTO lo_exception.
    *-- Message management
      ENDTRY.

  • Create IT2013 entry with the decoupled infotype framework

    Hello,
    I tried to create an IT2013 (Quota corrections) entry with the new decoupled infotype framework but I didn't success.
    I first tried by using if_hrpa_masterdata_bl->get_infty_container to get a container (and then change it and save it) but I get an error because the time constraint for IT2013 is set to 'Z' and the framework don't handle it.
    So I guess this is because if_hrpa_masterdata_bl and other related classes/interface can only be used for PA and not for Time.
    Therefore I tried to find Time infotypes dedicated classes and I found some.
    The most interessant one is CL_PT_BLP_IT2013. It looked perfect, with everything I needed, but it doesn't work: when CL_PT_BLP_IT2013->IF_HRPT_BLP_INFOTYPE~GET_INFTY_CONTAINER is called, it tries to create an instance of CL_HRPT_INFTY_TIME_CONTAINER but raises an exception. Not surprising because the only non-commented line its constructor executes is:
    METHOD constructor.
      RAISE EXCEPTION TYPE cx_hrpa_violated_assertion.
    *  if_hrpa_infty_container~a_tclas          = 'A'.
    *  if_hrpa_infty_container~a_pskey          = pskey.
    *  if_hrpa_infty_container~a_infotype_logic = infotype_logic.
    ENDMETHOD.
    Moreover, the description of the class CL_HRPT_INFTY_TIME_CONTAINER is: "DO NOT USE! HR: Time Data Container", so it's not suprising at all it doesn't work.
    I found some other Time infotypes related classes like CL_PT_BLP_INFOTYPE or CL_PT_TD_INFOTYPE but I couldn't figure out how to create a new IT2013 entry with those ones.
    At the end of the day, I couldn't find any way to create a new IT2013 entry using the decoupled infotype framework.
    Can someone please help?
    Thanks in advance.
    Mathieu

    Hi,
    The time infotypes 2XXX are not yet decoupled as per the standard infotype framework. Hence there are no decoupled classes delivered in standard.
    Regards
    Roy
    SAP Labs

  • New Infotype Framework

    Hello!
    I'm just going to implement a new Infotype that should use the Data Sharing functionality for Concurrent Employment. I've read a document about the implementation of the "new" Infotype Framework, but I haven't found an example how to use it for my needs. Is there an example for the use of the Infotype Framework (e.g. Classes CL_HRPA_DATA_SHARING, CL_HRPA_INFOTYPE_FACTORY, ...).
    Has anyone ever used the framework to insert/modify an IT-record?
    Thanks in advance!

    Hi Juergen,
    I know i am too late in replying to your question.
    However, better to be late than naver, I thought I will share with you how i achieved it in my last project.
    You can refrer to the below example code ( Logic for inserting record in infotype 0015).
    Note: Structure wa0015 type PA0015 contains the data which you want to
            update in infotype 0015.
      FIELD-SYMBOLS: <ls_pnnnn> TYPE p0015.
      ASSIGN p0015 TO <ls_pnnnn> .
    create instance
      CALL METHOD cl_hrpa_masterdata_bl=>get_instance
        IMPORTING
          masterdata_bl = g_masterdata_bl.
      CREATE OBJECT g_message_handler.
      MOVE-CORRESPONDING wa0015 TO <ls_pnnnn>.
      <ls_pnnnn>-infty = ‘0015’.
    start trial
        CLEAR g_magic_cookie.
      CALL METHOD g_masterdata_bl->start_trial
        IMPORTING
          magic_cookie = g_magic_cookie.
    create infotye container
      CLEAR g_is_ok.
      CALL METHOD g_masterdata_bl->get_infty_container
        EXPORTING
          tclas           = c_tclas
          pskey           = <ls_pnnnn>-pskey
          message_handler = g_message_handler
        IMPORTING
          container       = g_container.
      <ls_pnnnn>-pskey     = g_container->a_pskey.
      g_container_nnnn ?= g_container.
      g_container      ?= g_container_nnnn->modify_primary_record( <ls_pnnnn> ).
    insert record in infotype
      DATA: ls_bapiret1 TYPE bapiret1.
      CLEAR g_is_ok.
      CALL METHOD g_masterdata_bl->insert
        EXPORTING
          message_handler = g_message_handler
        IMPORTING
          is_ok           = g_is_ok
        CHANGING
          container       = g_container.
    success
      IF g_is_ok = c_true.
      CALL METHOD g_masterdata_bl->approve_trial
        EXPORTING
          magic_cookie = g_magic_cookie.
    commit work
      CALL METHOD g_masterdata_bl->flush
        EXPORTING
          no_commit = space.
    error
      IF g_is_ok IS INITIAL.
    discard trial
      CALL METHOD g_masterdata_bl->discard_trial
        EXPORTING
          magic_cookie = g_magic_cookie.
    append errors
      DATA: lt_msg TYPE hrpad_message_tab,
            ls_msg LIKE LINE OF lt_msg,
            ps_return TYPE bapiret1.
      IF g_message_handler->has_abend( ) = 'X'.
        CALL METHOD g_message_handler->get_abend_list
          IMPORTING
            messages = lt_msg.
      ELSEIF g_message_handler->has_error( ) = 'X'.
        CALL METHOD g_message_handler->get_error_list
          IMPORTING
            messages = lt_msg.
      ELSE.
        EXIT.
      ENDIF.
      LOOP AT lt_msg INTO ls_msg.
        CALL FUNCTION 'BALW_BAPIRETURN_GET1'
          EXPORTING
            type       = ls_msg-msgty
            cl         = ls_msg-msgid
            number     = ls_msg-msgno
            par1       = ls_msg-msgv1
            par2       = ls_msg-msgv2
            par3       = ls_msg-msgv3
            par4       = ls_msg-msgv4
          IMPORTING
            bapireturn = ps_return.
        APPEND ps_return TO pt_return.
      ENDLOOP.
      ENDIF.
    Regards,
    Dinesh Pandey

  • Creation of Secondary Infotypes

    Hello gurus,
    I have to create secondary infotypes for IT0021 for the country Sweden. I am trying the transaction code PM01....but I don't get to see the IT View option in the menu so as to initiate secondary infotype creation.
    Request your urgent help.

    Hi
    Having not worked on a Swedish project can't say that I know what you actually require, however SAP make it fairly clear about not creating your own IT view.
    Standard settings
    SAP delivers infotype views for several chosen infotypes - especially for
    those of relevance to the German civil service.
    Activities
    Do not create any of your own infotype views.
    Do not change the settings for assigning infotypes and views.
    If it is a legislative requirement it should've been delivered by SAP, if it's a new legislative type requirement it should be delivered by SAP although I can't find any recent OSS note covering this.  The standard SAP help also doesn't mention any country specific requirements with regards to Sweden and IT0021.
    Cheers
    Euan

  • Short Dump Applicant Infotype

    Dear All,
    we have to create a client infotype for an applicant implementation.
    We create succesfully the infotype in transaction PM01.
    The problem is that when we want to test the new infotype in PB30, the system show us a short dump:
    The current ABAP program "SAPFP50P" had to be terminated because it has....
    OBJECTS_OBJREF_NOT_ASSIGNED
    CX_SY_REF_IS_INITIAL
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL'
    (variable: "INFOTYPE_CHECK").
    Can you please tell me which is the solution? We are not sure if we need any adittional add-on in the system to customize RC module.
    Many thanks in advance,
    Laura

    Hello Laura
    Check the following steps correctly to create a HR Infotype:
    1) Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the 'Employee Infotype' radio button.
    4) Select the 'PS Structure Infotype'.
    5) Click on Create... A separate table maintenance window appears...
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on 'All' push button. It takes a few moments.
    10) Click on 'Technical Characteristics'. Infotype list screen appears
    11) Click on 'Change'(pencil) button
    12) Select your Infotype and click on 'Detail' (magnifying glass) button
    13) Give 'T591A' as subtype table
    14) Give 'T591S' as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on 'Infotype Characteristics' ... Infotype list screen appears
    18) Click on 'Change' (pencil) button
    19) Click on 'New Entries'
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirement...
    25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select 'Layout Editor' and click 'Change'.
    27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Don't forget to 'Activate at every level)
    Subtype Creation :
    Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
    Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
    Subty.text tab is T591S and time const tab is T591A.
    See:
    http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
    HR related site:
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    Enhancement of Infotype
    Check the following
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
    Infotype Enhancement overview screen
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1

  • Infotype Creation With a subtype................................

    My requirement is to create an custom  ACCOMDATION type infotype with subtype as 1)temporary 2) Permanent .
    when user enters the data in the infotype first a popup will come and ask us to select accomdation type......temporary or Permanent.
    Do i need to code this thing in the module pool genrated or this popup is standard function of infotype with subtype.
    please help.

    Dear Anil,
    http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
    1) Go to Transaction PM01. 
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9). 
    3) Select the ‘Employee Infotype’ radio button. 
    4) Select the ‘PS Structure Infotype’. 
    5) Click on Create… A separate table maintenance window appears… 
    6) Create a PS structure with all the fields you want on the Infotype 
    7) Save and Activate the PS structure 
    8) Go back to the initial screen of PM01. 
    9) Click on ‘All’ push button. It takes a few moments. 
    10) Click on ‘Technical Characteristics’. Infotype list screen appears 
    11) Click on ‘Change’(pencil) button 
    12) Select your Infotype and click on ‘Detail’ (magnifying glass) button 
    13) Give ‘T591A’ as <b>subtype</b> table 
    14) Give ‘T591S’ as subtype txt tab 
    15) Give your subtype field as subtype field 
    16) Save and come back to PM01 initial screen 
    17) Click on ‘Infotype Characteristics’ … Infotype list screen appears 
    18) Click on ‘Change’ (pencil) button 
    19) Click on ‘New Entries’ 
    20) Enter your Infotype number and short text 
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype’s infotype characteristics screen and use as the reference to fill yours) 
    22) Save your entries. 
    23) Now the Infotype is created and ready to use. 
    24) If you want to change the layout of the Infotype as per your requirement… 
    25) In the PM01 initial screen…Select ‘Screen’ radio button and give 2000 as the screen name, then click on edit. 
    26) In the next screen.. Select ‘Layout Editor’ and click ‘Change’. 
    27) Screen default layout appears…here you can design/modify the screen..change the attributes of the fields..etc. 
    28) Save and activate. (Don’t forget to ‘Activate at every level) 
    Regards,
    Naveen.

  • DIF Time infotypes: Availability of time infotypes in the decoupled infotype framework

    Hi (fellow) experts,
    My primary and most wondered question:
    Does anyone out there has an idea on SAP schedule to release compatibility fix for time infotype (constraint Z) in the decoupled infotype framework?
    Many of us lately talk about and use the decoupled infotype framework; I see many clients interested in HR-Renewal PAOM attractive interface but when question turns around time data I tend to change subjects)... HR Renewal 2.0 has awesome new features such as the Payroll Control Center and the possibility for dynamic action but still no access to time infotypes... Tricky to manipulate infotype 2010, 0416 data without accessing the backend system to correct payroll data... I don't even start on 2001 absence infotype..., etc...
    I also have some question on the SAP official working model for certain PA infotype that update in background time data (e.g. 0080 for instance). 
    There are some country specific infotypes that bothers me a little bit because I don't  understand the SAP working model behind it; it's about french infotype Work stopped (0424) which is a data entry screen for work incapacity derived from illness or accident at work that update infotype 2001 in the background.
    Now if I take a detailed look at the decoupled class CL_HRPA_INFOTYPE_0424 method SPECIFIC_INSERT_COMPUTATIONS for instance I can see how the specific logic to create infotype 2001 is nicely commented out in the code while in the backend both those infotype are completely integrated.
    So what am I to understand: class is actively decoupled and I can use it but I will never have the same functionality that I have in the backend system? or is something else? same question apply to infotype 0080 under not only the french template, but UK, Spain... etc... , in the french version it updates both infotype 0424 and 2001 in the backend but I don't see nothing of the sort in the DIF even though there is an active specif FR convertion class (does not seems to be in working order and no infotype 0424 update anywhere nor of course 2001)...
    Let me be clear: I think the DIF initiative is a great innovation from SAP; very easy to understand, manipulate and so much more versatile. It would be awesome if everything would be ready to use ... very powerful tool.
    Thank you for time gurus!!!
    Antoine

    Hi Gurus:
    Well well sounds like some effort in decoupling time infotype development has been released into EHP8.
    At least I am able to see development class and FPM configurations for infotypes 2001, 2006, 3355... so even if not everything is ready I can now see things are well on the way!
    Cheers.

  • Problem in PA30 with custom infotype

    Hi,
    I created a custom infotype 9001 and i  want to check the correctness of the infotype in PA30 but when enter the personnel no and infotype as 9001 and click on create it goes to short dump and an error arises "Dialog module "RP_9001 " not found".
    Waiting for ur reply......
    Thanks,
    Ali

    Hello  Frn  ,
          when you follow the Step for creating the infotype ...
      at the time of creating the new entries (when you press the button for infotype Charatcerstics) a screen appears ..where you need to give the
    Screen No ....
    list Screen ..
    Dialog module ...
    check all the entries ...
    Thanks and Regards..
    Priyank

  • HR_INFOTYPE_OPERATION doesn't work with enhacements infotypes?

    Hi experts,
    I need to update  infotype 15 with some data, the problem is that this infotype has been modified and now has more fields, does anybody know how can I update that infotype? Is there any FM for doing this? I was using HR_INFOTYPE_OPERATION but it don't update the new fields.
    Thanks in advanced,
    Regards,
    Rebeca

    The FM works perfectly!!! Sorry for the confusion!!
    Regards,
    Rebeca

  • PA Secondary Infotype

    Hi,
    I want to know which are the seceondary infotypes used in the system.
    Can anyone help me from where I can get to know about secondary Infotypes.
    Rgds,
    Lata

    Many country versions require country-specific fields that are attached to all international infotypes. To prevent international infotype structures from being overloaded with country specific fields, the fields are moved to additional infotypes. The data however is maintained as a single unit .The primary and additional(secondary) infotypes are maintained together on one screen in an infotype view which is defined using T582V and T582W. Both the infotype records have an identical infotype key
    Example(for US)-Primary infotype 0021 is used for stroing data of Family Member/ Dependents. It has a  secondary infotype 0335(HR Master Data: Infotype 0335 (infotype 21 view - PT)) associated with it. If you have a family member or dependent in 0021, where do you store the Social Security Number of this realted family member/dependent? SSN of the dependent goes into PA0335.
    P.S- The SSN for the employee himself is stored in the infotype 0002: PA0002-PERID.

  • Data not storing in Custom infotype build with tab strips

    Hi All,
    I have created one custom infotype 9030,
    With screen 2000.
    which is having tab strips, I have build the screens refering to p9030-zztest its not storing in database.
    where I am doing wrong...please let me know what should be done in this case.
    Regards
    Satish.v

    Hi,
    Checkout the below link :
    <link to blacklisted site removed by moderator>
    Shailaja Ainala.
    Edited by: Thomas Zloch on Jan 28, 2012 9:06 PM

  • Short dump while changing the end date of infotype 0167 through PA30

    Hi all,
    I am getting short dump while changing the end date of infotype 0167(Health Plans) through Tcode PA30.
    dump descript is as below
    An exception occurred that was not caught.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                CX_HRPA_VIOLATED_POSTCOND
    Date and Time          11.03.2010 07:06:26
    What happened?
        The exception 'CX_HRPA_VIOLATED_POSTCONDITION' was raised, but it was not
         caught anywhere along
        the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
         'CL_HRPA_SAPUP50R_ADAPTER======CP' has to be
        terminated.
    thanks
    shahid

    Search OSS Notes for that.

  • Problem with LSMW infotype 1950 recording

    Hi !
    When I use The LSMW recording facility to play in a PO10 Properties (HR infotype 1950) I get error in the process step when the pgm action to the =UPD command  is to clear all the screens fields (pgm MP195000 screen 2000).
    I see that when LSMW process step is running sets sy-datar to "X" when MP195000 screen 2000 is executing and then a clear step executes
    ....but it do not be the same with manually infotyp input  by the same screens.
    Can some one help me  with this problem?

    Can I import it from the QA Client....there are lot of recording in this project , in which I just want to export/import only one project , how can I do that .

Maybe you are looking for

  • Webdynpro - Dropdown UI Elements

    Which webdynpro dropdown UI element is better in terms of performance: dropdown by key, or, dropdown by index?

  • After 4.3.4 update the ipPad is in Recovery mode and iTunes doesn't detect the device

    Hello, brand new Win7 installation, restored iTunes folder and installed latest 10.4. iTunes64 bit. Hooked up both my iPad and iPhone4 Detected new firmware 4.3.4 and bang, both devices are now stuck into recovery mode. No matter I set the iPad/iPhon

  • Application keeps trying to install and can't

    After creating a backup of all my data and updating my N95 8GB to the latest firmware I now have a problem of some application trying to install itself after I use Mass Memory mode or turn my phone off and then back on again. It tries to install for

  • ICloud could not be activated because of a server error.

    Hello, I am having issues getting connected to iCloud from my Macbook Pro Late 2013. I have no problems logging in. I accept the terms and conditions and immediately get an error: Server Error iCloud could not be activated because of a server error.

  • Basic help for an Iphone newbie - (Sorry!)

    Hi there, I am thinking about getting an Iphone but I simply cannot find definitive answers for the following. Can you guys help? Am I right in saying that the iphone does NOT have the following:-? Bluetooth Video Camera MMS Facility Sat Nav Facility