2010 Sep 07 1:53 PM
Dear Experts,
I need to implement a enhancement on PO Release transaction ME28 where when a PO is successfully released an E-Mail is triggered to the vendor. I cannot use the standard functionality of sending this in ME28 as we do not have the vendor email address maintained in the PO. we have this maintained seperately and hence why we need the enhancement.
I tried the user exit with enhancement M06B0002 unfortunately we dont get the field FRGKL which is what we check for status 'R'. and this is not called after release its called during. Is there an enhancement that can be used for this purpose.
Either that or i need to impllement a BADI with the functionality. I am very new to BADI's and have not done much OO ABAP programming. So dont know which one to use and how to use it.
Could anyone please direct me in the right direction.
thanks and regards,
Dilanke
2010 Sep 07 3:15 PM
Hi Dilanke,
Try with these exits:No badis are available for this Tcode ME28
Enhancement M06E0004 Changes to communication structure for release purch. doc.
Enhancement MM06E008 Monitoring of contr. target value in case of release orders
Enhancement MMFAB001 User exit for generation of release order
Enhancement M06B0001 Role determination for purchase requisition release
Choose an exit with other import parameters that your searching for and try to get the field FRGKL using Assign statement.
I hope this may helpfull.
Thank you,
Thanks,
AMS
2010 Sep 07 3:17 PM
to find the user exits & Badi's for the T-code..
go to table TSTC>enter T-code and execute> get the Program for the t-code..
and go to-se38-->get the package attached to the t-code..
next go to t-code Se15>expand the enhacement tab>enter package under userexit and
execute you will get the list of exits
available...
-->enter package under Badi's tab and
execute you will get the list of Badi's
available...
All the User exits are stored in Table MODSAP..
Enhacement Points----
And to find the Enhamcement Points go to progrmam or screen where the Items table is there and
Press SHIFT+F4(enhace application tool) -->go to menu bar >EDIT>enhacement Operations
-->Show implicit enhacements
--> once the yellow bar/Line appears right click and create a enhancement and add your own code.
Prabhudas
2010 Sep 07 3:19 PM
Hi
check the below documentation...
http://wiki.sdn.sap.com/wiki/display/ABAP/DocumentonBADI
http://wiki.sdn.sap.com/wiki/display/ABAP/DetailedexplanationaboutBADIandthewaystofindtheBADIwithanexample%28ME23n+transaction%29
Regards