Application Development 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: 

Simulate manual entries in a table control from PAI.

Former Member
0 Kudos

Hi guys, this one is really difficult,

I'm trying to simulate manual entries in a table control from dynpro's

PAI so PAI should be trigger again for each new automatic entry.

I was trying with:

CALL METHOD cl_gui_cfw=>set_new_ok_code

EXPORTING

new_code = 'ENT1'.

But it didn't work. Now I'm open to new ideas, please.

Thanks & regards

2 REPLIES 2

srinivas_anchuri
Explorer
0 Kudos

May be you can use dynp_write to add data to screen and set user-command stmt to trigger PAI. I am not sure..

Message was edited by:

Srinivas Anchuri

Former Member
0 Kudos

it seems u want to Trigger PAI when you change an entry in a specific field of TC.... If that's the case.. then u have to make that text boxt... with FCODE.

Hope after trying this option u will update us if u need further help.

Darshan