Material Batch Classification Update
Hi ,
Is there a Function Module or BAPI to update Material Batch Classification ?
Thanks.
hi,
check tcode bapi. or search function bapiclas
cheers.
...reward if useful.
Similar Messages
-
Hi guys,
I need to make the following, when there is a goods receipt, I want to update the posting date in the batch classification as soon as I post the goods from transaction MIGO.
How can I make this?
RegardsHi andrea,
I tried what you said, but it does not update in the classification, the field is empty as follows
Deletion Ind. for Batches Not Set
Quality Score Usage Decision 100
Usage Decision 01 A
Status of Batch Released
Batch Number 2010080167
Expiration date, shelf life 23.06.2012
Date of last goods receipt
Date of Manufacture
I have something also in my mind I'd like to share with you, regarding the reference table you told me, I think that this is responsible only for maintaining the data in the BASIC DATA tab of the characteristic, but it has nothing to do with the value, if I'm wrong then correct me, and I hope you a have a solution for the problem.
Regards, -
Batch Classification Update duing MIGO
Hello Experts,
I have a requirement where in i have to update one of the batch characteristics with my own value when the user presses the classification button in MIGO transaction during GR.
I tried various user exits and BADI's to accomplish this but ultimately was unsuccessful.
The most useful BADI which i felt would solve my purpose was CACL_VALUE_CHANGE.
Here only some characteristics are flowing and not all.
I even tried to debug the standard program but again could not get any clue.
Very thankful to anyone who could help me.
Cheers,
Ravi Kirantry using BADI - MB_MIGO_BADI
-
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. -
Need a bapi r fn module to update the batch classification in the bom
hi,
iam working a exit : exit_saplcoml_001.This exit is for material quantity calculation.the materials are currently classified in the material master under the classification tab.Ans due to this the classification becomes cross plant.
To make the material classification plant specific i have decided to maintain the classification in the batch classification of bom.i am finding for a function module r a bapi to update the calculated values in to the batch classification characteristics.please help mi with this.
thanks.Hi
U can try to use BAPI_MATERIAL_SAVEREPLICA
Max -
Updating Batch classification data from MIGO for Purchase order
Hi,
I need to update batch classification data (in MSC3n) from MIGO for purchase order. The logic needed for this is as below,
1) Pass material and batch to MCH1 table to get CUOBJ_BM.
2) Pass CUOBJ_BM to INOB table to get INOB-OBJEK.
3) Pass INOB-OBJEK to CLAF_CLASSIFICATION_OF_OBJECTS to get class name & characteristic name.
4) Pass INOB-OBJEK, CLASS name and characteristic name to BAPI_OBJCL_CHANGE to update batch classification data.
I created implicit enhancement at the bottom of FM "CLVF_VB_INSERT_CLASSIFICATION". But the problem is, the return parameter of BAPI_OBJCL_CHANGE is giving the following error.
Class type 023, object type MCH1, object RAW-6 0000001151
Object is currently locked by user
The assignment was not changed
Please let me know how to do it. Is there any BADI or User Exit?Hi,
As you said the break point is not triggering did you activate your exit and activated even the project to which your exit is assigned.
I hope you missed activating your project in CMOD transaction. Please verify it once and if it is not activated then immediately activate it and try debugging again.
Regards,
Rafi -
Copy of Material Master charac. values to the batch classif. in GR for PO
Dear gurus,
Could you please help me with the following issue. I have a material managed in batches, and it has a classification type 023 in material master. I fill one chaacteristic of this classification with some value. Now I want this value to be copied to the batch classification during the creation of new batch while making GR to production order.
Is it possible?Hi Nikolaj,
What I am understand your requirement is like,
You want to fetch the value of Characteristic maintain in Batch class in Material master to the Batches, correct?
But my Friend if you maintain value of characteristic in Batch Class in material master then it will works as a validation.
For Example,
Suppose your Characteristic is Colour and in Material Master Batch classification view you have maintain value as Red.Then system will not allow you any other colour in Batches.You will find that value in Drop Down list.
Regards,
Dhaval -
How to Change Batch Classification of material master
Hi,
How to Change Batch Classification of material master in a production system,Pl note that there is no stock and no open qty still system is not allowing me to delete the old Classification and add my new classification.
Guys any solution for this.
Thanks in advance
rgds
bijaya pradhanI believe there is a FM VB_CHANGE_BATCH for this, any body tried this FM?
-
Updating the Customer & Material Tax Classification via LSMW only
We need to update the Customer and Material Tax Classification via LSMW only, in such a way that on the updation of the Tax classifications the Customer Master and the Material Master should be updated automatically.
Please let me know if anyone has done the same also it would be really helpful if you can provide me the details.
Regards,
ArindamHi,
It's not clear your question to me.
Do you want to update the Tax classification in the customer master & Material master?
I did same, but with 2 different LSMW"s as there is not link between customer master & Material master.
To update customer tax classification -
In that you have to feed relevant customer numbers with sales areas & relevant tax classification for one LSMW.
To update Material tax classification -
In that you have to feed relevant material numbers with sales areas & relevant tax classification for different LSMW.
Best regards,
Anupa -
Could sap do mass craete/update for material master classification?
Hi Expert,
Now we craeted new classifcaiton for material master. It need be assigned to related many parts. May I query Could sap do mass craete/update for material master classification? How to do this ?
Thanks
AliceHi,
Another option is using LSMW, please refer to below thread for more details:
Classification view in MM01 with LSMW
cheers, -
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 -
Need Badi/user exit-migo-update batch classification
Hello all,
I need to update revision level and country of origin in batch classification tab in migo while posting GR.
I've already done using exit "EXIT_SAPLV01Z_014".
But this exit triggers only when classification tab is clicked in migo.
But i need to also update rev level and country of origin when GR is posted(Save button is pressed).
I tried MB_CF001,MB_CF001,MBCF0002,MBCF0005,MBCF0006,MBCF0007,MBCF0009,MBCF0010,MBCF0011
and badis
MB_DOCUMENT_BADI,CACL_VALUE_CHANGE.
Please someone help me
Thanks in advanceHi Sriram,
If you want to add logic on particular action you need to search for exact BADI.
e.g.
As you are expecting that your code need to be trigger when user press SAVE button (Time of Posting) so at that time you need to check which BADI get trigger ( I am assuming that you have knowledge on how to search BADI)
List down the BADI name and check the methods. You will get exact method name in listed BADI's.
I am hoping that while checking badi you will find MB_MIGO_BADI just check and use method [POST_DOCUMENT] for your logic.
Also in User Exit you will see multiple function modules in component those function modules are behaving like PAI and PBO. so you need to find out whcih function module will trigger as per your requirement.
please find below link which will help you to understand how to search User Exit.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0041d4e6-1e43-2e10-0db4-9386abe98fe6?overridelayout=t…
Please let me know if its work for you.
Regards,
Nikhil -
How to assign multiple batch class to material in classification view
Dear Gurus,
How to assign multiple batch class to material in classification view.
plz explain what are the procedure and what are the configuration required before assignment.
Thanks
ManiOK, Thanks for your reply.
Regards
Mani -
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 -
Inspection Characteristic in the material master (Classification)
Dear All,
Please anyone tell me the cycle for maintaining the characteristics in the material master (classification tab) using batch classification.
or give me a link for the same.
regards,
RishabhHi Rishab,
Below links can help you
http://help.sap.com/saphelp_470/helpdata/en/4d/2b8bd043ad11d189410000e829fbbd/content.htm
http://scn.sap.com/thread/1783839
http://help.sap.com/saphelp_470/helpdata/en/2d/350a19448c11d189420000e829fbbd/content.htm
http://scn.sap.com/thread/2046143
http://help.sap.com/saphelp_46c/helpdata/en/2d/350a19448c11d189420000e829fbbd/content.htm
below steps will help
Creation of Batch Class in (CL01)
Assignment of above created classed characteristic to the Batch Class at the time of class creation. (CL01)
Assignment of batch class to material master in classification view. (MM01)
Creation of MIC with reference to above created Class characteristic (QS21)
Creation of inspection plan with above MIC (QP01)
Follow your business process cycle for creation of inspection lot
Result recording and usage decision (QA32)
You can see in MSC2N that batch characteristic will get updated.
Best regards,
Sharat
Maybe you are looking for
-
Product Revenue Bookings and Backlog Dashboard does not display any data
Product Revenue Bookings and Backlog Dashboard does not display any data even though the load completed successfully. They are able to see just the parameters. Not sure if the upgrade of the database from 9.2.0.6 to 10.2.0.3 is a factor. What can I c
-
My itunes wont detect ipod touch over wifi
i always use itunes wifi sync for syncing songs and movies into my ipod but yesterday i got the error of bonjour service problem i had this error many months before but i solved this problem but now my ipod is not getting detected on itunes i tried
-
Motion tracking and chroma key
I shot a webmercial and during the product demonstration (on an iphone) the screen of the application is very close to the color of the green screen. I am having a hard time keying due to the similarity in colors. I duplicated the clip and created a
-
HK Localization_CAO,Trail balance report
Hi.does someone have hong kong company's chart of account in english and can send me trail balance and loss and profit reports ?
-
PB 17" 1.5ghz / 1GB RAM / 10.3.9 MY PowerBook's left hand side fan seems to be running about 90% of the time now and is also getting louder. The right hand fan seems to run a lot also but it it much quieter. Right now the fan has been running for hou