Posts

Call transaction

some time requirementst to call the standared transacation code throw alv reports may this short text code help you how to call transaction throw alv reports  this code belong onloy how already know abap programming  FORM  user_command1  USING  ucomm     TYPE  sy-ucomm       selfield  TYPE  slis_selfield.                           "#EC CALLED    CASE  ucomm.      WHEN  '&IC1' .        READ  TABLE  it_rfq  INTO  wa_rfq  INDEX  selfield-tabindex.        IF  sy-subrc  EQ  0.          IF  selfield-fieldname =  'EBELN'      ...

GUI Copy status standared program in sap abap

We can get standard GUI function codes using function module  RS_CUA_GET_STATUS_FUNCTIONS  bypassing standard program  SAPLKKBL  and status STANDARD_FULLSCREEN .

edit alv user commonds

FORM  display_item  USING  ucomm  TYPE  sy-ucomm       selfield  TYPE  slis_selfield. ******************************************************** this code captured the change request in alv reports ***********   DATA: gd_repid LIKE sy-repid,         ref_grid TYPE REF TO cl_gui_alv_grid.   CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'     IMPORTING       e_grid = ref_grid.   CALL METHOD ref_grid->check_changed_data. ***************************************************************************************************************************   CASE ucomm.     WHEN 'DELETE'.       CLEAR: gs_table.  ...

confirm popmenu in alv reports

Well i going to cover all senario below topic Reports     : Alv Reports, Classical Report And interactive Reports Forms       : Scripts and Smart Forms Adove Forms Interface   : RFC BAPI ALE/IDCS Converstion : BDC LSMW BAPI Enhancement : User-EXITS BADI, Customer Exit FORM  popup.    CALL  FUNCTION  'POPUP_TO_CONFIRM'      EXPORTING        titlebar        =  'SAVING DATA'       text_question  =  'Do you want save the data?'       icon_button_1  =  'icon_booking_ok'      IMPORTING       answer         = gstring      EXCEPTIONS       text_not_foun...

Edit alv reports user commonds

Well i going to cover all senario below topic Reports     : Alv Reports, Classical Report And interactive Reports Forms       : Scripts and Smart Forms Adove Forms Interface   : RFC BAPI ALE/IDCS Converstion : BDC LSMW BAPI Enhancement : User-EXITS BADI, Customer Exit FORM  display_item  USING  ucomm  TYPE  sy-ucomm       selfield  TYPE  slis_selfield. ******************************************************** this code captured the change request in alv reports ***********   DATA: gd_repid LIKE sy-repid,         ref_grid TYPE REF TO cl_gui_alv_grid.   CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'     IMPORTING       e_grid = ref_grid.   CA...

Convert exel file to internal table

Well i going to cover all senario below topic Reports     : Alv Reports, Classical Report And interactive Reports Forms       : Scripts and Smart Forms Adove Forms Interface   : RFC BAPI ALE/IDCS Converstion : BDC LSMW BAPI Enhancement : User-EXITS BADI, Customer Exit * Uploading the data in the file into internal table   CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'     EXPORTING *     I_FIELD_SEPERATOR    = *     I_LINE_HEADER        = 'X'       i_tab_raw_data       = gt_type       i_filename           = p_file     TABLES      ...

GET FILE NAME

Well i going to cover all senario below topic Reports     : Alv Reports, Classical Report And interactive Reports Forms       : Scripts and Smart Forms Adove Forms Interface   : RFC BAPI ALE/IDCS Converstion : BDC LSMW BAPI Enhancement : User-EXITS BADI, Customer Exit FORM  get_file .    CALL  FUNCTION  'F4_FILENAME'      EXPORTING       field_name =  'P_FILE'      IMPORTING       file_name  = p_file. ENDFORM.