Application Development 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: 

chain and end chain error

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

varma_narayana
Active Contributor
0 Kudos

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>

3 REPLIES 3

Former Member
0 Kudos

HI ALL

PLEASE REPLY AS SOON AS POSSIBLE

POINTS WILL AWARDED FOR THE SAME

THANKS

ANUJ

0 Kudos

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.

varma_narayana
Active Contributor
0 Kudos

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>