Wednesday, 29 June 2016

Drag the top value to bottom

To bring up the Fill Series dialog box press Alt and then H F I S. Select the both the cells from where to be copied and what to be copied like, to drag from A3 to A4 , select both A3 , A4 and pres Alt H F I S

Monday, 13 June 2016

Direct ALV Display

ALV display directly using below code: Data: o_alv TYPE REF TO cl_salv_table. IF i_result IS NOT INITIAL. TRY. cl_salv_table=>factory( IMPORTING r_salv_table = o_alv CHANGING t_table = i_result ). o_alv->display( ). CATCH cx_root. EXIT. ENDTRY. ENDIF. I_result is the table which has the final values to be displayed.

Thursday, 3 December 2015

How to create dynamic internal table.and dynamic work area .


REPORT YBTEST.


PARAMETER :  var1 type c LENGTH 20  value scmg_t_case_attr.

DATA: ref1 TYPE ref TO data , " this if for internal table
      ref2 TYPE ref TO data. " this is for work area

*variable1 = variable .
CREATE DATA ref1 TYPE TABLE OF (VAR1).
CREATE DATA ref2 TYPE (var1) .
FIELD-SYMBOLS : <fs_internal_table> TYPE STANDARD TABLE . "this is for internal table
FIELD-SYMBOLS : <fs_work_area> . "this is for work area

*below statement creates the structure or table as required
ASSIGN ref1->* to <fs_internal_table>.
ASSIGN ref2->* to <fs_work_area>.

*data : lt_tab TYPE STANDARD TABLE OF <fs_internal_table> .

WRITE : 'BHARAT'.

Friday, 7 August 2015

Transaction to get the list of details based on Conponent

Transaction to get the list of details based on Conponent

SE84 is the tcode to get the list based on component