Extending basic material with classification data
Hi
We intend to use a BAPI / function module to extend a material - BAPI_MATERIAL_SAVEDATA seems to be recommended in many discussions here -
However, how I do add data for a material classfication view using this BAPI - or is there any other BAPI/ fm to do this ?
Thanks in advance for sharing your thoughts on this.
<b>BAPI_OBJCL_CHANGE</b> : This BAPI changes an existing classification, or creates the classification if it does not yet exist. The classification is defined by the required entry fields for the object key (ObjectKey), object table (ObjectTable), class name (AllocDetail-Class_Num), and class type (AllocDetail-Class_Type). The default value for the optional date field (KeyDate) is the system date, on which all classifications become valid. The new characteristics and/or values are transferred to different tables according to data type. Numeric, time, and date characteristics are transferred to table AllocValuesNumNew, character and boolean characteristics are transferred to table AllocValuesCharNew, and currency characteristics are transferred to AllocValuesCurrNew.
The object key (OBJECTKEY) must be transferred in internal format. This means before conversion exits. For example, a material number must be transferred with leading zeros.
If the BAPI runs without errors, table Return contains no messages of type "E".
Assignment created: message CL735
Assignment changed: message CL737
Assignment not changed: message CL738
This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
You can only use this BAPI for objects that are not classes!
This BAPI only processes assigned values for classification - not for configuration.
Similar Messages
-
Material Creation with Classification Data
Hi friends,
I am technical guy,
I need to know how to create material(MM01) with classification data,
if i want fetch data , where i will find that data ( means which tables).
Thanks in Advance,
regards,
BhaksarHI Bhaskar,
I will explain you a scenario, where you will be able to understand the relation.
Consider i am manufacturing a two wheeler, which has the material number but with various colours say Red and Blue.
In this case during my SD process, in the sales order, i need to mention the material number also with the colour as Red in the batch field in order to make the process more specific.
In order to cater this need, i need to activate batch managment for that material in the purchasing view and also opening the classification view in the Material master with the batch class as 001 _ Material Class.
Now my work will not get completed without maintaining a batch master for the same. Ie i have to ensure a batchmaster for the material using tcode MSC1N, with batch as colour, Material code, Plant and storage location also if split valuation is activated, we need to mention the valuation type too.
Hope i had thrown some lights over the topic enquired.
Regards,
RitiG -
Change History of Material master classification data
Dear all.
How can we see the change history of the Material master classification data.
Whether any standard report exists which can give this Change History data or whether we can find from any tables?
Please let me know your thoughts on this
Regards
Shyamchanges in values for a characteristic can be monitored in CL20N via menu Environment > Change documents
change history for classification is only stored if you activated this.
if it is not set active in your system, then see SAP Note 943559 - FAQ: Frequently asked questions about the classifctn. system
it has instruction how to active it. -
Report with Classification Data & Batch
Hi,
We have created a Material, say 10001, with Classification View with the following details:
Class Type: 023
Class: PAPER_BATCH
Characteristic: 1. Paper Bulk, 2. Paper Brightness
While doing Goods Receipt for the Material 10001, we have entered the values 10 & 15 for Characteristic Paper Bulk & Paper Brightness respectively and Batch 082010.
Now I want a report where in I can view the following all the above data like Material, Batch, and the Values of the Characteristic entering during the Goods Receipt
What all are the reports related with Class & Batch?
Please guide.
Regards,
PKHi,
There is No Standard SAP report
Check this link
Re: Table for Material Classification data
check the above link for the table
Using the table you can write Z reports
Regards
G.Ganesh Kumar -
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 -
Standard Business Contents with CLASSIFICATION data
Dear All
Does standard Business contents Material, Vendor and Customer carry CLASSIFICATION DATA.
Looking at the Field Mapping for Material and Vendor I dont see any CLASSIFICATION related fields.
What would be the best option..
Regards
VickeyHi Vickey,
Minaz is right. Customer and Vendor do not contain classification info. The current Material contains the eClass and UNSPC classification. The next release for the material will cover the common ERP classification (CLFMAS), too. This is currently in development, planned release is May 2009.
Best regards
Michael -
IDOC for sending material including classification data?
Hi everyone,
I'm just looking for an IDOC to send to an external system all data of certain materials but including classification system data, variant configuration data...
I have checked MATMAS0x but I am not sure if those IDOCs match with my requirement.
I would be very grateful if someone could please help me.
Thanks in advance and best regards,
BenHi,
CLFMAS01 Master object classification
CLFMAS02 Master object classification
STTMAT01 STTMAT: Material variants
BOMMAT01 Master BOM - material
BOMMAT02 Master BOM - material (2)
BOMMAT03 Material BOM (from 4.6B)
BOMMAT04 Material BOM with UPS Link
MATMAS01 Material Master
MATMAS02 Material Master
MATMAS03 Material Master
MATMAS04 Material Master
MATMAS0x with CLFMAS0x should solve your problem.
Regards,
Srilatha. -
I am not sure if I am overcomplicating something I am trying to do with designer/Acrobat.
I am trying to create an interactive work order.
Much of the basic layout has been done, and most of the fields are doing what I want them to do, though I still have a little here and there that needs some tweaking. But before I get to doing those, my primary focus is to have the form access external data.
For example. I have a table in the form that has the following fields.
Quantity Part Number Description Price Amount
Quantity, price and amount are all internal to the form itself, and are fillable by the user of the form, with the exception that the amount field is a calculated value based on the previous two. My intention is that these fields are only filled by the user of the form when needed.
My issue however is the Part Number and Description fields, which has me quite perplexed on what would be the best way to go.
From some of what I have read here and there in this forum and elsewhere, it seems that I have to have some kind of complex setup regarding sql servers if I want to use a simple database file (access for example) where I can edit as needed on the fly to pull data into the form as needed, using for example, a pulldown, to populate the two fields.
I can muddle through that for my personal needs, however, my intention is to provide the form to co-workers so they can use it without having to set up what I am seeing as extremely complex setup of installing and configuring sql servers and so forth. The computers will not be connected to any networks, these are field laptops.
What I was hoping was to provide the database with the pdf file and let the end user simply copy those to a folder and use them without much fuss, aside from them being able to edit the database file to add their own custom information. I was also considering adding in the ability for them to save and recall customer contact information as well.
I am not by any stretch of the imagination a programmer. I am a technician. I can figure out how to use access easily enough. But beyond this...well...its all greek to me if you get my gist.
Am I overcomplicating the matter. Is there an easier approach to what I want to do? Are there any complete samples (includes all the files needed) available that I can use and study to accomplish what I am trying to do?
Appreciate any input from you folks here.
Thanks.Hi,
There are (at least) two ways of approaching this.
One is to have the Part No. and Description in an external source (eg database) and then set up a data connection in the form to access this information. One problem is that if the user are using Adobe Reader, then the data connections will not work. See summary of deployment options here: https://acrobat.com/#d=3lGJZAZuOmk8h86HCWyJKg
Another option is to hard wire the Part No and Description into the form. There is an example here and links to a tutorial on Acrobat Users website. Linking Drop Down Fields / Combo Boxes
Good luck,
Niall -
Material with Expiration date without Batch Management
Hi,
Is it possible to give the expiration date for the Material without Batch Management, during GR.
AktarHi
please find below link. It may help you.
http://help.sap.com/saphelp_47x200/helpdata/en/a5/63349443a211d189410000e829fbbd/content.htm
regards
Srinivas -
hello everyone,
i have to make a report that shows a material having a classification in SAP and for sales org "XYZ".
And for those material show
u2022 Material number
u2022 Material description
u2022 minimum inventory level
u2022 maximum inventory level
u2022 Actual stock in storage location "abc"
Any help gurus .
Josephmaterial number and description from table MAKT, sales org from table MVKE, actual stock in storage location from table MARD.
maximum inventory level is in table MARC.
minimum stock level is not really a SAP term, if you mean safety stock, then you can find it in MARC too.
What value want you take from classification? -
Table name of Classification Data in Material Master
Hi Experts,
Greetings to all...
I wish to ask one question.
I wanted to upload the initial data in material. in initial data I wanted to maintain the classification data for the batch management. Please tell me what is the name of table/field where the material and classification data is stored. I couldnt find anything in the table KLAH, AUSP, CABN, CAWN.
Thanking you in advance,
Regards,
UK.Dear UK,
If you using ALE:
Follow following sequence:
CHRMAS Characteristics that contain global and local object dependencies
KNOMAS (global object dependencies)
CHRMAS Characteristics that contain global and local object dependencies
CLSMAS Classes with characteristics and their overwritings, including object dependencies
The characteristics and characteristic values must be transferred second time
to create the assignment of the global object dependencies to the characteristics
and characteristic values.
BR,
ian Wong -
Add material tax classification to company code
Hi gurus,
hope you can help me with this one.
i need to add/extend the material tax classification to a company code... how would i do that.
appreciate your help.
thanks in advanceHello Brett,
I am facing the same issue. Can I know how to change the country defaulted to the country where I can to create?
Thank You. -
Material Variant Classification
Hi,
Does anyone know how to get the material variant classification data for a material? I found function CLFN_VARIANT_CLASSIFICATION, but I couldn't find any documentation. I don't know how to put the parameters in this function and whether this is the right funtion.
Thanks,
Roxana.Hi,
Please check with following tables.
KLAH Class Detail
CABN Characteristic Detail
AUSP Characteristic Values
CAWN Characteristic Values
CAWNT Characteristic Value Texts
KSML Characteristic Allocation to Class
KSSK Material Allocation to Class
USE THE FOLLOWING fUNCTION MODULE TO GET THE DATA
CLAF_CLASSIFICATION_OF_OBJECTS
GIVE CLASS TYPE = 300 AND OBJECT NUMBER = MATERIAL NUMBER
EXECUTE YOU WILL GET IN TABLE T_CLASS, THE DETAILS ABOUT THE CLASS
IN TABLE T_OBJECTDATA, CHAR ASSOCIATED AND THE VALUE.
Check the link
https://forums.sdn.sap.com/click.jspa?searchID=11911947&messageID=4219775
Regards,
Raj. -
MRP split purchase requisition with same date
Hi guru
When I run MRP, if there are more requirements for the same material with same date, the system creates one purchase requisition grouping requirements.
So, if I have two requirements of 3 and 2 pieces for material A, with date 18042015, the system creates one purchase requisition of 5 pieces
I tried to use a BADI in order to split purchase requistion and have in this case a purchase requisition of 3 pieces and another one of 2 pieces but maybe I wrong something because MRP works wrong.
Is there anyone that could give some tips about this request? Is there anyone that had same problem?
Thanks
Regards
RaffaeleHi,
Hope your BAdI is working now.
MD51 is used for project. It creates replenishment orders against a WBS element. After this, you can run MD01 which will create replenishment order by material/plant level.
If you have a question related to PS, maybe you can post your thread in this space:
SAP Project Systems (SAP PS)
Kind Regards,
Mariano -
Uploading Funcational location classification data
Hi All,
I have a requirement in which I have to update Functional locations with classification data. This will be an inbound interface which will update Functional location classification from the data in the file. This file will be having Functional Location, Class, Characteristic & Value. We just need to read the file and change the characteristic values of that particular class in that particular FLoc.
I am using BAPI_OBJCL_CHANGE_KEY to update this data. And here lies the problem. This bapi is not updating the data. Although it is returning 'S' message "Assignment updated". But it is actually not updating.
I am sure that I am providing right data to the bapi. Before this I am also executing BAPI_OBJCL_GET_KEY_OF_OBJECT to get the object key (for Functional location).
I have even tried direct input porgram. This program has all relevant structures, but that is also not working. I am sure that there is some configuration issue that is holding me. I have also checked IMG, to my knowledge it seems to be ok, but there is something MISSING !!
Can anyone share his/her experience with similar scenarios ? Can any one help me out of this ?
Thanks & Regards
KapilDo you commit after your BAPI call?
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
I hope this helps.
- Vijay
Maybe you are looking for
-
How can we call a OSB proxy service from a BPEL process?
Hi, I want to call a OSB proxy service from a BPEL process. Can you please explain me the procedure?
-
How do I get rid of Advanced Property Editor
I am continually getting this pop up when I'm replying to an e-mail. I also see the person to whom I'm replying in red, rather than black, print.
-
How to separate my adornments from effects applied to page item?
Hi All, I have my own graphical page item. And I also draw special border and, the most important, my special label if my object is bigger than its frame. (Text frame behaviour is the example for me). I tried to draw adornments in MyShape::DrawPageIt
-
The middle button doesn't work on my ipod 2gen. But strngly everything else works??? Can you help me?
-
Hi I have a report including 26 columns. Every line is wrapped around. I already changed orientation for main/header/trailer section to landscape. I also changed page size and vertical/horizonal elastcity property. However no matter what changes I ma