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
Similar Messages
-
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.
-
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.
-
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 -
Change of activity type of operation overview through object dependency
Hi,
I am working on variant configuration project and I am using the global object dependencies (procedures) to change the BOM item quantities, Operation standatd values and activity types in super bom and super routings. When I use these dependencies BOM quantities and routing standard values are changed but activity types are not updated.
If anybody have any idea about this, how to use the dependency to update the activity type? or any prgram error / any OSS note for this?
We are working on ECC6.0.
Advanced thanks...
B VenkatHi Venkat,
As you may be having idea of usage of reference characteristics usage in changing the fields because you are already told that you are able to change the Qty field, same like this you need to have the reference char relevant to this field and table .
Now the activity type comes from the work center. so you need to change actvity type in work center or you have to change the workcenter ( expected workcenter should have your required activity type) by the object dependency. It's looking a bit thoghtful one. Just think in your functionality it will work.
Thanks
Ankaiah -
Log for Addition/Deletion of object in a Transport Request
Dear Friends,
Recently I had a issue where I tried deleting an object from a transport request and I got the message that object is deleted successfully.
But when the transport was imported then it failed with Sy-subrc 8 because of the same object in transport. The reason for the same could be :
1.) Either the object was not deleted from the transport request.
2.) Or Some one else added the same object again in the request.
I want to read the log of this transport in such a way that I see when a object has been added/deleted from a transport request along with SAP User ID of the person doing it.
Is this possible ? If so kindly share the steps with me.
Thanks a Lot for your kind help!!! This is very important for me....
Regards,
LalitHello Lalit
I hope nothing of that sort is available as the transport requests will again have tasks under them.
The changes done to the task will have to be tracked in that case but SAP doesn't have that task change logging as far as I know.
All E0* tables relates to transports and objects under these transports none of them have logs on this nor even any transactions which allow user to edit the transport object.
You get an action log which provides who created it and who releaed them.
But if you configure CharM on Solution manager I hope you can track each changes.
Regards
Vivek -
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 ). -
Error in FM DDIF_NAMETAB_GET when deleting BI objects via transport request
Dear all,
when importing a transport request in which several types of BI objects are deleted (Infocubes, DSO's, transformations, routines, DTP's, query elements, infosets, process chains). The import terminates only when transporting from acceptance to production with return code 12 due to an uncaught exception:
Transporting from development to acceptance did not raise this exception.
The ST22 dump (see below) refers in the "contents of system fields" section to a DSO, and to post-import activities. The DSO and the associated tables could not be found (rsa1 & se16), since they are deleted as desired.
Some of the relevant notes that I have found do refer to DSO related problems, but they all indicate to install SP19 which we already have installed (BW 7.0 Patch Level 23)
Could you please assist in pointing out potential solutions based on the information from the ST22 Runtime Error below?
Kind regards,
PJ
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_RS_PROGRAM_ERROR
Date and Time 08.02.2011 10:48:14
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_RS_PROGRAM_ERROR' was raised, but it was not caught anywhere
along the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_RSDD_DS====================CP' has to be
terminated.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_RS_PROGRAM_ERROR', was not caught
and therefore caused a runtime error.
The reason for the exception is:
Error in BW: Error in DDIF_NAMETAB_GET
How to correct the error
If the error occurs in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UNCAUGHT_EXCEPTION" "CX_RS_PROGRAM_ERROR"
"CL_RSDD_DS====================CP" or "CL_RSDD_DS====================CM001"
"APPEND_DS_TEC_FIELDS"
System environment
SAP-Release 700
Application server... "dp1ci"
Network address...... "<removed>"
Operating system..... "HP-UX"
Release.............. "B.11.23";
Hardware type........ "ia64"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 45
Shortdump setting.... "full"
Database server... "spisap02"
Database type..... "ORACLE"
Database name..... "DP1"
Database user ID.. "SAPBIW"
Terminal................. " "
Char.set.... "C"
SAP kernel....... 700
created (date)... "Dec 14 2009 20:47:35"
create on........ "HP-UX B.11.23 U ia64"
Database version. "OCI_102 (10.2.0.1.0) "
Patch level. 236
Patch text.. " "
Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"
SAP database version. 700
Operating system..... "HP-UX B.11";
Memory consumption
Roll.... 5979936
EM...... 0
Heap.... 1459888
Page.... 40960
MM Used. 6988880
MM Free. 415648
User and Transaction
Client.............. 000
User................ "DDIC"
Language key........ "E"
Transaction......... " "
Transactions ID..... "4D5111661004210BE10000000AFA2502"
Program............. "CL_RSDD_DS====================CP"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
Termination occurred in the ABAP program "CL_RSDD_DS====================CP" -
in "APPEND_DS_TEC_FIELDS".
The main program was "RDDEXECU ".
In the source code you have the termination point in line 61
of the (Include) program "CL_RSDD_DS====================CM001".
The program "CL_RSDD_DS====================CP" was started as a background job.
Job Name....... "RDDEXECL"
Job Initiator.. "DDIC"
Job Number..... 10475900
Source Code Extract
Line SourceCde
31 RAISE EXCEPTION TYPE cx_rs_program_error
32 EXPORTING
33 text = 'Invalid DSO subtype'. "#EC NOTEXT
34 ENDCASE.
35
36 * get table name from DDIC
37 CALL METHOD cl_rsd_odso=>get_tablnm
38 EXPORTING
39 i_odsobject = n_infoprov
40 i_tabt = l_tab
41 IMPORTING
42 e_tablnm = l_tablnm
43 EXCEPTIONS
44 OTHERS = 1.
45
46 IF sy-subrc <> 0.
47 RAISE EXCEPTION TYPE cx_rs_program_error
48 EXPORTING
49 text = 'Error in CL_RSD_ODSO=>get_Tablnm'. "#EC NOTEXT
50 ENDIF.
51
52 CALL FUNCTION 'DDIF_NAMETAB_GET'
53 EXPORTING
54 tabname = l_tablnm
55 TABLES
56 dfies_tab = l_t_comp
57 EXCEPTIONS
58 not_found = 1
59 OTHERS = 2.
60 IF sy-subrc <> 0.
>>>>> RAISE EXCEPTION TYPE cx_rs_program_error
62 EXPORTING
63 text = 'Error in DDIF_NAMETAB_GET'. "#EC NOTEXT
64 ENDIF.
65
66
67 ELSE.
68 * model table only needed for standard datastore objects, for
69 * write optimized DSOs target table is a changelog that is fully described by
70 * dta_pro (infoobjects)
71 CHECK n_s_dta-odsotype = rsdod_c_type-standard.
72
73 * get model table fields to add
74 CALL METHOD cl_rsd_odso=>get_mod_tab
75 IMPORTING
76 e_mod_fld_ur = l_t_comp.
77 ENDIF.
78
79 * according to T.B. ( 13.04.2007) the correct position is
80 * not needed in the D version
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 0
SY-TABIX 1
SY-DBCNT 1
SY-FDPOS 0
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE Execute Post-Import Methods and XPRAs for Transport Request
SY-MSGTY E
SY-MSGID DA
SY-MSGNO 300
SY-MSGV1 /BIC/AV_AMOFCB40
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20110208
SY-UZEIT 104759
SY-XPROG SAPLSYST
SY-XFORM SYSTEM_HOOK_OPEN_DATASETHi All
We are also experiencing this same error when transporting deletions of multiple objects.
Although the transport was cancelled in the destination system (production) it appears to have largely deleted all objects successfully except for DSOs.
The DSOs still appear in the table RSDODSO (via SE11) but are not visible anywhere else. When you try to view the DSO via RSDODS a warning appears saying "DataStore object to be deleted by transport -> delete only allowed". If you try to delete them in this transaction the same ABAP runtime error as the transport appears.
Any assistance would be greatly appreciated!
Regards
David -
How to delete all objects in a package?
Hello,
I've seen a similar question here. But is there a tool or a smart way to delete all objects in a dev class or a transport request?
Best Regards
VolkerThese are really 3 questions??
1. To delete objects in a request there are a number of ways, here is one:
Position cursor on modifiable request.
Double click on request and choose 'Objects' tab
Choose object line you want to delete and click 'Delete'
Save your changes.
2. To delete objects in a Dev Class:
Go to work bench --> edit object, Class and give your class name, you will see delete option at the bottom of the screen.
3. How to delete all objects in a package:
here is a link with the steps you need for this: http://benxbrain.com/en/index.do?onInputProcessing(brai_object_thread)&001_threadid=0000161442&sysid=WP5&pgmid=R3TR&object=DOMA&obj_name=DEVCLASS&child_param= -
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. -
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 -
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
Maybe you are looking for
-
How to make a server(HP-UX) as FQDN
Hi , Please tell me the process or commands used to make a HP-UX sever as FQDN(Fully Qualified Domain Name). Thanx Naresh
-
I have item of type "HTML Editor Minimal". I tried to insert a link into the text area box, but it doesn't work in Mozilla. It brings up the pop-up page when I click the "insert link" icon, but it does not fill in lthe text area with link, however th
-
How to access portlet by this type of link
Hi I need to access my portlet by this type of link,This Link will be availabe in Email, after click this link, link example is example http://localhost:7001/demoPortalWeb/page/demo/desktop/ServiceDelivery am i required to do any configuration to acc
-
Are there benefits to buying an Unlocked phone?
Are there benefits to the above question? I hate being LOCKED into anything. Like my brother asked " Why buy unlocked and go with no contract"? I really coul not give him an answer he liked the stupid SOB
-
How to cancel a query when execute query builtin fire and No Records found.
Hi, I am unable to cancel a query when i make query (fire enter-query) then fire (execute-query) and no records found then the form status is enter-query mode. Plz help me that how can i back to normal mode of form. here i use the code for coming bac