cancel
Showing results for 
Search instead for 
Did you mean: 

Code

Former Member
0 Kudos
35

Hi,

I have data coming from R/3 like:

A B C D KF

P100 10 V1 1/1/08 100

P100 10 V1 1/3/08 250

P100 10 V1 2/6/08 400

P100 50 V1 3/5/08 300

P100 50 V1 4/6/08 550

P100 50 V1 4/26/08 800

But I need to update this into ODS like:

A B C D KF

P100 10 V1 1/1/08 100

P100 10 V1 1/3/08 150 (250-100)

P100 10 V1 2/6/08 150 (400-250)

P100 50 V1 3/5/08 300

P100 50 V1 4/6/08 250 (550-300)

P100 50 V1 4/26/08 250 (800-550)

So I need to subtract the data with the previous posting data where fields A, B and C are same. Previous posting can be 1 day before or any....I need this to be done at update rules level!!

Plz help me out in this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Madhu,

write code some thisng lik this......

data : X like COMM_STRUCTURE-xxxx initial value '0'.

Result = COMM_STRUCTURE-xxx - x

x = result.

Hope this will help you..............

Regards,

Vijay.

Answers (1)

Answers (1)

Former Member
0 Kudos

Any solutions please!