cancel
Showing results for 
Search instead for 
Did you mean: 

Help with meaning of code

Former Member
0 Kudos

Hi Gurus,

Can someone help me by telling me what happens when the code for a UR is executed??

  • fill the internal table "MONITOR", to make monitor entries

RESULT = COMM_STRUCTURE-/BIC/ZACC.

  • result value of the routine

if COMM_STRUCTURE-recordmode eq 'X' OR

COMM_STRUCTURE-recordmode eq 'R'.

RESULT = -1 * COMM_STRUCTURE-/BIC/ZACC.

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

It means:

normally update the result with the object ZACC.

BUT

if the records is a reversal or a deletion then transform ZACC as negative value!

Hope now is clearer..

Bye,

Roberto

Former Member
0 Kudos

Roberto,

no, the value will be reversed not negative, plus becames minus and minus becames plus

/manfred

Former Member
0 Kudos

Manfred,

sorry for my uncorrect use of the english language: reverse and not negative.

You could be a good proof-reader!

Bye,

Roberto

Former Member
0 Kudos

Thank you everyone for the quick response........i have assigned points to all

Southie

Answers (1)

Answers (1)

0 Kudos

hi,

first fill the destination infoobject with value of ZACC,

if recordmode = X or R (usualy deletion)

then destination infoobject = -ZACC (reduction)

this is the way ods working