Updating Material Number in PM
Hello All and Good Day
Is there a way to change the material number in the PM work order? Issue material to the work order for update, then to receive as another number from the order.... This would be for internal process only. If I have a -23 and I want to update this to a -25...can i do this in the order itself? Please advise
Thanks for your response...this is what I am wanting to do...
I have a unit in stock that is a =-23....I want to upgrade it internally on a service order to a -25....I know I can manually do the 309 movement...
but I want to receive this unit off the service order after the upgade as the upgrade unit -25
Similar Messages
-
Want to Update the Old Material Number
Hi all,
I have Old material number (MARA-BISMT) and i want to update the table - MARA in SAP, please tell me ways of updating the same.
Any suggestion welcome.
Regards,Hi,
Write a program which does the updating. In the pgm:
define 2 internal tables called it_mara and it_mara1 like mara.
select * from mara into it_mara where (give 1 condition which relates to ur requirements).
loop at it_mara.
change it_mara and move the changes into it_mara1 table.
endloop.
now it_mara1 would have all the modified entries which needs to be updated in the MARA table.
now give the "modify mara from table it_mara1" statement which updates the already existing records in the DB table.
Reward points if helpful.
Thanks,
Archana -
Material number is not populating in PO in tcode ME23N
Hi,
The material number is not populating in PO in transaction ME23N. The coloumns is displaying as blank and supressed(Gray).
This problem occured during the upgradation from 4.6C to ECC6.0.
We have checked the SPRO configuration for field selections and these are not having any problem.
Data is updated in database tabes but it is not displayed in ME23N screen.
Please advice.
Thanks,
Rakeshcheck OSS Note 492757 - ME21N/ME52N: You cannot set field selection for material
maybe it helps to solve your issue -
Update material doc.num in assignment field of GR/IR line item of a/c doc
HI Experts,
please tell me the solution for my problem
My requirement : Transaction is : MIGO
Before posting of material document, update material document number in assignment field of GR/IR line item of accounting document (WE) at number commitment stage
Update MKPF-MBLNR (Material Document Number) in BSEG-ZUONR
but already i tried AC_DOCUMENT i got a problem .
What i did,
first use MB_DOCUMENT_BADI with method
mb_document_before_update.
here i tried to get the material document and export into memory
after use AC_DOCUMENT With method
change_after_check.
here Import the material document doc num and pass it to Assignment field in
but it is not working
when i debug first trigger the AC_DOCUMENT And then it goes to MB_DOCUMENT_BADI
Plese help me regarding this.
Moderator message: please open only one thread per issue.
Edited by: Thomas Zloch on Feb 9, 2012Hi,
Thanks, I will check the same. Well, I will be clearing the documents with reference to MIGO number itself. When I do my delivery chrgs migo, that number I need to be populated in my line item's assignment field. Not only that but I the same number should get populated in the delivery charges miro. Since my miro is with ref to PO it becomes difficult to fetch the field.
Plz let me know if you can help me on this as well.
Thanks,
Priyanka. -
To fill in the material number with item category u201CBu201D for Framework Order.
The use of framework orders (also referred to as blanket purchase orders) enables you to procure a variety of materials or services from a vendor up to a predefined maximum value (the value limit).
Instead of a specific delivery date, you specify a validity period for the order.
Goods receipts or the entry and acceptance of services performed are not necessary in the case of a framework PO and limit items.
The invoices are posted directly with reference to the purchase order, provided that the specified value limit is not exceeded. When the value limit of the PO is reached, or the validity period is exceeded, the system issues a warning message. It is possible to book the invoices, but these are blocked for payment.
During the phase of service performance, the cumulative u201Cactual" values (for the services actually performed) are continually updated in the underlying purchase. This enables you to monitor the progress of a procurement project on an ongoing basis. By comparing the "actual" value with the total value, you can always obtain an overview of the degree to which a budget for unplanned services or materials has been exhausted (i.e. see whether predefined limits have been reached or nearly reached).
So with the Framework Order type (FO) and item category u201CBu201D you get the error that it is not allowed to fill in the material number with item category u201CBu201D.
Please suggest me the possible solution to fill in the material number with item category u201CBu201D for Framework Order.
Best Regards,
HarishaThe Framework order type is specialy defined for lesser value procurements (ex: stationeries, cleaning services ....) which are all not worthy to create Material Master at all.
If you are very sure to fill the Material number, then proceed with some other document type.
In what circumstances you want to put material number in FO order?
Karthi. -
How to Change Material number in Accouting Document on ML81N
Hi,
I have a requirement to change the Material Number based on the User custom data from the Custom Tab.
Since Service PO does not contains any material number, so based on the custom tab, we are trying to update the same.
Using ML81N T-Code.
Please suggest is there any User Exit or BADI to add or change the Material number in the Accounting Document.
Regards.
Praveer.You have to update the field BSEG - MATNR from your custom field to see the material number in accounting document.
There are many exit or badi available for t-code ML81N.. Just find appropriate one by using the document Methods to find Customer/User Exit's & BADi's for a Transaction Code! -
Changing material number when Process Order is released
Hello,
We have a scenario in which the material number of a process order may need to be changed after the process order is released. We will have both in process and post production inspection types assigned to this order, and both inspection lots are created at process order release. We also will have a batch number created at process order release.
When recording test results in the inspection lot before a process order has been confirmed, the users may identify that the material number should be different. We would like a way to be able to either change the material number in the process order (and inspection lots). We know this involves a lot of updates (master data changes to the existing process order and inspection lots). Currently, there is no way to transfer information to a new material number without receiving product in and performing a usage decision in the post production inspection lot to transfer to a new material number.
The client has implemented all modules, except PP (which we are in the process of now). We know that Variant Configuration would have been the right solution for this, but this is not an option since MM is already implemented.
If you have any suggestions, please reply.
Thanks in advance.Hi Prasobh,
The exact scenario is as follows:
1. A semi finished good will be used as a component to produce the finished good.
2. This semi finished good will have treatments added to it, and quality inspection will be performed as treatments are added.
3. Inspections will occur several times as treatments are added. If during one of these inspections, material is out of spec, and the blend should be transferred to another material number, we need to be able to change to another material number. To have a customization where material number is changed in all of the relevant PP and QM tables seems risky.
This is why we can't really use material classification. We also do not have the option to use VC bc the MM module is already implemented.
Thanks. -
Updating Batch Number while delivery creation from sales document
Hi Experts,
I have to write code inside user exit MV50AFZZ which updates batch number during delivery creation. Suppose I have a sales having more than one line items. Each line item have different material numbers, and one material number may have more than 1 batch number. And all these batch numbers have to be updated for their corresponding material numbers. Batch number corresponds to LIPS-CHARG. So how we can maintain values for this field more than once for a particular material number?Hi Pankaj,
Were you able to update the Batch Number?
What is the function Module that you used? and where exactly did you code in the logic?
Thanks,
RV -
How to modify material number in MM01
Hi Guru,
I want to modify material number in MM01 according to the material group selected by the user. For example if material group 100 is selected, the material number should be 100xxxxx, 200 is selected, number should be 200xxxxx. I tried coding in user exit MGA00001, everything is fine except the classification view was not updated by the generated material number. How can I achieve this?
Thanks a lot,
Tony.Hi,
You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
how to restrict material master by material type t-code MM01
Hope this helps!!
Regards,
Raghu -
Hi Gurus,
For ROH materials, we have our own material numbers and if we take printout of po's our material code is being printed. But our vendor requires their material number reference to be printed.
is it possible? if yes where to do that.
Regards,
narasyou can configure Manufacturer Part Number (MPN) functionality.
Step 1 -
In customisng under Lo General - Material Master - You have to create a MPN profile.
Step 2 -
Create normal material under material type ROH or Traded as required. Under purchasing tab , maintain MPN Profile,Manufacturer's part number(Vendor material number) and Manufacturer's code.(Vendor Code)
This is a material in which you will maintain stock, use in BOM etc. This is your internal material number. This number will not be used in the PO.
Step 3
Create a new material each for your alternative materials under Material type HERS. Under this you will create material which is supplied by your vendor.In this material you will link the internal material number as created in step 2 above.
Step 4
Create a PO by using material number created under material type HERS.
Step 5 - Do a GRN
MPN process works like this :
Order is created for HERS material but whenever you will do GR against this PO, stock and other reports will get updated under material code created in step 2 i.e normal material created under material type ROH or traded. Thus HERS material is used only for ordering purpose. -
Hi All,
I want to understand one thing in procurement of an item without a material master record. When an item is purchased without a material master record using the material grp and account assignment in the PO does it make any difference to the inventory value/qty? If yes, where can i check it in the system?
Secondly can I buy services like this? Lets say I have material description as "Overhauling of machines" , UOM as hrs and a material grp created for services. Will this be the same as procurement of services with item category D. With item category D in PO there will be an advantage of creating a service entry sheet, but other than that is there any other advantage? or is the process of procuring services without mat master and without item category D completely wrong?
Regards,
V SAnswer to first query :
When the material is procured without Material number you will have to use Account assignment like K which is cost center , which means that you are procuring material for cost center and hence this material will not be stored in the inventory so there will be no effect in qty and prices for this material posting .
If you perform procurement via services again there will no stock quantity/ value update in Inventory . However FI will be posted .
These two are different business procedures, 1st one relates to Material for which units will EA , PC etc however Services have unit like Hrs, days etc
You have to decide if you can address your business with services option . But if you are dealing with Materials then better to use first option.
Rgs
SB
Edited by: Shashank Balooni on Mar 8, 2011 3:43 PM -
New validation - don't inform material number when creating
Hello!!!
I'd need to create a validation in order to avoid informing the field 'SAP Material number' when creating a new entry in MDM Data Manager for specific material types (material type is a lookup field which has two values, let's say 1 and 2).
For material type 1, we need to inform, when creating the entry, the material type 1, supplier name and supplier reference, but not the SAP material number, as it comes informed through an interface from SAP R/3.
For material type 2, we only need to inform the SAP material number.
Could you guide me on how to do this validation?
Thank you,
Carlos Santamaría.Hello,
The data flow is as follows:
There are two scenarios, one for Goods:
1. Add new record into the Data Manager.
2. Inform field 'Material type' (lookup field) Goods.
3. Inform field 'Supplier name' (lookup field).
4. Inform field 'Supplier reference' (text field).
5. Field 'SAP material number' must be left EMPTY when creating the new record. Once it's created, there is an interface from SAP R/3 which updates through ABAP API the records, informing the SAP material number and other fields informed in SAP R/3.
The validation should avoid that the user informs the material number when creating the new record.
Second scenario is for Finished Goods:
1. Add new record into the Data Manager.
2. Inform field 'material type' (lookup field) Finished goods.
3. Inform field 'SAP material number' (text field).
4. Optionally it is possible to inform Supplier name and Supplier reference, but it's not always inform.
There is already a validation rule that force the user to inform 'Supplier name and supplier reference for Goods, and for Finished goods it's mandatory to inform the SAP material number.
There is another field which is 'Unique key' which is a calculated field and it's composed by SAP material number + Supplier number + Supplier reference.
Our problem is to avoid that the user informs the SAP material number only for Goods. If the user does it, the interface will not work as it is designed.
Thanks for your feedback. -
Updating Material and Total Quantity
Hi All,
We have a scenario in ISA7.0 B2B scenario , where we have certain products,say product1....then we have to configure the product and in configurations we select say material 1 and enter some Total Qty value as x, complete the configurations and then come back to order.jsp page.
Now if we go and update the details, say change material to material2 and and Total Qty to y, and come back to order page.
the Total Qty is getting updated but material number remains material1. When we check in configuration page, it shows material2.
Is it problem in the custom java coding done with sessions or some SAP standard functionality, where material value cant be modified?
Please share your inputs on to how to debug this issue from both the sides.
Thanks,
AmanThanks PS for the reply.
But I want to implement it for blanket purchase agreement.
Currently the system is allowing to release quantity more than agreed quantity.
My Query is as follows:
Condition:
0<(:PO_SHIPMENTS.QUANTITY-(
select((select quantity_committed from po_lines_all where
po_header_id =:PO_SHIPMENTS.PO_HEADER_ID
and po_line_id =:PO_SHIPMENTS.PO_LINE_ID
(select sum(quantity_ordered) quantity_committed from po_distributions_all where po_header_id =:PO_SHIPMENTS.PO_HEADER_ID
and po_line_id =:PO_SHIPMENTS.PO_LINE_ID
))qty from dual
Regards
Sunny -
Update Customer number for an equipment
Dear All,
Can we update customer number for an equipment using any BAPI?
Please Check T-Code IE02, Other tab.
Thanks
AmitThanks Babu.
Here is the error message and message #
Serial number XXXX does not exist for material YYYYYY
Message no. IS137
Diagnosis
The serial number that you have entered for the material does not exist in your system.
System response
Processing will not be continued.
Procedure
Enter a valid serial number.
You can display the entries valid in your system by placing the cursor on the appropriate field and using the symbol for possible entries.
Thanks and Regards -
Bapi or Function Module to update Material Master Data
Hi Friends,
could anyone let me know any BAPI's or Function Modules for Material Master UPdate.
Thanks in Advance
Regards
Tinahi Tina,
check this BAPi BAPI_MATERIAL_SAVEDATA to create and change the material master .
Try ....
BAPI_MATERIAL_SAVEDATA
REPORT Z_BAPI_MAT.
STRUCTURE DECLARATIONS *
TABLES: BAPIMATHEAD, "Headerdata
BAPI_MARA, "Clientdata
BAPI_MARAX, "Clientdatax
BAPI_MARC, "Plantdata
BAPI_MARCX, "Plantdatax
BAPI_MAKT, "Material description
BAPIRET2. "Return messages
DATA:V_FILE TYPE STRING.
DATA:
BEGIN OF LSMW_MATERIAL_MASTER,
MATNR(018) TYPE C, "Material number
MTART(004) TYPE C, "Material type
MBRSH(001) TYPE C, "Industry sector
WERKS(004) TYPE C, "Plant
MAKTX(040) TYPE C, "Material description
DISMM(002) TYPE C, "Extra Field Added In the Program as itsrequired
MEINS(003) TYPE C, "Base unit of measure
MATKL(009) TYPE C, "Material group
SPART(002) TYPE C, "Division
LABOR(003) TYPE C, "Lab/office
PRDHA(018) TYPE C, "Product hierarchy
MSTAE(002) TYPE C, "X-plant matl status
MTPOS_MARA(004) TYPE C, "Gen item cat group
BRGEW(017) TYPE C, "Gross weight
GEWEI(003) TYPE C, "Weight unit
NTGEW(017) TYPE C, "Net weight
GROES(032) TYPE C, "Size/Dimensions
MAGRV(004) TYPE C, "Matl grp pack matls
BISMT(018) TYPE C, "Old material number
WRKST(048) TYPE C, "Basic material
PROFL(003) TYPE C, "DG indicator profile
KZUMW(001) TYPE C, "Environmentally rlvt
BSTME(003) TYPE C, "Order unit
VABME(001) TYPE C,
EKGRP(003) TYPE C, "Purchasing group
XCHPF(001) TYPE C, "Batch management
EKWSL(004) TYPE C, "Purchasing key value
WEBAZ(003) TYPE C, "GR processing time
MFRPN(040) TYPE C, "Manufacturer part number
MFRNR(010) TYPE C, "Manufacturer number
VPRSV(001) TYPE C, "Price control indicator
STPRS(015) TYPE C, "Standard price
BWPRH(014) TYPE C, "Commercial price1
BKLAS(004) TYPE C, "Valuation class
END OF LSMW_MATERIAL_MASTER.
INTERNAL TABLE DECLARATIONS *
*to store the input data
DATA:
BEGIN OF it_matmaster OCCURS 0.
INCLUDE STRUCTURE LSMW_MATERIAL_MASTER.
DATA:
END OF it_matmaster.
*for material description
DATA:BEGIN OF IT_MATERIALDESC OCCURS 0.
INCLUDE STRUCTURE BAPI_MAKT .
DATA:END OF IT_MATERIALDESC.
*to return messages
DATA:BEGIN OF IT_RETURN OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
DATA:END OF IT_RETURN.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-002.
PARAMETERS:P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1 .
AT SELECTION SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
TO UPLOAD THE DATA *
START-OF-SELECTION.
V_FILE = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = V_FILE
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = IT_MATMASTER
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA POPULATIONS *
LOOP AT IT_MATMASTER.
BAPIMATHEAD-MATERIAL = IT_MATMASTER-MATNR.
BAPIMATHEAD-IND_SECTOR = IT_MATMASTER-Mbrsh.
BAPIMATHEAD-MATL_TYPE = IT_MATMASTER-Mtart.
BAPIMATHEAD-BASIC_VIEW = 'X'.
BAPIMATHEAD-PURCHASE_VIEW = 'X'.
BAPIMATHEAD-ACCOUNT_VIEW = 'X'.
BAPI_MARA-MATL_GROUP = IT_MATMASTER-MATKL.
BAPI_MARA-OLD_MAT_NO = IT_MATMASTER-BISMT.
BAPI_MARA-BASE_UOM = IT_MATMASTER-MEINS.
BAPI_MARA-BASIC_MATL = IT_MATMASTER-WRKST.
BAPI_MARA-MFR_NO = IT_MATMASTER-MFRNR.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-OLD_MAT_NO = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-BASIC_MATL = 'X'.
BAPI_MARAX-MFR_NO = 'X'.
BAPI_MARC-PLANT = IT_MATMASTER-WERKS.
BAPI_MARC-PUR_GROUP = IT_MATMASTER-EKGRP.
BAPI_MARCX-PLANT = IT_MATMASTER-WERKS.
BAPI_MARCX-PUR_GROUP = 'X'.
IT_MATERIALDESC-LANGU = 'EN'.
IT_MATERIALDESC-MATL_DESC = IT_MATMASTER-MAKTX.
append IT_materialdesc.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = BAPIMATHEAD
CLIENTDATA = BAPI_MARA
CLIENTDATAX = BAPI_MARAx
PLANTDATA = BAPI_MARc
PLANTDATAX = BAPI_MARcx
FORECASTPARAMETERS =
FORECASTPARAMETERSX =
PLANNINGDATA =
PLANNINGDATAX =
STORAGELOCATIONDATA =
STORAGELOCATIONDATAX =
VALUATIONDATA =
VALUATIONDATAX =
WAREHOUSENUMBERDATA =
WAREHOUSENUMBERDATAX =
SALESDATA =
SALESDATAX =
STORAGETYPEDATA =
STORAGETYPEDATAX =
FLAG_ONLINE = ' '
FLAG_CAD_CALL = ' '
IMPORTING
RETURN = IT_RETURN
TABLES
MATERIALDESCRIPTION = IT_MATERIALDESC
UNITSOFMEASURE =
UNITSOFMEASUREX =
INTERNATIONALARTNOS =
MATERIALLONGTEXT =
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
WRITE:/ IT_RETURN-TYPE,
2 IT_RETURN-ID,
22 IT_RETURN-NUMBER,
25 IT_RETURN-MESSAGE.
IT_RETURN-LOG_NO,
IT_RETURN-LOG_MSG_NO,
IT_RETURN-MESSAGE_V1,
IT_RETURN-MESSAGE_V2,
IT_RETURN-MESSAGE_V3,
IT_RETURN-MESSAGE_V4,
IT_RETURN-PARAMETER,
IT_RETURN-ROW,
IT_RETURN-FIELD,
IT_RETURN-SYSTEM.
ENDLOOP.
Regards,
Naveen
Maybe you are looking for
-
Download Dialog Box, From JSP
I have sucessfully written a JSP page which allows the user to download a binary file to there drive, all that works fine. However the initial diag box that comes up in windows, prompting you to save, open, or cancel has the name of the jsp page inst
-
DW CS4 drop-down issue - maybe browser issue?
http://prosol1.com/employment2.html Hi - I put this drop-down thing together using JS and DW. The Training expand and collapse seems to work for me in Chrome and IE but 2 other people tell me it's not working for them. Does anyone have any idea what
-
How to use Essbase @RETURN function to displayed messages in 11.1.2.1
Hi, I found Business Rule support Essbase @RETURN function in Hyperion Planning 11.1.2.1 new feature. If I create a simple BR for planning app as below: "@RETURN("test return message" , WARNING);" The validation returns error and BR can not be deploy
-
Does the keyboard matter?
I have a 1.33 Ghz G4 12". One of my keys broke off(along with the hinges) and I want to replace the whole keyboard. I'm getting very different information on whether or not which keyboard is compatible. Does it matter what keyboard I buy, as long as
-
Trouble with Cross Fade Transition
CS4 PPro. Sometimes when I use a crossfade from a black video to my action video and then render it I get this problem. Can anyone explain this and is there a work around. It happens with a Black Matte also. I suspect it's hardware related. Here is a