Thursday, 20 November 2014

Popup message log

 

Step 1 : Call Function 'BAL_LOG_CREATE'

Step 2 : Call Function 'BAL_LOG_MSG_ADD'

Step 3 : Call Function 'BAL_DSP_PROFILE_POPUP_GET'

Step 4 : Call Function 'BAL_DSP_LOG_DISPLAY'

Step 5 : Delete message Call Function 'BAL_LOG_MSG_DELETE_ALL'

Tuesday, 4 November 2014

Generated Table for View

Table : TRDIR

ใช้สำหรับเช็คข้อมูลโปรแกรม คลาส ฟังก์ชั่น ฯลฯ ว่าใครเป็นคนสร้าง สร้างเมื่อไหร่ ที่ไหน เป็นต้น

Monday, 27 October 2014

Find domain and value type

 

Table : DD07V

Ex. Find data element days.

image

image

go to SE11.

image

image

Click Where used list  image

and choose data elements.

Wednesday, 22 October 2014

Change value float to quantity


Question 2.4356510000000000E+06 to 243,651.00
Answer set field catalog
edit_mask = '==FLTQU'.
convexit = 'FLTQU'.

Dynamic User Setting

 

----Set current screen for user.----

 

REPORT  y_test.


tables esdus.


DATA: x TYPE i,
      y TYPE i.
data tab type LVC_s_COL.
data tab2 like table of tab.
data gs_comp      TYPE ref to CL_ABAP_TYPEDESCR.
data po type ebeln VALUE '4052001347'.
data item type ebelp VALUE '00110'.
DATA: l_display_only type c value 'X'.
data a(10) type c.
export i_display_only = l_display_only to MEMORY ID
'ME_DISPLAY_ONLY'.


START-OF-SELECTION.


set PARAMETER ID 'BES' FIELD po.
set PARAMETER ID 'BSP' FIELD item.
set PARAMETER ID 'BEP' FIELD item.
SET PARAMETER ID 'EFB' field '08'.
esdus-uname = sy-uname.
esdus-Action =  'PurchaseOrder'.
esdus-Element = 'item_view           SUBVIEW_INDEX'.
esdus-ACTIVE = '13'.
update esdus.


call TRANSACTION 'ME22N'  .
write / a .