FUGR table maintenance, solve diffs (#3659)

* update SQLX

* helpful error message for EU522

* add comment

* and UCCHECK
This commit is contained in:
Lars Hvam 2020-07-31 06:38:31 +02:00 committed by GitHub
parent 1efb62feda
commit 9180d0986d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -482,6 +482,11 @@ CLASS ZCL_ABAPGIT_OBJECTS_PROGRAM IMPLEMENTATION.
IF sy-msgid = 'EU' AND sy-msgno = '510'. IF sy-msgid = 'EU' AND sy-msgno = '510'.
zcx_abapgit_exception=>raise( 'User is currently editing program' ). zcx_abapgit_exception=>raise( 'User is currently editing program' ).
ELSEIF sy-msgid = 'EU' AND sy-msgno = '522'.
* for generated table maintenance function groups, the author is set to SAP* instead of the user which
* generates the function group. This hits some standard checks, pulling new code again sets the author
* to the current user which avoids the check
zcx_abapgit_exception=>raise( |Delete function group and pull again, { is_progdir-name } (EU522)| ).
ELSE. ELSE.
zcx_abapgit_exception=>raise( |PROG { is_progdir-name }, updating error: { sy-msgid } { sy-msgno }| ). zcx_abapgit_exception=>raise( |PROG { is_progdir-name }, updating error: { sy-msgid } { sy-msgno }| ).
ENDIF. ENDIF.
@ -547,6 +552,8 @@ CLASS ZCL_ABAPGIT_OBJECTS_PROGRAM IMPLEMENTATION.
ls_progdir_new-varcl = is_progdir-varcl. ls_progdir_new-varcl = is_progdir-varcl.
ls_progdir_new-appl = is_progdir-appl. ls_progdir_new-appl = is_progdir-appl.
ls_progdir_new-rstat = is_progdir-rstat. ls_progdir_new-rstat = is_progdir-rstat.
ls_progdir_new-sqlx = is_progdir-sqlx.
ls_progdir_new-uccheck = is_progdir-uccheck.
CALL FUNCTION 'UPDATE_PROGDIR' CALL FUNCTION 'UPDATE_PROGDIR'
EXPORTING EXPORTING