Error in subroutine read_namtb for structure of infotype

We are trying to transfer HR Master data between ERP 5.0 and ECC 6.0 systems .
The data transfer is successful in the development and Quality environments but fails in case of production environment.
Details are given below
Message type : HRMD_A
Idoc type : HRMD_A06    ( Release 620 )
When we try running PFAL using any evaluation path the idoc at the receiver ends up with an status 51 (error) .
The error log gives the following error .
u201CError in subroutine read_namtb for structure of infotypeu201D.
I tried posting the received Idoc again at the receiving end using the transaction WE19 with the function module u201CIDOC_INPUT_HRMDu201D .
The observations are given below.
1.     While processing some of the records the infotype table name field becomes empty .
2.     The subroutine read_namtb uses a FM u201CNAMETAB_GETu201D ,  which takes the input as the infotype table name and provides the output as all the fields of the table along with the attributes of the field.
3.     As sometimes the table name is passed empty the function module returns an error which is mentioned above.
Note : If we run PFAL without providing any evaluation path the idoc at receiver ends up with status 52 ( Application not posted completely).

Hi Hadiman,
I will activate those BADI's and check.
But we solved the problem in a different way.
Below is the analysis of the error.
1.     The data was getting passed in an additional segment E1PAD007 in the production environment from the sender system.
2.     During the inbound process the FM u201CRH_INFTY_OF_IDOCSEG_TYP_GETu201D is used to identify the respective infotype and the subtype
for the segment name in the receiver system.
3.     The function module searches for the tables T777D and table T77ar to fetch the infotype and the subtype.
4.     The table T77ar does not contain the relevant entry .
5.     The segment is related to a relationship u201C007u201D between jobs and positions.
6.     As we do not need jobs in the target system, we removed the object type u2018Cu2019 from the model distribution.  This resolved the error.
Note : The other way to resolve was to make an appropriate entry in the table T77AR .
Thanks a lot Hadiman for the reply, will check with those BADI's too which you mentioned
Regards,
Santosh.

Similar Messages

  • Error in subroutine READ_NAMTB

    Hi,
    While posting an idoc through the test tool WE19, we are encountering an error  'Error in subroutine READ_NAMTB for structure of infotype'. We are using the extended idoc type ZRMD_A06 with a custom segment containing the PERNR and some other details.
    Are we missing out on something?Please advise!
    Thanks in advance!
    Regards,
    Nejuma Iqbal

    Hello Neujuma Iqbal
    Have you already found a solution to this problem?
    If yes, could you please tell me?
    thanks + regards
    Paul Züllig
    mail: [email protected]

  • Error in subroutine READ_NAMTB while transferring data from HCM to xRPM.

    Hi Guys,
    I am facing a problem while transferring data from HCM to xRPM via ALE.
    We are getting the error " Error in subroutine READ_NAMTB" during the Inbound Processing of Idocs in xRPM.
    We have used the standard message type HRMD_ABA and IDoc type HRMD_ABA04 without any modifications.
    Request you all to kindly let me know the solution to fix this issue asap.
    Thanks in advance,
    Punkuj..

    It was a bug in SP2, it is fixed in SP2 Patch 4.
    Cheers !!
    Zaheer

  • Error: while configuring logs for changes in infotype data

    Hi All,
    I am configuring the following Tables for maintain logs for changes in infotype data.
    V_T585A, V_T585B and V_T585C
    While configuring V_T585B, when i input * in 'field name' column it gives me an warning message " All data fields in **** infotype 31 will be deleted.
    Please let me know, what does this warning message means?
    Also, How is the report RPUAUD00 read?
    Regards
    Simran

    Hi Simran,
    you are not suppose to give the IT 0031-Reference Personnel Numbers in these tables. why because this will done at the time of Employee hiring only and we don't change this. if you change you will lost the old data in the IT.
    Normally we assign only the IT which we change frequently for the master data. example like 0 1 2 7 8 9 27 582 - 589 2001 2006.
    if you are configuring today means from today on-wards any changes had made to these IT's you can see in the report. before changes will not be seen. in the report you have to choose either long-term document / short-term document and remaining fields as per the requirement.
    Regards,
    Praneeth kumar

  • Function Module Error In Uploading Data for Basic Pay Infotype

    Hi All,
    I'm trying to upload data into Basic Pay Infotype 0008 Using LSMW Subtype 0(Basic Contract). While we are trying to input values into ANSAL(Annual Salary) field directly using default wage type as 1000.
    We are gettting a error in function module RP_ANSAL_FROM_WAGETYPES.
    and eventhough we are inputting values into ANSAL field it is taking it as 0.00 by default .
    Kidly suggest me solution.
    Thanks,
    Vasanth

    Hi ..
    check this
    765785
    673372
    730976
    note 1032950
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
    Message was edited by:
            hari kv

  • EREC: An error occurred when you tried to insert infotype 1001 in IDOC

    Hello Experts,
    I have standalone e-Recruitment system and separate SAP HR system. I have ALE configuration done to talk both system.
    In the Initial Transfer, I ran PFAL in HR system in 5 steps.
    Step 1  Execute PFAL (RHALEINI)for Obj Type O, Infotype 1000 and Transfer mode as Update mode
    Step 2  Execute PFAL (RHALEINI)for Obj Type S, Infotype 1000 and Transfer mode  as Update mode
    Step 3  Execute PFAL (RHALEINI)for Obj Type O and Transfer mode as Insert
    Step 4:  Execute PFAL (RHALEINI)for Obj Type S and Transfer mode as Insert
    Step 5:  Execute PFAL (RHALEINI)for Obj Type P and Transfer mode as Insert
    All IDOC created in update mode (Step 1 & 2) are green in receiving e-recruitment system but IDOC getting create in Insert mode (Step 3 ,4 &5) are in status 51/52 I mean Red.
    Error messages are as below:
    1) An error occurred when you tried to insert infotype 1001 using RH_INSERT_INFTY (return code 3).
    2) You tried to create a relationship from object 01S 76037685 to object 01AGC:R3HCM:OM_DISPLAY_US. However, object 01AGC:R3HCM:OM_DISPLAY_US does not exist or is not active in the period from 20110101 to 99991231
    3) You tried to create a relationship from object 01O 10840305 to object 01O 10299323. However, object 01O 10299323 does not exist or is not active in the period from 20110101 to 99991231.
    @ 3rd message : Object 10299323 exist but I still don't understand why I get this message.
    Please provide valuable suggestion so that I can get rid of this error in IDOC
    Appreciate your help.
    Regards,
    Krishna Bidwai
    Losangeles USA.
    818 527 0204.
    Edited by: krishna bidwai on Aug 22, 2011 7:19 PM

    Dear Krishna,
    Hope you are doing good.
    I know its very late in getting into this conversation. Since I am also experiencing the same issue, i need some inputs from you.
    The error you posted on the top is same what i am getting when I am doing data transfers from SAP HR to E-Rec systems. Our iDoc is working file in Development server but not in Quality server. I am experiencing the same errors what you have mentioned above.
    When i checked the error, this error has occurred in subroutine read_namtb for structure  of infotype.
    Proceedure is to Check the entry for infotype  in table T777D (structure, IDoc segment,
    expanded structure) and the corresponding structures.
    As you have resolved this issue before, can you please suggest what needs to be maintained in the tables such as T777D, T777E, and T777Z.
    Appreciate your valuable inputs on this.
    Thank you.

  • Installer LV7.1 - LabVIEW load error code 21: An external subroutine required for execution could not be found.

    Bonjour,
    Je cherche à créer un installer portatif utilisant les drivers NI-DAQmx 8.7.1 et NI-CAN 2.6.0.
    Je dispose d'un code LV 7.1 et j'ai installé l'application builder 7.1.
    Mais une fois l'application installé sur un PC vierge de Labview, j'obtiens le message suivant:
    load error code 21: An external subroutine required for execution could not be found.
    Ce message est répété plusieurs fois (pour différents VIs) puis le programme ne se lance pas.
    J'ai bien veillé à installer les drivers NI-CAN et NI-DAQmx correspondant au préalable sur la machine cible.
    En chercant sur le forum, plusieurs pistes m'ont été proposé:
    La version NI-DAQ
    L'intégration du Run time Engine
    Un problème de DLL
    J'ai vérifié ces 3 points mais cela n'a pas règlé mon problème.
    Résolu !
    Accéder à la solution.

    Bonjour,
    Merci de ta réponse.
    En fait, j'ai bien inclu le runtime engine de Labview qui était effectivement la source de l'erreur.
    L'installation de NI-DAQmx v 8.7.1 provoque la mise à jour de la version du runtime engine (passage de 7.1 à 7.1.1).
    J'ai donc désinstallé Le runtime engine 7.1.1 (ce qui a provoqué la désinstallation de labview et NI-DAQ).
    Puis je suis passé par une version plus ancienne de NI-DAQ (7.2) que j'ai adapté (inclusions de DLL et de VIs).
    Les messages d'erreurs ont alors tout simplement disparus!

  • Need to create subroutine pool for info structure

    Hi gurus,
    I need to create a subroutine pool for the info strucuture S891for one of the key figures.(in the extended update rules). and in that i need to write 3 routines for the 3 key figures.
    plz help me how to create the subroutine pool for this.
    I just went to se38 and choose type subroutine pool and created a prg. But do not know how to proceed further.
    Any idea on this?
    Regards,
    Sakthi.
    Edited by: sakthi sri on Sep 6, 2010 9:47 AM

    Hi,
    Please Check this link,
    http://help.sap.com/saphelp_nw70/helpdata/en/c0/980389e58611d194cc00a0c94260a5/content.htm
    How to create variant for csutom screen
    New transaction - require variant selection to be disabled
    This may help you.
    Regards,
    Renuka.

  • Infotype screen headers needs to be changed for all the infotypes

    Hi Guys,
    This would be for a global implementation question.
    For the US for a particular region, the screen header needs to be changed for all the infotypes.
    The existing field (in the infotype header) is Employee Group which needs to be replaced with employment status.
    The know how to change the headers but my question is STAT2 exists in IT 0000 but does not exist in 0001, 0002 0007.........etc
    When i go to Table T588J to add an entry , Screen Header 42......,
    I get an error " No Field STAT2 exists for infotype 0001"
    No field STAT2 exists for infotype 0001.
    Message no. PG811
    Diagnosis
    No STAT2 field exists for infotype 0001.
    Procedure
    Please contact your system administrator.
    Procedure for System Administration
    In Customizing, determine the incorrect entry in Personnel
    Administration in the Header structure per infotype view, step " Determine infotype header and correct it
    I would like to have some inputs from you guys ..... Any Suggessions...
    Thanks,
    Aastha

    Hi Aastha,
    Correct me if I am wrong.
    First you need to maintain the header in T588J.
    Screen header of an infotype is defined in view V_582A_B. We can define one screen header for employee and another for applicant in view V_T588I. The header modifier selected from view V_T588I has a definition in table T588J, which finally gets shown on the screen.
    Depending on the transaction class (A = Personnel Administration, B = Recruitment) and the country grouping, a header modifier is assigned to the infotype header in the u201CHeader Modificationu201D view V_T588I.
    For example like
    Screen Header / Tr. Class / Header modifier
    00                    /        A      /  60
    In the view u201CHeader Structure per Infotypeu201D (V_582A_B), a header has been assigned to every infotype. It also determines whether the data is valid from the system date or the start date of the infotype record
    Hope this is useful.
    Regards
    RK

  • FM for delimit the infotype record

    Hi
    I'm new to HR-ABAP.I need to develop function modules to delimit the some infotype records (eg: 0167,0168,0014,2006 etc)
    Presently i developed the function module that has following source code.
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
        EXPORTING
          number        = empno
    CALL FUNCTION 'HR_READ_INFOTYPE'
        EXPORTING
         tclas                 = 'A'
          pernr                 = empno
          infty                 = '0167'
          begda                 = delimitdate
          endda                 = delimitdate
      BYPASS_BUFFER         = ' '
      LEGACY_MODE           = ' '
    IMPORTING
      SUBRC                 =
        TABLES
          infty_tab             = itab "itab is of the structure p0167
    enddate = itab-endda.
    MOVE delimitdate TO itab-endda.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          infty                  = '0167'
          number                 = empno
          subtype                = itab-subty
          objectid               = itab-objps
          lockindicator          = itab-sprps
          validityend            = enddate
          validitybegin          = itab-begda
          recordnumber           = itab-seqnr
          record                 = itab
          operation              = 'LIS9'
          tclas                  = 'A'
          dialog_mode            = '0'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
       IMPORTING
         return                 = return
      KEY                    =
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
        EXPORTING
          number        = empno
    when i use 'MOD' operation in FM 'HR_INFOTYPE_OPERATION' that FM runs perfectly.it changes the enddate to delimit date in the table PA0167.
    But, when i use 'LIS9' (delimiting) operation FM is throwing following error message
    "E PG  428 A complex application error has occurred".
    I need help regarding this error statement.can i use 'MOD' operation to delimit the records (time constraint of most of the infotype record to be delimited is 2).In which case we use 'LIS9'??
    Also any SAP function modules for delimiting IT2006 infotypes????
    Pls suggest.
    Thank u,
    shrinivas
    Message was edited by: Shrinivas

    For 167 & 168 have you looked at HR_BEN_TERMINATE_HEALTH_PLAN & HR_BEN_TERMINATE_INSURE_PLAN?
    The error message you got is actually mapped to (00)344 ie "No batch input data for screen & &"
    For the delimit operation, you probably,need to pass the delimit date separately..
    I have a feeling this function call cannot be used for the delimit operation le 'LIS9'.AS the delimit date is usually entered on a pop-up box when you do it via PA30.
    ~Suresh

  • Reg:structure of infotype table

    Hi,
    Can i get the details regarding the structure of infotype .......
    (ie table structure,,screeen structure so on)..
    Thanks & Regards
    shiva ram

    Hi Shiva,
    Following are the components of infotype ..
              tables
              screen
             modulepool
            infotype number
            time constrain.
    Tables:
    Table with naming conversion paxxxx is created ,where xxxx infotype number (9999).
                  which includes
                  pakey-intilisation data
                  pshd1- log details
                  psxxxx-contains actual fields of the infotype 
                  ci_pxxxx--exits for standard infotypes ..for
                                enchancements....
                  apart from these it includes pxxxx--structrure of  infotype.
                 and      qxxxx.-screen fields  for the infotype..
    screeen
    For very infotype there exists 3 screens
    1000--intilisation or dummy screen
    2000-where actual the user enters the data
    3000 -list or orview screen.
    Module pool               
    exits module pool program with naming conversion
    MPXXXX00.....where xxxx is infotype number...
    which consists of  5custom includes and 3 standard includes....
    Custom Includes are
    MPXXXX10---INTIALISATION
    MPXXXX20--DEFAULT VALUES
    MPXXXX30--VALIDATION
    MPXXXX40--SUBROUTINES
    MPXXXX50--LIST OR OVERVIEW SCREEN.
    Standard Includes
    MPPDAT00------INTILISATION SCREEN
    MPPERS00---PBO/PAI FOR STANDARD INFOTYPE
    FPP50PSB  --BUFFERING THE INFOTYPE
    Thanks & Regards
    Suman

  • Error Pay scale grpg for allowances for 02002162 is not defined on 20110408

    Hi,
    I do get the above error Pay scale grpg for allowances for &1 is not defined on &2 when running program RHECM_UPD_0008_FROM_1005 for Indian employees. I know that we have indirect evaluation for our Indian employees in it0008. And we do not have 'Define Pay scale grouping for allowances' (V_T7INA1) and 'Pay scale grouping for allowances' (V_T7INA3) configured for India. But then we are also not using payroll for India.
    Most strange is, that the program runs just fine in the development system for a India test employee record, whereas it fails to run in the test system for a real live India employee.
    The error message code is HRPADIN01 084 and is thrown by function module HR_ECM_INSERT_INFOTYPE. But since it;s code is all object oriented I'm getting terribly lost when trying to observe in debug mode what the actual problem is. When running the program I use planned comp. type 'S' (Salary Structure)
    Employees in all other countries update just fine, and the planned compensation infotype on the employee's job code look fine also.
    Would appreciate your help please as for what could be causing this error!
    Thanks,
    Philipp

    P.S. I have now maintained some test entries in V_T7INA1 and V_T7INA3 that match my employee's infotype 0008 entry. This does not make a difference unfortunately though. During debugging I found the message is raised in method CL_HRPA_INFOTYPE_0008_IN/CHECK_WAGETYPES_IN and within that method GET_ALGRP and then cl_hrin_services=>read_algrp.
    In the method that reads t7ina3 the code is:
    method READ .                                                                               
    IF NOT ( a_is_buffered = true  AND                 
               a_t7ina3-molga  = molga AND               
               a_t7ina3-trfgb  = trfgb AND               
               a_t7ina3-trfar  = trfar AND               
               a_t7ina3-trfkz  = trfkz AND               
               a_t7ina3-trfgr  = trfgr AND               
               a_t7ina3-trfst  = trfst ).                
        CLEAR a_t7ina3.                                  
        a_t7ina3-molga = molga.                          
        a_t7ina3-trfgb = trfgb.                          
        a_t7ina3-trfar = trfar.                          
        a_t7ina3-trfkz = trfkz.                          
        a_t7ina3-trfgr = trfgr.                          
        a_t7ina3-trfst = trfst.                          
        SELECT SINGLE * FROM t7ina3 INTO a_t7ina3        
          WHERE                                          
            molga = molga AND                            
            trfgb = trfgb AND                            
                  trfar = trfar AND              
                  trfkz = trfkz AND              
                  trfgr = trfgr AND              
                  trfst = trfst.                 
              a_subrc = sy-subrc.                
              a_is_buffered = true.              
            ENDIF.                                                                               
    IF a_subrc IS INITIAL.               
              t7ina3 = a_t7ina3.                 
            ELSE.                                
              CLEAR t7ina3.                      
            ENDIF.                                                                               
    endmethod.                             
    In there a_t7ina3 is filled initially (but interestingly field algrp is the only one that is blank). But since it is filled and matches the if not condition it does not go and select from the DB but clears t7ina3 and thus runs into the error afterwards.
    Ideas anyone?
    Thanks,
    Philipp

  • Error in code generation for deleting table BUT000_TD

    Hi,
    Did anyone encounter this error while working on EEWB ?
    I created the project extension via EEWB and completed the wizard setting with the package (dev. class) value as $temp as I wanted to test it locally.
    One of the errors, that I got is:
    Error in code generation for deleting table BUT000_TD
        Message no. DA464
    Diagnosis
        This error message indicates that internal inconsistencies exist.
    Procedure
        Please consult SAP.

    Hi,
    As I mentioned in my previous post kindly check the consistency of the structure BUT000_TD.
    Regards,
    Sudheer.

  • Error-M2O-Settlement rule for assembly order for item...could not be genera

    Hi,
    When I am creating Sales Order (VA01) for M2O, I am able to do the costing and copy the EK02 condition type. I have verified the the incompletion log, it indicates that document is complete.
    But while saving the sales order, the below error message is displaed:
    Settlement rule for assembly order for item 000010 could not be generated. Should the order still be saved?
                    Yes/No
    1. If No is choosen the following error message is displayed
           Error when processing Production order
          Error when processing Production order
          Message no. V1380
          Diagnosis
            A technical error has occurred. On calling up the assembly interface, exception 5 was triggered. The exceptions have the  following meanings:
    1 = External block,  2 = General error,  3 = Insufficient data for the interface,  4 = Order was not found, 5 = Update has been rejected, 6 = Final document number for Production order is not issued.  Procedure: Inform your system administrator.
    2. If Yes is choosen, it is creating Production Order without settlement rule. Able to perform GI & Gr. If I try to enter settelement rule (Settlement receiver SDI - Sales document item) in production order (CO02), the belwo error message is displayed
    "Distribution rule for Sales document item can only be created automatically Message no. KD063"
    We are using the requierement class with below details:
    Reqmts class: ZSO- for M2O
    AAC = E, Valuation = A, Settlement profile =SD1, RAKey = 000004, Assembly type = 3.
    Settlement profile contain:
    Allocation structure, PA structure, Default object type = SDI. Valid receivers: Optional -Sales Order / Prof. seg.
    If I make the Valuation field as blank in Reqmts class, there is no error while creating Sales order. And also Settelemnt rule with sales document item as receiver is successfully creating for the production order. Since the Valuation is blank in requirement class, it is Non valuated Sales order stock. All GIs & GR are non valuated
    The business requirement is it should be valuated sales order stock and the production varinaces has to be settled to Sales order. Then Sales order has to be settled to COPA.
    Need your valuable inputs to meet this requirement.
    Let me know if you need any further details.
    Thanks in advance.
    Regards,
    ADI

    Dear SAP PP Consultant ,
    What is the strategy group you are maintained in the material master ?

  • I am getting error while doing MFBF for semifinisg good

    Hi,
    i am getting error while doing MFBF for semifinisg good
    Existing standard cost estimate cannot be used
    Message no. RM175
    Diagnosis
    This error appears under the following circumstances:
    The existing standard cost estimate cannot be used for backflushing activities as the repetitive manufacturing profile was not maintained correctly when the standard cost estimate was carried out.
    The standard cost estimate must come from product costing. Other cost estimates (such as base object controlling) are not possible.
    Procedure
    The repetitive manufacturing profile assigned to the material at the time of the planned cost estimate must be a profile for repetitive manufacturing with product cost collector.
    Use product costing to create the standard cost estimate.

    I had already check REM profile repetitive mfg profile final backflush w. activities.
    this particular material is semifinish material attached in BOM of finish material.
    backflush of finish good is possible but now new requirement is to do production booking for the semifinish material.
    i had assign production version , done routing and maintain REM profile,
    created material cost with quantity structure ck11n then run the costing in ck40n.
    still getting the error what else is to done to able to book this thru MFBF.

Maybe you are looking for

  • More days in week view

    Found a tip recently to change the dafault number of days within the week view of Calendar: Change to 14 days: Close Calendar Open Terminal enter following command within Terminal: defaults write com.apple.iCal CalUIDebugDefaultDaysInWeekView XX XX t

  • Can you really not use a windows-formatted hard drive with Time Machine?

    I still have people in my household that think Windows is the way to go, and so they have used all the hard drives to back up their stuff. There is still a reasonable amount of room on one of the hard drives for me to do a Time Machine backup, howeve

  • Will the new lightning to 30-pin adapter support.... ?

    Will the new lightning to 30-pin adapter support a cord at which the 30 pin goes and splits into a RCA cable for audio output and USB for charging, this is what is used in my car currently to feed my former iphone 4 into the cars stereo while also ch

  • Tidal Enterprise Scheduler - Get Job status using c#

    Is it possible to get the list of jobs scheduled and their status in Tidal Enterprise scheduler using a programming language like C# ?

  • Young CC user looking for a little help

    Hi. I am a student user of many of Adobe's products, and I recently began using the Creative Cloud service, which is currently £15 a month here in Britain but will be hiked to £22.50 a month next year. Since I don't really work much yet (I do a few d