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
Similar Messages
-
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. -
Need to restrict values in F4 help for Batch Characteristic
Hi,
I need to restrict values in F4 Help for a batch characteristic based on values entered for another characteristic. I could not find any BADI or Exit for this purpose. There is a BADI CACL_VALUE which is triggered after an entry is selected from dropdown list but nothing when we press F4. I thought of using Object Dependency but I need to write a programming logic for the requirement. Please let me know if there is any way to write program in Object Dependency or any other way for this requirement.
Regards,
NikhilHi nikhil simha,
first of all, find out which search help is called.
[Hierarchy of the Search Help Call|http://help.sap.com/saphelp_nw70/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/frameset.htm]
may help you.
If you know the search help, you may enhance it, but first of all you should check the where-used-list and make sure that the search help shows the requested behavior only in the context where you want it to.
If it is your own program, you may be better off to create your own search help and define the triggering fields as search help interface input fields. Then you can use the values to filter results.
Regards
Clemens -
Automatic calculation for batch characteristic
Conversion factor is a batch characteristic which is to be calculated based on the other batch characteristics values entered by the user at the time of confirmation.
I have maintained the objectdependency in the batch class (023). The dependency type maintained is "Procedure". The batch class is assigned to material master. The formula is as follows
$self.conversionfactor=((($self.actthickness-0.067)*$self.density)
($self.paintgsm$self.metalgsm))*$self.width/1000
The formula is appearing in 2 lines in the dependency editor. There is no syntax error. As well as the dependency status is also "released".
But at the time of confirmation, if the values of the other characteristics are entered, no calculation for the characteristic conversion factor is done by the system.
Can anybody please guide on this???
Regards,
Manishthanks a lot
-
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
AbyDear Thomas,
I regret but the object dependency is not working in EasyDMS currently due to a restriction in BAPI_CHARACT_GETDETAIL.
Best regards,
Christoph -
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 -
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...... -
Batch Characteristic not updating with result for linked MIC
Hi,
I have created a MIC and linked to a batch characteristic i.e. potency and included the characteristic in a specific batch class. This MIC is part of the inspection plan for a certain material.
If I generate a lot of origin 01 and 09 for the material and record a result for the MIC and apply a UD, the batch characteristic is not updated with the result recorded in the batch master record..
If I generate a lot origin 89 for the same material, when the result is recorded for the MIC and apply a UD the batch characteristic is updated with the mic value in the batch master record.
Can you help regards?Ok. I am a little bit further.
I put a trace (ST05) on the result recording and I find a difference between 4.7 and ECC6.0.
In ECC6.0 I've an deletion in table "AUSP". This deletion isn't performed in the 4.7 system.
Hope that this can help to solve my problem.
Regards,
René
@ Mayank
Above, all the master data and customizing is mentioned to transfer the result to the batch classification
Edited by: Rene Fuhner on Jul 30, 2010 7:03 PM -
Archiving object for batch deletion
Hi ,
Please let me know the archiving object for batch date deletion from table MCHA.
MM_SPSTOCK is for archiving batch date from table MCHB.
Thanks in advance,
VinayakMM_SPSTOCK - is for archiving all the Batch related data including speical stocks. This will take care of your Batch Tables MCH1, MCHA, MCHB(own stock) and also all of the special stock tables like MSKA, MKOL, MSKU, MKOP, MSLB .....(if used in your company)etc. You should be fine just using this object
-
Object link is not created for batch through BAPI_DOCUMENT_CREATE2
Hi ,
I am trying to create document for batch object through program using bapi BAPI_DOCUMENT_CREATE2.
In transaction CV01N while creating document there is a provision to to link your material with Batch. I am able to create it through CV01N. But, While creating through program I am not able to create the object link. I am able to create link for material,vendor,PO.. but not for BATCH objects. The table where link objects values to be passed is OBJECTLINKS.
I have tried all possible combination but unable to create a batch object link to a material through BAPI_DOCUMENT_CREATE2.
Thanks,
SandeepHi,
Please explain detailly about FM BAPI_DOCUMENT_CREATE2
Thanks
Madhavi -
Need to find the dependent object details for an object.
Hi,
Is there any query to find the dependent object details for any object. Like if mview is built on a table, then i should be able to find the table name with out checking code of the mview. Thanks in-advance for your support. similar way for view and functions or procedures etc...
Regards
DBA.Hi all,
Thanks a lot for your inputs. seems i have not given full details in my post. I need to have a SQL Query to find the dependent object details not DDL.
if i give a metriealized view name, i should get the base table names directly not DDLs...
if i give index name i should get its corresponding table name(off course i got this already)...
if i give a function name, i should get all the tables which are being in the function...etc...
i am looking for a script which will cover all the aspects.....i hope i have given now enough information for this....
Regards
DBA. -
Deriving GR Qty from batch characteristics - Object dependency
Dear friends,
Is it possible to derive GR Qty automatically based upon the characteristics mentioned in the batch at the time of Production declaration? Has somebody written object dependency regarding this?
Best Regards,
AvinashWhich transaction you will be using to do GR.
Regards,
Vineet -
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 -
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.
-
Editing the formula in batch characteristic
The product is maintained with batch. The batch is created for the finished product manually at the time of confirmation. The batch characteristic values are maintained at the same time.
One of the characteristic value is to be calculated by using algebraic formula which includes simple mathematical operations on the values of the other characteristic.
for ex---
characteristic a---- 89 (VALUE entered by user)
characteristic b---- 1 (VALUE entered by user)
characteristic c---- 5 (VALUE entered by user)
characteristic d-----Automatic calculation based on above values & the formula.
I want for characteristic D----
Char D = {(a-0.03-0.07) * b + c} / d
How can I do this???? What will be syntax for this???
Please if anybody can help on this........Dear Ramanujan,
I have received the reply from you & thanks very much for ur quick reply.
I have tried the settings suggested by you, but having still the problem.
Conversion factor is a batch characteristic which is to be calculated based on the other batch characteristics values entered by the user at the time of confirmation.
I have maintained the objectdependency in the class as mentioned by you. The dependency type mantained is "Procedure". The formula is as follows
$self.conversionfactor=((($self.actthickness-0.067)*$self.density)
($self.paintgsm$self.metalgsm))*$self.width/1000
The formula is appearing in 2 lines in the dependancy editor. There is no syntax error. As well as the the dependency status is also "released".
But at the time of confirmation, if the values of the other characteristics are entered, no calculation for the characteristic conversion factor is done by the system.
Can you please guide on this???
Maybe you are looking for
-
Add zfields to report created by fki0
Hello Experts, i wants to add new fields to report created by fki0 and also i want to create a single report for all vendor ageing.
-
My adobe/ PDF documents are password protected. How can I remove the password?
@My adobe/ PDF documents are password protected. How can I remove the password?
-
Can't install Personal Oracle 8i for NT
So that we may better diagnose DOWNLOAD problems, please provide the following information. - Server name NONE - Filename NT817 Personal.zip - Date/Time 2/7/2002 - Browser + Version IE 5.5 - O/S + Version NT 4.0 - Error Msg NONE I downloaded and unzi
-
I keep getting a message to update and download a new version of Adobe Flash Player I also received
I keep getting a message to downlod an updated version of Adobe Flash Player. I also received a notice to change my password because of phishing problems. I changed my password but should I download the different Flash Player or is that phishing al
-
Toshiba 46TL938G loses WLan configuration after shut down
Hello, 46TL938G unpacked yesterday, upgraded firmware from Internet. Wireless set up with WPS works, but configuration is lost after turning the TV off/ back on. I cannot use assisted configuration because of hidden SSID. In manual mode I always get