Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding FM

Former Member
0 Likes
600

Hi All,

Can any one please give me information about this FM CUKD_GET_CODE

Thanks,

Manish

Hi All,

Can any one please give me information about this FM CUKD_GET_CODE

Thanks,

Manish

2 REPLIES 2
Read only

Former Member
0 Likes
558

In this FM if you pass the value of internal number KNNUM and the date field it will be system dateas its specified as sy-datum then the corresponding o/p ll be produced.Here is an eg

CALL FUNCTION 'CUKD_GET_CODE'

EXPORTING

KNNUM = L_CUKB-KNNUM

DATE = INT_DATE

IMPORTING

ADZHL = DEPDAT-CUCOUNT

  • AENNR =

TABLES

CODE_TAB = XCOD_TAB

EXCEPTIONS

NO_REC_FOUND = 1

OTHERS = 2.

L_CUKB LIKE CUKB,

DEPDAT TYPE KBMTI_DEPENDENCY_DATA,

DATA: BEGIN OF XCOD_TAB OCCURS 0.

INCLUDE STRUCTURE KBD_TREE.

DATA: END OF XCOD_TAB.

Read only

Former Member
0 Likes
558

Hi,

Go to SE-37 and give Function module name as CUKD_GET_CODE.

It will give you all the attributes regarding this func.module.

Regards:

Alok