Sorting of Characteristics Values
Hi Experts,
I have one issue.When i am giving the values to the characteristic (Data format is CHAR)in the equipment (after assigned the class to the equipment)it is sorting the values example-1,10,3,5 even if I give 1,3,5,10.The requirement is it should be like 1,3,5,10 (as we input).Because of the CHAR format the system is sorting the values like this.If it is NUM format it is showing 1,3,5,10.
Is there any way to stop the sorting of the values even if the data format is in CHAR?
Regards
Kalyan
No. For values there is no way to order them the way you want. SAP sorts them.
FF
Similar Messages
-
Automatic Sorting of Characteristics Values
Hi Gurus,
I am getting a problem when dealing with Variant configuration. I am using a characteristics with format "CHAR" with multiple values/lines of free text. When I am entering the free text the lines/values gets sorted automatically. My requirement is that the text should be displayed in the sequence in which I am entering the different text/values. Please help.
eg. If my first line is xyz
Second line is abc
third line is jkl
then system automatilly sorts as
first line is abc
Second line is jkl
third line is xyz
Regards,
Hemant.Muneer,
Thanks for your reply. I had already checked what you suggested. If we press sort buttom (may be by mistake) then sorting takes place. But here I am for sure not pressing any sorting button. The data entered is in simple text . In business it is called the free text that the customer wants to be put on his product for eg. the address. This is expected to be in the form (or sequence) in which it is entered by the customer and no sorting should take place.
Hope I have further explained my question.
Thanks,
Hemant -
From which table characteristics value is been picked in Batch(023 class)
Hi gurus,
Could anyone helpme out of this problem
While creating migo ,batch no gets automatically assigned for the material when I click on the check button and then clicking the classification screen , characteristics value have to be given manually for the material that is to be receipt in migo.
Now My problem is I am creating a report where the material no along with the batch no and the characteristics value of the batch is required , but I cannot get the table name
I have tried with mcha,mch2,mch1 but here no characteristics value could be derived ,Table Cawn,cabn is there but how to link with other tables like mseg or MKPF.
In table AUSP characteristics value is picking but same problem how to link it with mseg or mkpf etc.
Guys please help me out of this.
Thanks N regrds,
SiddhrthaHi
CABN Characteristics ( o.a. batch/vendor)
CABNT Characteristics description
CAWN Characteristics ( o.a. material)
CAWNT Characteristics description
AUSP Characteristic Values
Class types and objects :TCLAO Several class types for object
TCLA Class types ( vb. lfa1 => v10 en 010)
TCLAT Class type text
TCLT Classifiable objects
TCLC Classification status
Regards -
From which table characteristics value of Batch management is been picked
Hi gurus,
Could anyone helpme out of this problem
While creating migo ,batch no gets automatically assigned for the material when I click on the check button and then clicking the classification button , there characteristics value have to be given manually for the material that is to be receipt in migo.
Now My problem is I am creating a report where the material no along with the batch no and the characteristics value of the batch is required , but I cannot get the table name
I have tried with mcha,mch2,mch1 but here no characteristics value could be derived ,Table Cawn,cabn is there but how to link with other tables like mseg or MKPF.
In table AUSP characteristics value is picking but same problem how to link it with mseg or mkpf etc.
Guys please help me out of this.
Thanks N regrds,
SiddhrthaHi Merwyn,
I cannot find any common field between AUSP and MCH1 ,could you tell me the procedure to link these 2 tables.
Thanks N Regards
Siddhartha Chatterjee
Hi,
Using AUSP table pick the object No. and link it with MCH1 to find the Batch No.
using the batch No. link to MSEG-CHARG -
How can I reduce the selection for the characteristics value in a BW query
Good morning,
I need to find out how I can reduce the selection for the characteristics values in a BW query.
In a BW query I have a characteristic "Due month".
The characteristic values shown in the query are from 01.2001->03.2007. I would like to reduce it to the last 2 years,in the query view, without deleting the data for the other years in the cube.
Do you know how this can be done?
Thank you in advance for your feedback.
Kind regards,
Linda Verding
Staff Consultant - CSChi,
First thing you have to do is check the report how the data is being restricted only to those months.
1) one it can be variable in which the code is written for that to populate for last few years.
or else it must have been hardcoded for these months.
Go into your report and underneath the characteristicsCALMONTH there must be an variable or hardcoding.
You need to change this here in the report.
You dont have to delete anything there.
Regards, Siva -
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. -
Where we maintain the cost of characteristics values in variant conf.
Hello guys,
This thread i have posted many times in sdn , but never got the satisfactory answer.This time again i am trying my luck.
Actually i am unable to understand how costing takes place in variant configuration.
Suppose i have created one sales order for configurable material and there we select all the characteristics values which we want.
But we don't maintain the prices of these characteristics values anywhere.So when i create the sales order than how the sales people calculate the cost of that order.
Take a example of computer.For making computer,i want cabinet, processor, Harddisk, Ram, which are available in many sizes.So What we do that we create one configurable material and inside it we maintain all this characteristics and its values.And then i create one sales order for that configurable material and select the suitable characteristics and its values as reqd my customer.
Now my question is how they cost that sales order?As we don't maintain the Accounting and costing view in material master of configurable material.
So where to maintain the prices of these characteristics values?
Plz guide.Hi
You can make the price of a variant dependent on the characteristic values assigned (Pricing).You can use
variant conditions to define surcharges and discounts for a variant
Variant u2013Pricing steps
Create condition record
create a procedure where you enter the reference from the characteristic
Assign the procedures to either the characteristic values
configure the material in the sales order
The net price for the material is displayed
If a value that triggers a variant condition is selected when configuring a material in a sales order, the price of the material displayed under Net value is automatically increased or reduced.
In addition, the Conditions pushbutton is displayed.
On pressing this pushbutton,
One can see which conditions have
influenced the price.
I tried to list you as much detail as possible. Hope that you will be able to resolve your issue
Thanks -
How to sort the arry value in ascending order
I have a string array where i need to sort the below values in ascending order in the same format...can anyone give me clue on this?
9.3
3.1
9.1
19.1
19
9.4
9.1.1
the sorted order should be
3.1
9.1
9.1.1
9.3
9.4
19
19.1You may have easier luck writing your own comparator for this. These are headings in a table of contents, right?
Write a comparator that tokenizes a string on the '.' character, or use a StringBuffer to remove them, and then order the elements according to the combined numbers. Since alphanumeric would order this list as you want it anyway you could just order that way once the '.' are removed.
In other words your comparator would do this in the "compare" method:
public class MyComparator implements Comparator, java.io.Serializable {
private static Comparator stringComparator = java.text.Collator.getInstance();
...constructor(s), your own private "instance" variable of type MyComparator, a getInstance() method of your own, yadda yadda...
public int compare(Object item1, Object item2) {
try {
value1 = removePeriods((String)item1);
value2 = removePeriods((String)item2);
if (value1 == null) {
return (value2 == null) ? 0 : (-1);
return compare(value1, value2);
} catch (ClassCastException cce) {
System.err.println("Wrong Object Type, JackAss!");
protected int compare(String str1, String str2) {
return MyComparator.stringComparator.compare(str1, str2);
private String removePeriods(String value) {
StringBuffer sb = new StringBuffer(value);
int decimalIndex = value.indexOf('.');
while (decimalIndex != -1) {
sb.delete(decimalIndex, (decimalIndex + 1));
} -
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 -
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 -
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. -
How to change characteristics values in PPDS planned order?
Hi,
I have few PPDS planned orders. I want to change the value of few characteristics of existing PPDS planned order.
How can I do the same?
Any standard T.Code or function module or report available to update the characteristics values of PPDS planned order in APO.
Thanks in advance.
Warm Regards,
Surajit DasHi Surajit,
Char can be changed programatically.
If you want to change the Planned Order characteritics before its creation, you can do so at the time Planning run itself (/SAPAPO/RRP3) in BADI /SAPAPO/RRP_SRC_EXIT, Method RRP_USEX_PLORD_CREATE.
Planned Order characteritics can be changed after it creation.using BAPI BAPI_MOSRVAPS_SAVEMULTI3. -
Table for characteristics values in the sales order
Hi Experts
I am entering the characteristics values in the classification screen in the sales order.
I want to capture the characteristics & values with reference to the individual sales order for reports.
Please let me know the tables for the same as it doesn't get capture in the item table..
Thanks
Ganesh
Edited by: jganesh on May 4, 2011 1:26 PMHiii,
you may use VELO01_GET_CONFIGURATION function module to pass VBAP-CUOBJ value
Hope it will solve your problem.
Regards
Shambhu Sarkar -
How to new add characteristics value c in report painter report.
I want add one how to new add characteristics value in report painter report of FKi5. How can I add ?
Dear,
First you need to add that Field to your using library.When you add that
field to your library ,you will automatically get that field into that
selection list.
Use T-code GR22 for change library and enter your library name and Table
name and then select which field you want to add
regards -
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
-
Integration process acknowledgement doesn't work
I have a send step (JDBC System) with transport acknowledgement and an exception branch. I added configuration parameter into RUNTIME section - ACK_SYSTEM_FAILURE = 1. But step inside excpetion branch (Mail System) is always running even all messages
-
Restoring eMail messages using Time Machine?
My lady uses MS Office for the Mac and accidentally deleted email messages can these messages be restored using Time Machine?
-
Why can't I purchase ringtones from Verizon?
Purchased two ringtones from Verizon Media Store. Text said successful purchase then same text said content removed because my Galaxy S3 does not support purchasing copyrighted content. What's gong on? I have always purchased ringtones from Verizon.
-
Set Motion path to obscure a person's face in a clip
Hi all Could someone tell me how to set a motion path to obscure a person's face so that they are unrecognizable? And, how do I obscure the face while leaving all else unaffected? Please help with as much detail as you can. Carl
-
hello; I cant hear the sound inside of the power point files do you have any idea is this any exist program or method about this issue? thanks Message was edited by: allohaa