Search Material by Multiple Characteristics Values
Hi gurus,
I need your help in a subject.
I've a material which is assigned to two classes ZMATERIAL and ZMATERIAL2.
ZMATERIAL has some characteristics about the material and ZMATERIAL2 has also different characteristics.
I want to search for material by giving values for multiple characteristics which are assigned to different classes.
For example;
ZMATERIAL has Plant and Material Group as characteristic
ZMATERIAL2 has Responsible Person as characteristic
I want to search by giving plant and responsible person. Can I do this in SAP? It allows me to search only by one class as I see.
Thanks in advance...
Sefa Kocali,
Seems it can be done if you can use class hierarchy.
Create a new class ZMAT without any characteristic , then assign your existing classes to this class using transaction CL22N. once its done, you can use CL30N to search objects in new class ZMAT , also you will have optyion to use subordinate class for this searches.
Check below link for more details
Inherited Characteristics - Classification (CA-CL) - SAP Library
Check and come back with your findings.
Hope it will help you.
Thanks
Ritesh
Similar Messages
-
Batch Characteristics value in report
I want to develop a custom report where material master batch characteristics value should be displayed.
The report will display based on Process order No. In Process order AFPO table I am bringing MATNR, CHARG, WERKS information.
Now, the MATNR is maintained with a batch classification of class type 001 (material class) one characteristic "Z_NUMERIC" and value is maintained as "22345".
Now, in custom report I have to bring the 22345 no. In which Table I can get the information for material for 001 class type characteristics value?
Please repond.You can find it in table ausp
Regards,
Dhaval -
How to show the Characteristics Values of Batch appear upon Search?
Dear all
We are implementing SAP for Wood Industry.
Facts:
1. There are 3 batches created for the raw material.
2. Each batch has the characteristics of Thickness, Width, Length with characteristics value 24mm, 140mm, 1530mm
3. 1 Production Order has been create to produce raw material (RM) to semifinised goods (SM).
Quetions:
During GI to Produciton Order using MVT 261, when we try to select batches from the Item Detail level, the pop up search windows only show us the existing 3 Batch Numbers available for the RM, it does not show the characteristics value "thickness, Width, length" that describe each batch.
And this has caused serious problem to use during their selection of batch as batch number will only make more sense to them if it is shown together with the characteristics value.
Apart of opening additional screen to show the batch information of each batch, is there any config I need to do to solve this situation?
Mark will be given handsomely.
Thanks.Hi,
it is possible to use another search help (Tab Strip: Search for batches via classes, when you press F4 in the batch field).
Here you have to enter the class number first.
Then you get a list of all characteristics in this class, and you can narrow your selection, by setting values for specific characteristics.
After that, press F8 (Find in initial class)
You will get a list of batches, assigned to the selected class, and fullfilling your selection criteria.
Now you can display either the characteristics of a single batch, or you can define a layout for the ALV-Table control, with all characteristics, which you want to see in the overview.
Another possibility is, to open up the 'batch information cockpit' (transaction BMBC) in a separate mode. Here you can see the characteristics ( if you define a selection class on tab strip 'Characteristics' ), e.g. in combination with stock information, which might be relevant as well.
Here you can download some screenshots (link wiil be valid for 80 days)
Link: [https://sapmats-de.sap-ag.de/download/download.cgi?id=B7BKFOTZKKGJ73YA86VZISCMALG8DTQRTX1YX02892OT1D308Z]
Kind Regards
Michael Franz
IBU Mil Products & Mining
SAP AG -
Enhancing standard (single select)search help for Multiple value selection
Hi,
Standard search help for Business Partner (in cProjects) allows only single value selection for input fields. I want to make this multiple selection.
Is there a way to do it.
I used an OVS and built a similar search but its difficult to get the standard options like saving to personal value list etc in it.
It would be good if there is a way to modify the standard search help to allow multiple selection. Any ideas??
Appreciate your help,
Thanks,
Sri
Edited by: Sri on Sep 9, 2010 8:50 PM
Edited by: Sri on Sep 9, 2010 8:52 PMAs far as I know you can't make a standard ABAP dictionary search help return multiple entries - where you get this sort of functionality the searches don't use the standard Elementary search help framework (e.g. organisational structure searches)
Given that the WDA search help relies on these dictionary based searches, I'd think very much that you couldn't enhance it to return multiple. how you could even return multiple entries into a single UI element input field is also confusing to me.
I'd suggest creating a freely programmed value help, it would certainly take quite some effort to recreate those personal value lists etc, but it could be done - I don't like OVS, but that just me. -
How to find the list of material variant based on the characteristics value
Hi
We are creating materials variants for FERT Material Type in material master in MRP-3 view .There we configure the variant by attaching characteristics value
Now we want to have a report , which can give the list of material variants , if char value is given in selection
Can somebody guide me if there is standard report for this OR what is the linkage in Table , so that we can develop a report
rgds
SandeepI couldn't find a standard report to get the material variants based on characteristic values (the nearest I could find was CT12) but I wrote a report some time back here's the table join logic for the main select statement.
select a~matnr
e~atwrt
h~atwtb
into table i_tab
from MARC as a
inner join IBIN as b
on b~instance eq a~cuobj
inner join IBIB as c
on c~ibase eq b~ibase
inner join IBINVALUES as d
on d~in_recno eq b~in_recno
inner join IBSYMBOL as e
on e~symbol_id eq d~symbol_id
inner join CABN as f
on f~atinn eq e~atinn
inner join CAWN as g
on g~atinn eq e~atinn
and g~atwrt eq e~atwrt
inner join CAWNT as h
on h~atinn eq g~atinn
and h~atzhl eq g~atzhl
where a~matnr in s_matnr
and e~atinn in s_atinn
and e~atwrt in s_atwrt
and b~valto eq '99991231235959'. "This is important condition
I included bare minimum fields to suite your requirement needs you can add whatever other field you want . Though I tested the table join, I suggest you to test it again before writing your own ABAP program using SE16N. -
Transfer of characteristics values from material variant to its subordinate
Gurus
Need your Expert opinion on Variant configuration
We are using Multi level Material Variants and our bussiness process demands for configuration of These Material variants in Transaction MD81 and during creation of Sales order .These configuration will not affetc the BOM explosion but will only be passed to the The lower level components (Which are again theMulti level Configuriable Material variants ) as manufacturing instructions .To Enable these Flow of Characterisitcs we have Applied a Note which allows the Multi level Configuration of Material Variants and Pass this Values to lower Level and the characteristics value flow is visible as well for lower level from CU50 ,but when i create the requirement through CIR or sales order and Configure the Material Variants and Generate the Procurement Proposals to fullfill these requirements (MD02) in the form of Planned order we are unable to pass one the Characterisitcs values to planned orders of lower level Components of Material Variants .These characterisitc values are Used as Manufacturing Instructions and should be passed on to the Lower level of Material Variants through the use of dependencies in Configuration profile .but the problem is it works in CU50 and does not flow in planned orders , does any body have a solution for this ?
Thanks In Advance
awaiting reply
MilindHi Milind,
I check that you implement a Note which allows the Multi level Configuration of Material Variants? is it sap note? mind to share the number.
I ever faced this problems to before but fortunately the case in simpler so i just create another variant and maintain the component for the variant. For example : characteristic color. I create variant with color red black etc. For variant red, maintain component red. For variant black maintain component black, so on. Is it possible for your case?
Regards,
Arman -
Derivation of Material classification Characteristics values in COPA
Hi,
Although similar type of questions are there in Forum, But I did not find the correct solution, hence I am putting this thread.
My question is , in classification view of material master we have Class type - 23 (Batch).
We are maintaining many chracteristics and their values in the material master.
Now my requirement is whenever the billing is done for any sales order having this material, all the characteristics and its value should flow to COPA.
Although the details are there in table AUSP. But I am not finding any way out to derive these characteristics and its value or get these information in COPA.
Please help.
Regards
KamiHi Ajay,
The attribute tab is not available in MOVE. Is there any other place where I can find this attribute tab.
While doing the Analysis of derivation, it showing the message :
*"Derivation was not carried out. Reason: Not available"*
Both Source field and Target filed is showing blank. I am not able to figure out the reason.
Is there any relation with Class Type. We are using here Class Type - 23 (Batch).
And in KEDR , in MOVE as you suggested I am using Source Vield VCONF.
I hope these are OK.
I am using the User defined characteristics WW09 , with own value maintenence. Is this OK?
What could be the possible reasons for not populating the data.
regards
Kami -
Copy of Batch characteristics value from material master to Batch
Hi Gurus,
I have maintained some values in the characteristics under batch classification in material master and want to copy the values in batch characteristics during batch creation at process order release.
Can any one help me to achieve this in standard way?
Thanks
SandipHi,
Try to understand the batch classification functionality...In batch classification characteristic values changes from batch to batch...Values should not be maintained in the material master...it does not have any meaning...in the material master we need to assign only the batch class with class type 023 in classification view ...no need to assign the values there....Batch classification means characteristics values differs from batch to batch...
Thanks
Kumar -
Picking or copying Characteristics Value from material master
Dear Experts,
Please i create five Characteristics which i assign to a Class ( of type 022 ). The Class is then assigned to materials in the classification View of the Material Master.
I want one of the five Characteristics to copy its values from specific parameter value maintaned in the Material Master.
Please assist on how to accomplish this?
I did the following but did not get the desired results; While creating this Characteristic, in the Values Tab, I filled ''MARC'' in the Tablename field & in the Fieldname field, i enter the technical fieldname of the particular field from table MARC which i want.
I want this particular value to be automatically copied into the Characteristics Value field in the Foreground for eacb batch anytime Goods Receipt is done.
after doing this, anytime Goods Receipt is done & a batch number generated, it takes me to the Classification screen, but this particular field which i desire to be auto updated remains blank.
Please assist ?Hi,
1. This will not automatically updated just as we wil fill the addtional date table and field.
2. you need to write the object dependency to get it updated when you call somewhere
3. Generally in the batch level you will be able to do this .( even you can use function / object dependency )
Reg
Dsk -
Table relation for material and characteristics value
Hi,
I am looking for the tables which contain the material and characteristics values. e.g. For a particular material what are the characteristics available and what are their uniq values. It will be great if you could provide me the tables name along with the link key (foreign key) between the material no and it's characteristics. Even though I have tried ausp & other tables but I could not find the uniq for a particular material. All answers are appreciable.
Thanks in advance..
PradeepHi Pradeep,
You can check these tables
INOB, KSSK, KLAH, CABN, CAWN and AUSP.
Cheers
VJ
If it helps dont forget to mark points -
Characteristics values for material and plant
Hi Experts,
I need to fetch characterstic values from a class Y-xx . I belive badi BAPI_CLASS_GET_characteristics
will give the result but my problem is in selection screen I am passing material no and plant
for this material and plant i need to fetch the characteristics values from the Y_xx class
Could any one suggest the BADI or FM or tables to fetch the results
Thanks in advanceHi,
Go to MEK2, here enter the freight condition type, go to the output screen as pr the access maintained and select the line item and click on "Scales" button to see the from and to value.
Also you can check the same in "Conditions" button in Purchase Info record. -
How check characteristics values in material user exit
Hi Forum,
we want to check characteristics values if a new material is created. All the other check we do we use the User exit EXIT_SAPLMGMU_001 (abap ZXMG0U02). But it is not possible to check the values a user entered here. Do somebody of you have an idea?
Regards
Bertholdtry to use:
BADI_MATERIAL_REF Addition of customer-defined default data for material
BADI_MATERIAL_CHECK Enhanced checks for material master table
WSTRN_STYLE BAdI to get the text for a char. value defined in check
BADI_MM_MATNR
pls. reward points if helpful
regards
Roberto -
Search Help and Multiple Value Selection?
Hello
Is it possible to select more than one entry in a search help popup? If so, what do I have to do in the context attribute to be able to handle multiple return values from the search help popup?
Regards,
Mathiashi matthias.....
you cannot select multiple lines in a search help. because... you are going to return to only one field... else what you can do is. have a small button which acts as a search help and pop up a window which has a table in it. so you can select multiple values.
---regards,
alex b justin -
How to place multiple characteristic values for a single Report line
hi friends,
I want to display a report with multiple characteristc values in different columns for each instance, For example there are 2 instances and they have multiple characteristics , so all characteristics of each instance should be displayed in multiple columns in one by one in the same row.
Thanks in advance.
RK
Message was edited by:
RKHi RK,
Try this it may help you for multiple values for one instance....
*Type-pools
TYPE-POOLS: slis.
Data declarations.
DATA: BEGIN OF t_vbak OCCURS 0,
vbeln TYPE vbeln,
bstnk TYPE vbak-bstnk,
erdat TYPE vbak-erdat,
kunnr TYPE vbak-kunnr,
END OF t_vbak.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln TYPE vbeln,
matnr TYPE vbap-matnr,
netpr TYPE vbap-netpr,
waerk TYPE vbap-waerk,
kwmeng TYPE vbap-kwmeng,
meins TYPE vbap-meins,
END OF t_vbap.
DATA: t_fieldcatalog1 TYPE slis_t_fieldcat_alv.
DATA: t_fieldcatalog2 TYPE slis_t_fieldcat_alv.
DATA: v_repid TYPE syrepid.
DATA: s_layout TYPE slis_layout_alv.
DATA: v_tabname TYPE slis_tabname.
DATA: t_events TYPE slis_t_event.
start-of-selection event.
START-OF-SELECTION.
v_repid = sy-repid.
Get the fieldcatalog for the first block
PERFORM get_fieldcat1 CHANGING t_fieldcatalog1.
Get the fieldcatalog for the second block
PERFORM get_fieldcat2 CHANGING t_fieldcatalog2.
Get the data for the first block
SELECT vbeln bstnk erdat kunnr UP TO 10 ROWS
INTO TABLE t_vbak
FROM vbak WHERE vbeln > '0060000100'.
Get the data for the second block
SELECT vbeln matnr netpr waerk kwmeng meins UP TO 10
ROWS
INTO TABLE t_vbap
FROM vbap WHERE vbeln > '0060000100'.
init
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = v_repid.
First block
v_tabname = 'ITAB1'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = s_layout
it_fieldcat = t_fieldcatalog1
i_tabname = v_tabname
it_events = t_events
TABLES
t_outtab = t_vbak.
Second block
v_tabname = 'ITAB2'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = s_layout
it_fieldcat = t_fieldcatalog2
i_tabname = v_tabname
it_events = t_events
TABLES
t_outtab = t_vbap.
*Display
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
FORM GET_FIELDCAT1
Get the field catalog for the first block
FORM get_fieldcat1 CHANGING lt_fieldcatalog TYPE
slis_t_fieldcat_alv.
DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
Order number
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'VBELN'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Customer purchase order.
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'BSTNK'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'BSTNK'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Creation date.
s_fieldcatalog-col_pos = '3'.
s_fieldcatalog-fieldname = 'ERDAT'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'ERDAT'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Customer
s_fieldcatalog-col_pos = '4'.
s_fieldcatalog-fieldname = 'KUNNR'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'KUNNR'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
ENDFORM.
FORM GET_FIELDCAT2
Get the field catalog for the second block
FORM get_fieldcat2 CHANGING lt_fieldcatalog TYPE
slis_t_fieldcat_alv.
DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
Order number
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'VBELN'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Material number
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'MATNR'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'MATNR'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Net price
s_fieldcatalog-col_pos = '3'.
s_fieldcatalog-fieldname = 'NETPR'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'NETPR'.
s_fieldcatalog-cfieldname = 'WAERK'.
s_fieldcatalog-ctabname = 'T_VBAP'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Currency.
s_fieldcatalog-col_pos = '4'.
s_fieldcatalog-fieldname = 'WAERK'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'WAERK'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Quantity
s_fieldcatalog-col_pos = '5'.
s_fieldcatalog-fieldname = 'KWMENG'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'KWMENG'.
s_fieldcatalog-qfieldname = 'MEINS'.
s_fieldcatalog-qtabname = 'T_VBAP'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
UOM
s_fieldcatalog-col_pos = '6'.
s_fieldcatalog-fieldname = 'MEINS'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'MEINS'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
ENDFORM.
Plz Reward points if contents are useful,,,
Regards,
Mandeep. -
Assigning of characteristics value for a batch
Hi All,
Please help regarding the assigning of characteristics value for a batch in transaction code MSC2N or MSC2 in the classification tab.
If Function modules or BAPI is available pls advise the inputs to be provided for the function modules.
Here is one function module which i searched, but if i run this function module, i am not able to commit my characteristics value.
The function module is CIF_BATCHCHAR_MAP.
For the above function module the inputs which i have given are...
Material number
Batch
Plant
Class type
Class Number
Characteristics name
Characteristics value
Expecting your earliest reply.
Thanks,
G.C.Arravind Kumar VikramTry the code below
*.1 create key
it_objects-key_field = 'MATNR'.
it_objects-value_int = matnr.
APPEND it_objects.
it_objects-key_field = 'CHARG'.
it_objects-value_int = charge.
APPEND it_objects.
CLEAR l_objectkey.
CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
EXPORTING
objecttable = 'MCH1'
IMPORTING
objectkey_conc = l_objectkey
TABLES
objectkeytable = it_objects
return = it_return2.
2 fill it_num it_char it_curr with values
3 change characteristics
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = l_objectkey
objecttable = 'MCH1'
classnum = it_class-classnum
classtype = '023'
TABLES
allocvaluesnumnew = it_num
allocvaluescharnew = it_char
allocvaluescurrnew = it_curr
return = it_return.
Maybe you are looking for
-
Internet speed goes half at night (WRT54GS 1.1)
During the hours of 7pm-12am, my internet will go half it's speed sometimes even less but when connected directly to the modem my speed will be normal. I have a Linksys WRT54GS 1.1. I never had this problem until 3 days ago, is there any reason why m
-
HT202213 How do I cancel my home sharing subscription?
Can someone please explain to me how to cancel my home sharing subscription. I have found it extremely difficuly navigate. Mainly because when I am not connected to wifi the songs are not on my computer nor are they on my ipad. It's very frustrati
-
I am trying to open a PDF file and it keeps telling me I need a later version of Abode Reader. My current version is the latest version.
-
ERROR in COST RUN (MSG NO K0 105)
While running cost run CK11N or CK40N. I am getting Error msg. Group 2950 doest not Exit (K0105). But Cost Element Group 2950 is available. Regards, Velmurugan.S
-
I keep getting this message when i try to play a movie on my imac "2010.DvdRip.Xvid {1337x}-Noir.avi" can't be opened. I'm using QuickTime Player version 10.0(118)