cancel
Showing results for 
Search instead for 
Did you mean: 

Transformation with forula - activation error RSTRAN510

Former Member
0 Kudos

Hi All, I created a transformation in which I have created a transformation and one of the rules is to Multiply a Currency and by a quantity and store in in a currency unit.

i am getting getting these errors on activating it:

1.

Error while activating transformation

Message no. RSTRAN510

2.

Syntax error in GP_ERR_RSTRAN_MASTER_TMPL, row 697 (-> long text)

Message no. RG102

Diagnosis

The field "SOURCE_FIELDS" is unknown, but there is a field with the similar name ...

3.

Error during generation

Message no. RSTRAN511

4.

Error when activating Transformation 08SXTSJCQ7AG9ICO24YU09QLXRSZKLCB

Message no. RSO404

Here are some screenshots of my config:

Transformation:

http://picasaweb.google.com/lh/photo/PdpDU5ZmnXbqycYmfBFK5g?feat=directlink

Rule:

http://picasaweb.google.com/lh/photo/aPCmmMR0lnR03FOAb3afDw?feat=directlink

Formula:

http://picasaweb.google.com/lh/photo/KxVC7rx1D6guae58UyTi3Q?feat=directlink

http://picasaweb.google.com/lh/photo/BkoWvXTdp5Mhnwpd3zrO_w?feat=directlink

Note that if I create a similar transfomation without the formula rule but evertyhing else same, it gets activated

http://picasaweb.google.com/lh/photo/CpvrJlyF6c1jkIZHR_V9QQ?feat=directlink

How to resolve this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

try to create a routine (instead of formula) and put the following coding

there is a method compute_XXX (where XXX is name of target-object)

There you will find the following coding line

$$ begin of routine - insert your code only below this line -

After this one you have to add:

result = source_fields-prc_mat * source_fields-sal_quant

i think this should work fine.

Greetings

Answers (0)