Skip to Content
0
Former Member
Sep 16, 2014 at 02:57 PM

Problem using FM 'RH_READ_INFTY'

417 Views

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:

MANDT C 3 042 PLVAR C 2 01 OTYPE C 2 E OBJID N 8 00100433 SUBTY C 4 1035 ISTAT C 1 BEGDA D 8 1 20 ENDDA D 8 10090620 VARYF C 10 100906 SEQNR N 3 INFTY C 4 0 OTJID C 10 0020140804 AEDTM D 8 FSANCH33 UNAME C 12 00000 REASN C 2 00 HISTO C 1 0 ITXNR N 8 ###ఠHRD- NDAYS P 3 2=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