Posts

Showing posts from January, 2020

How to create set values in sap abap programming language

First, we need to use the FM  G_SET_GET_ID_FROM_NAME to get the SETID based on the Setname in GS03 DATA :  lt_t134t       TYPE  TABLE  OF  t134t ,           ls_t134t       TYPE  t134t ,           t_set_values   TYPE  TABLE  OF  rgsb4 ,           wa_tsetvalues  TYPE  rgsb4 .      CALL  FUNCTION  'G_SET_GET_ALL_VALUES'        EXPORTING          client         =  sy - mandt         setnr          =  'ZMM_MTYPE'          table ...

Internal table declration 7.4 and data assigmnet in 7.4 application

TYPES :  BEGIN  OF  t_itab ,         name1  type  char10 ,         name2  type  char10 ,         name3  type  char10 ,         name4  type  char10 ,       END  OF      t_itab . TYPES :  tt_data  TYPE  STANDARD  TABLE  OF  t_itab                                          WITH  DEFAULT  KEY . DATA ( itab )  =  VALUE  tt_data (                       ...