Skip to Content
0
Former Member
Feb 06, 2008 at 08:28 AM

Updating SAP standard table ADRC using BDT

441 Views

Hi All

I have to update REGIOGROUP field in the ADRC SAP standard table.So I created FM for this purpose and did call it before the save event( i.e Collecting data to internal tables event).In this FM I got the REGIOGROUP value and updated this value in the IADRC internal table of function group SZA0.Because this table is used at the time of save.Before updating ADRC table IADRC[] values are moved to *IADRC[].Here my problem is I can't see the REGIOGROUP value in *IADRC[] but I can see this value in IADRC[].Please help me to solve this problem.Thanks in advance.

Please have a look at the code

FM

  • save data back to memory

assign ('(SAPLSZA0)IADRC[]') to <adrc>.

assign ('(SAPLBUA0)IADRC') to <row>.

loop at lt_adrc.

read table <adrc> assigning <row> index sy-tabix.

move-corresponding lt_adrc to <row>.

endloop.

Regards

Giri.