cancel
Showing results for 
Search instead for 
Did you mean: 

Manual Creation of CVCs with rules

Former Member
0 Kudos

Hi,

We would like to apply some rules in our case which should restrict the creation of the CVCs in APO DP.

Example rule:

A material can only be sold to a particular customer only. If the planner would attempt to create a CVC for the same product and another customer then the planner should receive a message that he is not allowed to create this based on an existing rule.

How to achieve this in APO during the creation of the CVCs

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can achieve this using BAdi which will get triggered when you will create new CVC using tcode /sapapo/mc62.

/SAPAPO/SDP_MASTER - Enhance characteristic value combinations

/SAPAPO/SDP_PLOB_GET- Determine Characteristic Values Combination

Documentation is available for both the above BAdis.

In the first BAdi you can do all the checks before saving the newly created CVC in the infocube.

I hope this will help you to achieve this.

Regards,

Saurabh

Former Member
0 Kudos

Hi Saurabh,

Thanks. i have checked the BADIs both seem to be useful. one more question, if i put the rules in a table is it possible for me to validate/checking these using the BADI code..or any other suggestions welcome

Best Regards,

Former Member
0 Kudos

Yes.You can maintain the entries/rule in the custom table and in BAdi code, you can validate/check the entries in MC62 with the table entries and execute the logic/ error messages according to that...

I hope now I have answered your question completely...:)

Regards,

Saurabh

Former Member
0 Kudos

Hi Saurabh,

Thanks for the quick and valuable info. I have awarded full points to you

Best Regards,

Answers (1)

Answers (1)

Former Member
0 Kudos

null

Edited by: Saurabh Kulkarni on Apr 21, 2011 3:14 PM

Edited by: Saurabh Kulkarni on Apr 21, 2011 3:14 PM