Avalados por :
SELECT SINGLE 'X'
FROM seoclass
WHERE clsname = 'CL_GUI_FRONTEND_SERVICES'
INTO @data(x).
CHECK sy-subrc = 0.
SELECT SINGLE @abap_true
FROM scarr
WHERE carrid = @carrier
INTO @DATA(exists).
IF exists = abap_true.
cl_demo_output=>display( |Carrier { carrier } exists in SCARR| ).
ELSE.
cl_demo_output=>display( |Carrier { carrier } does not exist in SCARR| ).
ENDIF.
CONSTANTS entry_exists TYPE abap_bool VALUE abap_true.
SELECT SINGLE @entry_exists
FROM seoclass
WHERE clsname = 'CL_GUI_FRONTEND_SERVICES'
INTO @DATA(answer_from_db).
IF answer_from_db = entry_exists.
WRITE 'Entry exists.' COLOR COL_POSITIVE.
ELSE.
Pedro Pascal
Se unió el 07/03/2018
contacto@primeinstitute.com
(+51) 1641 9379
(+57) 1489 6964
© 2024 Copyright. Todos los derechos reservados.
Desarrollado por Prime Institute