Assignment of Object Dependency at MIC's
Hi,
Is it possible to assign Object Dependencies for Master Inspectiona Characteristics in Routing.
regards.
No. Not that I'm aware. Object dependencies are used in general classification with general characteristics, not MIC's.
Craig
Similar Messages
-
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 MHi 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 -
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.
SmanSDhaval,
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 -
Showin a variable description for an info-object depending on a user login
Hi,
Client requirement is to show a variable description for an info-object depending on a user login.
e.g. a Characteristic Name is Level1 with a description as 'Level1'. If a user in Canada logs in and see a BEx report he should be able to see the description for infoobject Level1 as 'Cost center'. A user in US may wish to see the description as 'Expense center' etc. etc.
Is it possible to do so ? If yes please let me know ASAP.
Do not get confused with language dependant texts.
Regards,
K.Manikandan.Hi,
I don't think it is possible through standard functionality, but maybe you could try a workaround.
Create a Characteristic (say COMP) with text, and compound it with Infoobject Level1. The values and description for COMP could be
US Cost Center
CN Expense Center
You could make COMP an Authorisation relevant object and check the same with regard to user login, so that the people of sepecific country see only description relevant to their COMP.
In the report Display COMP as Description and Level1 as Key.
But do not that compounding may have an impact on the performance, also look into the implications of the same if you need to do it for a large number of reports/objects.
Hope it helps.
Cheers
Anurag
......don't forget to assign points if it helps...... -
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.
RgdsMainly 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,
SriniHi,
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 ). -
Assigning an object a primative value[ compiler magic | documented] ?
I recently discovered something I was doing in code on J2SE (Mac & Sun) which I never recall knowing you could do. That is assigning an Object a primative an integral datatype, like a short. Example:
public class PrimativeTest {
public static void main(String[] args) {
Object sp = getShortPrimative();
Object so = getShortObject();
Object da = (short) 34;
System.out.println("primative version value: " + sp.toString() + " type: " + sp.getClass().toString());
System.out.println("object version value: " + so.toString() + " type: " + so.getClass().toString());
System.out.println("direct assignment version value: " + da.toString() + " type: " + da.getClass().toString());
static short getShortPrimative() { return (short) 75; }
static Short getShortObject() { return new Short((short) 25); }
}Produces:
primative version value: 75 type: class java.lang.Short
object version value: 25 type: class java.lang.Short
direct assignment version value: 34 type: class java.lang.Short
Don't get me wrong, I am using this, like it, and now know I am using it. I, however, cannot find where this is declared as a feature. My concern stems from some of this code is to run on J2ME in the future. How many implementations of that are there?
Can someone please link me up with the on-line doc that say this is legal.
Thank youGood points about compiler settings. Am using Netbeans with CVS. I literally needed a spreadsheet to plan out which project goes to which platform (servlet, desktop, phone) all in advance.
Figuring out how to compile, assemble (obfuscate/sign), & preverify (for J2ME) common code is one of the reasons I said 'in the future' of my orginal post.
Back in the 'old days', I used Visual Sourcesafe doing VB programming, so I keep trying to figure out a way to make CVS solve my problem. With sourcesafe, one project had the source, but you could put an alias to that file in other projects. I do not want branches that drift apart. If that worked, I could just make three actually distributed projects with all the classes each needed, one of which was compiled using the Mobility pack.
Not really a subject for this forum, but thought I would expand on the issue raised. -
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
RafaelMainly 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 CiotolaDear,
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.
regardsDear 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.
SanjeevHi,
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
VinaySolved
-
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,
FlavioOps, it was my fault in calling the function 'CUKD_API_ALLOCATIONS_MAINTAIN', that works perfectly now.
Thread can be closed.
Thanks and bye,
Flavio
Maybe you are looking for
-
hi, we have implemented oracle text search. When trying to search a keyword contains in Adobe Reader 7.0 pdf version no search result is showing while the same keyword search is showing the pdf file which is in Adobe Reader 6.0. Can any one please he
-
i wanna know whats the criteria to become an apple reseller or rep in senegal
-
[SOLVED] Root FS mounted RO after kernel upgrade
For some reason, since I upgraded to the 2.6.27-2 kernel, my root filesystem has been mounting readonly. I tried adding 'rw' to my fstab and rebooting, and remounting it with '# mount -o remount,rw /dev/sda3', but neither worked. Can anybody help?
-
Hi everybody, I created the following rules in my Cisco Mars in order to test it, and I tried a lot of variables, but they doesn't work as I expected. DOWN VPN: Time range: 2 minutes Email: to me Offset: 1 Source IP: 192.168.0.1 Destination IP: xxx.x
-
Why is there no "download now" button?
There is no "download now" button on the 11.6.602.180 page for msie 64-bit