Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem using FM 'RH_READ_INFTY'

Hi,

I have a problem when i try to use 'RH_READ_INFTY' with some infotypes, as 1035. I'm doing this as follows:

lt_it1035 LIKE hrp1035 OCCURS 0 WITH HEADER LINE

CALL FUNCTION 'RH_READ_INFTY'

       EXPORTING

         plvar                = '01'

         otype                = 'E'

         objid                = lv_objid

         infty                = '1035'

         istat                = '1'

         begda                = lv_begda

         endda                = lv_endda

       TABLES

         innnn                = lt_it1035

       EXCEPTIONS

         all_infty_with_subty = 1

         nothing_found        = 2

         no_objects           = 3

         wrong_condition      = 4

         wrong_parameters     = 5

         OTHERS               = 6.

The FM is reading a record from HRP1035, but data is not in its corresponding field:

MANDTC3042
PLVARC201
OTYPEC2E
OBJIDN800100433
SUBTYC41035
ISTATC1                                                                               
BEGDAD8   1  20
ENDDAD810090620
VARYFC10100906
SEQNRN3                                                                               
INFTYC4   0
OTJIDC100020140804
AEDTMD8FSANCH33
UNAMEC12       00000
REASNC200
HISTOC10
ITXNRN8###ఠHRD-
NDAYSP32=002-

Starting subty field, it's filling register fields with incorrect data or blanks. It's very strange, i have used this FM many times, but this never happened to me. Could you please help me?

Thanks in advance,

Jose

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question