cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in creating Object dependency in BOM

Former Member
0 Kudos

Hi Gurus,

Want to use Varaint configuration with object dependency for selection of correct component based on characteristic values.

We have a Characteristic "ENGINE" with 2 values 100 and 200.

Trying to create a Selection Condition for the component in BOM, by accessing Extras -> Object Dependency -> Editor.

We have created OD as : ENGINE = '100'

System is giving error as

E28063 Reference to object $ROOT, $PARENT or $SELF required

E28023 Error in syntax check for simple condition

and if you select details of error it throws the following error..

E28063 Reference to object $ROOT, $PARENT or $SELF required

E28051 Reference to characteristic required

E28075 Character string required in inverted commas

E28050 Characteristic is multiple value ENGINE

E28091 Error in standard dependency: TYPE_OF

E28037 Logical expression required

E28023 Error in syntax check for simple condition

Please help us how to create this simple OD.

Many thanks for your help.

jaideep

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Wondering if the problem refers to the 'Multiple' value assignment!

Can you check the Characteristic(CT04) --> 'Basic Data' tab --> Check the option chosen under 'Value assignment'?

If the current setting is 'Multiple value', can you change this to 'Single value'... and then test?

Thanks

Senthil

Ritz
Active Contributor
0 Kudos

Hi ,

E28063 Reference to object $ROOT, $PARENT or $SELF required

E28023 Error in syntax check for simple condition

this errors are cause you haven't added any of three expression $ROOT, $PARENT or $SELF

If you are assigning this value to a part which have Engine as component in BOM then Change the syntax to $PARENT.ENGINE = '100'.

If your component is a more then one level below of header , use $ROOT, $ROOT.ENGINE = '100'

Check and I hope it will work for you.

Thanks

Ritesh

Former Member
0 Kudos

Hello Jaideep.

You always need a reference to Root , Self or parent when using OD. if you have the following BOM structue

Material A

             |______ Assembly B

                                |______ Component C.

Then A is the root , B is the parent and C is the self incase you are setting a value on C.

In your case , I believe you have Header material A with component B. Characteristic ENGINE should be assigned to Material A.

Selection condition syntax should be the following :-

$parent.ENGINE = '100'.

That should work and not give any syntax error. Assign this selection condition the bom component that you want to select.

You can find more detailed information with example under the following link.

http://help.sap.com/erp2005_ehp_06/helpdata/EN/92/58c276417011d189ec0000e81ddfac/frameset.htm

Regards

Amber

Former Member
0 Kudos

Hi Amber,

           I am doing some practice for Default Values with Procedures using

$SET_DEFAULT.

  • I created Config material MAT_CONF_WH
  • created class Cls_WDH_HGT
  • Assigned inbuilt characteristic Hight and Width
  • created Profile in CU41
  • Created Dependency Procedure in Profile for material and entered below code

$SET_DEFAULT ($SELF, HEIGHT, 1.5 * $SELF.WIDTH)

I am getting error below  would help me in this regard and if you have examples of using different procedue would be great help

E28038 Numeric expression required

E28024 Syntax error in simple action/procedure

E28050 Characteristic is multiple value WIDTH

E28038 Numeric expression required

E28024 Syntax error in simple action/procedure

Ritz
Active Contributor
0 Kudos

seems there are more then one issue with syntax you used.

I suggest, please open a new theard, discribing your issue & you can add link of this thread to show how its releavnt or close to what you are facing, it may help me and other forum members to respond to you.

Thanks

Ritesh

m_manimaran
Active Contributor
0 Kudos

This message was moderated.

Ritz
Active Contributor
0 Kudos

Please do not post in old threads. If you see similarity in issue , create a new thread and add a link to reference thread.

Thanks

Ritesh

erene
Explorer
0 Kudos

Check if your quotation mark is italic or not. if it is italic change it with a normal one