‎2006 Jun 09 7:28 AM
Hi Guys,
In DEMO programms,iam not getting save button activation.
In My requrement i need to insert data in to TC manually and after that save in to custom table .
Plz send me some code regarding that.
My mail Id is rayeezshaik@yahoo.co.in
Adn=vance thanks,
Rayeez
‎2006 Jun 09 7:32 AM
Hi,
In the PBO,there is a command SET PF-STATUS...
Uncomment this and create a PF-STATUS. Assign name SAVE to save icon. Activate the Pf-status.
This would solve the problem.
Best regards,
Prashant
‎2006 Jun 09 7:35 AM
Hi,
Link a internal table with your table control in PBO and in PAI.
IN PBO.
loop at itab
with control zbpsgtable
cursor zbpsgtable-current_line.
module get_100_lines.
module zbpsgtable_get_lines.
endloop.
IN PAI.
loop at itab.
chain.
field itab-bpsg.
field itab-bpsc.
field itab-bpsd.
field itab-total.
field itab-filled.
field itab-vacant.
field itab-s.
module zbpsgtable_modify on chain-request.
endchain.
Set initial lines in PBO like
"describe table itab lines zbpsgtable-lines"
INPUT MODULE FOR TABLECONTROL 'ZBPSGTABLE': MODIFY TABLE
module zbpsgtable_modify input.
modify itab
index zbpsgtable-current_line.
endmodule.
MODULE get_100_lines OUTPUT.
grid_lines = sy-loopc.
ENDMODULE.
module zbpsgtable_get_lines output.
g_zbpsgtable_lines = sy-loopc.
endmodule.
Regards,
Wasim Ahmed.
‎2006 Jun 09 7:37 AM
Hi,
Sent sample code on how to work with the table control data.
‎2006 Jun 09 7:40 AM
‎2006 Jun 09 7:56 AM
Hi,
I have send some material on your mail award points if it helps.
regards