Skip to content

Commit

Permalink
Merge pull request #11 from RegestaItalia/development
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
simonegaffurini authored Dec 5, 2023
2 parents d6718d3 + 5931376 commit ec363fc
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
29 changes: 29 additions & 0 deletions docs/rfcFunctions.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ This package will expose RFC enabled function modules used by the TRM client.

Objects to add to the transport.

### Add language translations to transport request

- Function module `ZTRM_ADD_LANG_TR`
- Importing
- IV_TRKORR - **required** - `TRKORR`

Transport request number where the translations should be added.

- Tables
- IT_DEVCLASS - `LXE_TT_PACKG_LINE`

Range of devclass.

### Source TRM Transport

To indicate a transport was generated from the current system, a table is maintained.
Expand Down Expand Up @@ -107,6 +120,22 @@ The transport request will be created as a workbench transport (K).
- IV_TRKORR - **required** - `TRKORR`

Transport request to delete.
### Include transport request objects from source to target

- Function module `ZTRM_TR_COPY`
- Importing
- IV_FROM - **required** - `TRKORR`

Source transport request.

- IV_TO - **required** - `TRKORR`

Target transport request.

- IV_DOC - `TRPARFLAG`

Include documentation.

### Dequeue transport request

Expand Down
2 changes: 1 addition & 1 deletion src/zif_trm.intf.abap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
INTERFACE zif_trm
PUBLIC .

CONSTANTS version TYPE string VALUE '1.1.0' ##NO_TEXT.
CONSTANTS version TYPE string VALUE '1.2.0' ##NO_TEXT.

ENDINTERFACE.
4 changes: 3 additions & 1 deletion src/ztrm.fugr.ztrm_get_obj_lock_tr.abap
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ FUNCTION ZTRM_GET_OBJ_LOCK_TR.
FROM e071
INNER JOIN e070 ON e070~trkorr = e071~trkorr
INTO CORRESPONDING FIELDS OF ls_e070
WHERE e071~pgmid EQ iv_pgmid AND e071~object EQ iv_object AND e071~obj_name EQ iv_obj_name AND e070~trstatus EQ 'D'.
WHERE e071~pgmid EQ iv_pgmid AND e071~object EQ iv_object AND e071~obj_name EQ iv_obj_name
AND ( e070~trfunction EQ 'K' OR e070~trfunction EQ 'S' OR e070~trfunction EQ 'R' )
AND e070~trstatus EQ 'D'.

IF ls_e070-strkorr IS NOT INITIAL.
ev_trkorr = ls_e070-strkorr.
Expand Down

0 comments on commit ec363fc

Please sign in to comment.