08-01-2007 6:45 AM
hi all,
i have making use of chain in my module pool programing but i am gettin an error :
the statement CHAIN is not define check your spelling
please tell do i have to define the same
if yes then how .
and if not then what i do to over come this problem.
thank in advance
anuj
08-01-2007 10:11 AM
Hi Anuj,
CHAIN .. ENDCHAIN is a Flow logic statement .. It can't be used in flow logic.
Check the Example
<b>Flow logic</b>
PROCESS AFTER INPUT.
CHAIN.
FIELD MARD-WERKS.
FIELD MARD-LGORT.
MODULE CHECK_PLANT_STORAGE.
ENDCHAIN.
<b>Module Pool</b>
MODULE CHECK_PLANT_STORAGE INPUT.
ENDMODULE.
<b>Reward if Helpful</b>
08-01-2007 10:07 AM
HI ALL
PLEASE REPLY AS SOON AS POSSIBLE
POINTS WILL AWARDED FOR THE SAME
THANKS
ANUJ
08-01-2007 10:12 AM
Hi Anuj,
Hope u hve figured out a way 2 solve the prob.If not here it is
in se51 under the PROCESS AFTER INPUT. event write thus:
PROCESS AFTER INPUT.
CHAIN.
FIELD: field1, field2
MODULE validate_subroutine ON CHAIN-REQUEST.
ENDCHAIN.
08-01-2007 10:11 AM
Hi Anuj,
CHAIN .. ENDCHAIN is a Flow logic statement .. It can't be used in flow logic.
Check the Example
<b>Flow logic</b>
PROCESS AFTER INPUT.
CHAIN.
FIELD MARD-WERKS.
FIELD MARD-LGORT.
MODULE CHECK_PLANT_STORAGE.
ENDCHAIN.
<b>Module Pool</b>
MODULE CHECK_PLANT_STORAGE INPUT.
ENDMODULE.
<b>Reward if Helpful</b>