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 + last column

Former Member
0 Likes
810

Hello Friends,

i am facing a strange problem. I have created a table control using table control wizard. when I enter the values in table control select the entry and press okey button everything works fine. then I gave the program to user for test, and he came back with following issue:

He entred the data in the table control, and then he press the enter button. then he went to the last column and change the value, press again enter button, the value overwrite again ( which he has entered before ).

I went in debug mode to see what is going on, and surpringly while entring the value in the last column I press enter the control did not went to my module "Z_TAB_CTRL_modify input." rather it went in user_command. module.... and that's why it did not updated the value after user change in last column....

Any idea what I can do to fix this issue...

Regards,

6 REPLIES 6
Read only

Former Member
0 Likes
768

Any one has any idea ??

Regards,

Read only

0 Likes
768

HI

U should show us your PAI, perhaps are you using CHAIN/ENDCHAIN statament?

Max

Read only

former_member491305
Active Contributor
0 Likes
768

Hi,

Check whether you have given the last coloumn field in Chain Endchain block of the Loop in PAI.The module "Z_TAB_CTRL_modify input" should have an extension ON CHAIN-REQUEST.

Check out hte following eg.

LOOP AT it_t001l.

CHAIN.

FIELD x_t001l-lgobe.

FIELD x_t001l-spart.

FIELD x_t001l-xlong.

FIELD x_t001l-xbufx.

FIELD x_t001l-diskz.

FIELD x_t001l-xblgo.

FIELD x_t001l-xress.

MODULE tc_modify ON CHAIN-REQUEST.

ENDCHAIN.

FIELD: x_t001l-sel

MODULE tc_mark ON REQUEST.

ENDLOOP.

Read only

0 Likes
768

Hi Vigneswaran,

Yes you are right, and now I have added the last colum in chain and it works fine...

can you pls let me know what is the purpose of field-chain stuff ?

Regards,

Read only

0 Likes
768

Hi,

CHAIN.

...

ENDCHAIN.

Effect

The statements CHAIN and ENDCHAIN of the dynpro flow logic define processing chains. Between CHAIN and ENDCHAIN, the statements FIELD and MODULE can be executed. The statements between CHAIN and ENDCHAIN form a processing chain. Processing chains cannot be nested. The CHAIN statement can be specified in the event blocks at PAI and PBO , however, in the event block at PBO it has no effect.

<b>A processing chain allows the joint processing of all the screen fields stated between CHAIN and ENDCHAIN after FIELD statements:</b>

The contents of all screen fields combined to a processing chain by the FIELD statements can be checked in the shared conditions ON CHAIN-INPUT and ON CHAIN-REQUEST of the MODULE statement.

Read only

Former Member
0 Likes
768

thanks

Regards,