01-18-2007 7:42 PM
I created class using trans se24 (zcl_isa_replication_Catalog) and used this class in badi.
Under badi Method called class which created in se24 as follows
but I am getting error to create constructor
here i don't have idea , how to create construtor
Thanks
method IF_EX_BADI_ISA_REPL_CAT~INSTANCE_GET.
create object reference type zcl_isa_replication_Catalog
exporting
catalog_id = catalog_id
variant_id = variant_id
with_longtext = with_longtext
with_images = with_images
with_prices = with_prices
with_config = with_config
ipc_pricing = ipc_pricing
sim_id = sim_id
lim_id = lim_id
country = country.
endmethod.
01-18-2007 7:49 PM
Hi,
Have you defined a method called as Constructor in your class ? If no, define & implement it. Also, is the type of the class is Usual ABAP Class ?
Reward points if the answer is helpful.
Regards,
Mukul
01-18-2007 7:49 PM
Hi,
Have you defined a method called as Constructor in your class ? If no, define & implement it. Also, is the type of the class is Usual ABAP Class ?
Reward points if the answer is helpful.
Regards,
Mukul
01-18-2007 7:51 PM
method IF_EX_BADI_ISA_REPL_CAT~INSTANCE_GET.
data: o_replication_Catalog type ref to zcl_isa_replication_Catalog.
create object o_replication_Catalog
exporting
catalog_id = catalog_id
variant_id = variant_id
with_longtext = with_longtext
with_images = with_images
with_prices = with_prices
with_config = with_config
ipc_pricing = ipc_pricing
sim_id = sim_id
lim_id = lim_id
country = country.
endmethod.
Can you try this?
Rich Heilman
01-31-2007 10:38 PM
Hi ,
Created Implementation for BADI which already having implemenaion in active,
Now I created new one and activated giving error as
"There already Implementaions act active"
Present I am in ECC
Thanks
02-01-2007 1:21 PM
Hi,
You can not have 2 Active Implementations of a BADI. You can have multiple mplementations of a BADI but only one implementation can be active at any given moment of time.
Reward points if the answer is helpful.
Regards,
Mukul