Object dependency

dear sir,
in variant configuration ,i have one characteristic and two values
characteristic is A
values are 001 and 002
inside super bom i have a material bom B
i have attached(assigned) two selection condition dependencies( say D1 and D2 ) for this material bom B (inside super bom)
D1 syntax is    NOT(A = '001')
D2 syntax is    NOT(A = '002')
but in CU50 if i select value 001 or 002 my result will show B is required.But according to the syntax if we choose any value B should not come.
if anything wrong please inform me so that i can correct this problem
thanking you
srinivas pai

Hi,
If you want to exclude BOM item B from results based on Char A having any specified value then you only need one dependency assigned to the BOM item B with the following syntax -
Not Specified A.
You should keep in mind that multiple Selection Conditions assigned to same BOM item are logical OR.
So if you have multiple Selection Condition and any of the conditons are fulfilled, the item will explode in the results.
I hope this helps.
Brent

Similar Messages

  • Creation of Object Dependency (OD)

    Hi Gurus,
    Currently we have customized a program to create/update object dependencies. However we have a problem that sometimes the object dependency is deleted and not updated back. As we cannot simulate this all the time (especially during debugging) and we don't know why is it having this issue, we are looking at options to enhance the following codes.
    We are using 2 function modules CAMA_CLASS_CHAR_DEL_DEP (to delete) and CAMA_CLASS_CHAR_MAINTAIN_DEP (to create)
            CALL FUNCTION 'CAMA_CLASS_CHAR_DEL_DEP'
              EXPORTING
                CLASS                  = <FS_DEP_CHR_A>-CLASS
                CLASS_TYPE             = '300'
                CHARACTERISTIC         = <FS_DEP_CHR_A>-CHARACT
                DELETE_LOCAL_DEP       = 'X'
              IMPORTING
                RETURN                 = WA_RETURN2
              TABLES
                DEP_ASSIGN_DEL         = IT_DEP_ASSIGN_DEL.
            READ TABLE IT_RETURN INTO WA_RETURN WITH
                      KEY TYPE = 'E'.
            IF SY-SUBRC NE 0.
              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                EXPORTING
                  WAIT = 'X'.
            CALL FUNCTION 'CAMA_CLASS_CHAR_MAINTAIN_DEP'
              EXPORTING
                CLASS                 = <FS_DEP_CHR_A>-CLASS
                CLASS_TYPE            = '300'
                CHARACT               = <FS_DEP_CHR_A>-CHARACT
                DEPENDENCY_DATA       = WA_SEL_DEPDAT
                KEY_DATE              = SY-DATUM
              TABLES
                DESCRIPTION           = IT_SEL_DEPDESCR
                SOURCE                = IT_SEL_SOURCE
                DOCUMENTATION         = IT_SEL_DOC
              EXCEPTIONS
                ERROR                 = 1
                WARNING               = 2
                OTHERS                = 3.
            IF SY-SUBRC EQ 0.
              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                EXPORTING
                  WAIT = 'X'.
    Points will be rewarded for useful answers. Many thanks in advance.
    Rgds

    Mainly due locking issues. Added some logic to wait.

  • Object dependency for batch characteristic

    I have 1 class with multiple characteristics and 1 of the characteristics should be entered (mandatory) in case of a certain split valuation type (which is covered in the batch info). This should be done via object dependencies within the charateristic. Anyone knows how to do this?

    Dear Sairam
    As explaind to you in the earlier thread for product or proportion unit. you need not maintain object dependency for the characterestics. You have to maintain product unit which will appera as alternatvie UOM. While making GR the Alternate or product UOM will be seen as per the plan value(conversion factor) maintained in material master. You can change both Basic UOM and Alter UOM as per the actual caonversion recieved. This conversion factors will be saved in the batch classification.
    Regards
    MSR

  • How to get the Purchase order Qty in the object dependency

    Hi,
    We are using variant pricing in the purchase order. I have condition type say u201CZVBPu201D for Pallet cost. I defined Pallet cost as 5 USD per each (pallet). I have to calculate Number of pallets = Purchase order Qty/ 5. The number of pallets should be rounded to nearest integer.
    My question is how to get the Purchase order Qty in the object dependency?
    Is there any reference table and field can be used to get Purchase order Qty just like we use MMCOM-VKOND for variant pricing.
    Appreciate your help
    Thanks,
    Srini

    Hi,
    1. I do not have system now so I can not conclusively tell about table field .
    2. Since I did it long back so I also do not exactly remember it, there are more than one place where PO qty appears for example Item overview and Item details - one of the PO qty when used in the characteristic do pull the PO qty which can be used for variant pricing (so request to please update the forum with the correct table and field once you find it - in the meantime if I get opportunity to get to system I will also try and find out ).

  • PDS Creation with Object Dependency

    Hello Gurus,
    I´ve written a function to run BAPI_PDSSRVAPS_SAVEMULTI in order to create PDS with object dependency (Super BOM). The PDS created by my function looks good in CURTO_SIMU, but it is not respecting the characteristic dependency during PPDS Heuristic. If I take a PDS generated in ECC with the exact same attributes, the heuristics explodes the components correctly. When I run the getlist bapi, it shows both ECC created and function created with all tables (pds_header, pds_component,) filled with the same content. Though, one PDS works and the other doesnt. I am clueless.
    thank you a lot.
    Cheers
    Rafael

    Mainly due locking issues. Added some logic to wait.

  • Routings: mass change of object dependency

    Hi Friends,
    Do you know if there is way to apply a mass change on object dependency in Routings?
    My scenario is: add one new obj dependency at one operation on several (hundreds) routings.
    Thanks a lot for any help or suggestion.
    Bye,
    Flavio Ciotola

    Dear,
    BDC is good option you can record the BDC for CA02 through SHDB.
    Or else in mass you can do this wth CEWB - Engineering Workbench  first define the  Working Area in OP77 lets say Working Area    SAP_OPERATION select focus on operation also select the required field like Object dependency.
    and then go ahead with CEWB.
    Hope it will help you.
    Regards,
    R.Brahmankar

  • Error during cration of object dependency

    Dear Experts,
    During creation of Object dependency by T code-CU01 the system gives an error
    E28151 Table ZPPSFCTWEFT does not exist
    E28024 Syntax error in simple action/procedure
    The table ZPPSFCTWEFT is checked by se16, but it shows the table.
    The class characteristic configurable profile is maintained
    Kindly suggest me  some concerned solution for this.
    regards

    Dear Jayant,
    Try with rebuilding index with the particular table.
    Regards
    Nizam

  • Mass Upload of object dependency for characteristics value

    Hi ,
      I need to upload the object dependency for characteristics values through transaction CT04. My input data consists of characteristcs name , characteristics value and the object dependency (KNNAM) . Need to populate the KNNAM field alone .
    Have tried with the FM 'CTMV_CHARACT_CHANGE_KNOWL_VAL' which suits my requirement but teh dependencies are not getting uploaded . Am I missing anything ? Since I do not have class details i.e class num and class type I am not able to use  the BAPI like 'BAPI_CLASS_CHARVALUE_LOCAL_DEP ' . Please suggest any othe r suitable method .
    Thanks in advance.
    Sanjeev

    Hi,
    Please check the below link..
    BAPI for Characteristic Dependency
    Thanks.

  • Deletion of Object Dependency in BOM

    Hi All,
    I am trying to delete the Object dependency from a BOM using the Function Module "CUKD_API_ALLOCATIONS_MAINTAIN". After executing it, the Object is getting deleted but the Bulb like symbol for Obj(Object Dependency) in Transaction CEWB is not disabling. Please help me in this.
    Thanks
    Vinay

    Solved

  • Update of object dependency allocation in Routings

    Dear Friends,
    I am having the following problem: in several Routings of different configurable materials I need to change the object dependency allocation for one operation. In detail, let's say that operation 0100 has 3 object dependencies allocated:
    Operation 0100
    Object dependencies:
    OBJ_DEP_01
    OBJ_DEP_02
    OBJ_DEP_03
    what I need is to change the second one of them, from   OBJ_DEP_02   to   OBJ_DEP_99
    I can successfully read the object dependencies allocation with the function  'CUKD_API_ALLOCATIONS_READ', for each routing.
    What I am missing is a way to change that allocation. I found the function  'CUKD_API_ALLOCATIONS_MAINTAIN', but I am not able to make it working.
    Do you have any help or suggestion?
    Thank you very much indeed for any hints on this subject.
    Bye,
    Flavio

    Ops, it was my fault in calling the function 'CUKD_API_ALLOCATIONS_MAINTAIN', that works perfectly now.
    Thread can be closed.
    Thanks and bye,
    Flavio

  • Importance of object dependency  type procedure

    Hi Friend,
    Good Morningu2026
    Could any one explain the importance of object dependency  type procedure and its uses with same scenario.
    Thanks in advance,
    Mohan M

    Hi Mohan,
    Procedures are used to infer values for charecterisitcs. These are a type of object dependencies used in VC.
    Procedures can overwrite defualt values or they can set defualt values for charecterisitcs,  several procedures can be assigned to an object (for eg. a BOM item or operation) and define processing sequence.
    These are maintained in Charecteristics, Charecteristic values, configuration profiles, BOM item, Routing operation etc.
    Eg: Processing Sequence:
    A configurable material has characteristics COLOR and PRESSURE. The following procedures are allocated to the configuration profile of the material.
    0010 $SELF.COLOR = u2018GREENu2019 IF PRESSURE >= 10
    0020 $SELF.COLOR = u2018YELLOWu2019 IF PRESSURE >= 50
    0030 $SELF.COLOR = u2018REDu2019 IF PRESSURE >= 100
    The sort sequence ensures that pressure greater than or equal to 100 always sets the color u2018redu2019.
    Inferring Charecteristic Values with procedures:
    Let's assume Configurable material BIKE has the following characteristics:
    CharacteristicS AND THEIR Values                 
    WEIGHT
    FRAME                                          Aluminum                  10 KG
                                                         Steel                           14 KG
    EXTRAS (multiple-value)              Mudguard                   0.5 kg
                                                          Luggage rack             1.0 kG
    Procedure
    1. Create a procedure for the weight of the BIKE, depending on the frame.
    2. This procedure has the following source code:
    $SELF. WEIGHT = 10 if FRAME = u2018Aluminumu2019,
    $SELF. WEIGHT = 14 if FRAME = u2018Steelu2019.
    3. Allocate the procedure to the configuration profile of material BIKE.
    The weight of a bicycle increases if you select additional extras, such as mudguard or luggage
    rack.
    1. You define a procedure with the following source code:
    $SELF.WEIGHT = $SELF.WEIGHT + 0.5 if EXTRAS = 'Mudguard',
    $SELF.WEIGHT = $SELF.WEIGHT + 1 if EXTRAS = 'Luggage rack'
    2. Allocate the procedure to the configuration profile of material BIKE.
    Result
    1. When you configure the bike, the value u2018Aluminumu2019 is selected for characteristic FRAME.
    This triggers the first procedure, which sets the value 10 kg as the WEIGHT.
    2. Characteristic EXTRAS has values u2018Mudguardu2019 and u2018Luggage racku2019. This triggers the
    second procedure, which increases the value of characteristic WEIGHT to 11.5 kg.
    You can also use procedures to count or summurize values of charecterisitics.
    You can use procedure to change the values in master data such as BOM / routing. and also to maintain default values.
    Hope this will be helpful to you. Any queries, Please post.
    Regards,
    Pavan

  • Object dependency doesn't work for class type 001.

    Dear All,
    I would like to use classification for picking up material.
    I set up a class with class type 001 and assign to material.
    When I use mm03 to search the material with class, the object dependency in the characterist doesn't work.
    Does the object dependency work for the class type 001?
    The example is as below.
    If the characteristic CH_CAR = '01', then the characteristic CH_COLOR can show Red and Write.
    If the characteristic CH_CAR = '02', then the characteristic CH_COLOR can show Black and Blue.
    I wrote a depency precondition for this scenior, but it does't work.
    If I change the class to type 300 and attached to a configurable material, then when I create a sales order and configure the material, and the dependency did work.
    Does the object depency only support the class type 300?

    you can have object dependency in characterisitcs attached to material class. In this thread underneath the class is 001
    Length & Width is not converted in classivication view
    you may not be able to find objects using dependencies used in classification
    Object Dependencies in Classification - Classification System (CA-CL) - SAP Library

  • Object Dependancy for CHARS in Easy DMS

    Hi All
    I have given object Dependancey for some CHARS in SAP DMS.Its working fine in DMS , but when I check the same thing through Easy DMS, the dependancy is not working.. I can see all the CHARS and all Values are displayed there..
    Can someone guide on this??
    Regards
    Aby

    Dear Thomas,
    I regret but the object dependency is not working in EasyDMS currently due to a restriction in BAPI_CHARACT_GETDETAIL.
    Best regards,
    Christoph

  • How To Upload Object Dependency with Long Source Code

    Hi Everyone,
    I use LSMW (IDoc:KNOMAS)  to upload the Object Dependency with T-Code CU01. However I can not upload  the formula/source code within more than 72 characters due to the maximum size of the source code field in dependency editor is 72 characters.
    Is there anyone that have the same problem and know the solution? Or is there any advice / tips how to upload the Object Dependency that have long source code?
    Any comments is appreciated. Thank you before hand.

    Hi Mika Permana,
    Same Problem am also getting when i was trying to upload more than one object dependency syntax's on CU01,
    After that i came to know we can restrict that all those things before 72 character's and we can add all those things to the next line in notepad,
    For Example,
    Header 1
    $SELF.Z_PRICE_HDC= 'HDC30' IF TURNAROUND = 'TAT5' AND NDF_COLOR1 = '4/4'
    AND NDF_COLOR1 = '4/4'
    Here We cant upload the object dependencies through to excel file,because KCD_EXCEL_OLE_TO_INT_CONVERT and ALSMEX_TABLINE function module having 'Value' field ,its length is 50 only,
    so it cant allow after 50th word. so i preferred to use notepad!!!
    the following code is for your reference.
    LOOP AT i_index WHERE knnam_001 = it_mmtab-knnam_001.
           l_count = l_count + 1.
           CONCATENATE 'RSTXP-TDLINE(' l_count ')' INTO var1.
           PERFORM bdc_field       USING var1                               " 'RSTXP-TDLINE(01)'           " syntax
                                    i_index-tdline_01_006.
           IF l_count > 15.
             MESSAGE 'LINE ITEM EXCEEDED > 15 ' TYPE 'E'.
           ENDIF.
         ENDLOOP.
    Thanks & Regards,BASTIN VINOTH NGSAP Technical Consultant, Unisoft Infotech Pvt. Ltd.,

  • Syntax Error in Object Dependancy in Class

    Hi All,
    We are working out bacth specific unit opf measurement in steel industry.
    The base unit of measure in Tonne. The batch specific UOM is Pieces.
    We want system to calculate the batch speific UOM from the production order quantity which is tonnes.
    For this we have defined following charactsristics in class which is assigned to materilals,
    1. PIECES- Number of pieces in batch
    2. SECTIONWEIGHT- This is the fixed value for every material the unit is KG/M i.e. Kilogarm per meter
    3. Z_LENGTH- Length of the material which is order specific
    4. WEIGHT- Batch weight which is nothing but the production order quantity in Tonnes.
    We are defining the following formula to calculate the number of pieces in object dependancy in 'Procedure',
    $SELF.'PIECES'=$SELF.'WEIGHT'1000$SELF.'Z_LENGTH'/$SELF.'SECTIONWEIGHT'.
    While consistency check that is whether the formula is correct or not, system throwing me an error, 'Syntax error in simple action/procedure'
    Kindly help to resolve this and also give input to handle the above scenario.
    SmanS

    Dhaval,
    Thank you.
    I correcetd the error with your solution.
    The syntax error has been resolved.
    Could you please guide me further for resolving the main issue.
    Let me explain you the scenario in details.
    Client manufactures stell angle.
    The base UOM is Tonnes.
    It is having following dimensions,
    Width, Thikness, height, Length.
    We have created material codes with the combination of width, thikness & height.
    Length would be part of classification as one of the characteristics.
    Beside length the other characteristics are PIECES, Z_LENGTH & SECTIONWEIGHT.
    My requirement is whenever the production order is created for specific quantity, say 5 tonnes, the pieces should be calculated automatically in the batch classification.
    Also after GR when the batch comes into stock, it should get updated if the batch quantity in tonnes changes throughout the logistics chain.
    How to incorporate this as it is hampering the process a lot.
    I feel you could help me to solve this.
    SmanS

  • BAPI_OBJCL_CHANGE_KEY AND OBJECT DEPENDENCY

    We use BAPI_OBJCL_CHANGE_KEY  in a class type 023 with object dependency.
    When we try to modify the characteristic which produces a new valuation in an other characteristic from the same object (material and batch) problems occurs. The system displays message C1821 or C1842 in certain circumstances.
    Thank you in advance.
    Soledad Olcina.

    Hey Chris,
    You cannot use the BAPI for class type 001, This BAPI can only be used with class types which have multiple objects enabled.
    For changing the characteristics of material try using  BAPI_OBJCL_CHANGE.
    Here the key of the object will be your material number

Maybe you are looking for

  • HT1386 I have the iphone 3G and now that MobileMe no longer exists, I want to synch my calendar, etc...

    How do I get my iPhone to synch via USB cable with iTunes? I update my MS Outlook Calendar, click for it to synch in iTunes, but my calendar in the iPhone remains empty. Also, there are several podcasts which seem unplayable in my iPhone & I can't se

  • Photo booth images too dark and grainy

    When I use Skype or want to take a photo using Photo Booth, the image is dark and grainy. It has slowly gotten worse and worse. Never had a problem with it before. Any suggestions?

  • How to transfer Message Interface from Repository to Directory

    Hello, I have created a Message Interface (with related Message Type, Data Type) and Interface Mapping from this interface to another in Integration Repository. Then I go to Integration Directory and trying to create Interface Determination. I can se

  • How to register Rest web services in Cold Fusion 9 ?

    I am building a Rest web service using Cold Fusion 9 and Cold Fusion Builder 3 and now I want to register it on Cold Fusion 9 admin console, but I didn't see any option there as in CF 10 and CF 11 Data Services ---> Rest Web service. So, please tell

  • Condition Reporting within a Web Template

    We need create a condition that list the top 10 customer by volume and total for all other and a grand total. I created a condition for top 10 and it displayed the top 10 fine and a grand total. I can not seem to get a total for all other customers.