cancel
Showing results for 
Search instead for 
Did you mean: 

formula element variable requirement

Former Member
0 Kudos

Hey All,

I got a restriction on calmonth with a customer exit variable x for getting records for all calmoth <= x where x holds last months value .

Now, if I use an offset on x say (X-1) i.e calmonth restricted by <=last to last month

is it possible to get this value into a formula variable Y via customer exit or replacement path (Y should hold last to last months value)?

Regards,

Blasco

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182470
Active Contributor
0 Kudos

I think it is possible. You can replace with the main variable in the formula variable. I don't see any great challenge here. Please give a try and let me know..

anshu_lilhori
Active Contributor
0 Kudos

Hi,

You need to give a try i think in cmod you can achieve this by reading the value of variable X and then offseting it by -1 .

Only thing is your first customer exit variable should be executed first and hold the value then follwed by second one.

Hope this helps.

Regards,

AL

Former Member
0 Kudos

Hi Anshu,

Is it possible to read the value independent of the offset. The value of the first variable with offset should be copied to the formula variable.

anshu_lilhori
Active Contributor
0 Kudos

Hi,

Yes i think so you can read the value independent of offset,the one which you are trying to populate in your variable X.

Please share the exact requirement so that we can give more inputs on the same.

Regards,

AL

Former Member
0 Kudos

Hi Anshu,

Let's say we have restriction on 0calmonth as X-3 i.e last month - 3 or March 2013.

I want 201303 to be the value in formula variable.

I need to feed this value via APD to another DSO into a month field. Will be running the APD for last 24 months data, one month data at a time.