Skip to Content
0
Former Member
May 09, 2013 at 12:02 PM

Multiple BADI's are not executing with default.lgf

33 Views

Hi Gurus,

I am having 2 BADI's which need to be run when I submits the data in input sheet.

I am trying to write script logics and default as follows.

RM_LO_PRICE.LGF ---

*START_BADI RM_LO

DEBUG=ON

WRITE = ON

*END_BADI

*COMMIT

RM_IM_PRICE.LGF ---

*START_BADI RM_IM

DEBUG=ON

WRITE = ON

*END_BADI

*COMMIT

Defalut.LGF

*INCLUDE RM_IM_PRICE.LGF

*INCLUDE RM_LO_PRICE.LGF.

I tried to club both the scripts in single as

RM_LO_PRICE.LGF ---

*START_BADI RM_LO

DEBUG=ON

WRITE = ON

*END_BADI

*COMMIT

*START_BADI RM_IM

DEBUG=ON

WRITE = ON

*END_BADI

*COMMIT

DEFAULT.LGF ----

*INCLUDE RM_LO_PRICE.LGF

When I submit the data in input sheet. Default Logic is executing Only RM_IM BADI only.

Another BADI, RM_LO is not executing.

Could you please suggest me the possible way to call both the BADI's at once.

Regards,

Praveen.