Commit Graph

1260 Commits

Author SHA1 Message Date
Christian Günter
dc173ad906 DCLS: Fix activation error + TADIR handling + late deserialization #2051 (#2085)
* DCLS: Fix activation and move to late deser.

* DCLS: improve tadir handling + activation
2018-11-11 06:32:56 +01:00
Christian Guenter
2a08aca65a SFSW: synchronous deletion 2018-11-11 06:31:42 +01:00
Domi Bigl
b7e5a56080 DEVC: get package from devclass or object name 2018-11-10 08:22:39 +01:00
Christian Günter
36fccd3b52 Fix TADIR handling #2066 (#2078)
* AUTH + FORM: delete tadir

* SFBS + SFBF: delete tadir

* SFSW: synchronous deletion
2018-11-10 08:11:22 +01:00
Christian Günter
74bf1b7e66 SICF: Better errors + is_locked 2018-11-09 11:56:06 +01:00
larshp
9270a58b62 cleanup unreference variables 2018-11-09 11:55:47 +01:00
Christian Guenter
fec33acf5f DDLX: add tadir handling 2018-11-09 05:37:26 +01:00
larshp
7cdbbc92b6 remove some unreferenced variables 2018-11-08 16:35:08 +01:00
larshp
6415f9e249 update abaplint to latest 2018-11-08 06:26:32 +01:00
larshp
28ae85e270 naming conventions 2018-11-08 06:15:07 +01:00
Lars Hvam
06616580eb
Naming conventions (#2059)
* fix naming conventions

* naming conventions
2018-11-07 12:50:20 +01:00
Lars Hvam
89e5010fd0
Naming conventions fixes, #2053 (#2058)
* fix more naming conventions

* more naming conventions fixes
2018-11-07 12:05:27 +01:00
Christian Guenter
e17d3334ff PARA: implement is_locked 2018-11-05 12:47:44 +01:00
Domi Bigl
e326273f20 SCP1: delete in more direct way - no confirm popup
FM SCPR_PRSET_MN_DELETE has some confirmation popups so the delete is done in a more direct way without popups
2018-11-05 12:47:31 +01:00
Christian Guenter
8b1cbd4b89 PARA: better error information 2018-11-03 12:48:51 +01:00
Christian Guenter
45a2ba1cd1 add factory for GUI_IS_AVAILABLE
This commit adds an indirection for function module GUI_IS_AVAILABLE
via interface ZIF_ABAPGIT_GUI_FUNCTIONS and factory ZCL_ABAPGIT_UI_FACTORY.

For tests the implementation can be replaced with
ZCL_ABAPGIT_UI_INJECTOR=>SET_GUI_FUNCTIONS
2018-11-03 08:42:32 +01:00
Christian Günter
db6f21f78c ENHO: save dark 2018-11-03 08:41:25 +01:00
Christian Guenter
6c3538a13a PARA: fix error handling 2018-11-03 08:40:46 +01:00
Domi Bigl
95deb3ed57 Add checks for empty class includes CLAS 2018-11-03 08:40:19 +01:00
Domi Bigl
b8ed4589af SSFO: change workarea range_node_code type 2018-11-01 07:16:43 +01:00
larshp
d82b9daf0e SSFO: do not use STTY_SR_STRING_RANGE 2018-11-01 06:23:24 +01:00
larshp
d426fd4540 SAXX: implement is_active 2018-11-01 06:20:53 +01:00
Christian Guenter
4f39cc2971 SUSC: implement is_active 2018-11-01 04:37:14 +01:00
Christian Guenter
a791d7ddaf CLAS: Add checks for empty class includes 2018-10-31 16:00:41 +01:00
Domi Bigl
cf05295170 mark inactive objects in repo list #1943 (#2017)
* mark inactive objects in repo list

Inactive object are marked in the repo list
The sort order for changed files is not changed
unchanged inactive files come right after the changed files

* move acitve check to object interface

* add is_active for objects up to F

* add is_active for objects up to P

* add is_active for objects up to T

* add is_active for objects up to X

all core object implement (except SSFO) the standard active check via FM RS_INACTIVE_OBJECTS_WARNING now

* add is_active to plugins bridge - always active

* finish object interface implementation + objects

* add is_active for offline with object interface

* rename returning to RV_

* use returning for serialize

* cleanup, PP, UT
2018-10-31 15:54:57 +01:00
Domi Bigl
1c396d9f19 add code line attribute for leading spaces #2011 (#2014)
* add code line attribute for leading spaces

Use attribute abapgit-leadig-spaces to store leading spaces of coding lines at serialization. This is used in deserialization to restoreformatting after XML normalization.

* add attribute also for global types and forms

* fix code formatting
2018-10-26 07:11:38 +02:00
Christian Guenter
cdf3be54c1 SSFO: fix method FX_IDS
Before this commit is applied the FIX_IDS methods was errorneous
and lead to subsequent dump. This commit fixes the algorithm to
replace IDs and IDREFs
2018-10-19 08:00:47 +02:00
Lars Hvam
f405ff9e86 ecatt: remove DEFINITION LOAD of global class 2018-10-19 08:00:20 +02:00
Frederik Hudák
1bb195b344 Removed the rest of endmethod/endclass comments 2018-10-18 07:27:27 +02:00
Christian Guenter
7d92edec4f TRAN: Support oo transactions 2018-10-13 10:00:27 +02:00
Lars Hvam
fa39fcd43f
Code inspector fixes (#1997)
* pretty print

* definitions to top of routine

* space before .

* omit parameter names where possible

* double space after if

* remove pseudo comments where possible
2018-10-12 07:56:27 +02:00
Domi Bigl
2644624985 clear PRESP and PWORK in IEXT serialization + cleanup (#1987)
* clear PRESP and PWORK

clear username fields PRESP and PWORK

* remove unused FM exceptions

if sy-subrc is analysed (only <> 0) no detailed FM exceptions are needed, only OTHERS

* set PRESP and PWORK on deserialization

PRESP and PWORK is not set to SY-UNAME by default so set it explicitly
2018-10-09 12:24:26 +02:00
larshp
e65f55c876 fix whitespace 2018-10-07 09:07:04 +00:00
PCF
b73d90c8c8 Sort dynpros at serialize to get a consistent serialized file 2018-10-07 10:57:47 +02:00
Christian Guenter
9e0161f097 SUSO: Downport delete to 702 2018-10-07 10:56:00 +02:00
Andrew Barnard
4f795f5a88 Object Type UDMO Data Model #1905 (#1966)
* Object Type UDMO Data Model #1905

Support for Object Type UDMO Data Model #1905

* Object Type UDMO Data Model #1905

* Object Type UDMO Data Model #1905

* Object Type UDMO Data Model #1905 Bad formatting correction

* Object Type UDMO Data Model #1905 Bad formatting

* Object Type UDMO Data Model #1905 Reformulation

* Update package.json

* pretty print
2018-10-07 10:55:15 +02:00
larshp
fdf7fd91d4 PROG: clear resize min + max if no resizing #1907
PROG: clear resize min + max if no resizing #1907
2018-10-02 07:46:40 +02:00
Christian Guenter
e9affd102a WEBI: Fix multiple service methods 2018-09-30 12:12:33 +02:00
Christian Günter
44327bf5a1 WEBI: fix package popup 2018-09-29 08:54:50 +02:00
Christian Guenter
2a11522598 DDLS, DCLS, DDLX: Improve Error handling 2018-09-29 08:54:35 +02:00
Christian Guenter
910513bbd3 SUSO: Downport to 702 2018-09-28 08:24:33 +02:00
cherifim
cb10996905 Update zcl_abapgit_object_auth.clas.abap
Syntax DATA(dummy)  is not supported by older SAP Systems (like 7.31), it is available only since 7.40
2018-09-27 17:48:11 +02:00
larshp
7b90fccaea PROG: skip bad dynpro numbers #1967 2018-09-27 15:04:17 +02:00
larshp
ba787d373e SICF: Decouple from core, #1941
Change calls to static SICF methods to dynamic, in order to be able to support systems which do not have SICF objects.
2018-09-27 15:03:15 +02:00
Fabian Lupa
ce05bb65b1 Serialize additional class component metadata (#1889)
* Serialize additional class component metadata

Fixes #1872

* Improve update_attributes performance

* Update WF attribute handling to use API
2018-09-25 16:11:50 +02:00
Christian Guenter
a78aa521b3 DDLX: Serialzie source code in .asddls file
Before this commit is applied DDLX source code was recorded
in the xml file. We changed this so that now a separte .asddls
file is created. The change is downward compatible. Previously
recorded DDLX objects will show a diff the next time and the new
.asddls file has to be committed.
2018-09-25 16:03:51 +02:00
Christian Günter
f7ce109f86 SUSO Delete: remove popup #1948 (#1949)
* SUSO: Delete remove popup

* Refactor delete document method
2018-09-25 16:02:02 +02:00
larshp
d21bbb6caa XSLT: show sy-subrc error 2018-09-25 16:01:25 +02:00
Marcello Urbani
3c86342bef Issue#1878 popup deleting msag (#1918)
* removed popup saving msag

* fixed capitalization

* refactored with variable prefixes

* refactored exceptions and split methods

also removed S messages.
Previous code was mostly copy %26 paste of the original

* Cleaned up

* more cleanup
2018-09-21 09:19:44 +02:00
Christian Guenter
46da683d7b AUTH: remove delete popups 2018-09-21 09:13:37 +02:00
Christian Guenter
829a68fcc6 AUTH serialization: fix package popup 2018-09-21 09:12:56 +02:00
Christian Günter
aa7a5fd01f FORM: record transport request 2018-09-21 09:12:03 +02:00
Domi Bigl
f61eb50dbf Code inspector results do not respect 'Jump to ADT first' setting #1892 (#1903)
* enable ADT jump from CI result

* enable ADT jump from CI result for all objects

* cleanup + PP

* cleanup + PP + save/activate in ADT

* remove commented code
2018-09-16 10:05:38 +02:00
larshp
b2f43a04b6 handle error from RS_CUA_INTERNAL_FETCH #1899 2018-09-08 08:04:24 +02:00
Christian Guenter
f4859d179d fix no master language 2018-09-03 18:40:54 +02:00
Christian Guenter
cf8592a2ef Docu Longtexts: Serialize all languages 2018-09-03 18:40:54 +02:00
Domi Bigl
0b3c9970d6
ENQU: clear some more fields #1110 (#1888)
* ENQU: clear fields #1110

* ENQU: clear some more fields #1110
2018-08-31 18:04:47 +02:00
Domi Bigl
1a6f3623b3 ENQU: clear fields #1110 2018-08-31 07:21:39 +02:00
Christian Guenter
491cb6d1e7 FIX SHMA package popup 2018-08-31 07:21:01 +02:00
larshp
a4528290f3 MSAG: skip longtexts if none exist 2018-08-31 07:20:38 +02:00
Jakub Filak
6a01862cd6 Avoid use of the RS package in BASIS systems (#1874)
* objects: use a different constant for 'R3TR'

The constant rs_c_pgmid_r3tr comes from the package RS which is not
available in pure BASIS systems.

The constant seok_pgmid_r3tr comes from the package SEOK and abapGit is
already using another constants from this package - seok_access_*.

Related to #1826

* objects: replace rs_c_true with abap_true

The constant rs_c_true comes from the package RS which is no available
in pure BASIS systems.

I believe that the constant rs_c_true was used by mistake.
The constant was assigned to a variable which is of the type abap_bool
and the variable is initialized with abap_false.

Related to #1826
2018-08-29 12:36:16 +02:00
Christian Guenter
46f32e6422 Longtext serialization for DTEL, DOMA and TABL
This commit adds three new methods to ZCL_ABAPGIT_OBJECTS_SUPER:
- SERIALIZE_LONGTEXTS
- DESERIALIZE_LONGTEXTS
- DELETE_LONGTEXTS
They can be called on demand in concrete object type serializers.

In this commit they were called from DTEL, DOMA and TABL
2018-08-28 08:30:13 +02:00
Christian Guenter
d3f4584d3a MSAG: implement is_locked 2018-08-27 09:53:31 +02:00
Christian Guenter
d28b0fdc97 MSAG: Serialize longtexts in message classes 2018-08-22 06:45:38 +02:00
Christian Guenter
e394966795 FIX: CLAS is_locked read enque
Read enqueue entries instead of enqueueing
2018-08-22 06:34:32 +02:00
Marcello Urbani
40fd90b14d Release locks/abapGit on pure BASIS system Issue #1826 (#1850)
* abapGit on pure BASIS system #1826

* fixed spacing

* Added fallback to old FM

* fixed spacing
2018-08-21 10:36:26 +02:00
Marcello Urbani
f35c285605 clean up ZCL_ABAPGIT_OBJECT_CLAS_OLD, #1801 (#1846)
* refactor zcl_abapgit_object_clas

removed dependencies from zcl_abapgit_object_clas_old, moved methods

* deleted zcl_abapgit_object_clas_old
2018-08-21 10:34:55 +02:00
Johannes Konings
d25bfaf725 fix some naming conventions
https://github.com/larshp/abapGit/issues/1132
2018-08-17 09:24:22 +02:00
Johannes Konings
c3691622ed fix some naming conventions
https://github.com/larshp/abapGit/issues/1132
2018-08-16 06:32:19 +02:00
larshp
e3df6fe4c2 PROG: add guard for bad TADIR EIMP entries 2018-08-13 18:33:23 +02:00
sandraros
57d28d124b Always correct rs cua internal write errors (#1810)
* correct xml errors of CUA interfaces

Issue error RS_CUA_INTERNAL_WRITE while pulling an old abapgit repository #1807. Same issue as #562 (error RS_CUA_INTERNAL_WRITE) which is solved by correcting manually the XML of the CUA interfaces (fastidious), or by regenerating the XML (but unfortunately sometimes the abapGit repository is from someone else).
Automatically fix this before RS_CUA_INTERNAL_WRITE is called. It's useless having this as a configuration option.

* refactor: extract code to a new method

* Better refactoring of auto correction CUA
2018-08-12 09:42:08 +02:00
Johannes Konings
efda46d4da TABL ROWORCOLST serialize: Delete value C #1722 (#1791)
* TABL ROWORCOLSTserialize: Delete value C

https://github.com/larshp/abapGit/issues/1722

* Changed IF

https://github.com/larshp/abapGit/issues/1722
2018-08-08 15:06:42 +02:00
larshp
00f94d3f2e 702 downport 2018-08-08 14:58:53 +02:00
larshp
e49b404b58 delete some unreferenced variables 2018-08-07 16:01:29 +02:00
Christian Guenter
a1e010c0fc downport 702 2018-08-07 14:54:29 +02:00
Christian Guenter
173351c13f downport 702 2018-08-07 13:46:58 +02:00
Johannes Konings
f214fab73d fix some naming convention
https://github.com/larshp/abapGit/issues/1132
2018-08-07 12:03:21 +02:00
Christian Guenter
0fa4ed299e downport 702 2018-08-07 10:26:57 +02:00
Johannes Konings
0a357149a4 PARA Delete without RS_PARAMETER_DELETE
https://github.com/larshp/abapGit/issues/1575
Deletion of PARA caused a popup in FM RS_PARAMETER_DELETE. 
To avoid that, the logic of the FM had to be implemented directly in the delete method.
2018-08-07 07:24:45 +02:00
Johannes Konings
1bbe4b6c1f deserialize SSST: insert_tadir
https://github.com/larshp/abapGit/issues/1755
method insert_tadir avoids "Object Directory Entry" popup
2018-08-07 07:23:05 +02:00
Christian Guenter
840fe06262 downport 702 2018-08-06 19:59:49 +02:00
Christian Guenter
d82a02cd0e downport 2018-08-06 18:11:09 +02:00
larshp
f0fb0f0470 TADIR performance
TADIR performance #1756

All usages of TADIR aligned to use the same structure. 
DELFLAG added in the structure.
2 identical structure definitions deleted.

todo: test this PR works after abapmerge has run
2018-08-06 15:39:15 +02:00
Christian Günter
400846e036 Downport method call chains to 702 + IF_OO_SOURCE_POS_INDEX_HELPER #1775 (#1776)
* Downport method call chains to 702 + IF_OO_SOURCE_POS_INDEX_HELPER

* catch exception if interfaces doesn't exist

Catch exception if IF_OO_SOURCE_POS_INDEX_HELPER doesn't exist
2018-08-06 15:11:40 +02:00
Christian Guenter
6ef0357795 ecatt downport 2018-08-06 13:31:43 +02:00
Christian Günter
a4e670d254 ecatt: downport and fix naming #1737 (#1740)
* ecatt: downport and fix naming

* ecatt downport /2
2018-08-03 14:47:17 +02:00
Frederik Hudák
34a65ba8e4 Removed unnecessary default comments from testclasses 2018-08-03 13:32:57 +02:00
Christian Guenter
fa61f45886 SSFO: fix jump to text module
After this commit is applied jump to smartforms
text modules works as expected.
2018-07-31 13:46:30 +02:00
Lars Hvam
4fa485bf96
Remove superfluous spaces (#1712)
* remove spaces

* remove spaces

* remove spaces

* remove double space
2018-07-29 10:08:54 +02:00
Frederik Hudák
c4639f65ce Removed endmethod and endclass comments - objects folder 2018-07-28 10:10:16 +02:00
Lars Hvam
62580af494
Omit parameter name where possible (#1704)
* zcl_abapgit_2fa_github_auth omit parameter name

* ecatt omit parameter names

* zcl_abapgit_ecatt_script_downl pretty print

* zcl_abapgit_ecatt_script_downl omit parameter name

* zcl_abapgit_ecatt_val_obj_upl omit parameter name

* zcl_abapgit_file_status omit parameter name

* zcl_abapgit_gui omit parameter name

* zcl_abapgit_gui_page_boverview omit parameter name

* zcl_abapgit_syntax_highlighter omit parameter name
2018-07-28 07:25:28 +02:00
Christian Guenter
8c38e17df6 CHAR: fix copy and paste error
Before this commit is applied we get DBSQL_DUPLICATE_KEY_ERROR
dumps while 'reset local'.
2018-07-27 06:17:32 +02:00
Christian Guenter
494cc5a8f8 CHAR: catch exceptions and implement is_locked
Before this commit is applied we get shortdumps when the object
is locked during deserialization or deletions.
2018-07-26 13:37:10 +02:00
Christian Guenter
9966bf4c86 Refactor: SET PARAMETER EUK
After this commit is applied all calls of "SET PARAMETER 'EUK'"
are replaced with the call of objects_super->set_default_package.
The method uses the ABAP memory which is in this case more reliable.
2018-07-25 16:16:28 +02:00
Christian Günter
8572013c7e CHAR: fix package popup during pull #1661 (#1689)
* CHAR: fix package popup during pull

* Remove superfluous ABAP memory clearance

memory is already cleared in RS_CORR_INSERT

* Introduce objects_super set_default_package

Refactor set default package logic to super class
zcl_abapgit_objects_super method set_default_package.
2018-07-25 15:00:52 +02:00
larshp
45bb5c7405 AVAS: propagate exception to caller
AVAS, propagate exception to caller, this will fix the syntax warning
2018-07-22 09:46:13 +02:00
Christian Guenter
1c368ed80c FUGR: Update short text if already exists
If the short text of the function group has changed in the remote repo,
it's currently not possible to pull that change.
With this commit the short text is pulled properly.
2018-07-22 07:21:06 +02:00
larshp
60a4f5ed56 FUGR: show error code from RS_FUNCTION_POOL_INSERT
FUGR: show error code from RS_FUNCTION_POOL_INSERT
2018-07-21 11:36:30 +02:00
larshp
7d622fc495 CHAR: fix dump during pull #1660
Set the activation state to inactive for the values
2018-07-20 07:26:19 +02:00
Christian Guenter
1c2a1f709e CUS1: deserialization add RS_CORR_INSERT
before this commit CUS1 wasn't deserialized properly because no TADIR entry was inserted.
2018-07-20 07:20:33 +02:00
Christian Guenter
25980d80fe SICF: Delete data from ICFAPPLCUST
The data in table ICFAPPLCUST (Application Customizing Data) isn't
deleted by cl_icf_tree=>if_icf_tree~delete_node( ). Before this commit
is applied it's not possible to delete ICF nodes with data in that table.
With this commit we delete the data in the table. It's the same as
transaction SICF does.
2018-07-20 06:45:40 +02:00
Christian Guenter
3ba843ad54 VCLS jump: open view cluster in new window
Before this commit VCLS jump calls VIEWCLUSTER_MAINTENANCE_CALL
which opens inplace. But that's not compatible with abapGit UI
and nothing is visible.

And the semantics changed. The above mentioned FM call the view
cluster for data maintenance and not the development object.
To be aligned with abapGit logic now the transaction SE54 is called.
2018-07-18 18:24:15 +02:00
Christian Guenter
9822822403 VCLS: Fix - replace meth corr_insert( )
Replaces the call of corr_insert( ) with its own call of FM
RS_CORR_INSERT because the parameters used in corr_insert
aren't valid for VCLS
2018-07-18 16:36:31 +02:00
Jakub Filak
b3186e9202 AVAS: report detailed errors (#1652)
Unfortunately, we are versioning AVAS objects that can be instantiated
only in SAP systems but we use the repo also in sandbox Customer
systems.

Whenever I open the repository I get an exception of the type
cx_pak_invalid_data.

Without this commit I see the error message:
"AVAS error".

With this commit I see the error message:
"AVAS $GUID: invalid data: The functionality is not supported in
customer systems"
2018-07-18 15:37:22 +02:00
Christian Günter
495e832882 downport CMPT (#1648) 2018-07-17 13:06:32 +02:00
Christian Günter
394ea52d61 More is_locked: ENHO, FORM, SFPF, SFPI (#1646) 2018-07-17 07:40:01 +02:00
ThomasPloski
6ea0c465f4 fixes issue #1621 (#1640) 2018-07-14 06:51:20 +02:00
Lars Hvam
f4e9676855
CUS0 handle TADIR (#1636)
* SE80 pretty print

* CUS0 handle TADIR #1565
2018-07-14 06:50:56 +02:00
Lars Hvam
3a5b2b73fb
VCLS handle TADIR #1565 (#1633)
VCLS handle TADIR #1565

Source code reorganized by SE80.

Changes: call to corr_insert() added, plus set rs_metadata-delete_tadir %3D abap_true.
2018-07-14 06:50:44 +02:00
ThomasPloski
153606eb7a fixes issue #1630 (#1637) 2018-07-13 13:26:46 +02:00
Lars Hvam
b7ad2b553f
issue #1630, temporary workaround (#1631) 2018-07-13 10:06:25 +02:00
Johannes Konings
e34d80214e zcl_abapgit_object_form naming convention #1132 (#1628)
* typo corrected "Guide for installing bundle"

* zcl_abapgit_factory naming convention

https://github.com/larshp/abapGit/issues/1132

* zcl_abapgit_object_form naming convention 

https://github.com/larshp/abapGit/issues/1132
2018-07-13 04:30:30 +02:00
Lars Hvam
6bdb655435
AVAS support (#1609)
* AVAS #1360

* AVAS support

* fix linter errors
2018-07-12 16:55:46 +02:00
Lars Hvam
bf3e5df77e
start moving unit tests to the right classes (#1610) 2018-07-12 16:40:22 +02:00
ThomasPloski
6ced7c04bb using "#EC CI_GENBUFF (#1618) 2018-07-11 16:16:48 +02:00
Lars Hvam
23ded859ea
update source index, #1597 (#1598)
* update source index #1597

* remove comment

* fix indentation
2018-07-10 16:41:00 +02:00
Lars Hvam
7d7def95a5
Generic object handler + ASFC support #1578 (#1590)
* scaffolding #1578

* generic object handler #1578

* fix linter errors
2018-07-10 16:39:49 +02:00
ThomasPloski
513fe052bb Consideration of ABAP Language Version (#1567)
* Consideration of ABAP Language Version

* update

* Update zcl_abapgit_object_fugr.clas.abap
2018-07-09 18:51:53 +02:00
Thoralf Hänsel
5e824d7b62 Naming conventions for zcl_abapgit_ecatt_script_downl #1132 (#1604)
* Naming conventions zcl_abapgit_ecatt_script_downl

https://github.com/larshp/abapGit/issues/1132

* Fix indentation.

https://github.com/larshp/abapGit/issues/1132

* Naming conventions zcl_abapgit_ecatt_val_obj_upl

https://github.com/larshp/abapGit/issues/1132
2018-07-09 16:30:46 +02:00
Christian Guenter
6dc1f30cea SCP1 jump 2018-07-08 21:09:04 +02:00
larshp
fdb2483b70 remove breakpoints 2018-07-08 11:12:13 +00:00
larshp
eb86f02a29 basic SCP1 support, #1004 2018-07-08 11:08:46 +00:00
larshp
bb3e092d61 basic SCP1 serialization 2018-07-08 10:02:44 +00:00
larshp
14683c1aef PARA as DDIC, #1539
this will create the PARA object before the DTEL, tested ok via repo https://github.com/abapGit-tests/DTEL_with_PARA
2018-07-06 13:51:01 +00:00
Lars Hvam
0fa0c3bfe9
Merge pull request #1534 from christianguenter2/issue_1533
delete empty packages
2018-07-06 14:13:47 +02:00
Christian Guenter
ad5ae2a185 delete empty packages 2018-07-05 23:19:32 +02:00
larshp
dcc765d013 TABL: check existence before SELECTing 2018-06-28 13:11:42 +00:00
larshp
f1ffa6eb26 fix FUGR locking problem
plus show sy-subrc in case of errors from RPY_DYNPRO_INSERT
2018-06-28 12:29:29 +00:00
Christian Guenter
a3d26b9901 WAPA: better delta handling 2018-06-26 11:01:42 +02:00
christianguenter2
002f5ba73d Implement IS_LOCKED for W3*, TTYP, TRAN, SSFO, SSST 2018-06-19 18:05:09 +02:00
larshp
cac21f2b37 CHAR: implement is_locked 2018-06-18 15:41:13 +02:00
Lars Hvam
b6894a5e67
Merge pull request #1517 from christianguenter2/issue_437
Block pull if any of deserialized object is locked
2018-06-18 15:32:07 +02:00
christianguenter2
6521d09470 Block pull if any of deserialized object is locked 2018-06-18 14:18:58 +02:00
larshp
1290dcec93 CHAR support, #1511 2018-06-17 12:29:29 +00:00
Lars Hvam
ad0d06e4d0
Merge pull request #1507 from larshp/issue_1502
TABL: consider DD12L in changed_by #1502
2018-06-17 09:50:14 +02:00
larshp
d8a5f395ea TABL: consider DD12L in changed_by #1502 2018-06-15 08:12:42 +00:00
larshp
9352ddbf3f SEO_CS_CACHE downport #1414 2018-06-15 07:29:13 +00:00
Lars Hvam
602bdf6d96
Merge pull request #1498 from christianguenter2/issue_1494
SSFO deserialization: catch cx_ssf_fb
2018-06-14 06:29:05 +02:00
Christian Guenter
ce89e75eb9 SSFO deserialization: catch cx_ssf_fb 2018-06-13 19:39:35 +00:00
larshp
334ce44c0d DDLS: fix dump #1488 2018-06-11 12:03:59 +02:00
Lars Hvam
bd1fefd41d
Merge pull request #1468 from filak-sap/issue_1446_check_ddls
Mass activation: re-check DDIC objs in transport
2018-06-09 11:50:25 +02:00
Lars Hvam
3e61a0fdfa
Merge pull request #1430 from juancarlosrodriguezf/master
FORM: Error of duplicity because SPRAS is case sensitive
2018-06-09 11:49:19 +02:00
Jakub Filak
17b808c8a5 Mass activation: re-check DDIC objs in transport
DDLS objects are not cheked in a transport in their deserialize method.
The parallel activation does not call RS_WORKING_OBJECTS_ACTIVATE which
checks in the activated object in a transport.
Therefor, DDLS objecst are never checked in a transport when
the parallel activation is in place (the option experimental features
is enabled - which is enabled by default on all our systems).

I wanted to use TRINT_OBJECTS_CHECK_AND_INSERT because this function
is used by ADT:

CL_WB_ADT_REST_RESOURCE~post
    CL_WB_ADT_REST_RESOURCE_DATA
    ~if_wb_adt_rest_resource_data~get_transport_key
        CL_WB_OBJECT~get_transport_key -> PGMID%3DR3TR, OBJTYPE%3DDDLS
    CL_WB_ADT_REST_RESOURCE~lock
        CL_WB_ADT_REST_RESOURCE~check_obj_in_transport_request
            CL_ADT_CTS_MANAGEMENT~check_objects_in_request
                CL_ADT_CTS_MANAGEMENT~LCL_DB_PERSISTENCE~check_objects
                    CALL FUNCTION CTS_WBO_API_CHECK_OBJECTS
                        CALL FUNCTION TRINT_WBO_IMPL_CHECK_OBJECTS
                            SAPLCTS_WBO_API_IMPL /
                            LCTS_WBO_API_IMPLF06 /
      FORM CALL_OBJECTS_CHECK_AND_INSERT
                                CALL FUNCTION
                                TRINT_OBJECTS_CHECK_AND_INSERT


But it is not enough to call this function, hence, I use RS_CORR_INSERT
which was mentioned by @larshp in our slack conversation. The function
internally use calls TRINT_OBJECTS_CHECK_AND_INSERT.

I tested this patch with modification of a CDS view and also with 
adding a new CDS view.

Closes #1466
2018-06-07 16:10:23 +02:00
juancarlosrodriguezf
857947b03d
Use the 2-character code for language. Downwards compatibility.
Check first the new 2-character file name, if fail, use the old name.
2018-06-07 12:02:24 +02:00
Lars Hvam
21889dddf7
Merge pull request #1462 from filak-sap/issue_1427
TABL: ignore the unused field RESERVEDTE
2018-06-06 16:38:32 +02:00
Lars Hvam
5baeaf070c
Minor changes (#1461)
* remove double space after IF

* remove accesses to table bodies

* remove parameter name where possible

* identical code in conditions
2018-06-06 16:24:15 +02:00
Lars Hvam
aff81df37e
FUGR: force update of where-used #1441 (#1452)
Updates the where-used after deletion for all includes
2018-06-06 16:23:03 +02:00
Jakub Filak
e71358f744 tabl: ignore the unused field RESERVEDTE
The short description contains "(unused)".
For some strange reason, I saw that field set to D in one of our sandbox
systems.

Addresses the issue #1427.
2018-06-06 08:03:51 +02:00
Lars Hvam
6b42e59afa
Merge pull request #1444 from christianguenter2/1408_ecatt
ECATT: remove empty attributes
2018-06-04 15:12:25 +02:00
Lars Hvam
10dbd74f57
Minor changes (#1442)
* remove try without catch

* reduce nesting

* reduce nesting

* reduce line length
2018-06-04 15:12:03 +02:00
Lars Hvam
71bcc8afac
CLAS: ignore deletion of non-existent objects (#1439)
* CLAS: ignore deletion of non-existent objects
2018-06-04 15:11:41 +02:00
Lars Hvam
f1c15b1e95
fix TOBJ diffs, #1435 (#1437) 2018-06-04 15:11:23 +02:00
Lars Hvam
068cf963d9
ENHO: implement changed_by #1417 (#1436) 2018-06-04 15:10:49 +02:00
Christian Guenter
d5e9506d51 ECATT: remove empty attributes 2018-06-04 09:09:42 +02:00
Christian Guenter
ca0b203940 XSLT fix changed by 2018-06-02 07:10:29 +00:00
juancarlosrodriguezf
c7224bdc26
Error of duplicity because SPRAS is case sensitive
Old code generate error of duplicity because SPRAS is case sensitive, but the name of files not.

New code use the 2-caracteres code for language.

Examples (T002):

SPRAS: 'C' -> LAISO: CS -> 'Czech'
SPRAS: 'c' -> LAISO: CA -> 'Catalan'
2018-05-31 14:54:13 +02:00
Lars Hvam
b4e90be755
Merge pull request #1401 from christianguenter2/IEXT
IEXT serialization
2018-05-19 09:27:39 +02:00
Christian Guenter
c57d07851e IEXT serialization 2018-05-14 22:15:00 +02:00
Christian Guenter
e27cf4c452 IDOC serialization 2018-05-14 20:57:11 +02:00
Christian G#nter
98ee4fdde5 DOMA: catch cx_sy_dyn_call_param_not_found 2018-05-14 10:54:06 +00:00
Lars Hvam
44dea3ab5f
Merge pull request #1396 from christianguenter2/1395
DOMA: revert 82ece0f
2018-05-14 12:21:55 +02:00
Christian G#nter
11256b44e2 DOMA: revert 82ece0f 2018-05-14 10:14:07 +00:00
Jakub Filak
b4956a6ce8 DDLS: fix a syntax error on ABAP <7.4
Introduced in 2f9e46421b
Reported as 2f9e46421b (r28962636)
Thank you, @testitorleaveit
2018-05-14 10:31:24 +02:00
Jakub Filak
2f9e46421b DDLS: ignore ACTFLAG and CHGFLAG
Changes to these components disrupt me for nothing.
I do not believe these components needs to be versioned.
2018-05-11 14:47:43 +02:00
Lars Hvam
03f7ce2bc6
Merge pull request #1376 from christianguenter2/1054
DOMA fix delete fix value appends
2018-05-11 10:15:59 +02:00
Christian Günter
916860315b Table comparison: exclude structures (#1343)
* Table comparison: exclude structure

* structures used in tables

* fix conditionals
2018-05-11 10:10:29 +02:00
Christian Guenter
82ece0ff3c DOMA fix delete fix value appends 2018-05-10 20:10:56 +00:00
Lars Hvam
773a4fefd5
Merge pull request #1351 from larshp/issue_1347_1350
fix #1347 and #1350
2018-05-10 07:52:19 +02:00
Christian Guenter
7d149f3673 downport ECATT 2018-05-08 14:22:53 +02:00
Christian Guenter
0792fd8b64 downport DEVC 2018-05-08 08:29:36 +00:00
Christian Guenter
4e85e2b7a5 ecatt downport 2018-05-08 10:15:37 +02:00
larshp
dfcc13c2b4 fix #1347 and #1350 2018-05-07 17:01:14 +02:00
larshp
9308ad94dd skip window and subscr selection screens 2018-05-04 08:34:01 +00:00
Gregor Wolf
ae2756b2a9 add object name to error message 2018-04-30 17:32:04 +02:00
Christian G#nter
566d8554ea downport ecatt object 2018-04-23 18:30:32 +02:00
Christian Günter
64bd8fa249 Downport 2018-04-22 22:54:08 +02:00
Lars Hvam
eb828230d2
Merge pull request #1322 from christianguenter2/ECSP
ECSP: eCATT Start Profile serialization
2018-04-22 13:25:18 +02:00
Christian Günter
e86c514cb3 ECSP: eCATT Start Profile serialization 2018-04-22 10:07:26 +02:00
Christian Günter
aab36bd9cd Downport ECVO to 7.02 2018-04-22 09:09:50 +02:00
Christian Günter
a4c4eec214 ECSD eCATT System Data Container serialization 2018-04-16 18:27:32 +02:00
Jakub Filak
75d01344d8 serialization: revive CLAS_NEW (#1311)
For some reason, we are using experimental features of abapGit.

Some time ago, all class were re-serialized with the serializer
LCL_OBJECT_CLASS_NEW.

After upgrade to 1.60, we started getting an error telling that CLAS
is not supported.

The CLASS NEW serializer became standard and the class has been renamed.

Unfortunately, our xml files still includes reference to the CLASS NEW.

I would just use a sed script, if knew all the affected repositories -
we have plenty of repositories versioned by abapGit.

This patch revives the CLASS NEW. It reports itself as the standard
class, so the CLASS NEW can be removed in year or two when all files
are re-serialized.

See commit 21d22d93f2
2018-04-14 09:59:30 +02:00
Lars Hvam
52f1643003
Merge pull request #1308 from christianguenter2/XINX
XINX serialization
2018-04-13 14:44:34 +02:00
Christian Günter
bb87df9c82 XINX serialization 2018-04-11 20:50:52 +02:00
Christian Günter
8afbe9530e ECVO serialization 2018-04-11 17:02:10 +02:00
Christian Günter
f5586f3b4a ECAT serialization 2018-04-05 08:56:46 +02:00
Christian Günter
d3839323b6 ECTC + ecatt common base class 2018-04-04 11:39:08 +02:00
Christian Günter
f96800fa8a ECTD: downport (#1296)
* ECTD: Downport

* ECATT: change to package $ABAPGIT_OBJECTS_ECATT
2018-04-04 09:45:26 +02:00
larshp
87dfd909a2 ECTD: temporarily disable #1295 2018-04-03 16:38:06 +02:00
Lars Hvam
9a62b6e17a
issue 1288, lets try this (#1289) 2018-04-03 16:20:44 +02:00
Christian Günter
dad728e8db ECTD: ECATT test data container serialization (#1287)
* ECTD: Ecatt test data container serialization

* add changed_by | clear SAPRL and VAR_EXT_PATH

* fix changed by

* fix conditional logic in changed by

* fix linter errors
2018-04-03 16:20:07 +02:00
Lars Hvam
7a9bec815a
Seperate UI and logic (#1286)
* no activation popup in background

* purge: seperate ui and logic

* order by primary key
2018-03-30 12:28:00 +02:00
Lars Hvam
8b5486055a
Merge pull request #1277 from christianguenter2/ISSUE_1276
Fix corrupted parameter transaction
2018-03-28 08:08:45 +02:00
Lars Hvam
b9cc65017f
Code inspector (#1272)
* code inspector

+ delete unused methods
+ move methods to private
+ remove commented code

* few more
2018-03-28 08:08:20 +02:00
Christian Günter
af56de400c Fix corrupted parameter transaction 2018-03-27 21:55:56 +02:00
larshp
98c86a2447 minor changes
remove unused variables and method
2018-03-22 14:09:19 +01:00
Lars Hvam
afa162ffa7
INTF: clear fields (#1249)
not sure if these fields exist on 702, but we will find out
2018-03-17 13:39:48 +01:00
Lars Hvam
7b002c66da
transport layer invalid #1020 (#1248) 2018-03-17 08:19:41 +01:00
Fabian Lupa
889106b68b Improve error messages (#1213)
* Add T100 support to ZCX_ABAPGIT_EXCEPTION

* Use T100 error messages in DEVC

* Replace zcx_abapgit_exception->text with get_text

* Use SE24 generated constructor in T100 exception
2018-03-10 13:27:09 +01:00
Christian Günter
dc14fa22df Fix deserialization dependency ENHO -> ENHS 2018-03-08 10:36:39 +00:00
Christian Günter
c40f875ace fix tadir handling in DOCT 2018-02-26 12:04:58 +01:00
Christian Günter
311c7b80bd Fix dump when ADT jump is executed 2018-02-21 16:36:47 +00:00
Lars Hvam
59c1f277ab
more renaming #1132 (#1212)
* more renaming #1132

* fix indentation
2018-02-18 10:04:26 +01:00
Lars Hvam
803148fa0f
fix some naming conventions #1132 (#1211) 2018-02-17 13:55:12 +01:00
Christian Günter
532fd64710 SHMA: Fix typos in dynamic method invokation 2018-02-14 13:22:50 +00:00
larshp
cf216438e9 add progress bar, #1190 2018-02-11 08:34:35 +00:00
Lars Hvam
f14ac831ba
Objects to global (#1187)
* add global classes for objects

* fix metadata

* comment old code

fix serializer class
move missing interfaces

* keep objects and bridge as local

* fix syntax errors

and remove SICF -> tadir dependency, instead tadir -> SICF

* remove dependency TABL -> lcl_popups

* fix indentation

* remove old includes

* fix parser errors

* fix deserializing
2018-02-11 09:16:16 +01:00
larshp
cec950e7ca CLAS: fix where-used in deserialization #1179 2018-02-03 12:05:20 +00:00
larshp
c1d01d37e3 lcl_objects_activation to global
lcl_objects_activation to global class
2018-01-22 16:55:03 +00:00
larshp
082aa44a97 lif_object to global
lif_object to global
2018-01-14 14:47:47 +00:00
larshp
4553458f60 lcl_objects_files to global
lcl_objects_files to global
2018-01-14 14:15:00 +00:00