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

Problem with Chain EndChain

Former Member
0 Likes
1,281

Hello,

I am facing some Issues in Chain and EndChain. The scenario is, I am appending some entries to the table control in the standard transaction. While saving, the entries are validated by chain and endchain and if the line items go in to error, then that line would be highlighted and ready for Input.

Now the problem is Since i am appending the entries to the table control, the Chain and Endchain is not validating it while saving. If i append at the top also it is validating only the visible rows in the table control.

I tried modifying current_line,  Top_line. But nothing works.

Any solution of how to make the chain End chain validate all the line items ??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,167

Hi Karthik,

Can you provide your transaction and were you have written your validation(I am sure it should be PAI). Since its standard and you must have implemented some enhancement. Also give us your exact requirement.

Regards,

A Vadamalai.

Hello,

I am facing some Issues in Chain and EndChain. The scenario is, I am appending some entries to the table control in the standard transaction. While saving, the entries are validated by chain and endchain and if the line items go in to error, then that line would be highlighted and ready for Input.

Now the problem is Since i am appending the entries to the table control, the Chain and Endchain is not validating it while saving. If i append at the top also it is validating only the visible rows in the table control.

I tried modifying current_line,  Top_line. But nothing works.

Any solution of how to make the chain End chain validate all the line items ??

5 REPLIES 5
Read only

Former Member
0 Likes
1,167

Dear karthi,

wirte your validation in Module validatie_tbc on chain-request.

IN PAI write the follwiing.

Loop at itab.

chain.

your fields in table control

endchain module validate_tbc on chani-request.

endloop.

Best Regards,

Noufal P

Read only

0 Likes
1,167

On Chain Request wont work as we have not made changes to the table but we are just appending the entries to the internal table.

ON Chain Request will work only if there is any changes done like Enter, Plus only the visible rows will be validated, not the rows below the scroll bar,

Read only

Former Member
0 Likes
1,168

Hi Karthik,

Can you provide your transaction and were you have written your validation(I am sure it should be PAI). Since its standard and you must have implemented some enhancement. Also give us your exact requirement.

Regards,

A Vadamalai.

Read only

0 Likes
1,167

Vadamalai,

The TCode is QM02. I am writing my validation in PAI. When clicking on save, i have included my module in between chain & End Chain, to the screen 3032 of Include SAPLXQQM.

In the below Image, the chain is validating only 9 entries.I am appending entries through some other program via the Actionbox. after appending, when i try to save i need the validation to be done for the appended entries(more than 9) as well.

Hope i am clear.

Thanks,

Karthik

Read only

0 Likes
1,167

The validation is not possible... Thread closed.