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
Kapil
Do you commit after your BAPI call?
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
I hope this helps.
- Vijay
Similar Messages
-
Dear Experts,
I am uploading the master data of functional location through LSMW .I had completed all the steps except "Run Batch Input Session".
In that step it is showing as functional location already exists, after this error the remaining functional locations are updated in sap or it will stop total transaction by this error???
how can u upload the remaining in to sap by skipping already existed one????
here I am uploading the error screen shot.
Thanks & Regards,
Sunil BoyaHi Jogeswara Rao Kavala,
When I am pressing back or NO option it is showing error like this
What is this OK- Code means?
how can I resume this process, even it was not going to back screen also and only one option is available for exit from this is by going into MENU-SYSTEM-SERVICES-BATCH INPUT-CANCEL.
Sunil Boya -
Upload Vendor Classification Data in R3
Hello Everyone,
I was trying to get my hand on a Function Module for uploading Vendor Master Classification data in R3. I came across CLFM_OBJECT_CLASSIFICATION. I do not know if this is the right one and also how it works.
If someone could just help me as to whether I have the right end of the stick and can also provide me with some documentation on it to get going, I would highly appreciate that.
Thanks & Rgds
SDRRob,
I highly appreciate and thank you for your prompt response and the update on using the Standard program that you had provided to upload classification data. However I dont know whether it suits my requirement though.
The situation is that a BAPI gets called from webmethod in real time passing data to it. This Bapi is then supposed to create classification data for the vendor in R3. I suppose the former approach by using the standard program requires a formatted file for input to carry out the necessary. I dont think I can have that luxury though. Can you think or suggest of a way to get around.
Thanks & Rgds
SDR -
Uploading TAX Classification data in material master
Hi,
I have to upload tax classification data in material master for countries DE,IT,FR,ES,CH and GB.
I have used BAPI_MATERIAL_SAVEDATA and passing values to table TAXCLASSIFICATIONS.
But bapi is uploading tax classification only for country DE.
When I am creating through MM02 its getting updated.
Can anybody tell me what is the problem ?Hi Ganga,
Yes I am passing different countries to table .
LOOP AT IT_STAX into WA_STAX.
wa_taxclassifications-depcountry = wa_stax-aland.
wa_taxclassifications-tax_type_1 = wa_tstl-tatyp.
wa_taxclassifications-taxclass_1 = wa_stax-taxm1.
wa_taxclassifications-tax_ind = wa_stax-taxim.
APPEND wa_taxclassifications TO it_taxclassifications.
ENDLOOP.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = wa_headdata
TABLES
taxclassifications = it_taxclassifications
returnmessages = it_return[]. -
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 -
Creation of Location Master Data
What's the transaction code for creating Location master data or program SAPL0A02? Has anyone tried to do LSMW or SCAT for uploading hundreds of items?
Hi,
If I am correct we can create locations through SPRO transcation.
Enterprise Structure>Definition->Logistics General--> Define location.
Here we can create number of locations on plant wise.
The key in this field indicates a location within a plant.
You can use the location to set up a plant according to space and local area. You can assign an address to a location.
The following master data objects can be referenced to a location:
Asset master records of asset management
Equipment
Functional location
Work center
Production resource/tool
Regards
Srinivas -
How to use BAPI_OBJCL* to set classification data for Techn. Objects - PM ?
Good afternoon !
I´m working in a project to integrate some legacy system with the ECC 6.0, and I need to do some activities like, create functional locations and equipments in SAP PM, I have done this creating Z RFC modules that call bapis like BAPI_FUNCLOC_CREATE and BAPI_EQUI_CREATE, but these BAPIs doesn´t fill classification data, so, in a first moment, I solved this using BDC, but I would like to solve these needs using standard BAPIs if possible.
To solve the classification, I tried to do it using the BAPI_OBJCL* BAPIs(BAPI_OBJCL_GET_KEY_OF_OBJECT, BAPI_OBJCL_CREATE_KEY), but I didn´t find any example of using these bapis with technical objects, so I tried to test the BAPI_OBJCL_GET_KEY_OF_OBJECT in a first moment and, when I call it passing '003' as classtype(003 is the classtype for the functional locations), this bapi returns me "Class type 003 requires additional objects"(the same occurs if I try it with 002, for equipment). What means this message ? Need I to do some customization in img/spro, or cannot these bapis be used with PM technical objects ?
Thank you for your attention,
WilsonHi all !
I have found the solution for this problem, I found that I was trying to use the wrong functions for my case, so, to solve my needs here, I will use BAPI_OBJCL_CREATE to set the classification data for Functional Locations and Equipments, and I can use BAPI_OBJCL_GETCLASSES to list all classes assigned for a Technical Object, and BAPI_OBJCL_GETDETAIL to get all characteristics assigned to a Technical Object for a specific class.
Thank you all for your attention !
Wilson -
Material Classification Data extraction fron ECC
Hello Experts,
We are trying to extract material classification data from ECC 6.0 to MDM 7.1 using mdmgx T-Code. We are using the standard SAP list of tables which is uploaded in MDMGX. On performing 'Start Extraction' it gives us the following errors:
Class and characteristics info returned is blank
Blank XML returned for port LT_ClassAttributes
Class and characteristics info returned is blank
Blank XML returned for port LT_Classes
Kindy advice if we are missing anything.
Thanks in advance,
Elizabeth.Hi Eliza,
I think rather than class type there should be Class Name e.g.
-<ClassHierarchies>
<Class>LIQUID_SAMPLER</Class>
<ParentClass />Zparent<ParentClass />
<Name_English>LIQUID_SAMPLER</Name_English>
</ClassHierarchies>
-<ClassHierarchies>
<Class>Zparent</Class>
<ParentClass />
<Name_English>ZPARENT</Name_English>
</ClassHierarchies>
One of the <ClassHierarchies> should not have ParentClass because there must be one class which is parent of all classes e.g. here ZPARENT
You should check that may be 001 is here also defined as class-name not class type. I would also say check do you have other ParentClass as Class name or not, except 001. Try to import this data in the manner as shown in MDM import Manager Reference Guide page 162 onwards using Create Hierarchy, after import check with business/functional consultant. Please have a look into it,
http://help.sap.com/saphelp_nwmdm71/helpdata/en/4b/72b8e7a42301bae10000000a42189b/MDMImportManager71.pdf
You can also use predefined import map for pre-delivered repositories like Material, Product etc.
Also, refer http://wiki.sdn.sap.com/wiki/display/SAPMDM/eClassTaxonomyinCustomRepositories
Regards,
Mandeep Saini -
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 -
SAP Material Classification data download
Hi
Can any one help me to download the Classification data from SAP for all the materials.
REgards
YatinGo through below Docs:
http://mysapbi.blogspot.com/2006/12/materials-management-sap-mm.html (Certification Docs)
It contains:
TAMM40_1 - Materials Management Part 1
TAMM40_2 - Materials Management Part 2
TAMM40_3 - Materials Management Part 3
TAMM40_4 - Materials Management Part 4
TAMM41_1 - Materials Management Appendices
TSCM50 Part 1 Procurement I (Part 1 of 2)
TSCM50 Part 2 Procurement I (Part 2 of 2)
TSCM52 Part 1 Procurement II (Part 1 of 2)
TSCM52 Part 2 Procurement II (Part 2 of 2)
Go through Sample Questions on MM:
http://www.sap-basis-abap.com/mm/sap-mm-certification-samples.htm
http://www.sap-img.com/mm015.htm
http://sap.ittoolbox.com/documents/popular-q-and-a/sap-mm-interview-questions-3586
Materials Management Building Block:
http://help.sap.com/bp_bblibrary/500/html/J05_MM_EN_IN.htm
Go through Integration with other modules:
http://www.sap-img.com/sap-sd/link-between-sap-sd-mm-and-fi.htm (Link Between MM, SD, and FI)
PR >Release the PR>RFQ>Quotation>Quotation Comparison>PO>Release the PO>GR>Invoice Verification
MM Process flow:
Process Flow
The typical procurement cycle for a service or material consists of the following phases:
1. Determination of Requirements
Materials requirements are identified either in the user departments or via materials planning and control. (This can cover both MRP proper and the demand-based approach to inventory control. The regular checking of stock levels of materials defined by master records, use of the order-point method, and forecasting on the basis of past usage are important aspects of the latter.) You can enter purchase requisitions yourself, or they can be generated automatically by the materials planning and control system.
2. Source Determination
The Purchasing component helps you identify potential sources of supply based on past orders and existing longer-term purchase agreements. This speeds the process of creating requests for quotation (RFQs), which can be sent to vendors electronically via SAP EDI, if desired.
3. Vendor Selection and Comparison of Quotations
The system is capable of simulating pricing scenarios, allowing you to compare a number of different quotations. Rejection letters can be sent automatically.
4. Purchase Order Processing
The Purchasing system adopts information from the requisition and the quotation to help you create a purchase order. As with purchase requisitions, you can generate Pos yourself or have the system generate them automatically. Vendor scheduling agreements and contracts (in the SAP System, types of longer-term purchase agreement) are also supported.
5. Purchase Order Follow-Up
The system checks the reminder periods you have specified and - if necessary - automatically prints reminders or expediters at the predefined intervals. It also provides you with an up-to-date status of all purchase requisitions, quotations, and purchase orders.
6. Goods Receiving and Inventory Management
Goods Receiving personnel can confirm the receipt of goods simply by entering the Po number. By specifying permissible tolerances, buyers can limit over- and underdeliveries of ordered goods.
7. Invoice Verification
The system supports the checking and matching of invoices. The accounts payable clerk is notified of quantity and price variances because the system has access to PO and goods receipt data. This speeds the process of auditing and clearing invoices for payment.
Pur info record is nothing but a master data like thing which will be maintained for different materials to determine the prices etc.It Specifies the number that uniquely identifies a record.
For Example: an info record is based on Plant Vendor and Material
Based on these three the Material Prices will be calculated
for different combinations different values are taken into consideration.
During pricing it brings these values automatically based on this info record.
Use ME11 Tcode to create this record.
Below are few important Common Tables used in Materials Management Modules:
EINA Purchasing Info Record- General Data
EINE Purchasing Info Record- Purchasing Organization Data
MAKT Material Descriptions
MARA General Material Data
MARC Plant Data for Material
MARD Storage Location Data for Material
MAST Material to BOM Link
MBEW Material Valuation
MKPF Header- Material Document
MSEG Document Segment- Material
MVER Material Consumption
MVKE Sales Data for materials
RKPF Document Header- Reservation
T023 Mat. groups
T024 Purchasing Groups
T156 Movement Type
T157H Help Texts for Movement Types
MOFF Lists what views have not been created
A501 Plant/Material
EBAN Purchase Requisition
EBKN Purchase Requisition Account Assignment
EKAB Release Documentation
EKBE History per Purchasing Document
EKET Scheduling Agreement Schedule Lines
EKKN Account Assignment in Purchasing Document
EKKO Purchasing Document Header
EKPO Purchasing Document Item
IKPF Header- Physical Inventory Document
ISEG Physical Inventory Document Items
LFA1 Vendor Master (General section)
LFB1 Vendor Master (Company Code)
NRIV Number range intervals
RESB Reservation/dependent requirements
T161T Texts for Purchasing Document Types
Tcodes:
RFQ to Vendor - ME41
Raising Quotation - ME47
Comparison of Price - ME49
Creation of PO - ME21N
Goods Receipt - MIGO
Invoice (Bill PAssing) - MIRO
Goods Issue - MB1A
Physical Inventory - MI01( Create doc)
MI04 (Enter Count)
MI07 (Post)
New to Materials Management / Warehouse Management?
http://www.sapgenie.com/abap/tables_mm.htm
http://www.sap-img.com/sap-download/sap-tables.zip
http://www.allsaplinks.com/material_management.html
http://www.training-classes.com/course_hierarchy/courses/2614_SAP_R_3_MM_Invoice_Verification_-_Rel_4_x.php
http://www.sapfriends.com/sapstuff.html
MM flow
MM flow
MM flow
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMWMLVS/MMWMLVS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMISVE/MMISVE.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
http://www.sap-basis-abap.com/mm/sap-mm-certification-samples.htm
http://www.sap-img.com/mm015.htm
http://sap.ittoolbox.com/documents/popular-q-and-a/sap-mm-interview-questions-3586
SAP / Materials Management / Warehouse Management?
Appreciate the initiative, Arif
Processes and configuration are best explained in Best Practices Building blocks website. You can get Industry wise and country wise processes documentation here:
http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
Listed below a few more links on MM
http://www.erpgenie.com/sap/sapfunc/mm.htm
http://www.sap-img.com/mm015.htm
http://www.sapgenie.com/sapfunc/mm.htm
http://www.sap-img.com/mm031.htm -
Upload the "Equipment" related data
Hi all,
I need to Upload the "Equipment" related data into the SAP syatem.
Am having the data for the following fields,
1.Equipment(EQUNR)
2.Maintenance Plant(SWERK)
3.Technical Object Type(EQART)
4.Material Actual(MATNR)
5.Serial Number from the Tag(SERNR)
6.Barcode No.used to scan the Equipment(TIDNR)
7.Plant(B_WERK)
8.Storage Location(B_LAGER)
9.Batch (B_CHARGE)
10.Master Batch(CHARGE)
Could you please tel me the T-code/Any Information to upload the data through the LSMW.
Thanks in Advance.
Regards,
Kalam A.Hi Kalam,
The Tcode is IE01 and the master table is EQUI, EQBS etc.
You can also use Bapi to create the equipment.
BAPI_EQUI_CREATE
BAPI_EQUI_CREATE_BY_REFERENCE
<b><REMOVED BY MODERATOR></b>
Lokesh
Message was edited by:
Lokesh Aggarwal
Message was edited by:
Alvaro Tejada Galindo -
Classification Data (SLED) not Updated for Movement Type 561
Dear All,
I have noticed that after uploading the opening stock with movement type 561, the Classification data (Date of manufacture & Shelf Life expiry date) which was captured in MB1C is not updated in the batch master in Classification Tab.
Is this standard SAP behaviour for 561 movement type? Or is there any config is missing?
Please advise.
Regards,
Suresh.Hi Suresh,
For your question I understand that while uploading the initial balances, system didn't ask you for the Manufacturing date or total shelf life date. Following is the solution:
You have to maintain "Check SLExpir.date" and "Classif.batches" indicators for the movement type 561 or any movement type you required. This customization can be perform through SPRO>>MM>>IM>>Goods Mvt. and mvt. No.
Also activate SLED at plant level in customization.
Regards
SAK -
Classification data extraction questions
Hai All,
I have few questions regarding the classification data extraction from R/3 to BW.
Does anybody know if I can do the following(classification data sources in CTBW):
1. Extraction of Characters that permit multiple value valuations
2. Extraction of characters intended for intervals
3. I know that only FULL update is supported for classification data as of BW 2x. Does anybody know if deltas are supported in any of the new versions upto BI 7.0?
I appreciate if any body can answer these questions or refer to documentation or SAP notes.
Thank you very much.hi,
please take a look
1. oss note 604412
Symptom
The selection after the key field during the extraction of the classification data from the class type that permits several objects (MULTOBJ = .X in table TCLA) does not work. The selection only works in such a case if an object number (CUOBJ from table INOB) is entered as a selection criterion.
Other terms
OBJEK, CTBW, RSA3, extractor checker
Reason and Prerequisites
This is caused by a program error.
Solution
Implement the source code corrections.
3. delta should be supported since 'old' version, see 'old' oss note 323412-Create change pointers for BW
(other notes for delta problem 410741, 413130)
DataSources, Symptom
You must implement this correction if you also want to use the DataSources of the classification, that are created using Transaction CTBW, for delta uploads.
Additional key words
CTBW_BW_CHANGE_POINTERS, ALE
Cause and prerequisites
Making DataSources delta compatable for the BW.
Solution
Program enhancement in update of the classification. -
How to generate data source for classification data
Hi all,
I would like to know how to generate a data source for material classification data .
Thanks
OJBhttp://www.mycomputerfiles.com/BW35_SAP/BW_expert_online_docs/Volume_02_2004/Issue_08_September/Understand%20the%20R3%20Classification%20System%20and%20How%20to%20Extract%20.doc
http://affine.co.uk/cms/uploads/How_to_Extract_Classification_Data_into_BW.pdf
hope it helps,
Alex
Edited by: Alex M on Jan 4, 2011 9:28 AM -
Modify Classification data for IL02
Hi,
I want to modify the classification data for Functional location.
Is there any function modules available to change. I know the functional module for Material classification, but Functional location its not working.
SO pls tell me the function modules or any other method is available.
I was unable to do to in BDC.
regards
Rajesh VHi,
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkeynew = lv_funcloc
objecttablenew = 'IFLOT'
classnumnew = lv_class
classtypenew = '010'
TABLES
allocvaluesnum = li_numc
allocvalueschar = li_char
allocvaluescurr = li_curr
return = li_return.
if not li_return[] is initial.
read table li_return into lwa_return with key TYPE = 'E'.
if sy-subrc ne 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
endif.
endif.
Fill the new characteristic values into table parameters li_numc, li_char, li_curr depending on the data type (field ATFOR) of the characteristic value.
Inside the FM it uses BAPI_OBJCL_GETDETAIL to get the old characteristic values and make comparision with table parameters li_numc, li_char, li_curr and updates the characteristic data for the functional location and class.
Regards,
Dwaraka.S
Edited by: Dwarakanath Sankarayogi on Jan 29, 2009 10:49 AM
Maybe you are looking for
-
My wife and I have an iphone each using one apple id. How do we stop phone contacts being deleted from one phone and then find it has been deleted from the other? Also this works when one of us downloads an app it appears on the other iphone
-
Is there any way to change the first day of the week back to Monday in iCal for iPhone?
With the new upgrade, iCal in my iphone is now showing Sunday as the first day of the week. Is there a way to change it back to Monday as the first day of the week?
-
Is it possible to cancel an imessage that has been sent but not yet delivered?
Hi, I have sent an imessage to my daughter who is in Spain for a week. The first one failed and the second is blue but doesn't say delivered. I don't have my phone set to send as a text if the imessage fails. My question is if I delete the imessage w
-
When trying to download I get error message unable to initialize installer GUI
I was having a problem with my email in Firefox so I uninstalled it and tried to download it again, hoping a newer version might fix the email problems I was having. When attempting to download Firefox from the website, I get this installer error "Un
-
How to include uninstaller in installer?
The thing is that application installer in 8.2.1 i can only be used to actually install apllication. If you run it again it will not offer you to modify or reinstall or uninstall your current program. In ver 7+ it was different. Use installer once an