Posts

Showing posts with the label open cursor

Open cursor program in abap

Image
  * It is used to reduce the load balance. Code  REPORT  ZAJAY_CURSOR_PROG . TABLES : mara . types  :  begin  of  ty_mara ,         matnr  type  mara - matnr ,         matkl  type  mara - matkl ,         mtart  type  mara - mtart ,          END  OF  ty_mara . data :  it_mara  type  table  of  ty_mara ,       wa_mara  type  ty_mara ,       a  type  i ,       it_final  type  table  of  ty_mara . select-OPTIONS  :  s_matnr  for  mara - matnr . START-OF-SELECTION . open  CURSOR  a  for   select  matnr matkl mtart  FROM  mara  WHERE  m...