cancel
Showing results for 
Search instead for 
Did you mean: 

Update routine result.

Former Member
0 Kudos

Hi All,

Could you please tell me the result of the following code:

FORM compute_key_field

TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring

USING COMM_STRUCTURE LIKE /BIC/CS8EW05AL1P

RECORD_NO LIKE SY-TABIX

RECORD_ALL LIKE SY-TABIX

SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS

CHANGING RESULT LIKE /BIC/VEW05LDLZT-/BIC/EW05PFUR

RETURNCODE LIKE SY-SUBRC

ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update

result value of the routine

CONCATENATE COMM_STRUCTURE-/bic/EW05PFUR(4) '00' INTO RESULT .

  • if the returncode is not equal zero, the result will not be updated

RETURNCODE = 0.

  • if abort is not equal zero, the update process will be canceled

ABORT = 0.

Thanks,

V.singh.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

> CONCATENATE COMM_STRUCTURE-/bic/EW05PFUR(4) '00' INTO RESULT .

Dear V.singh,

First 4 digits of value the infoobject EW05PFUR has will be concatenated with 00 at the end. This ll be given as result.

Hope this helps.

Regards,

Guru

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Result will be first 4 characters of EW05PFUR with 00.

For eg : if EW05PFUR = PARTH, RESULT = PART00