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

BAPI_OBJCL_GETDETAIL

Former Member
0 Likes
750

gurus,

please help me with this FM. what is the function of this?

do you have sample code for this please?

thank you so much.

-march-

1 REPLY 1
Read only

Former Member
0 Likes
433

Hello ,

Please check the Doumentation of this FM in SE37.

DATA: begin of lt_valchar OCCURS 0.

include structure BAPI1003_ALLOC_VALUES_CHAR.

data: end of lt_valchar.

DATA: gt_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,

p_matnr LIKE BAPI1003_KEY-OBJECT,

OCCURS 0 WITH HEADER LINE.

CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'

EXPORTING

objectkey = p_matnr

objecttable = 'MARA'

classnum = 'CL000099' " Give Class number

classtype = '001' " Give Class Type

keydate = sy-datum

TABLES

allocvaluesnum = lt_valnum

allocvalueschar = lt_valchar

allocvaluescurr = lt_valcurr

return = gt_return.

Regards

Saket Sharma