Skip to Content

How Could i get the Next row value When i am at Before row of the Next row. table Control


Need small information.

The below code i had written For enable the Cell of the particular columns of the row.
because, I would like to raise one Error message,End user has to Rectify it.Modify the Cell of the row.

LOOP AT it_asst.
"MODULE get_data.
FIELD wa_asst-zappstatus.
MODULE level_checking.
MODULE get_data. "Updating values to the it_asst


1 Pending 2 Pending 3 Pending 4 Pending 5 Pending 6 Approved

In the above 5th and 6th rows are enabled.
Each users has to Change the status of the line like 1, 2,3,4,5,6 in a Sequence order.

If next row status is Approved,The user should not change the Status from Approved to pending. it is combo box nothing but list having only two values are display,like Pending/Approved.

In the above the problem is At 5th row i would like to show the error message.And that cell should be enabled.So, i was used Chain and End chain in Table control.

The problem is I am using loop at /End looop. It is coming like

1st row
2nd row
3rd row.
4th row.
5th row.
I am at 5th row. How could i get the 6th row value.

At 6th row. i can write the error message. But i need to show the problem at 5th rows. He has to change the status From pending to Approved.Hope you understood.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers