‘Abap Module’ Posts

 

Abap Native SQL Func

Read full article  | No Comments

Global Data FUNCTION-POOL zduromont. “MESSAGE-ID .. DATA: return LIKE TABLE OF ZDUROMONT_TEST WITH HEADER LINE. DATA: connection LIKE dbcon-con_name VALUE ‘UTKU_TEST’. DATA: isim(200). * INCLUDE LZDUROMONTD… ” Local class definition Function Module: FUNCTION zduromont_test_connect. *”———————————————————————- *”*”Local Interface: *” IMPORTING *” VALUE(I_OKU) TYPE CHAR1 OPTIONAL *” VALUE(I_YAZ) TYPE CHAR1 OPTIONAL *” VALUE(I_ISIM) TYPE CHAR50 OPTIONAL *” […]

Read More

Check Process Delay

Read full article  | No Comments

FUNCTION zbar_check_process. *”———————————————————————- *”*”Local Interface: *”  IMPORTING *”     VALUE(TCOD) TYPE  VBHDR-VBTCODE *”     REFERENCE(SECS) TYPE  TANUM DEFAULT 3 *”———————————————————————-   TABLES:vbhdr.   LOOP.     SELECT SINGLE * FROM vbhdr WHERE vbmandt = sy-mandt                                  AND vbusr = sy-uname                                  AND vbtcode = tcod.     IF sy-subrc  0.       EXIT.     ENDIF.     WAIT UP TO 1 SECONDS.   ENDLOOP.   WAIT UP TO secs SECONDS. ENDFUNCTION.

Read More