Application Development 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: 

BAPI_OBJCL_CREATE_KEY

Former Member
0 Kudos

I want use the BAPI_OBJCL_CREATE_KEY.

Some one have a similar example about how to use this

bapi?

Now I do the next thinks:

1.-CALL FUNCTION 'BAPI_OBJCL_GET_KEY_OF_OBJECT'

EXPORTING

objectname = '000000000000003198'

objecttable = 'MARA'

classtype = '001'

CREATE_MISSING_KEY = 'X'

IMPORTING

CLOBJECTKEYOUT = CLOBJECTKEYOUT

tables

return = RETURN.

2.-BAPI OBJCL_CREATE_KEY

Thanks

Pere

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Instead try using this, BAPI_OBJCL_CREATE and this way you don't have to deal with the KEY field and it does exactly the same functionality.

Regards,

Ravi

Note : Please close the thread if the question is answered, and mark all the helpful answers

1 REPLY 1

Former Member
0 Kudos

Hi,

Instead try using this, BAPI_OBJCL_CREATE and this way you don't have to deal with the KEY field and it does exactly the same functionality.

Regards,

Ravi

Note : Please close the thread if the question is answered, and mark all the helpful answers