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 Vikram
Try 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.
Similar Messages
-
How to assign the two values for constant (same key)
How to assign the two values for constant (same key)
CONSTANTS: c_pstkey TYPE bschl VALUE '09',
c_splgl TYPE umskz VALUE 'I',
c_buzei TYPE buzei VALUE '001'.
using BSCH1 again i have two asign vaue
can you just let me know
Edited by: sravya_se38 on Nov 23, 2010 12:14 AMYou can create a structure for that constant .
You can define in this way
CONSTANTS : BEGIN OF c_pstkey,
01 TYPE bschl VALUE '01',
02 TYPE bschl VALUE '02',
END OF c_pstkey.
and can access using...
c_pstkey-01, c_pstkey-02 ........ -
Assigning a Constant Value for Target Revenue
Hello all,
I have a scenario where I need to assign a Constant value, say 10000, for my Target revenue Key Figure at the Info Cube level. This value should always be 10000. Please advice.
Your valuable suggestions will be greatly appreciated. I will be assigning points as a way of expressing thanks.
Best Regards,
Deepthi.HI Deepti,
Today I faced same issue and I read your thread.
I saw the responses given by others and I feel its a shallow solution hardcoding the key figure to a constant value..because key figure is meant to change.
I solved it by altering the Aggregation level in an key figure infoobject.
The Aggregation must read MIN..Exception aggregation may be SUM..
and the characteristic on which aggregation must the infoobject that determines the unique value of the Infoobject..eg GJAHR/MONAT from R/3.
This will give the result as (where Target is the non-aggregated Key figure)
Plant Year Target Document No Production value
110 2004 1000000 1 10
110 2005 2000000 20 20
110 2004 1000000 2 15.
200 2005 40000 100 50
110 2005 2000000 21 23
The target value here depends only on Plant and Year..and stays constant for the unique combination of the 2.
U dont need to change the BEx status of any key figure..
I know the forum post I am putting is of no use..but someday someone who needs an answer urgently please do read this. -
Wants a report of characteristics values for material master
Dear sir,
how can i get the report of characteristic values of a materials.
pratikHi
In CL6C, give the class where u might have assigned the characteristics.
tick the display options as required and execute.
or
Use the tcode CT10, give the characteristic name and execute.
Regards
Sandy
Edited by: Snehalkumar Kadam on Feb 25, 2009 11:33 AM -
Hi experts , regarding finding characteristics values for BOM
We have requirement to retrieve classification data which is used for BOM components in CV03N .
If anyone knows the function module which retrieves the characteristics values of that class, reply me.
CLAF_CLASSIFICATION_OF_OBJECTS using this i am retiving characterisics assosiated with material.
I want for BOM.Hi,
Hint: any field y want to chk, follow these steps.
Goto Se11 -- in table view --- Entry help / check table --- go to this tables if avaliable.
Hope this will help you a lot.
Jogdand M B -
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. -
Getting the Characteristics values for Multidimensional Infocube
Hi,
I need to get the values of the various characteristics of a multidimensioanl infocube. I know that there is rsbo and LISTCUBE transacations. But the requirements say we cananot use them.
Is there any other way of reading the Characteristics value data from the Infocube.
Thanks
ArunavaThere is a function module/api for this. Not on a system right now, but take a look at the transaction BAPI..
-
Add Characteristics Value for material Classification
Hi,
My requirement is, when ever a particular Characteristic value is added/changed in MM01/MM02, then another characteristic value will get modified for the same material. Can someone have any solution for this?
Thanks,
Ipsitayou can achive this with object dependencies.
see here for full details:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/24/4766ba416711d189ec0000e81ddfac/frameset.htm -
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 -
Same Batch Number with different characteristics value
Dear Gurus,
I have the following scenerio:
The finished goods should be maintain in batch with external number and at the time of confirming the finished goods in co11n the client want to capture the finished goods value like length, width and diameter.
So we propose the batch characteristics with class type of 022 for finished good and we maintain the character as length, width and diameter under the batch class 022 and assign the batch class in finished good classification view.
Now the requirement is we want to capture the batch characteristics value length width and diameter with same batch number for multiple confirmation.
Example:
Confirmation Batch number batch Class Length width Diameter
1 1000 022 100 50 20
2 1000 022 120 25 10
3 1000 022 150 70 30
Now at present we are trying to capture the batch characteristics with same batch number but our standard system will not allow to maintain the different batch characteristics value under same batch number. If we overrite the batch characteristics in msc2n transaction the last value maintained be copied to all batch number. but we want same batch number with different batch characteristics value.
Please share your idea and try to solve..
Regards,
VimalDear Vimal,
It is not possible to maintain multiple batch characteristics in one batch.
Work around is to create original batches and assign to your production order. During CO11N, generate one batch per confirmation. There is a report in batch information cockpit to link between original batch and batch per confirmation.
Rgrds, -
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 -
BAPI's for copy batch characterestics at the time of Goods Recipt save
Dear members,
I am copying the Batch characteristics values of the order(Process order) to new batch at the time of GOODS RECEIPT (GR) in repack process.
Can anyone please let me know there are any BAPI's for copy batch characteristics values to New Batch in GR(MB31 or MIGO) at the time of Goods Receipt SAVE.
Thanks,
Srinivashi srinivas,
did you find any solution for this problem. we are facing the same issue and currently thinking of few alternatives to deal with it. whether to use BADI for Batch derivation or to use a BAPI.
thanks,
Kunal -
Hi,
I am trying to load a datafile to a table using SQL*loader, how can I assign the default values for a coulmn in control file of sql loader, here are datafile and target table i am using
datafile
empid,empname,empdept
1001,clark,123
1002,Mike,123
1003,john,123
1004,bryan,123
desc emp_table
empid number(10)
empname varchar2(30)
empjob varchar2(20)
empdept number(10)
empmgr number(10)
The datafile has the data for only 3 columns in emp_table, there is no data for empjob and empmgr in the datafile.I would like to use default values for them empjob = sales and empmgr = 2001, so how can I set these default values in the control file.
Thanks in advance!!The simplest way is to forget about passing default values in control file. Create table just for this load with DEFAULT constraint for missing columns and load file in this newly created table. Let's call it LDR_TBL. Then "INSERT INTO EMP_TBL SELECT * FROM LDR_TBL; " Make sure you define control file as follows (skipping empjob and empmgr). Oracle will populate "empjob, empmgr" with 'sales',2001 as part of column constraint.
load data
infile 'x.txt'
into table emp_table
fields terminated by ',' optionally enclosed by '"'
(empid,empname,empdept)
When all is done, DROP TABLE LDR_TBL ;
Does this help ? -
View Characteristics Value in COOIS
Hi,
Is there a way where I can view the characteristics value for the Production Orders using COOIS?
Thanks.
Cheers,
SueHi,
I have a few characteristics I would like to see, let's say SIZE and DIMENSION which is in the configuration of the Production Order.
Is that possible?
Pls advise.
Thanks.
Cheers,
Sue
Maybe you are looking for
-
How to play .wav file from url in iphone.
We are using callfire API for in our iPhone application(Hybrid application build using sencha and phonegap). The concept of the app is to show the recorded calls in a list and on click of any call in the list it will play the recorded audio file(.wav
-
Mini with SL Server: headless
The mini with SL server bundled looks to be pretty good value. I'm assuming it will run fine without a monitor or keyboard/mouse plugged in?
-
hello, i have downloaded Oracle 10G release 2 for windows. Is OracleBI Beans 10g (10.1.2) is compatible ? thanks
-
Does anyone know where i can get cheep parts (ac adapter 150-watt for hp touchsmart pc)?
-
Hi, I am trying to execute the below command, but getting no output. bash-3.00$ which opatch ./opatch Also, I have set PATH variable but still not getting output. Please let me know what could be the problem Regards Kumar