Charateristic values as MD of Material
hello everyone,
i have a little problem.
in our organization, we keep some additional chars. of the material in the AUSP table - Characteristic values (accept of the main chars. which appear in the MARA table).
The format of the AUSP table is: material & char. which indicate the main key, and the value of the char. which appear as the table column.
we're trying to implement the "material" as an InfoSource of some InfoCubes.
To do so, we have to change the format of the table so the material would indicate the main key, each char. would appear as a table column, and the char. value would be the key figure.
has anyone do that or hear about it?
10X, Hana.
Hi,
Found the problem, I was assigning my dependency to the wrong characteristic. It should have been assigned to the Manufacturer number (inferring characteristic) rather than the Manufacturer name (inferred characteristic).
Farooq
Similar Messages
-
Function module to find charateristic values
hi all,
i need to find charateristic value and characteristic description for the given class type and batch number (CHARG) of a material.. is there any function module that gives these value because this value r not stored in the tables..
thanks in advance,
aswin.Hi,
Please check this FM.
VC_I_GET_CONFIGURATION
CUCB_GET_CONFIGURATION
call function 'VC_I_GET_CONFIGURATION'
exporting
INSTANCE = vbap-cuobj
LANGUAGE = SY-LANGU
TABLES
CONFIGURATION = i_config
EXCEPTIONS
INSTANCE_NOT_FOUND = 1
INTERNAL_ERROR = 2
NO_CLASS_ALLOCATION = 3
INSTANCE_NOT_VALID = 4
OTHERS = 5.
OR
data: i_char type table of comw with header line.
* Retrieve Characteristics.
call function 'CUD0_GET_VAL_FROM_INSTANCE'
exporting
instance = vbap-cuobj
tables
attributes = i_char
exceptions
instance_not_found = 1.
Regards,
Ferry Lianto -
How to Check Characterstic Values assigned for a material
Hi ,
My requirement is , to check each and every material entered in the selection screen and characterstic values assigned to this,
I dont need characterstic values for a material, i have to check whether characterstic values assigned or not , if not i have to give a message..
I used CLAF_CLASSIFICATION_OF_OBJECTS FM for getting charactersic values
it is giving NO classification found , but for tghat material classification is existing subsequently characterstic values are also there, i passed material no with leading zeros also.
i used WMCL_MAT_READ_CHAR_VALUES FM also , but it is giving No charcterstic values found for that Material but characterstic values are assigned for that Material..
Could u please find out ,where i am missingTHIS MATERIAL HAS CLASSIFICATION VIEW AND CHARACTERSTIC VALUES ALSO MAINTAINED
DATA : MATNO TYPE AUSP-OBJEK,
L TYPE I,
T_CLASS TYPE STANDARD TABLE OF SCLASS ,
T_OBJECTDATA TYPE STANDARD TABLE OF CLOBJDAT.
MATNO ='631165'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = MATNO
IMPORTING
OUTPUT = MATNO
"use this function moduel...
*Retrieve Batch class , characteristic name and values for Material
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
class = 'ZCA2535'
classtype = '023'
features = 'X'
language = 'E'
object = MATNO "pass material number with leading zeros..
objecttable = 'MARA'
TABLES
t_class = t_class
t_objectdata = t_objectdata
EXCEPTIONS
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
OTHERS = 4.
IF sy-subrc = 0.
ENDIF.
BUT IT IS GIVING NO CLASSIFICATION FOUND -
Target finish value and Actual confirmed value for the header material
Hi guys,
For a given production order, I need to get the below mentioned two values for the header material of the production order:
1. Planned or Target finish value
2. Actual confirmed value
will this value be calculated like:
Target finish quantity x standard price of the material (maintained in MBEW-STPRS) = Target Finish Value
Actual confirmed quantity x standard price of the material (maintained in MBEW-STPRS) = Actual confirmed Value
OR
I can get these required value directly in DB table.
Please guide here.
Thanks & regards,
Ravish
Edited by: Ravish Kumar Ojha on Oct 28, 2009 5:41 AM
Edited by: Ravish Kumar Ojha on Oct 28, 2009 5:41 AMCO03- go to Costs-- Analysis should give you these details.
if you are not OK with the columns appearing, you can change by selecting the change Layout and selecting the required options.
Regards
Ratan -
Problem in assigning characteristics values to characters against material
Hello Gurus,,
I am doing a wrapper RFC to populate characteristic values to characters and finally that needs to be visible in material classfication view.
The following is my code let me know if any thing needs to be corrected on this
*"*"Local Interface:
*" IMPORTING
*" VALUE(CLASSNUM) TYPE BAPI1003_KEY-CLASSNUM
*" VALUE(CLASSTYP) TYPE BAPI1003_KEY-CLASSTYPE
*" VALUE(MATNR) TYPE MATNR
*" TABLES
*" CHARVALUES STRUCTURE ZCLASSCHAR
*" RETURN STRUCTURE BAPIRET2
TYPES: BEGIN OF ty_classchar,
atnam TYPE atnam,
atfor TYPE atfor,
END OF ty_classchar.
DATA: t_classchar TYPE TABLE OF ty_classchar,
x_classchar TYPE ty_classchar,
v_matnr(50) TYPE c.
DATA: objectkeynew TYPE bapi1003_key-object,
objecttablenew TYPE bapi1003_key-objecttable,
classnumnew TYPE bapi1003_key-classnum,
classtypenew TYPE bapi1003_key-classtype,
status TYPE bapi1003_key-status,
standardclass TYPE bapi1003_key-stdclass,
changenumber TYPE bapi1003_key-changenumber,
keydate TYPE bapi1003_key-keydate,
no_default_values TYPE bapi1003_key-flag,
classif_status TYPE bapi1003_key-status.
DATA: allocvaluesnum TYPE TABLE OF bapi1003_alloc_values_num WITH HEADER LINE,
allocvalueschar TYPE TABLE OF bapi1003_alloc_values_char WITH HEADER LINE,
allocvaluescurr TYPE TABLE OF bapi1003_alloc_values_curr WITH HEADER LINE.
REFRESH: t_classchar,return.
IF charvalues IS NOT INITIAL.
SELECT atnam
atfor
FROM cabn
INTO TABLE t_classchar
FOR ALL ENTRIES
IN charvalues WHERE
atnam EQ charvalues-characteristic.
IF sy-subrc <> 0.
CLEAR return.
return-message = 'No values in CABN against provided input'.
APPEND return.
ENDIF.
ELSE.
CLEAR return.
return-message = 'No input is provided'.
APPEND return.
ENDIF.
REFRESH: allocvalueschar,allocvaluesnum.
LOOP AT charvalues.
CLEAR x_classchar.
READ TABLE t_classchar INTO x_classchar WITH KEY atnam = charvalues-characteristic.
CASE x_classchar-atfor.
WHEN 'NUM'.
CLEAR allocvaluesnum.
allocvaluesnum-charact = charvalues-characteristic.
allocvaluesnum-value_from = sy-datum.
APPEND allocvaluesnum.
WHEN 'CHAR'.
CLEAR allocvalueschar.
allocvalueschar-charact = charvalues-characteristic.
allocvalueschar-value_char = charvalues-description.
APPEND allocvalueschar.
ENDCASE.
ENDLOOP.
CLEAR: v_matnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = matnr
IMPORTING
output = v_matnr.
CALL FUNCTION 'BAPI_OBJCL_CREATE'
EXPORTING
objectkeynew = v_matnr
objecttablenew = 'MARA'
classnumnew = classnum
classtypenew = classtyp
STATUS = '1'
* STANDARDCLASS =
* CHANGENUMBER =
keydate = sy-datum
NO_DEFAULT_VALUES = ' '
IMPORTING
classif_status = classif_status
TABLES
allocvaluesnum = allocvaluesnum
allocvalueschar = allocvalueschar
* ALLOCVALUESCURR =
return = return
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
The output which i got has following error codes
I CL 732 Assignment does not exist or is not valid on
E CL 763 Object 00000000000000000000000000000000000000000000001631 does not exist
I CL 736 Assignment was not created
Please let me know what could be the error.
Regards
S.JanagarHi Mr.Sengathir Jeyamani,
Did u got the solution for this? Me also looking answer for your question. If u found, Pls let me know. Thanks.
-JANARAJA -
How to infer values in characteristics of material
Hi Experts
I am trying to infer a characteristic (manufacturer name) based on another characterisitc (manufacturer number) for material master. I have done the following steps:
-created the characteristic (single value, Additional Value ticked, Not Ready for Input ticked)
-created the function (with manufacturer number as input parameter)
-created the function module for the above function
-created the dependency (type Procedure)
-assigned my dependency to the characteristics
-added the charateristics to a class
All these above objects are in Release/ active status.
In the dependency editor, I have put the following code to call my function/ function module Z_MFRNR_NAME
FUNCTION Z_MFRNR_NAME
(ZZ_MFRNR = $ROOT.ZZ_MFRNR,
ZZ_MFRNR_NAME = $SELF.ZZ_MFRNR_NAME).
In the function module, I am using CUOV_GET_FUNCTION_ARGUMENT (to get manufacturer number from table QUERY) and CUOV_SET_FUNCTION_ARGUMENT (to set manufacturer name in table MATCH).
The problem is that when I assign my class to a material in MM01/MM02, the function module is not called (I have a BREAK-POINT) hence the manufacturer name is not populated in the characteristic.
If I change the characteristic manufacturer name to 'Ready for Input' and try to enter a value manually, I hit my break-point but the manufacturer name returned by the function module is still not populated on the characteristic and I get a message 'Inconsistent values inferred for characteristic Mfr Name'. I checked the details of this message and it tells me that the value I entered manually and the value returned by the function module are incompatible with each other. This indicates that the function module is working fine as it is returning the manufacturer name.
Can someone please explain:
1. Why is the function module not called in the first place when the class is assigned to a material ie when there is no manuall entry to the characterirstic?
2. When there is manual entry and the function module is called, why doesnt the characteristic pick the value retured by the function module?
Am I missing something here.
Thanks in advance
FarooqHi,
Found the problem, I was assigning my dependency to the wrong characteristic. It should have been assigned to the Manufacturer number (inferring characteristic) rather than the Manufacturer name (inferred characteristic).
Farooq -
Value Contract for a material group
It is possible to create a contract on value basis for a particular material group without material masters.
Thanks
SanjeevHi,
You can create contract value basis for a particular material group without material masters like for example creating contract for service where you can use item category D but you should use always account assignment category U ( contract without stock material ) & later in creating contract release order or call-off WRT contract, you can change account assignment category U to account assignment category K or as required.
Regards,
Biju K -
Excise Value to Upload in Material Cost.
Hi Guru's
Our requirement is to add all the excise value to material cost. For that we have created new pricing procedure and it works ok as far as basic and education cess loading into material but this does not work for Higher Education Cess. Apart from loading into material cost it also takes the amount in modvat clearing account.
Please guide us so that the Higher education cess amount does not hit into modvat clearing account but to behave same as basic or education cess.
Our tax procedure is formula based (TAXINJ)
Regards
ManinderHi,
Check your H.EduCess condition type in following path ,where we specify which condition type is used for which sort of tax
SPRO --> Logistics general > tax on Goods Movements>India > Condition-Based Excise Determination>Classify Condition Types
Also check G/L account for excise transaction.
SPRO --> Logistics general --> tax on Goods Movements --> India --> Account determination --> Specify G/L Accounts per Excise Transaction
Regards,
Biju K -
Freight value to add in material cost
HI.
I have freight condition FRA1 i which i ticked Accrual key in M/06,I have assigned FR6 account key to it in pricing.I don't want to calculate the tax on freight ,so i ticked statistics key in Pricing for Freight cond.(FRA1)
Then also freight value is not adding in material cost .
What would be the reason?
Please provide suitable solution.
Thanx & RegardsHi,
Normally if you mention statistics for a condition, then the value will not add to material cost. You remove the statistics for the condition.
Also check for that condition type, have you maintained accrual check box.(tick mark for accrual inside condition type).
If you dont want to add frieght value for tax calculation, then give the step number accordingly.
Regards,
Prabu -
Value Contract with dummy material.
I want to create a contract with Dummy material for a certain value of amount then want to create release orders for other materials with reference to this contract.
For example - I want to enter into a contract with a customer for amount £10000 for a period 1 year let's say for Any Electrical equipements.
and with reference to this contract I want to release 5-10 materails which I am not sure any material which will be required by customer.
The reference should be made with this contract and values from release order billed to customer needs to be updated to the contract
- The requirement is that a dummy material is entered at contract with certain amount in place of actual consumable materials in release order.
Kindly help
Thanks & best regards
AtreeHi Atree,
it is not necessary a dummy material
use assortment module WS01 for the list of materials you need in contract and add the assortment to the contract
Thanks,
Zoltan. -
Automate Characteristic value selection in Classification -Material Master
Hi Gururs,
I have workflow to create Material Master
We have large number of Characteristics and Value selection manually (mandatory and optional)
we want to automate the Characteristics and Value selection
Any ideas to automate
Prabakaran KWhat I understand from the question is this: While creating a material master through the use of workflow, you wish to automate the selection of mandatory and optional characteristics in the classification view. I have a few queries:
How many classes does your material have? only batch class or material class as well?
Also, on what basis do you want to automate the selection of the characteristic values for a material? There has to be a connection between the material type OR class assigned to the material, etc. -
Numeric Value rounding problems in Materialized Views
All numeric values are getting rounded in the materialized views. Is there any solution for this?
Any help is greatly appreciated...
Thanks,
SatyaHi Bill,
Actually the problem is with the Toad version I'm using, it is not interpreting the decimal values of MVs properly. They look good when I checked in SQLPLUS.
Any way, thanks for your response.
-Satya -
Default Purchasing value key - with NO material master & PIR
Hi,
Where do we set the default values of purchasing value key specifically for the "Number of Days for Reminder/Expediter"
in POs, when there is no material master and info record? ( These POs are done for direct consumption)
Thank you!
OwaisHi,
try following
Purchasing .value key at material group wise in customizing.
IMG-MM--Purchasing-Material master-Entry aids of items without a material master
and check following link
[http://forums.sdn.sap.com/thread.jspa?threadID=1070312]
[http://forums.sdn.sap.com/thread.jspa?threadID=1617066]
Regards
Kailas Ugale -
CIN - Excise value posting for the material document
Hi,
We have assigned the routine 356(FV64A356) in the Pricing Procedure for Depot Sales where Service team issues components for the Service repair job through a Goods Issue(MIGO-261 Mvt Type) document.We are also able to create a excise invoice for the material document.
The flow is Service Order - Goods Issue - through resource related billing a DMR is generated for the labour as well as the Goods Issued(MIGO-261), from DMR a debit memo is raised to invoice the Customer.
The formula in the routing is, during the creation of Billing or Proforma document it picks up the excise value posted for the delivery if the excise has been posted,if the delivery is not found, then it continues with the excise value calculated in the sales order (DMR in this case)
Is there any way or any other routine "to check for the excise value posted for the delivery ,if the delivery is not found, then check for the material documents if any linked to DMR(through Service Order)".
Could anyone help in this regard.
Thanks,
Ramki.Hi,
While creating the excise challan using J1IF01 you can see a excise invoice selection tab, Select the J1IF01 line item & click on this tab, here you can select the excise invoice from which the base amount will be determined.
Thanks & Regards, -
Exclusive Free Goods Based on Value irrespective of the material.
Dear Community,
Our Client wants to provide a stock clearence scheme to his customers that
for a billing of INR 100000 or above his customers can make another purchases worth of INR 10000 as free.
how can we customize the same in our system.
Ram RastogiDear Ram,
Our Client wants to provide a stock clearence scheme to his customers that
for a billing of INR 100000 or above his customers can make another purchases worth of INR 10000 as free.
You can acheive this by using Group condition.
Create one condition type( Better copy from K007) and configure as following
Use same access sequence K007
Cond. class - A Discount or surcharge
Calculat.type - B Fixed amount
Select Group condition check box
Scale basis -B Value scale
Add this condition type in pricing procedure at appropriate position.
Maintain Condition record for the customer enter Amount as 10000.00 and click on scales
maintain scales as From 110000 Amount 10000
220000 Amount 20000
This will give discount of 10000 on total purchase of 110000
and value of discount will be splitted in all items in proportion of the value.
try creating sales order and Update
Regards
Mayank
Maybe you are looking for
-
Scam Another Robo-call claiming to be VZW
Be careful people Phone calls have been going out from a scammer claiming that if you log onto www.my45verizon.com you can get a 45.00 credit on your bill, THIS IS A SCAM A ATTEMPT TO GAIN ACCESS TO YOUR VZW INFORMATION.................... BEWARE ...
-
How to find hostname while calling bsp
Hello Experts , I am developing a bsp program, in which i have to download a document from presentation server. i have used file_download option in htmlb, now i have to make document through CV01n. I have used a bapi 'BAPI_DOCUMENT_CREATE' for creat
-
The version 0000000075 of development configuration is now available
Hi experts, when im loging into nwdi im getting pop up with below message , can u please explain what is the verison 0000000075 and why is it asking for that.. The version 0000000075 of development configuration is now available Do you want to update
-
LR Library Module - Folder List sort order
As you can see above, the folders in the list are in apparently random order. I cannot find any way to specify the sort sequence of this list. Suggestions?
-
Persistent Location of Media Cache Files?
I am on Mac OS 10.6.6 and I have an SSD as a boot drive and therefore I try to keep it clear of as much data as possible. It's 240GB but it fills up fairly quick. One thing I've done several times is set the location of the Adobe Media cache and data