Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MULTIPLICATION

Former Member
0 Likes
698

HI,

JUST SEE THIS CODE...............

1)Loop at IT_STPO

2) MENGE = MAX_SETS * IT_STPO-MENGE.

3) Modify IT_STPO TRANSPORTING MENGE.

Endloop

THIS IS MY CODE. IN THIS CODE I AM GETTING ERROR IN SECOND LINE.

TELL ME WHAT IS THE PROBLEM AND OFTER THAT I HAVE TO MODIFY THAT VALUE IN IT_STPO HOW?

WITH REGARDS........

M.SRIKANTH

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
671

hi,

Check the line before the multiplication...

There might be some syntax errors before this line..

Thanks,

Naren

6 REPLIES 6
Read only

Former Member
0 Likes
671

Hi,

What is the error you are getting..

Thanks,

Naren

Read only

0 Likes
671

UNABLE TO INTERPRET 'MENGE' POSIBLE COUSE OF ERROR.INCORRECT SPELLING OR COMMAND ERROR.

THIS ERROR IS I AM GETTING.

I DECLARED MENG LIKE THIS

MENGE LIKE STPO-MENGE

Read only

0 Likes
671

I think you just forgot the period (.) afterLOOP AT it_stpo

Rob

Read only

0 Likes
671

Yes - this is the problem - I get the same error when I leave it off.

Rob

Read only

Former Member
0 Likes
671

Do you mean:


LOOP AT it_stpo.
  it_stpo-menge = max_sets * it_stpo-menge.
  MODIFY it_stpo TRANSPORTING menge.
ENDLOOP.

Rob

Read only

Former Member
0 Likes
672

hi,

Check the line before the multiplication...

There might be some syntax errors before this line..

Thanks,

Naren