‎2007 Feb 03 3:14 PM
Dear all,
I am working on BMBC tcode.I need to calculate AVAILABLE FROM DATE.
1) SLED = Date of manufacture + Material life days.( SAP Standard calculation)
2)Now user will select his desired SLED by drop down list.So,we have to calculate Difference in days between SLED provided by SAP(STEP 1) and USER selected SLED.
3)Finally we need to add that difference in days to Date of manufacture to get AVAILABLE FROM DATE.
AVAILABLE FROM DATE = Date of manufacture + Difference in days(STEP2).
i was asked to do this using a BADI.can u plz tell me is there any Exsisting BADI for my requirement.If i need to create new BADI how can i do that(coding).
Plz help me regarding this.
Thanking u all,
‎2007 Feb 05 5:31 PM
Hi Vineel,
The Available BADI's for BMBC Tcode is
1) BIC_SELECTION
2) BIC_FOLLOW_UP_ACTION
Creation of a BADI is as follows
Goto Tcode SE19:
give Implementation name as : ZBIC_SELECTION and press "F5" for Creation
it asks BADI Definition name as "BIC_SELECTION" just you create .
and press enter
and you give the BADI Implementation Description : XXXXXXXXXXXXXXXXXXXX
save this Implementation
click on the Interface tab and double click on the Implementation Class as "ZCL_IM_BIC_SELECTION".
then you have the Methods . double click on the Method it opens the Code window for that method.
as looks like bellow.
<b>method IF_EX_BIC_SELECTION~DEFINE_SUBSCREEN.
Here you will write the coding part.
endmethod.</b>
save,check & activate
come back and activate again.
Regards
Sreeni