Question:
Hi all
I am making a table control
in my pai, I have the folowing simple code
MODULE UPDATE_100 INPUT.
modify int_invent index tab_code-current_line.
ENDMODULE. " UPDATE_100 INPUT.
intinvent have a few field, including those 4: min_wip_plant, max_wip_plant, min_wip_sc and max_wip_sc
im trying to check if max > min before the int-table is being modified with modify. It is possible to do so or i must do it in this code instead:
FORM RELMINMAXUPD.
LOOP AT INT_INVENT.
MOVE-CORRESPONDING INT_INVENT TO INT_ZRELMINMAX.
APPEND INT_ZRELMINMAX.
CLEAR INT_ZRELMINMAX.
ENDLOOP.
MODIFY ZRELMINMAX FROM TABLE INT_ZRELMINMAX.
ENDFORM. " relminmaxupd
wich is called when ok-code 'save' is pressed. If i do it there and i stop the save cause of wrong data, will update_100 get called again?
update_100 is called in the screen flow logic tc loop but im a bit confused on when its being called. As soon as a user clic/modify the tc?? As soon as any button is pressed??
Thanks, Regards.
_________________
5 hour left in there!
is 'beer on a terrace while studying' worth the 'exams at 30c'?? Hell yeah!
Answer:
Hello,
Normally it should work with the if clause around your modify statement in the input PAI.
Best regards,
Yoolb
_________________
PRO IT
Consulting for You and Me
Http://www.proit.be
Answer:
ok thanks
how can i say the pai to start back all his process from line 1 if the data is wrong??
_________________
5 hour left in there!
is 'beer on a terrace while studying' worth the 'exams at 30c'?? Hell yeah!
Answer:
ok im gonna do it at save time
that will be better i think
_________________
5 hour left in there!
is 'beer on a terrace while studying' worth the 'exams at 30c'?? Hell yeah!