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

FM Clarification

Former Member
0 Likes
352

Hi,

I have one FM (BAPI_OBJCL_GETCLASSES). Now I have one variable V. ZSTR is structure.

data: V like ZSTR.

In that fm i m passing variable V to objectkey_imp. but getting dump with message "The function module interface allows you to specify only fields

of a particular type under "OBJECTKEY_IMP". The field "LS_DOC_KEY" specified

here

has a different field type. "

What i have to do plz let me know.

1 REPLY 1
Read only

Former Member
0 Likes
287

Hi,

in that BAPI FM,

OBJECTKEY_IMP is LIKE BAPI1003_KEY-OBJECT

so declare a variable like

V like BAPI1003_KEY-OBJECT.

then assign some value like

V = '123'.

then CALL the BAPI by passing V to OBJECTKEY_IMP

But what u r passing here is not type of BAPI1003_KEY-OBJECT

thats why short dump u r getting.

reward points if helpful

Regs

Manas Ranjan Panda

Message was edited by: MANAS PANDA