MAP value negative in material master
Hi,
I am facing problem with few materials where the stock exists but the MAP value is negative.
Movements 101,102,201,261 has taken place. Checked the material documents and did not find any problem in any of the movements.
Is changing the MAP value in MR21 is advicable?? Will this create any problem in FI accounting??
Pls advice.
Regards,
Radha
HI,
What is that material type.
Check is there any sales against that material with less cost of MAP .
The system shows that less amount as negative from the finanace point of view.
So check any salaes docs agianst that material.
Regards,
Andra
Similar Messages
-
Generate change documents for characteristic value changes in material master
Hello,
I am currently using material class (class type: 001) and assign some characteristics to material master. I am going to create a query/custom report to track all changes in the characteristic values in that material master. However, I could not find any change document in CDHDR table.
I have activated "Change Docs" parameter in class type 001 customizing as described in SAP note: 65124 Classification Change Documents as follow:
Is it possible to generate change documents for characteristic values in material master?
Regards,
JulianHi Rajen,
Thanks for your reply. It seems that I missed one more step in the customizing. Once the multiple object is activated, I need to activate the change document parameter for each assigned object.
Thread closed.
Regards,
Julian -
MAP R3 to CRM Material Master -- Urgent
Hi all,
I have currently using BADI PRODUCT_CUSTOMER2 with method MAP_R3_TO_CRM_MATERIAL. I have done the coding and required configuration. I suppose to be able to see the changes done in COMMPR01 in CRM from MM02 in R3. However, I fail to see the changes at CRM.
I have read through note 428989 for the mapping instruction. During debugging, I manage to see all the changes done in R3 at the CRM side.. until the populating part, everything looks fine and okie for me. But when everything gone through, including the SMQ2 ibound queue finish running, i still fail to see the changes.
Below is the populating code that i have implemented in the badi, anyone can give me some advice on the code (basically the code refer to the reference file). Do i need to include some extra field or table at the populating part. Thanks.
begin of mapping data into bdoc:
LOOP AT lt_cat_settype_rel_all INTO ls_cat_settype_rel.
read comc_settype record:
CALL FUNCTION 'COM_SETTYPE_READ_SINGLE'
EXPORTING
iv_settype_guid = ls_cat_settype_rel-frgtype_guid
IMPORTING
es_settype = ls_settype
EXCEPTIONS
not_found = 1
no_import_values = 2
no_text_found = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
CONTINUE.
ENDIF.
CASE ls_settype-frgtype_id.
WHEN lc_zxe_843_kgen.
ls_zxe_843_kgen-relation-owner = 'X'.
ls_zxe_843_kgen-relation-logsys = cs_product_bdoc-header-com_product-logsys.
ls_zxe_843_kgen-data-zz0010 = ls_zisc_mara_data-zzlead.
ls_zxe_843_kgen-data-zz0011 = ls_zisc_mara_data-zzamr.
ls_zxe_843_kgen-data-zz0012 = ls_zisc_mara_data-zzasr.
ls_zxe_843_kgen-data-zz0013 = ls_zisc_mara_data-zzlmang.
ls_zxe_843_kgen-data-zz0014 = ls_zisc_mara_data-zzmmang.
APPEND ls_zxe_843_kgen TO cs_product_bdoc-data-zxe_843_kgen.
APPEND ls_settype-frgtype_id TO cs_product_bdoc-data-mnt_settype.
ENDCASE.
ENDLOOP.
ENDCASE.
ENDLOOP.
Any help or idea is very much appreciated. Thanks.
Any doubt can always drop me a message as well.Use the below code for your req.
CONSTANTS:
c_on TYPE comt_boolean VALUE 'X',
c_off TYPE comt_boolean VALUE ' ',
C_PROD_XPORT(20) type C VALUE 'ZCOM_MANUFAC',
c_mara(4) TYPE c VALUE 'MARA'.
Work Areas *
DATA: str_category_bdoc TYPE comt_prod_cat_rel_maintain,
str_category TYPE comt_prod_cat_rel,
str_settype TYPE comt_settype_ext,
str_cat_settype_rel TYPE comt_cat_frag_rel,
str_comm_category TYPE comm_category,
str_comm_prprdcatr TYPE comm_prprdcatr,
str_ZPROD_XPORT type ZCOM_TA_MANUFAC_MAINTAIN,
str_other_info TYPE bapiextc.
DATA: begin of str_com_mara,
bismt(18) type c,
end of str_com_mara.
Internal Tables *
DATA: it_categories TYPE comt_prod_cat_rel_tab,
it_cat_settype_rel TYPE comt_cat_frag_rel_tab,
it_cat_settype_rel_all TYPE comt_cat_frag_rel_tab.
Field Symbols *
FIELD-SYMBOLS:
<source_x> TYPE x,
<target_x> TYPE x.
*Get all categories related to the product from CRM online:
CALL FUNCTION 'COM_PROD_CAT_REL_READ_WITH_PR'
EXPORTING
iv_product_guid = cs_product_bdoc-header-com_product-product_guid
iv_update_buffer = space
IMPORTING
et_set = it_categories.
*Add all categories related to the product from BDOC:
LOOP AT cs_product_bdoc-header-categories INTO str_category_bdoc.
MOVE-CORRESPONDING str_category_bdoc-data TO str_category.
READ TABLE it_categories
WITH KEY hierarchy_guid = str_category-hierarchy_guid
TRANSPORTING NO FIELDS.
IF sy-subrc = 0.
MODIFY it_categories FROM str_category INDEX sy-tabix.
ELSE.
APPEND str_category TO it_categories.
ENDIF.
ENDLOOP.
LOOP AT it_categories INTO str_category.
*Get category set type relations:
CALL FUNCTION 'COM_CAT_FRAG_REL_READ'
EXPORTING
iv_category_guid = str_category-category_guid
IMPORTING
et_cat_frag_rel = it_cat_settype_rel
EXCEPTIONS
wrong_call = 1
OTHERS = 2.
IF sy-subrc = 0.
APPEND LINES OF it_cat_settype_rel TO it_cat_settype_rel_all.
ENDIF.
ENDLOOP.
DELETE ADJACENT DUPLICATES FROM it_cat_settype_rel_all.
*Getting the info into the Set Types.
LOOP AT it_cat_settype_rel_all INTO str_cat_settype_rel.
CALL FUNCTION 'COM_SETTYPE_READ_SINGLE'
EXPORTING
IV_SETTYPE_GUID = str_cat_settype_rel-frgtype_guid
IV_LANGU = SY-LANGU
IMPORTING
ES_SETTYPE = str_settype
EXCEPTIONS
NOT_FOUND = 1
NO_IMPORT_VALUES = 2
NO_TEXT_FOUND = 3
OTHERS = 4.
IF sy-subrc <> 0.
CONTINUE.
ENDIF.
CASE str_settype-frgtype_id.
WHEN C_PROD_XPORT. "Set Type Name 'ZCOM_MANUFAC' "'ZTM_PROD_XPORT'
str_zprod_xport-relation-owner = c_on.
str_zprod_xport-relation-logsys = cs_product_bdoc-header-com_product-logsys.
*Polutate MARA Fields
*Get the info record using Communication Structure 1
*Table Name and Material Number ( struc = 'MARA' and matnr = current material number )
LOOP AT it_other_info INTO str_other_info
WHERE field1(20) = C_MARA
AND field1+20(18) = is_mara-material.
ENDLOOP.
*Get data from Communication Structure 2 ( Old Material Number )
ASSIGN str_other_info-field2 TO <source_x> CASTING.
ASSIGN str_com_mara TO <target_x> CASTING.
IF <source_x> IS ASSIGNED AND
<target_x> IS ASSIGNED.
<target_x> = <source_x>.
ELSE.
CONTINUE.
ENDIF.
*Assign the data from Communication Structure 2 ( Manufacturer Part Number ) to the corresponding field in set type structure.
str_zprod_xport-data-ZZ0014 = str_com_mara-bismt.
APPEND str_zprod_xport TO cs_product_bdoc-data-ZCOM_MANUFAC.
APPEND str_settype-frgtype_id TO cs_product_bdoc-data-mnt_settype.
ENDCASE.
ENDLOOP.
endmethod.
We have implemented the similar functionality in our project.
Reward points If it helps. -
In SOP- transfer forecasted values from material master to info structure?
Hi All,
I wanted to test out a few scenarios. Do you know the answers / can you help simulate and check the below?
1. If I run the forecast using different models for different materials using the total forecast run (MP38), the forecast values will get updated in the material master. Can I get these values transferred directly into the SOP (standard or flexible), without re-running the forecast in SOP? What I am looking at is a possible scenario where individual materials have different forecast model, so do not want to run forecast from SOP using one model for all.
2. Can you have the capability of selecting diff model (say based on material master data) in SOP for diff materials? When I ran SOP, the model I specify there for forecasting is applied for all materials
3. If I upload historical values/forecasted values in the material master, can I directly transfer them to SOP without any change to the value?
Appreaciate your inputs.Hi All,
I wanted to test out a few scenarios. Do you know the answers / can you help simulate and check the below?
1. If I run the forecast using different models for different materials using the total forecast run (MP38), the forecast values will get updated in the material master. Can I get these values transferred directly into the SOP (standard or flexible), without re-running the forecast in SOP? What I am looking at is a possible scenario where individual materials have different forecast model, so do not want to run forecast from SOP using one model for all.
2. Can you have the capability of selecting diff model (say based on material master data) in SOP for diff materials? When I ran SOP, the model I specify there for forecasting is applied for all materials
3. If I upload historical values/forecasted values in the material master, can I directly transfer them to SOP without any change to the value?
Appreciate your inputs. -
Default values set for Tax data in material master
Hi
Can anyone tell me how to set default values for TAx dat in sales view while creating material master.
so that it automatically take values while creating material master.
Regards
Vijay ShuklaMary and Vijay,
I probably understood your question wrong.
I was somehow assuming you were referring to classification data.. Sorry abt that.
The tax data gets populated automatically while creating the material master.
Th key lies in configuration.. You would have to use Tcodes OVK1, OVK4 to define the material and the tax categories by country
The tax data is populated by the assignment that you make in OVX6.. I believe.. assigning plants t Sales org. Th country code defined in the plant OX10 is used to determine the tax data and once you customize this part.. You should start seeing the tax data populate when you use that sales org while creating MM
Hope this answers your query.
Edited by: Pavan Kumar on May 2, 2008 8:10 AM -
Reg : material master change history
Hi All.
I am changing the value of the material master characterstic assigned to class under the classification TAB of material master.
I want to extract the last chaged date of the characterstic value.
The material master change history ( Table CDHDR) is not reflecting the changes done to the characterstic value.
Can anybody please suggest me how can i extract the change history of the characterstic value of a given class for a given material.
Thanks
VijayHi
If a field is changed in any transaction with a new values those changes are recorded in CDHDR and CDPOS tables with the field name, Transaction name and field old and new values, changed by and date etc
So you have to fetch the change data history from those tables passing the
OBJECT CLAS = MATERIAl and the Objectid = Material no and fetch the data from CDHDR first and then for all entries of CDHDR fetch the data from CDPOS and use the data and required fields
Regards -
Product hierarchy in the material master record
Hi,
I am handig Data migration project.
This is related to Product Hirerarchy.
I one business Product Hirerarchy have been configured. But in another buisiness, Product Hirerarchy has not been configured.
There are some common materials using by both business processes.
For coomon mateials if I am maintaining Product Hirerarchy value in the material master record, is there any impact on business which is not being used Product Hirerarchy. Whether it will stop / impact on business processes.
Can you explain plz
Thanks in advance
RegardsHi karthink,
Thanks for your inputs.
we are meging two servers. In that in one server, product highrechy have been configuredand in another server not configured.
There are some materials with the numbers calling as a common parts exists in both servers.
ex: plat 0001 in one server 1 & plant 0002 in server2
Common part is : m1
plant 0001 not using product hierarchy and plant 0002 not using product hierarchy,.
After golive, all the common parts are being used by both plants and same basic data 1 view.
If we are maintaing product hierarchy in the basic data 1 view, it will flow into sales view as well.
Then what about impact on the plant 0001 business since it is not using product hierarchy.
In the configuration, is there any settings to activate / deactive product hierarchy at sales area level.
Is there any impact on MM / FICO side.
Please explain.
THANKS IN ADVANCE.
Regards
KRK -
SAP material master upload , but table by table
Dear All,
we have a case in which we want to create a new client and move all the settings and master data from our current client to the new one (we dont want to move the transactional data).
our basis consultant has moved the settings and customizations to the new client.
my question: can we move the master data (material master as the first stage) from the current client to the new one by uploading to the tables? i mean using LSMW will require going through the material creation steps which require data from more than one table.
but i would like to upload to the tables one by one, like taking the data in MARA in the old client, and uploading it to MARA in the new client.
then do the same for MARC, MARD, ...
please tell me what do you think ......it is really urgenttable copies are usually done in SLO projects.
SAP has a sepcial team for SLO (system landascape optimization),
I personally would use ALE scenario to move master data from one client to another or one system to another.
if you know all the material master tables, then you can give it a try.
Before beeing too optimistic, have a look into transaction DB15, enter MM_MATNR in tables for object in the lower part of the screen. then click Show objects. finally switch the radio button to All tables
Now you see a list with all tables from which SAP reads and deletes data when you archvie a material. In general, these are all the tables that might have values for a material master.
Had you thought that it would be all these tables? -
Delivery to copy weights,volumes from material master,instead of sales ord
hi,
The weights/volumes get copied from the material master to the sales doc and from the sales doc to the delivery.
We have a issue where proper weights/volumes are not known at the order entry. thus when the new weights etc are noted, they change it in the material master.
could some one please let me know how to configure the system to take the values from the material master for these instead of the sales doc to get the weights/volumes.
that is the delivery doc should get the weight and volume from the material master(changed values)
Appreciate your help on this.
Thanks & Regards,
KeshiniHi Keshini
So , lets assume that you have created a sales order for the material MAT1 and it has Net weight 5kg & Gross weight 6kg ,Now the sales order status is open you have not yet delivered that order and you have changed the Net weight 10kg & Gross weight 14kg. So you want to update that open sales order to Net weight 10kg & Gross weight 14kg. If that is the problem then just go to VA05 and give the material (MATNR) and check the box open sales orders then you will get the open sales orders then in the menu you select to carryout the net weight & gross weight there you can change .and then you can do delivery then the updation will take place in the Net weight & Gross weight also
Regards
Srinath -
Create Characteristics in Material Master
Hello!!
I'm trying to create the characteristics and the values into a material master with FM 'BAPI_CFGINST_CHARCS_VALS_SET'..
but this function don't creates characteristics into my material master...
Have I other way to do this?:(.. I want create a Characteristic value assignment into a client -specific configuration(Configure variant)
.. i can't use this FM because it's required a batch -
Classification Table for Material Master
Hi All,
I want to identify the materials for which i have maintained the classification in Material master.
here i need to find out the class as well as characteristic values.
Any please help me how to get all these values for a material master.
Thanks in Advance
Sangramif MARA-PSTAT has a C within, then a classification view exists.
this are the tables that are involved with classification.:
KSSK Allocation Table: Object (vb.matnr) to Class
INOB Link between Internal Number and Object
KLAH Class header data
KSML Characteristics for a class (internal number)
CABN Characteristics ( o.a. batch/vendor)
CABNT Characteristics description
CAWN Characteristics ( o.a. material)
CAWNT Characteristics description
AUSP Characteristic Values
TCLAO Several class types for object
TCLA Class types ( vb. lfa1 => v10 en 010)
TCLAT Class type text
TCLT Classifiable objects
TCLC Classification status -
Replicating Characteristic Values of a Material to Equipment
Hi,
We are creating a Material Master with Classification View. In this view, we have assigned a Class (Class Type 001) with several Characteristics. Characteristic Values are also assigned to each of these Characteristics.
We are also creating Equipment Master for the above Material at the time of GR. This Equipment Master has a Class of Class Type 002. But this Class has some Characteristics that are common with the Material Master. The Characteristic Values are also the same.
Is it possible to automatically populate the Characteristic Values from the Material Master to the Equipment Master for the common ones ?
(Requirement is to search for Equipment Numbers based on Characteristic Values in the corresponding Material Master. In IH08, we are unable to do this. So is it appropriate to think of assigning the same characteristics in the Equipment Master and assign those characteristic Values? We feel that it is amounting to duplication and prone to mismatch.)
Request suggestions please.
Regards,
RajPete,
The values have to be copied when an Equipment Master is created at the time of GR and you are right ... we cannot allow modification of the characteristic values in the Equipment Master independent of the Material Master !! Both has to be in synch for those common characteristics.
I will also check with our ABAP team to explore enhancement spots in IH08.
In our case, both the material serial number and the equipment number are kept synchronous. Is there anyway where we can search Serial Numbers based on the Characteristic Values in the corresponding Material Master?
Thanks for your inputs.
Regards,
Raj -
Material value is been updated incorrectly in the material master
Hi,
In the material master for a material it has negative stock but the value displayed is in positive. I have activated negative stock for this material. This issue is occuring only for one plant and for rest of the plants it works fine as the value for the negative stock is displayed in negative for that material master.
Please suggest.
Regards
GGLThis indicator points to the customizing of picking strategies. This way SAP knows which picking strategy to take for a particular material, as the picking strategy may differ from material to material
-
MAP for the material in material master
Hi All
I have problem in moving average price of a model in material master
Example.
Material - ABC in material master
Moving average price - $10
total stock- 5 Toatl Value--$50
now i have sub con Po for material ABC(header) 10 Qty and item material DEF 10 Qty
Net price for header is Zero here. but item material price will be $10
after making the Gr for the sub con Po is the moving price of material ABC need to change as shown below or remains same.
Moving average price - $10
total stock- 510 Toatl Value--$50100
Thanks
Regards
Manjuhi,
u have done subc po for which material , its raw mat or semifin or finished
if u have created s po for semi material then, when u made gr then the material price will change as map is maintained in the material master.
but if it is finished product then the price of the material is same, bcs, standard price should be maintain in material master.
hope, this will clarify ur question,
regards,
susanta -
Return PO Price is picked up from MAP of materia master,not from info.recod
User Requirement :
When creating return po ,the price is picked up from MAP of material master ,not from info.record
I wrote a code at PO Enhancement "MM06E005" user exit "EXIT_SAPMM06E_017",but don't change the price ,pls help me check what the problem is ,thanks.
The below is my code.
DATA : M_VERPR LIKE MBEW-VERPR,
M_PEINH LIKE MBEW-PEINH,
M_MEINS LIKE MARA-MEINS.
CLEAR :M_VERPR,M_PEINH,M_MEINS.
CHECK SY-TCODE = 'ME21N ' OR SY-TCODE = 'ME22N' OR SY-TCODE = 'ME23N' .
IF I_EKKO-BSART = 'ZNB7'.
LOOP AT TEKPO.
SELECT SINGLE VERPR PEINH FROM MBEW INTO (M_VERPR,M_PEINH)
WHERE MATNR = I_EKPO-MATNR AND BWKEY = I_EKPO-WERKS.
SELECT SINGLE MEINS FROM MARA INTO M_MEINS WHERE MATNR = I_EKPO-MATNR.
TEKPO-INFNR = ' '.
TEKPO-NETPR = M_VERPR.
TEKPO-PEINH = M_PEINH.
TEKPO-MEINS = M_MEINS.
TEKPO-BPRME = M_MEINS.
TEKPO-NETPR = TEKPO-NETPR * I_EKKO-WKURS.
MODIFY TEKPO TRANSPORTING NETPR PEINH MEINS BPRME NETPR.
CLEAR TEKPO.
ENDLOOP.Hi Gunawan,
According your meaning ,I change the logic as following:
IF I_EKKO-BSART = 'ZNB7'.
SELECT SINGLE VERPR PEINH FROM MBEW INTO (M_VERPR,M_PEINH)
WHERE MATNR = I_EKPO-MATNR AND BWKEY = I_EKPO-WERKS.
SELECT SINGLE MEINS FROM MARA INTO M_MEINS WHERE MATNR = I_EKPO-MATNR.
TKOMV-KNUMH = ''.
TKOMV-KAWRT = M_VERPR * I_EKKO-WKURS.
TKOMV-KPEIN = M_PEINH.
TKOMV-KMEIN = M_MEINS.
EndIF.
But the values of the fields are not updated,I need to write the code in EXIT_SAPMM06E_017 of PO Enhancement,may you help me ,thanks.
Maybe you are looking for
-
Max authz rules in ISE 1.2 ?
Hi All, Is there any doco on what the current limit is on Auth Z rules in ISE 1.2 I have read 1.1.x had a limit of 140 authz rules. I am also considering using policy sets if that increases the total authZ rules. Cheers
-
How to make the shade for every other row?
Hi, i want the rows in my report dispalyed as: row1: gray row2: white row3: gray row4: white row5: gray thanx
-
Hello, Im trying to deploy a website with a WAR file. But when I upload my war file at my Hosting provider, it seems that my xml file isn't read(and is does work on my locale machine). I compile my war file with the following line. jar -cvf c:\scaryb
-
hello, i am trying to avoid full table scan in a query by creating reverse index on the name column in the where clause. but the optimizer still runs full table scan. What can I do? Regards, Purvi
-
Whenever i try to send a text message I get a force close message. It will not send a message to anyone. I can recieve messages just fine. I am using the standard messaging that comes on the phone. Any help would be fantastic