cancel
Showing results for 
Search instead for 
Did you mean: 

MDG Derive Function Ruleset with Change Request Type in IF not working

partha_kar2
Active Participant
0 Kudos

My requirement is to create a DERIVE function, a sample would be:

IF 'Change Request Type' = ZZMM123

Then Change Value of 'Material Type' to 01

Question: How to access and use "Change Request Type" value in creating my Derive Rule set?

I have created the rule-set to include the 'Change Request Type' in IF clause, activated it properly, but still it doesnt work, any suggestions?

Accepted Solutions (0)

Answers (1)

Answers (1)

Saravanan_SD
Advisor
Advisor
0 Kudos

Hi,

Element SAPFMDM_CREQUEST_TYPE will provide the change request type (like ZZMM123) in the BRF applications.

Please refer the below document for more details (Section 7).

https://assets.cdn.sap.com/sapcom/docs/2015/07/d0d3a551-5b7c-0010-82c7-eda71af511fa.pdf

Regards, Saravanan

partha_kar2
Active Participant
0 Kudos

Hi Saravanan,

Thanks for the document. I have checked the same and tried it out. However i used the element SAPFMDM_CREQUEST_TYPE in the Ruleset definition, however i still see it is not working. Is that really possible? Have you ever done the same?

Saravanan_SD
Advisor
Advisor
0 Kudos

Hi Partha,

The derivation is working fine for my rules. Please ensure the following points.

1. The function must be named - DERIVE_MATERIAL

2. Add "Material" (Structure) and "SAPFMDM_CREQUEST_TYPE" (Element) in the Signature of the function.

3. Activate and set the Rule as enabled.

4. Ensure the BRF+ checks are enabled for the CR type in "Configure properties of Change Request Type" in MDGIMG.

rule.png

Regards,
Saravanan

partha_kar2
Active Participant
0 Kudos

Hi Saravanan,

Thanks for your suggestions. Please let me know the exact path for the BRF+ checks in the MDGIMG node - "4. Ensure the BRF+ checks are enabled for the CR type in "Configure properties of Change Request Type" in MDGIMG.". I feel this is the reason its not working for me as rest of the steps were identical to what you had mentioned.

Regards

Partha

Saravanan_SD
Advisor
Advisor
0 Kudos

Hi Partha,

Please ignore point 4. We can only enable/disable BRF checks in this options. It has no impact on the BRF derivations.

Could you please post the rule and also the type of CR (create or update).

Regards,
Saravanan

partha_kar2
Active Participant
0 Kudos

Hi Saravanan,

I have done the way you had mentioned, however it doesn't seem to work at all. I am preparing a document which i would upload for your assistance further.

Regards

Partha