cancel
Showing results for 
Search instead for 
Did you mean: 

call function 'NAMETAB_GET '

Former Member
0 Kudos

Hi

Iam working in upgrade project , right now i have a problem ,any body please suggest new function module in the place of NAMETAB_GET

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member206377
Active Contributor
0 Kudos

Hi Ravi,

The replacement for the FM is 'DDIF_NAMETAB_GET'. Here is an example how it has to be replaced.

Structure of the NAMETAB needs to be changed to DFIES in the new function module.

  • CALL FUNCTION 'NAMETAB_GET'

  • EXPORTING

  • TABNAME = 'FEBMKK_KF'

  • TABLES

  • NAMETAB = NAMETAB

  • EXCEPTIONS

  • OTHERS = 1.

DATA BEGIN OF NAMETAB OCCURS 20.

INCLUDE STRUCTURE DFIES.

DATA END OF NAMETAB.

CALL FUNCTION 'DDIF_NAMETAB_GET'

EXPORTING

tabname = 'FEBMKK_KF'

  • ALL_TYPES = ' '

  • LFIELDNAME = ' '

  • GROUP_NAMES = ' '

  • UCLEN =

  • IMPORTING

  • X030L_WA =

  • DTELINFO_WA =

  • TTYPINFO_WA =

  • DDOBJTYPE =

  • DFIES_WA =

  • LINES_DESCR =

TABLES

  • X031L_TAB =

DFIES_TAB = NAMETAB

EXCEPTIONS

NOT_FOUND = 1

OTHERS = 2

.

The bullets indicate that the line is commented.

I hope this was helpful.

Thanks,

Vasuki

Former Member
0 Kudos

This fm does same job as nametab_get

DD_GET_NAMETAB

Regards

vijaya