Get IP Address - call method cl_gui_frontend_services=>get_ip_address
SAP/ABAP 개발 2010. 6. 29. 13:39*&----------------------------------------------------------------*
*& Report YRTEST0007
*&
*&----------------------------------------------------------------*
*&
*&
*&----------------------------------------------------------------*
report YRTEST0007.
*-----------------------------------------------------------------*
end-of-selection.
*-----------------------------------------------------------------*
data: ip type char15.
call method cl_gui_frontend_services=>get_ip_address
receiving
ip_address = ip
exceptions
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
others = 4.
write: ip.
'SAP > ABAP 개발' 카테고리의 다른 글
SHD0 - Transaction and Screen Variants (1) | 2010.06.30 |
---|---|
Learning LSMW Step by Step!!! (1) | 2010.06.29 |
PP General Procedure and Tcodes (0) | 2010.06.28 |
The SQL Trace (ST05) – Quick and Easy (1) | 2010.06.28 |
Run Program with Background job -> JOB_OPEN / JOB_CLOSE (0) | 2010.06.28 |