on 07-31-2012 7:42 AM
Hello Experts,
Am Operating a Transaction through Module Pool program. I need to Process Certain Selected Rows from
'N' Numbers of Rows. As soon as I Scroll Down My Table the Selected Table Rows gets Unselected and
My Screen gets Refreshed. I checked my Background Process where I do get my itab-field value 'X' ,
those which got selected. But am not able to Display the Selected rows highlighted (yellow) at PBO Whose itab-field Value is 'X'.
Please Suggest with Code.
Thanks & Regards,
Milan.
hi ,
you have to update the internal table with the selected rows under PAI
loop ....endloop.
PAI
LOOp at itab.
module <module name>.
endloop.
in that module write the code as
modify itab from workarea index <tablecontrolname>-current_line.
plz give points if helpful..
Regards
Vasantha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vasantha,
Its there in my code already as.
MODIFY it_zpo_progress FROM wa_zpo_progress INDEX po_progress_invoice-current_line.
My Issue is once this Table in PAI gets Populated with Additional Value of Selected Rows by the User
i.e. it_zpo_progress-SEL = 'X' and then Its been called again in PBO; over there Those Rows Which were Selected by the User (i.e. selected field set true: 'SEL' value is 'X') must get highlighted for Which I tried this Syntax po_progress_invoice-line_selector = 'X'
but couldn't got it Reflected on My Screen.
use in PBO
LOOP AT itab CURSOR tbl_control-current_line
WITH CONTROL tbl_control.
ENDLOOP.
Milan, Try following logic
PAI
LOOP AT itab.
MODULE update_data.
ENDLOOP.
module update_data.
MODIFY itab INDEX tbl_control-current_line TRANSPORTING sel.
endmodule.
also make sure you are using table control with selection column with itab-sel.
Regards,
Janisar
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.