‎2006 Nov 08 6:59 AM
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.
‎2006 Nov 08 9:07 AM
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