NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

FORM display_data .

gs_layout-info_fname = 'COLOR'.
gs_layout-col_opt = 'X'.
gs_variant-report = sy-cprog.
gs_layout-ctab_fname = 'COLORTAB'.
IF gt_transaction IS NOT INITIAL.
"ALV Display
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_callback_program = sy-cprog
i_callback_pf_status_set = 'ZSTATUS'
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP-OF-PAGE'
is_layout_lvc = gs_layout
it_fieldcat_lvc = gt_fcat
i_save = 'X'
is_variant = gs_variant
TABLES
t_outtab = gt_final
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
ELSE.
MESSAGE 'No data found' TYPE 'S'.
ENDIF.

ENDFORM.
*&---------------------------------------------------------------------*
*& Form ZSTATUS
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
FORM zstatus USING p_extab TYPE slis_t_extab.
SET PF-STATUS 'ZSTATUS' .""EXCLUDING P_EXTAB.
ENDFORM.
FORM top-of-page.

DATA : heading TYPE slis_t_listheader WITH HEADER LINE.

heading-typ = 'H'.
heading-info = 'CP Transaction Data'.
APPEND heading .
CLEAR heading.

heading-typ = 'S'.
heading-key = 'Date:'.
CONCATENATE heading-info p_date+6(2) '-' p_date+4(2) '-' p_date+0(4) INTO heading-info ." separated by space.
APPEND heading.
CLEAR heading.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = heading[]
* I_LOGO =
* I_END_OF_LIST_GRID =
* I_ALV_FORM =
.
REFRESH heading[].


ENDFORM.

FORM user_command USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.
CLEAR gw_final.
READ TABLE gt_final INTO gw_final INDEX rs_selfield-tabindex.
IF sy-subrc = 0.
CASE r_ucomm.
WHEN '&IC1'.
CASE rs_selfield-fieldname .
WHEN 'RFHA'.
CALL FUNCTION 'ZFSBORFM_DISPLAY'
EXPORTING
iv_bukrs = gw_final-bukrs
iv_rfha_d = gw_final-rfha.
WHEN 'RANL'.
"Class ID
CALL FUNCTION 'ZFSBORFM_DISPLAY'
EXPORTING
iv_bukrs = gw_final-bukrs
iv_ranl_d = gw_final-ranl.
WHEN 'LTR_CNT'.
SUBMIT zfsbor_r0462 WITH p_bukrs = gw_final-bukrs
WITH s_ranl-low = gw_final-ranl
WITH s_txn-low = gw_final-rfha
AND RETURN.

WHEN OTHERS.
ENDCASE.
ENDCASE.
ENDIF.

ENDFORM.
FORM user_command1 USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.
CLEAR gs_dis.
READ TABLE gt_dis INTO gs_dis INDEX rs_selfield-tabindex.
IF sy-subrc = 0.
REFRESH r_ranl.
r_ranl-low = |{ gs_dis-ranl ALPHA = IN }|.
r_ranl-sign = 'I'.
r_ranl-option = 'EQ'.
APPEND r_ranl.

REFRESH r_rfha.
r_rfha-low = |{ gs_dis-rfha ALPHA = IN }|.
r_rfha-sign = 'I'.
r_rfha-option = 'EQ'.
APPEND r_rfha.


CASE r_ucomm.
WHEN '&IC1'.
CASE rs_selfield-fieldname .
* WHEN 'RFHA'.
* CALL FUNCTION 'ZFSBORFM_DISPLAY'
* EXPORTING
* iv_bukrs = gw_final-bukrs
* iv_rfha_d = gw_final-rfha.
* WHEN 'RANL'.
* "Class ID
* CALL FUNCTION 'ZFSBORFM_DISPLAY'
* EXPORTING
* iv_bukrs = gw_final-bukrs
* iv_ranl_d = gw_final-ranl.
WHEN 'LTR_CNT'.
SUBMIT zfsbor_r0462 WITH p_bukrs = gs_dis-bukrs
WITH s_ranl IN r_ranl
WITH s_txn IN r_rfha
AND RETURN.

WHEN OTHERS.
ENDCASE.
ENDCASE.
ENDIF.

ENDFORM.
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.