20 Nisan 2011 Çarşamba

SAP/ABAP: Popup radio button

SELECTION-SCREEN BEGIN OF SCREEN 1001 TITLE tit AS WINDOW.
PARAMETERS:r1 RADIOBUTTON GROUP r1,
           r2 RADIOBUTTON GROUP r1,
           r3 RADIOBUTTON GROUP r1,
           r4 RADIOBUTTON GROUP r1,
           r5 RADIOBUTTON GROUP r1.
SELECTION-SCREEN END OF SCREEN 1001.
tit = 'Set blabla...'.
 
START-OF-SELECTION.
  CALL SELECTION-SCREEN '1001' STARTING AT 15 15.

14 Nisan 2011 Perşembe

SAP/ABAP: ALV HOTSPOT

wa_fieldcat-hotspot   =  'X'.
APPEND wa_fieldcat TO it_fieldcat.

FORM user_command USING r_ucomm ls_selfield TYPE slis_selfield.
  CASE r_ucomm.
    WHEN 'IC1'.
      READ TABLE gt_alv INDEX ls_selfield-tabindex.
      PERFORM   go_detail USING gt_alv-qmnum.
    WHEN 'ERROR'.
  ENDCASE.
  ls_selfield-refresh = 'X'.
ENDFORM.                    "command

*&---------------------------------------------------------------------*
*&      Form  GO_DETAIL
*&---------------------------------------------------------------------*
FORM go_detail USING p_qmnum .
SET PARAMETER ID 'IQM' FIELD p_qmnum.
CALL TRANSACTION 'QM03' AND SKIP FIRST SCREEN.

ENDFORM.                    " GO_DETAIL

3 Nisan 2011 Pazar

SAP/ABAP: Ranges

RANGES: LR_ZFIELD FOR ZTABLE-ZFIELD.
CLEAR: LR_ZFIELD.

LR_ZFIELD-OPTION = 'EQ'.
LR_ZFIELD-SIGN = 'I'.
LR_ZFIELD-LOW = 'data123'.
APPEND LR_ZFIELD.

İnsdroid

Sabahtan beri çatada çutada çatada çutada… Bitmedi yine de… Neyse, yolumuz uzun, toparlıyorum çantamı, adaptörü falan tıkıştırıyorum bir şe...