Get data Dynamically from Standard Program Structure to Work area


field-symbols <mem>   type any .

data : ld_mem(62type c ,

       ls_bseg type    bseg .

    ld_mem = '(SAPMF05L)BSEG'.
   
assign (ld_mem) to <mem>.
    
if sy-subrc = 0.
      ls_bseg = <mem>.

    endif.

Comments

Popular posts from this blog

SAP ABAP-Internal Table Operations and Example Program

HR ABAP Interview Questions and Answers

BDC (Batch Data Communication) - SAP ABAP