Dear SRM Boffins,
My client has a requirement to design a new Purchase Order Form in SRM as Adobe Form. I am however having problems to get the correct way of doing this. My questions are as follows:
1) It seems as if you can set the printing programs (in this instance a class and method) in transaction BBP_PO_ACTION_DEF. This transaction however seem very fixed to force you to use Smartforms (the form name can only be selected from smartform names) .
If you however start investigating the code (Class CL_PD_PO_PROCESSING_BB Method: PPROCESS_BBP_PO_PRN) you can see that that they check if you have activated a BADI (BBP_PROCESS_PO) where you can write your own code... BUT I cannot see how to trigger the BADI?! The class CL_PD_PO_PROCESSING_BBP has an attribute SV_BADI_ACTIVE1 but I can see nowhere how to set the value? Has anyone done this before?
2) My external debugging is setup perfectly and I can debug in SRM, but I am struggling to get the debug to trigger the CL_PD_PO_PROCESSING_BBP class. Has anyone had a problem like this before?
Any help would be greatly appreciated!
Kind Regards
Deon