on 05-23-2018 9:16 PM
Hi All
I am working on super routing
We have created selection condition dependency and assigned it in routing.
Inside selection condition we are using function module
We have created a variant function in CU65 and assigned characteristics to it as below
Variant function {ZFUNCTION1}
CHARA1 INPUT = X
CHARA2 INPUT = BLANK
We have created a function module and assigned it in dependency as below
Dependency code is as below
Function {ZFUNCTION1} {(CHAR1 = $root.CHARA1, CHARA2=$root.CHARA2)}
here both CHAR1 and CHAR2 are sales order characteristics
we are passing CHARA1 value from sales order and matching with Z table data, if data is matched we are returning CHARA2 value as sales order CHARA2 value so that operation should get selected
The function module is returing with expected value
The dependency is not working. The operation are getting selected every time and are not getting skipped if data not matched in Z table
Can you tell me where I am going wrong, How to write code for this case in dependency editor. This is a selection condition in routing
Thanks for your quick reply
We are assigning selection dependency to the operation to select or deselect
It is SAP std functionality and we are not using any user defined filed
The issue is resolved now
Code written by me in dependency editor was correct
Thanks for your reply
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shanatilal,
Greetings,
I tried to use a P-Function in the Selection condition of the BOM, but was not sucesfull as i was trying to give an input value from the root and get an output value and validate the output value to perform the selection condition.
can you share some inputs over this.
Br,
Dsk
Hi Shantilal,
I've a preliminary question: how do you set an operation to be either selected or not selected?
Is it by means of an user-defined field in PLPOD?
Thank you for providing us with such a detail.
With best regards,
Flavio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.