Skip to Content
0
Former Member
May 03, 2007 at 03:26 PM

help in declertion

46 Views

Hallow

I have a problem with declaration of table

I do like that and I have error?

what i have to change?

this is my code & errors

regards

"OBJECTS_TEMP" is not an internal table - the "OCCURS n" specification missing.

I try to add occurs 0 but after that I have error that

"OBJECTS_TEMP" is a table without a header line and therefore has nocomponent called "PLVAR".

<b>DATA: objects_temp TYPE hrsobid.</b>

objects_temp-plvar = '01'.

objects_temp-otype = 'P'.

objects_temp-sobid = pernr.

CALL FUNCTION 'RHPP_Q_PROFILE_READ'

  • EXPORTING

  • BEGDA = SY-DATUM

  • ENDDA = SY-DATUM

  • WITH_STEXT = 'X'

  • WITH_QK_INFO = 'X'

  • CHECK_NOTE = ' '

TABLES

<b>OBJECTS = objects_temp</b>

  • ERR_OBJECTS =

profile = qualifications_tab

  • EXCEPTIONS

  • NO_AUTHORITY = 1

  • WRONG_OTYPE = 2

  • OBJECT_NOT_FOUND = 3

  • UNDEFINED = 4

  • OTHERS = 5

.

IF sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

regards ENDIF.