mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 04:36:49 +08:00
TABL TRAN fixes
TABL: make sure MASKLEN contains valid data, or the XML serialization will dump TRAN: allow empty description
This commit is contained in:
parent
4754d3632d
commit
161f9dac68
|
@ -195,6 +195,11 @@ CLASS lcl_object_tabl IMPLEMENTATION.
|
|||
<ls_dd03p>-scrtext_m,
|
||||
<ls_dd03p>-scrtext_l.
|
||||
|
||||
IF <ls_dd03p>-masklen = '' OR NOT <ls_dd03p>-masklen CO '0123456789'.
|
||||
* make sure the field contains valid data, or the XML will dump
|
||||
CLEAR <ls_dd03p>-masklen.
|
||||
ENDIF.
|
||||
|
||||
IF <ls_dd03p>-comptype = 'E'.
|
||||
* type specified via data element
|
||||
CLEAR: <ls_dd03p>-domname,
|
||||
|
|
|
@ -387,10 +387,7 @@ CLASS lcl_object_tran IMPLEMENTATION.
|
|||
|
||||
SELECT SINGLE * FROM tstct INTO ls_tstct
|
||||
WHERE sprsl = mv_language
|
||||
AND tcode = lv_transaction. "#EC CI_GENBUFF
|
||||
IF sy-subrc <> 0.
|
||||
lcx_exception=>raise( 'Transaction description not found' ).
|
||||
ENDIF.
|
||||
AND tcode = lv_transaction. "#EC CI_SUBRC "#EC CI_GENBUFF
|
||||
|
||||
SELECT SINGLE * FROM tstcp INTO ls_tstcp
|
||||
WHERE tcode = lv_transaction. "#EC CI_SUBRC "#EC CI_GENBUFF
|
||||
|
|
Loading…
Reference in New Issue
Block a user