You still need to populate the new field you’ve added to CEKKOZZ. This must be done in the user exit provided. Using transaction CMOD – go to menu Utilities > SAP Enhancements. Transaction SMOD takes you there as well.
The exit name you need is : M06E0004 Changes to communication structure for release purch. doc
This exit contains the function below – you will need to create the include file (ZXM06U22). In this include you can write whatever code you like to set/modify values in CEKKO and influence the release strategy.
In your case you just need to set – e_cekko-afnam = it_bekpo-afnam.
A couple of things to consider:
1. there could be more thant one requisition in your PO (and therefore potentially more than one requisitoner) making up this PO – how will you handle this?
2. There could be PO lines added manually (ie no requisitioner)
3. You have to Create/Modify a Project in CMOD to add this exit/enhancement to – then activate it. You may need to talk to your ABAP/Tech team about this.
4. Lastly – the CMOD method is old style – typically this should now be done in a BADI (but I don’t have the experience to advise how best to set this up) – check with you Techos.
*” VALUE(I_CEKKO) LIKE CEKKO STRUCTURE CEKKO
*” VALUE(IT_BEKPO) TYPE MMPUR_BEKPO OPTIONAL
*” VALUE(IT_BEKET) TYPE MMPUR_BEKET OPTIONAL
*” VALUE(IT_EKKNU) TYPE MMPUR_EKKNU OPTIONAL
*” VALUE(E_CEKKO) LIKE CEKKO STRUCTURE CEKKO
Hope this helps,
I have a question for you. We have a release strategy for Purchase Orders in place and based on the value / Qty there may be multiple approvers.
However when the final release of the PO is done, the spool gets created in the ID of the final approver. Whereas we require the spool to be created in the ID of the PO creator.
Can you please suggest how this can be handeled. Is is possible to trigger a workflow one the PO status is released, to send a copy of the PO to the creator in the Inbox ?