mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00

* Data deserialize Continuing on #3441 - Fixes issue with namespaced tables - Adds deserialize of table content during pull but does NOT persist changes to database `zcl_abapgit_repo->deserialize` now contains the following call to deserialize "data": ```abap zcl_abapgit_data_factory=>get_deserializer( )->deserialize( ii_config = get_data_config( ) it_files = get_files_remote( ) iv_persist = abap_false ). "<<no persisting, just test for now ``` Closes #4650 * Fixes and max record check * Get result preview * Split deser/actualize Co-authored-by: Lars Hvam <larshp@hotmail.com>
29 lines
709 B
ABAP
29 lines
709 B
ABAP
INTERFACE zif_abapgit_data_deserializer
|
|
PUBLIC .
|
|
|
|
|
|
TYPES: BEGIN OF ty_result,
|
|
table TYPE tadir-obj_name,
|
|
deletes TYPE REF TO data,
|
|
updates TYPE REF TO data,
|
|
inserts TYPE REF TO data,
|
|
END OF ty_result.
|
|
TYPES: ty_results TYPE STANDARD TABLE OF ty_result WITH KEY table.
|
|
|
|
METHODS deserialize
|
|
IMPORTING
|
|
!ii_config TYPE REF TO zif_abapgit_data_config
|
|
!it_files TYPE zif_abapgit_definitions=>ty_files_tt
|
|
RETURNING
|
|
VALUE(rt_result) TYPE ty_results
|
|
RAISING
|
|
zcx_abapgit_exception .
|
|
|
|
METHODS actualize
|
|
IMPORTING
|
|
it_result TYPE ty_results
|
|
RAISING
|
|
zcx_abapgit_exception .
|
|
|
|
ENDINTERFACE.
|