2015 Apr 22 6:19 AM
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 ??
2015 Apr 22 8:18 AM
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 ??
2015 Apr 22 7:25 AM
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
2015 Apr 22 7:42 AM
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,
2015 Apr 22 8:18 AM
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.
2015 Apr 22 8:54 AM
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
2015 Apr 23 10:22 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |