Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RH_UPDATE_INFTY

Former Member
0 Likes
1,184

Hello,

Can someone resolve this problem, like you can see, I am using RH_UPDATE_INFTY to update an infotype and I always have the same error message : REPID_FORM_INITIAL what that mean ? What is the solution ?

Thanks experts.

DATA: li_schedule LIKE p1035 OCCURS 0 WITH HEADER LINE,
lw_schedule LIKE LINE OF li_schedule.

li_schedule-plvar = lw_course-plvar.
li_schedule-otype = lw_course-otype.
li_schedule-objid = lw_course-objid.
li_schedule-begda = lw_course-begda.
li_schedule-endda = lw_course-endda.
li_schedule-infty = '1035'.
li_schedule-ndays = '3'.
li_schedule-nhours = '10'.

Append li_schedule.

CALL FUNCTION 'RH_UPDATE_INFTY'
EXPORTING
vtask ='S'
* ORDER_FLG = 'X'
* COMMIT_FLG = 'X'
* AUTHY = 'X'
* PPPAR_IMP =
* OLD_TABNR_NEW_LANGU = ''
* REPID = ' '
* FORM = ' '
* KEEP_LUPD =
* WORKF_ACTV = 'X'
tables
innnn = li_schedule
* ILFCODE =
* EXCEPTIONS
* ERROR_DURING_UPDATE = 1
* NO_AUTHORIZATION = 2
* REPID_FORM_INITIAL = 3
* CORR_EXIT = 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.
ENDIF.

4 REPLIES 4
Read only

Former Member
0 Likes
866

Hi Martin,

You need to fill the Exporting Parameters REPID and FORM ,

Read only

0 Likes
866

Ok, good but as I dont know what they are used for , I dont know what to fill in !! Do you have in idea ?

Thanks.

Read only

0 Likes
866

Hi,

Give REPID as SY-CPROG and

FORM as Space

Try with these, will check out and let u know more

Read only

0 Likes
866

Thanks for the idea but no thing changes !!! I have always the same error !!!

Thanks,