Tables for Batch classification for materials
Hi SAP gurus,
I have an issue that I need to display the values for a number of materials in its classification view (class type 023) without using MM03.
Could anyone please let me know the table(s) where I can find this?
Thanks !!
Hi Moumita_kar,
Characteristics :
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
Links :
INOB Link between Internal Number and Object
KLAH Class header data
KSSK Allocation Table: Object (vb.matnr) to Class
KSML Characteristics for a class (internal number)
Please try and confirm.
Regards
Suri
Similar Messages
-
User Exit for batch classification for tcode mb1c
HI experts,
I have implement customer exit MBCFC004 EXIT_SAPMM07M_004 and CLFM0002 EXIT_SAPLCLFM_002 to set a value for
a customize characteristics.
Now I have a issue.
MBCFC004 EXIT_SAPMM07M_004 can work with migo but when I with mb1c to do same transaction it didn't
work.
CLFM0002 EXIT_SAPLCLFM_002 only work when I input a value in the customize characteristics it can change the input value.
I have set extension in OMCV for my move type. and assigned the bath to material.
I have reference
Re: User Exit for batch classification
but I haven't found any question for my solution.
please help me.
thanks a lot.Class ZBATCH has status 1 (= 'Released') but the customizing of classtype 023 doesn't allow to classify with classes of this status. Settingsfor class status in class type 023 are different from what SAP delivers.Correct please these settings. You may lookup the correct definition of
the class status in class type 022. -
Basics for Batch Classification Data
Hello Experts ,
I have few queries for Batch Classification Data .
1. Which are the tables where Batch Classification Data for the batches is stored .
2.Which Function module is called once we do the Goods movement which determines the batch
classification data .
3.When we do stock transfer for batches , then the Batch classification will run in Issuing plant and
the batch classi. data will be copied in the receiving plant . Can you please tell me that which object
carries this data from issuing plant to receiving plant.
4.There is also a user exit with which we can play with Batch classification , can you please give some information on this .
Thank you very much for the help !
Regards
Shashank1. The table is AUSP - but why would you need to know that. There are good function modules to query, read, change classifications of batches - so why would you like to read directly from DB?
2. This depends on your release. Typicall in MIGO the module VB_CREATE_BATCH is called, the same one that is called within the BAPI to create batches.
3. See 2. When you create a batch with reference, you call the same module additionally with the key of the reference batch (this is the issueing batch).
Inside that module are loads of user exits for all kind of purposes.
Why not have a look yourself in Customizing at Logistics General -> Batch Management -> Batch Valuation.
There's the "customer exits for goods movements in inventory management" (this is called e.g. in the goodsmovement bapi and the old transactions) --> EXIT_SAPMM07M_004
and the "Valuation of Creation of New Batches Using Function Module" (this is called in the MSCxN and in MIGO) --> EXIT_SAPLV01Z_014 .
In Customizing there's also the documentation what you can achieve with the exits.
Hope this helps.
Stefan -
Update Batch Classification for a Material
Hello friends,
I'm facing the following problem : A specific BTCI wich simulates MB01 was calling another program called SAPLCTMS to update Batch classification for a Material, this program (SAPLCTMS ) seems to be not necessary after the support package Level 57 (we just installed SAP4.6C). I didn't find any note on OSS for this...
Now i'm trying to use this BAPI instead of BTCI for the Material batch classification :
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = l_objnum
objecttable = 'MCH1'
classnum = 'ZGB_TIDCLASS'
classtype = '022'
status = '1'
keydate = sy-datum
TABLES
allocvaluesnumnew = t_valuesnum
allocvaluescharnew = t_valueschar
allocvaluescurrnew = t_valuescurr
return = t_return.
But its not working, it keeps asking for a batch number. I guess i'm not using the right FM ?
Any ideas about this ?
Thank you in advance for your help !
Best Regards.
Edited by: Soufiane FAYSSAL on Jun 18, 2009 11:42 AMHello,
I am Ashok Chelikani. I am working on the same Issue.
i am getting following message:
TYPE ID NUMBER MESSAGE
E |C1 |003 |Characteristic DIMENSIONSCOLOR not found or not valid
I |CL |736 |Assignment was not created
my procedure as follows:
CLEAR: lv_objnum.
lv_objnum = I_MSEG-MATNR.
**Get Object Details
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
EXPORTING
objectkey = lv_objnum
objecttable = 'MARA'
classnum = 'Z_RMBCH1'
classtype = '001'
TABLES
allocvaluesnum = lt_alloc_num
allocvalueschar = lt_alloc_char
allocvaluescurr = lt_alloc_curr
return = lt_return.
IF NOT lt_return IS INITIAL.
CLEAR: lv_objnum.
lv_objnum(18) = I_MSEG-MATNR.
lv_objnum+18(10) = I_MSEG-CHARG.
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = lV_objnum
objecttable = 'MCH1'
classnum = 'Z_RMBCH1'
classtype = '023'
tables
allocvaluesnumnew = lt_alloc_num
allocvaluescharnew = lt_alloc_char
allocvaluescurrnew = lt_alloc_curr
return = lt_return.
lt_return returing error message. Kindly help me. -
How can mass create batch classification for many material batches? ?
Hi Experts,
In our system , there are so many material batches which have not been classified,see by
BMBC Tcode.
That means these batches has no values in the batch class. I know we can create
classification for these batches with MSC2N Tcode.
But there are so many batches which have not been classified,more then 2000.
It is not possible to create classification for every batch with with MSC2N once a time.
So how can I create batch classification for so many batches once a time?
How can I mass create batch classification for so many batches??
Thanks for any reply!Hi,
Please be aware that SAP does not support the use of batch
input in the classification system. SAP recommends you use BAPI's for
example in your case BAPI BAPI_OBJCL_CREATE and BAPI_OBJCL_CHANGE
would be able to help. For more information, please have a look at the
note: 943559 - Point 2 and 13. Point 13 references the note 1083986.
I hope this helps!.
Best Regards,
Arminda Jack -
Batch Classification for Auto GR during Production Order Confirmation
Dear All,
I have a scenario,where Auto GR has been activated in last operation of an order.Material is batch managed with certain characteristics.When I use CO11n, and go to goods movement tab,batch for 101 movement type is entered but Batch classification pop up doesn't come.For that we need to select the line item,goto extras and create batch,then Pop up for batch classification comes.But,if we do GR with MIGO & MB31, This classification screen automatically in Co11n. i have tried certain exits also, but nothing works.Hi Stuti<
Refer the below links it will solve the issue.
[Batch Determination - help|http://help.sap.com/saphelp_45b/helpdata/en/25/283cb44f7811d18a150000e816ae6e/frameset.htm]
[SDN Thread-1|Re: Batch Determination issue -reg]
[SDN Thread-2|Batch Determination;
Regards,
Shyamal -
Which table will get updated for batch characterstics for the MIGO trans?
Hi all,
As i am trying to post a goods receipt for 101/102 movement type in MIGO transaction.
But it is giving error as 'Batch characterstics values are not classified'.
If i give Batch Type- as PRODUCTION(P) in batch classification.
It will get posted.
Can any one help me out in which table this field will get updated.
Thanks...HI ,
Try table MSEG.
Regards,
Mohan -
Batch Classification for Finished Goods
Hi,
Can anybody explain me the significance of maintaining batch classification data for a finished material?
Currently we have batch management active for all the finished materials but for some materials we have not maintained the classification data.
When I checked the batch data in MMBE it shows me the Production date & Shelf life expiration date based on the values maintained in the material master.
The class type is maintained at the plant level as 022 with characteristics as Last Goods Receipt & Shelf Life Expiration date.
I want to know what impact will be on the distribution of these materials if I do not maintain the classification data?
Thanks & Regards,
AbhijitHi Ravi & Lakshman,
Thanks a lot for the response. I understand what batch classification is & how it is implemented to use in coordination with Batch Determination. What I would like to know is what if the batch search strategy & class type (022) is defined at the plant level and batch management for a finished material is active but classification data is not maintained. GR (101) for this finished material is possible but does this mean that not having classification data will not have any impact on the goods movement of this material?
In case of production when the classification data is not maintained for a back flushed material (raw / semifinish), after the process order confirmation the 261 movements end up in COGI with reason Enter Batch. Since the selection criteria fails due to the unavailability of classification data; the batch needs to be selected manually instead of the system picking up the correct batch automatically.
Like in inventory (consumption of raw & semifinish) do we have batch determination & search strategy for distribution where the finished stock will be picked up for the sales orders based on the selection criteria & sorting rule?
Thanks & regards,
Abhijit
Edited by: Abhijeet K. Nerurkar on Feb 14, 2011 2:18 AM -
UD possible only for Batch mgmt active materials
Dear All,
I have a requirement where the UD/RR must be allowed for only batch managed materials.Is it possible.Can we create some user profile for this and do it.i.e for all materials where batch management is not active there should be no inspection possible.
Thanks to all in advance.
Regards,
ManishaHello Shyamal,
Thanks for your reply.But this is not possible as their part numbering system contains the quality no. of their material hence it is unique and cannot be changed.I had suggested in QA32 instead of using standard layout screen they can use the finish/amp screen which also displays the batch NO. for the inspection lot.So if Batch no. is absent here to do the reverse posting for that particular lot.
But I wanted to know if there is any status profile which exists or can be created for the same and that which can be used for this.
Regards,
Manisha -
FM for updating Batch Classification for a Batch (MSC2N)
Hi,
This is in regards to the Batch Classification (MSC2N).
Is there a Function Module available to load data into the Classification tab for the batch, in MSC2N?
Please Help.
Thanks,
JohnBAPI_OBJCL_CREATE
and you may also refer tho this one -
Look at Note 619913 - FAQ: Basic functions of batch management
Change classification data of a batch
Up to and including Release 4.6C, BAPI BAPI_OBJCL_CHANGE needs to be used.
In later releases, BAPI BAPI_BATCH_SAVE_REPLICA may also be used for that purpose.
Regards,
Amit -
Change batch Classification for a BATCH.
Hi,
Does anyone know how to change the classification for a BATCH (Txn. MSC2N) programatically. Recording is not possible for the transaction MSC2N.
Thank you,
MaheshUse the BAPI 'BAPI_OBJCL_CHANGE'. Ensure to commit data afterwards.
Manoj -
User exit / BADI for batch classification validation
Dear Gurus,
I would like to know what is the user exit / BADI that can use to validate chracterisitcs value entered under batch classification?
Thanks & regards,
LOITry to use EXIT_SAPLCLFM_002.
Best Regards, Dirk -
Assign Search procedure for batch determination for delivery
Hi all,
i have a problem with automatic batch determiantion during delivery creation.
i have created a transfer order (purchasing order type UB from one plant to
another).
i have created delivery. Batch determination is impossible because the sistem
didn't find search procedure.
But if i create a sales order and subsequent delivery the batch determination is
carried out correctly.
in customizing i found the transaction in which we have to assign for a
particular sales organization and sales document a search procedure ("Allocate
SD Search procedure/ activate check")and i created the correct items for my
sales document.
My question is: where can i assign a search procedure to a delivery without
sales order reference?
In customizing i have activated "Automatic batch determination for my Delivery
item category" but the sistem didn't find search procedure.
What's wrong?
Thanks
VeronicaHi Veronica,
For deliveries without reference to a sales order you still need to define a default order type for the delivery type - this will provide the control criteria that is normally copied from the sales document header into the delivery document.
In our system our replenishment delivery type is the standard NL and the Default ord. ty. is set to DL, which I think is the standard SAP setting.
Give this a try.
Regards,
Monika Strasser -
Batch classification for BOM items
Hi ,
I am developing a conversion program to upload the class and characteristics to a BOM item . The class type is a custom class which needs to be assigned to the BOM item along with the class and characteristics value . Is there any FM/Bapi which can create the classtype for the BOM item and assign the class and values . I have tried with the FM 'BAPI_OBJCL_CREATE' but was not successful. Any help would be highly appreciated .
Sanjeevthis program can create bom succcess.but add stpu(subitem) ,have some problem.
REPORT ZPDM_CREATEBOM .
DATA: i_stko like STKO_API01.
data: T_STPO like table of STPO_API01 WITH HEADER LINE.
data: T_STPU like table of STPU_API01 WITH HEADER LINE.
data: BOM_HEADER like BICSK.
DATA: return TYPE char100,
return2 TYPE char100.
i_stko-BASE_QUAN = 1.
T_STPO-ITEM_CATEG = 'L'.
T_STPO-ITEM_NO = '0010'.
T_STPO-COMPONENT = '52008022702'.
T_STPO-COMP_QTY = '10'.
APPEND T_STPO.
T_STPO-ITEM_CATEG = 'L'.
T_STPO-ITEM_NO = '0020'.
T_STPO-COMPONENT = '52008022701'.
T_STPO-COMP_QTY = '20'.
APPEND T_STPO.
T_STPU-POINTER = 20.
T_STPU-UPOSZ = '0001'.
T_STPU-EBORT = 'A1'.
T_STPU-UPMNG = '10'.
APPEND T_STPU.
T_STPU-POINTER = 20.
T_STPU-UPOSZ = '0002'.
T_STPU-EBORT = 'A2'.
T_STPU-UPMNG = '10'.
APPEND T_STPU.*
CALL FUNCTION 'CSAP_MAT_BOM_CREATE'
EXPORTING
material = 'FERT005'
PLANT = '1000'
bom_usage = '1'
VALID_FROM =
CHANGE_NO = 'ECO200909096'
REVISION_LEVEL =
i_stko = i_stko
FL_NO_CHANGE_DOC = ' '
FL_COMMIT_AND_WAIT = ' '
FL_CAD = ' '
FL_DEFAULT_VALUES = 'X'
IMPORTING
FL_WARNING =
BOM_NO =
TABLES
T_STPO = T_STPO
T_DEP_DATA =
T_DEP_DESCR =
T_DEP_ORDER =
T_DEP_SOURCE =
T_DEP_DOC =
T_LTX_LINE =
T_STPU = T_STPU
EXCEPTIONS
ERROR = 1
OTHERS = 2 -
Saving ROWID for Batch Processing, for Processing
Hi
I must Upload a table (A) from other Table (B) have 6 000 000 records,
The Process can stop or Crashed when some user (donk) turn off microcomputer ( I commit each 1000 records)
is there some way to save Rowid of Table B and When begin new processing It begin last position , wihtout create other columns or begin from first register ?
tksCURSOR CTABLE1 IS
SELECT ROWID row_id
FROM TABLE1
CURSOR CTABLE2 IS
SELECT ROWID row_id
FROM TABLE2
CURSOR cTABLE3IS
SELECT ROWID row_id FROM TABLE3
FOR REG_TABLE1 IN cTABLE1 LOOP
UPDATE TABLE1
SET FIED01 = NULL,
FIELD02 = NULL,
FIELD0N = NULL
WHERE ROWID = REG_TABLE1.row_id;
IF w_quan_commit = 1000 THEN
COMMIT;
w_quan_commit := 0;
ELSE
w_quan_commit := w_quan_commit + 1;
END IF;
END LOOP;
DO FOR TABLE2 AND TABLE3
This dealy about 2 or 2.5 hours
NOW Begin processing below == 6 hours !!!!
CURSOR MYCURSOR IS
SELECT TABLE1.ROWID oc_rowid,
TABLE1.cod_classe oc_cod_classe,
TABLE1.cod_atividade oc_cod_atividade,
TABLE1.num_prefixo_medidor oc_num_prefixo_medidor,
TABLE1.num_medidor oc_num_medidor,
TABLE1.num_endereco oc_num_endereco,
TABLE1.cod_opcao_faturamento oc_cod_opcao_faturamento,
TABLE1.cod_irregularidade oc_cod_irregularidade,
TABLE1.cod_alteracao_cadastral oc_cod_alteracao_cadastral,
TABLE1.num_referencia oc_num_referencia,
TABLE1.date_modified oc_date_modified, -- usado
TABLE1.last_user oc_last_user, -- usado
TABLE1.qtd_consumo_mes_atual oc_qtd_consumo_atual,
TABLE1.num_llli oc_num_llli, -- usado
TABLE1.num_cep oc_num_cep, -- usado
TABLE1.num_cep_complemento oc_num_cep_complemento,-- usado
TABLE1.nom_consumidor oc_nom_consumidor, -- usado
TABLE1.ano_mes_referencia_faturamento oc_ano_mes_ref,
TABLE1.num_dias_consumo_mes oc_num_dias_consumo_mes, -- usado
TABLE1.qtd_consumo_mes_atual oc_qtd_consumo_mes_atual,
TABLE1.qtd_consumo_medio oc_qtd_consumo_medio,
TABLE1.num_cpf_consumidor oc_num_cpf_consumidor, -- usado
TABLE1.num_cgc_consumidor oc_num_cgc_consumidor, -- usado
TABLE1.dta_processamento oc_dta_processamento -- usado
WHERE substr(num_referencia, 2, 3) = 'XXX'
AND num_referencia = (SELECT DISTINCT facilityid FROM ordinarycustomer_db WHERE facilityid = num_referencia)
AND TABLE1.ROWID >= oc_row_mark
AND rownum <= 100;
OPEN MYCURSOR;
LOOP
FETCH MYCURSOR
INTO VAR1,VAR22,.......VARN
EXIT WHEN MYCURSOR%NOTFOUND;
BEGIN
SELECT objectid INTO n_objectid
FROM atable2
WHERE facilityid = varreferency;
UPDATE table2
SET date_modified = VAR1,
last_user = VAR2,,
nume_llli = VAR3,
nume_cep_ende_conm = VAR4,
nome_conm = VAR5,
num_dia_consumo = VAR6,
qtd_consumo_medio = VAR7
nume_cpf_conm = VAR8
nume_cgc_conm = VAR9
qtd_consumo_atual = VAR10 ,
codi_comm_cep_conm = VAR11,
nume_logr_unid_conm = VAR12,
cod_atii = VAR13
customerclass = VAR14
dta_fatura_atual =VAR15
cod_opca_fatu_dois =VAR16
dta_proc_consumo =VAR17
ano_mes_referencia =VAR18
WHERE objectid = n_objectid;
UPDATE TABLE3
SET FIELD1 = VAR1
FIED2 = VAR2
FIELDN = VAR??
UPDATE TABLE3 ....ETC
END LOOP
Maybe you are looking for
-
Those are all the details I have
-
Sales Order released even though Credit limit exceeded VKM1
Hi, I have got a scenario where a Sales order has been released(Delivery,Invoicing has taken place) even though the credit limit of the Customer has exceeded. Steps: The user check the order from VKM1 (push button check and save), but he didn´t relea
-
Error in creating price report.v/la
dear experts, while saving pricing report its showing error -(TCODE-V/LA) nvalid call sequence for interfaces when recording changes Message no. TK425 I AM NOT ABLE TO CREATE REPORT CONDITION TABLE - MATERIAL/CUSTOMER/DIVISION PLEASE HELP ME ON THIS
-
Date format problem in BI Publisher
Halo All, I have data like this: 2011-05-18T15:15:07.000+08:00 so in sql i convert it using:to_char(bla,'dd-mon-yyyy') and work fine in toad. but when i applied it in data template bi publisher then previewed, the data dissapear. please help me on th
-
Missing attachments for some users in Outlook 2010
Hi, We have a single Exchange 2010 (sp3 rollups 2 and 4 installed) with clients on Outlook 2010. 4 users received an email from outside the domain with 12 attachments (8 PDF, 4 excel and word). Email content type is multipart/mixed. One user can s