cancel
Showing results for 
Search instead for 
Did you mean: 

How to control PO Mail Output based on Customer Field Value in SRM

channu_s
Participant
0 Kudos

Hello All,

We have below scenario , can you kindly contribute you knowledge,

What is the scenario ?

        We are implementing SRM 702 module and we are sending the PO output (Smart form = BBP_PO)  vai Mail  to vendors.

What is the requirements?

      Out customer wants to send the PO output((Smart form = BBP_PO)  vai Mail _ only if the purchaser wish to send. So they are requesting to place customer field (check box) by which purchaser can control. the trigger of Smartform output vai mail.

      Kindly let us know  if we can do it as "Enhancement" instead of modification.

Thanks & Regards

CB

.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I think you manage to create customer field in your Purchase Order to control the output.

Now what I will request you to copy the standard class " CL_PD_PO_PROCESSING_BBP" .

In this class there is method which is responsible for sending the email to supplier.

Check this custom field in the class and control your PO transmission.\

More precise put check in line number 468 : CALL METHOD cl_bbp_doc_send_bcs=>send_mail

Cheers

Ankit

channu_s
Participant
0 Kudos

Hi Ankit,

Thanks a lot for your reply , but if we do the approach via the method ,it will affect during our upgrade right?

Thanks

CB

Former Member
0 Kudos

No problem during the upgrade process because you ask your developer to make a custom class for the same and assign that custom class to your configuration in output PO.

Thanks

Ankit Jain

former_member184741
Active Contributor
0 Kudos

Hi

you could try to create your own processing class using your own processing method (depending on output  type) and substitute them to the standard ones :

SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Set Output Actions and Output Format > Define Actions for Document Output.

Here for action profile BBP_PD_PO and action defintionSTANDARD_PO, for each processing type, you have output settings.

Using your own methods, you could execute or not (depending on your own conditions) the output generation.