Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in loop

Hai Friends,

The following is my Internal Table

A	B	S1	S2	S3
101	1	45		
101	1	45		
101	1	45		
101	1	45		
101	2		80	
101	2		80	
101	3			150
101	3			150

But i want as below,

A	S1	S2	S3
			
101	45	80	150

If B is 1 the value should be moved to S1

If B is 2 the value should be moved to S2

If B is 3 the value should be moved to S3.

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question