‎2009 Mar 26 3:46 AM
I have created a new cutom FM for Inbound IDOC Application Posting.
In the TABLE Parameter of FM the following Tables difined.
IDOC_CONTRL LIKE EDIDC
IDOC_DATA LIKE EDIDD
IDOC_STATUS LIKE BDIDOCSTAT
RETURN_VARIABLES LIKE BDWFRETVAR
SERIALIZATION_INFO LIKE BDI_SER
while checking with Code Inspector Tool I got an Error for BDI_SER.( Last Table Parameter of the FM)
Syntax check warning
"BDI_SER" can be enhanced. After a structure enhancement, the semantics of the
parameter transfer may change.
Internal Message Code: MESSAGE G_B
(The message can be hidden with "#EC ENHOK)
Type "BDI_SER" or the type of one of its subcomponents can be enhanced. The semantics of the parameter transfer may change after a structure enhancement.
For the execution of a Remote Function Call (RFC), the actual parameter and formal parameter do not have to be of the same type. In the case of structure types, the actual parameter and formal parameter can contain additional components at the end. These additional components are set to their initial values.
Check whether the enhancement category of the relevant type correct is set or whether the category "cannot be enhanced" should be used.
How to fix this error? other wise how to supress the Message by adding "#EC ENHOK
where I have to add the Comment "#EC ENHOK.
please help to give details .
Thanks in advance.
Shar
‎2009 Mar 26 9:12 PM
Hi Sharma,
Simply type "#EC ENHOK after the statement (or in this case declaration) is finished by period, i.e.
DATA SERIALIZATION_INFO LIKE BDI_SER. "#EC ENHOKThanks,
Heinz
‎2009 Mar 26 4:37 AM
Hi:
Is it BDI_SER a custom table ?
if yes, go in se11 - > Extras -> enhancment Category -> select can not be enhanced and activate it .
else. "#EC ENHOK
Regards
Shashi
‎2009 Mar 26 5:05 AM
Hi Shashi,
Thanks.
If I want to use "#EC ENHOK where I can use this one to supress my message.?
Similarly I am getting error in few Variables. like
ELSE has an empty body Row no 100
(The message can be hidden with "#EC NEEDED)
how to use "EC NEEDED? in row no 100?
If possible please give code details.
Thanks,
sha
‎2009 Mar 26 4:53 AM
HI,
You can ingnore this warning message as this is beacuase of the Ehnancement Category selected for this structure BDI_SER is Can be enhanced or character-type or numeric.
As it is the standard structure you cannot do any changes for this.
‎2009 Mar 26 4:57 AM
Hi Avinash Kodarapu ,
Thanks.
sha
Edited by: sharma on Mar 26, 2009 5:57 AM
‎2009 Mar 26 9:12 PM
Hi Sharma,
Simply type "#EC ENHOK after the statement (or in this case declaration) is finished by period, i.e.
DATA SERIALIZATION_INFO LIKE BDI_SER. "#EC ENHOKThanks,
Heinz