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

Table Control

Former Member
0 Likes
502

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

5 REPLIES 5
Read only

Former Member
0 Likes
466

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

Read only

dani_mn
Active Contributor
0 Likes
466

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.

Read only

Former Member
0 Likes
466

Hi,

Sent sample code on how to work with the table control data.

Read only

0 Likes
466

refer..

Read only

Former Member
0 Likes
466

Hi,

I have send some material on your mail award points if it helps.

regards