Skip to Content
0

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

Aug 28, 2017 at 04:21 PM

111

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Saravanan Sasikala Duraisamy
Aug 29, 2017 at 01:50 AM
0

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

Show 5 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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?

0

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

rule.png (11.5 kB)
0
Former Member
Saravanan Sasikala Duraisamy

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

0

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

0
Former Member

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

0