Customizing MD04
Hello,
I would like to customize some new column in MD04 view.
Does somebody can explain to me how to do that ?
Thanks
Hi,
Goto:
SPRO --> Production --> Material Requirements Planning --> Evaluation --> Configure MRP List / Stock/Requirements List.
Read the documntation..
=============================================================================
Programming of additional columns (Customer Exit)
You can use Customer Exit M61X0002 to program up to three columns for the individual line display and the period totals. These columns can be filled with additional data, which you can call in the lists using pushbuttons.
=============================================================================
Hope this helps..
Regards,
Siva
Similar Messages
-
Implementing BADI MD_ADD_COL_EZPS for MD04 custom column
Hi there,
I'm using BADI MD_ADD_COL_EZPS to display 3 new buttons and three new columns in MD04.
For each line item that is displayed, the custom column is filled, after the button is hit -This works fine.
My Question is:
Is there any way to limit the value that is filled into the new column so that it only appears on the FIRST line item/row?
(At the moment it is repeated all the way down the page - the new value is a material characteristic, so doesn't change, will always be the same for each line)
I've looked at all the available structures/tables in the FILL_ADD_COLUMNS method of the BADI, and none seem suitable
to determine the "first" row. (ie. something like the way SY-TABIX or SY-INDEX might be used)
Any help appreciated.
Thanks,
David.Hi Shubhendu,
in the method 'ACTIVATE_ADD_COLUMNS', you can set the flag EZ1_MODE to '1' to make the first column visible always. (it's been a while, but I think setting it to '2' makes it visible when the button is pressed.)
Same applies to EZ2_MODE for second column, EZ3_MODE for third.
look at the flags/parameters in this method, and also in FILL_ADD_COLUMNS, to fill the data.
here you need to fill structure EMDEZX_USEX1 (for column 1) etc.
The code is hit for each record displayed in MD04
Hopefully this helps you.
Regards,
David -
Custom report to get MD04 but for n materials
Dear All...
Do you know if already exist a report that show same information than the MD04?
Is needed to put several material numbers and get the MD04 information to can do sorts, filters, download to excel.
Is like the MDLD transaction but instead to print it, have the ability to save it in a excel file.
The Idea is to have a customized report that can be run by 1 or more materials and show like a "photo" on how is MD04 now.
Have you a case like this?
How I can create that report?
Any idea?BAPI_MATERIAL_STOCK_REQ_LIST gives you all data of MD04.
MD_STOCK_REQUIREMENTS_LIST_API is a FM that is called inside BAPI_MATERIAL_STOCK_REQ_LIST and returns only details of a element (when you click magnifying glass icon in MD04).
You should test both FMs in SE37 transaction providing it a material and a plant(optional), and check what import data you need.
CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'
EXPORTING
MATNR = p_matnr
WERKS = p_werks
IMPORTING
E_MT61D = wa_mt61d
E_MDKP =
E_CM61M =
E_MDSTA = wa_mdsta
E_ERGBZ =
TABLES
MDPSX =
MDEZX =
MDSUX =
EXCEPTIONS
MATERIAL_PLANT_NOT_FOUND = 1
PLANT_NOT_FOUND = 2
OTHERS = 3.
This is a little example of the FM call.
Note that function modules only receive a single material, so in your report you must call the function as many times as materials you have and store return items in internal tables before you display them. -
Display Several Sales Orders from Same Business Customer TOGETHER in MD04
Hello
In MD04 is it possible to display several sales orders from same business customer together?
For instance one business customer order bikes for two times.
The Order-No are 12912(50st by 07/08/09) and 12913(100st by 10/08/09).
Normally after runnning of MRP(MD02), the planned orders are displayed seperately in MD04.
I want to display two orders together.
The reason is if some trouble happens in Production(for Ord-no 12912) and it cannot be deliveried on schedule, however Production (for Ord-no 12913) is going without trouble, the final-products for order 12913 should move for 12912.
If you have some good solutions, please share it.
Thank you for your advice.
Regards,Hi Riyolshibashi,
Lets look at the two main scenarios, MTS and MTO.
In MTS, the general display filters are available in MD04. Standard SAP filters do not filter on 'customer'. I suspect this is because the concept would normally be illogical in a MTS environment. Planned orders do not exist to serve a customer, but to serve 'stock'. But let us not think about SAP and their logic.
SAP allows you to create customized filters, in IMG>Production>MRP>Evaluation>Filter>Define Display filter. Within this definition, under the "Addnl Selections' tab, you can tick 'Define addl selections in the transaction'. When you use this filter in MD04 display, then, one of the options available to you is to enter a specific Customer number, and then the display will only show the requirements from this customer. Since you have excluded all other customer's orders, all orders of a single customer will be displayed consecutively. Next to each other.
In the case of MTO, the 'filter-by-customer' concept makes more sense (although, not for the reason you have stated. You would have to find some manual method to convert a production order from supporting one sales order item, to supporting another sales order item. Possible but difficult). Anyway, the above mentioned customized filter would also work in an MTO environment.
Regards,
DB49 -
Custom report -extract MSEG+MKPF and MD04 Entries
Hi,
My Base requirement is to SUM up MB51 quanity values monthly and also MD04 values for same material, plant, monthly dates and upload it to a custom table .
So my code should update monthly a custom table which consists of
Material,Plant ,quantity- SEP 06,quantity-oct 06,quantity- NOV 06 ..... quantity- DEC 07.
For this I picked entries for MB51 like this & later using FM MD_STOCK_REQUIREMENTS_LIST_API to capture MD04 entries.
but with this I can get only one month at a time? What is the good way to update all entries(For all months) at a time?
SELECT MKPFMBLNR MKPFBUDAT MSEGERFMG MSEGBWART MSEGMATNR MSEGWERKS MSEG~MEINS
INTO CORRESPONDING FIELDS OF TABLE T_MKPF
FROM MKPF
INNER JOIN MSEG
ON MKPFMBLNR EQ MSEGMBLNR
WHERE MATNR IN S_MATNR
AND WERKS IN S_WERKS
AND BUDAT IN S_BUDAT
AND ( BWART = '101' OR BWART = '102').
LOOP AT T_MKPF.
MOVE T_MKPF TO WA_DATA.
AT END OF MATNR.
SUM.
T_DATA-ERFMG = T_MKPF-ERFMG.
T_DATA-MATNR = WA_DATA-MATNR .
T_DATA-WERKS = WA_DATA-WERKS.
T_DATA-BUDAT = WA_DATA-BUDAT.
T_DATA-MEINS = WA_DATA-MEINS.
APPEND T_DATA.
CLEAR T_DATA.
CLEAR : WA_DATA.
ENDAT.
ENDLOOP.
LOOP AT T_DATA.
CLEAR: V_MATNR, V_PLWRK.
MOVE T_DATA-MATNR TO V_MATNR.
MOVE T_DATA-WERKS TO V_PLWRK.
CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'
EXPORTING
MATNR = V_MATNR
WERKS = V_PLWRK
TABLES
MDEZX = T_MDEZ
EXCEPTIONS
MATERIAL_PLANT_NOT_FOUND = 1
PLANT_NOT_FOUND = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT T_MDEZ WHERE DAT00 IN S_BUDAT.
IF T_MDEZ-DELB0 = 'PldOrd' OR T_MDEZ-DELB0 = 'PurRqs' OR T_MDEZ-DELB0 = 'POitem' .
MOVE ABS( T_MDEZ-MNG01 ) TO Y_MNG01.
ADD Y_MNG01 TO X_MNG01.
CLEAR: Y_MNG01.
ENDIF.
ENDLOOP.
T_OUTPUT-ERFMG = X_MNG01 + T_DATA-ERFMG.
SELECT SINGLE MAKTX FROM MAKT
INTO T_OUTPUT-MAKTX
WHERE MATNR = T_DATA-MATNR
AND SPRAS = 'EN'.
IF SY-SUBRC IS INITIAL.
MOVE T_DATA-MATNR TO T_OUTPUT-MATNR.
SHIFT T_OUTPUT-MATNR LEFT DELETING LEADING ZEROS.
MOVE T_DATA-WERKS TO T_OUTPUT-WERKS.
MOVE T_DATA-MEINS TO T_OUTPUT-MEINS.
APPEND T_OUTPUT.
ENDIF.
CLEAR: X_MNG01.
ENDLOOP.
Regards
Praveen
Message was edited by:
PRAVEEN sHi Praveen,
Instead of picking up data from different place's, try to use single view or function module where you will get all required data.
Regards,
Amey -
Customer Order Qty not showing in MD04
Dear Sir,
Customer has booked an order for 5000 Nos of one FG. The Order is very much active. But when we see in MD04, Requirement Qty is showing (-)5000 but there is no qty coming in available qty column. Practically it should be (-)5000, as plant stock is zero. Due to this error, planned order is not coming on planning run.
I believe some thing missing in material master. As other material booked against same sales order is coming in MD04.
Can anybody help me. Full points for helping answers.
GRHi,
I think you should do what was told you by Ganesh. If planning strategy is e.g. 10, 11 the SO has only informative role, no PldOrd will be generated for it - this is MTS environment.
If planning strategy is 40 you may have PldOrd for SO based on IndReq qty&date.
In MTO environment you should 'always' get PldOrd for SO.
BR
Csaba
Edited by: Csaba Szommer on Jul 23, 2008 2:21 PM -
Customer consignment stock in MD04
Hi greetings
Is it possible to include "Customer Consignment stock" in to MD04 "Available stock" ?
Gobinathan GCustomer consignment stocks are basically not taken into account or
planned in material requirements planning.
Sales orders for the special stock 'Consignment at Customer'
(technically: SOBKZ 'V' or 'W') are not taken into account in the
material requirements planning either.
Material requirements planning in this case assumes that these
quantities are located at the customer site and should then no longer be
available for (any) requirements at the plant of the distributor.
For the same reason, the corresponding orders (technically: VBBE
records) are not taken into account in the material requirements
planning.
You can refer to SAP Note 301681 for more information. -
Customer Consignment stock displayed as available in MD04
Hi Experts,
Customer Consignment stock displayed as available in MD04
I have few stock at customer consignemnt which displayed as available qty in MD04.
Whether any parameter that controls this? some thing to do with availability check?
Pls suggest
Thanks,
Shettyclosed
-
What is the importance of the tabs like vendor and customer in t.code md04
Hi All,
what is the importance of the tabs like vendor and customer in t.code md04? Could you please explain me...
Thanks
KrishHi Krish,
In MD04,you see requirement of material.
Whenever there is Purchase order & Sales order created,you will find relevent Vendor & Customer name respectively when you go for Vendor & Customer tab. When you double click on Vendor It shows you details of Vendor.
Just try & Check it.
Hope this help you.
Regards,
Raja.
Edited by: Raja on May 7, 2009 6:13 AM -
Hi,
Is there any means by which i can see customer number in MD04 for "Unchecked Delivery".
System shows for norlam deliveries and sales order but not for UNCD.....
Please suggest iof anyone has clue.......Hi,
1. MD04, you have the Vendor,Customer Tab in the Screen- kindly select this it will show you the customer name and no.
2. The above display will be possible if we have planned for -Individual requiremet in the AVailable chck rule.
Kindly check and give me the feedback.
reg
Dsk -
Hello,
In the "MD04 - Stock/requirements list" transaction, for a customer order the date that appears is the required delivery date. Is it possible to display in its place the confirmed delivery date ?
Thank you for your help.JP,
Yes, it can be done.
Standard MD04 displays the requirements date, which is the date that MRP uses for planning. If you set the 'Fixed date & quantity' flag in the Sales order item, MRP will use the confirmed date rather than the requested date, and MD04 will also display the confirmed date.
FixedDateQty flag can be set in the appropriate sales orders manually (VA02>select Item>Goto>item>schedule lines, checkbox is on the left).
You can also cause sales orders to default to 'fixed-date-qty' flag as 'set' in IMG>SD>Basic Functions>Availabiltiy check & Transfer of requirements>Availability check>Availability check with ATP logic or against planning>Define default settings.
Remember, though, that once you set this flag, and you send confirmed date to MRP, it will no longer plan to request date.
It is generally confusing to have MD04 display one date, but have MRP plan to another. However, if you wish to do this, then ask your ABAPer's to look at the MD04 Userexits. Look at [MRP IMG|http://help.sap.com/saphelp_46c/helpdata/en/4c/72369adc56d11195100060b03c6b76/frameset.htm] select Evaluation>Configure MRP list. Here you can change the dates that are displayed.
Rgds,
DB49 -
Drill down to MD04 from custom report
Hi Abapers,
I have a custom report that drill down to MD04 when clicking on the material number.
When user now in MD04 they see all the PO, Pur req, Planned order, dep req, order reservation, etc. Then they click on filter to turn on the fitler and select 'availability based on order reservation" from selection rule drop down as they want to see only order reservation and not anything else (means PO, Pur req, Planned order, dep req).
I need to know is there is a way when we exe our custom report and click on material to come to MD04 we can only see order reservation without clikcing on filter and all that extra step i mentioned above.
Please let me know.
Thanks in advance!This is not possible without enhancement. You can drill from FS-CM into FS-CD document (click the CD doc reference in claims), but not the other way round.
- A claim object in the insurance subledger has a reference to its policy object . This allows you to see all claim related postings to a policy in the account balance display
- Additionally the sub ledger document is storing claims payment reference number. Theoretically one sub ledger document can relate to multiple claim payments (summerized in one payment reference)
- Usually the claim object in FS-CD is created as prefix + claim number, so it would not be too complicated to re-engineer this logic to build a jump back to the claims system. Better solution would be to determine the claim based on the payment reference provided -
Custom Report of MD04 with the summarized section
Hello..
Im using the FM MD_STOCK_REQUIREMENTS_LIST_API to get the MD04 data (detailed)
But now I have the request to show the summarized data of the MD04. Summarized by days, weeks and months...
do you know what FM I can use to get that information?Hello,
We did the same development to display the Stock Requirement list in Months /Days/Weeks with summerizatin of Different MRP Elements stock into report using Hierrarchical ALV concept.
Function Module :MD_STOCK_REQUIREMENTS_LIST_API will give you the data as it is avaialble in MD04 thereafter we need to summerize quantity based on MDPSX-DAT00 and MDPSX-DELKZ field
(MDPSX is the result table after executing the function module.)
Please let me know if you are not clear ...
Regards
Edited by: shishupalreddy ramreddy on Jun 11, 2009 11:31 PM -
Customizing of the days' supply in MD04/MD06
I don't see any difference with the first receipt days' supply and 2nd receipt. We need for the 1st days supply more binding information, like the PO or process order,
for the second we need assigned purchase requistions or firm planned orders. Could you please check.
*Please set the indicator for consumption based planning not on safety stock or reorder point.
Can some one give me steps how to implement the above requirement . I have gone thru the configuartion but need further help .
Regards,
SHDShahid,
You need to get your users to clarify their requirements.
I don't see any difference with the first receipt days' supply and 2nd receipt. We need for the 1st days supply more binding information, like the PO or process order,
This requirement is not explicit enough. Tell the users you need an explicit list of the items they wish to include in the calculation for first days supply. They can select from the list found in configuration (these are the only options available):
Production/Process orders
POs, shpg notifications, sched. lines, dely scheds
QM inspection lots
Firmed purchase requisitions
Firmed planned orders
Assigned planned orders
Receipt reservations
Shipping notifications
for the second we need assigned purchase requisitions or firm planned orders
This is explicit enough, but not possible. Assignment of a purchase req is not adequate to delineate. Unfirmed (but assigned) PuReqs will not be considered.
Please set the indicator for consumption based planning not on safety stock or reorder point.
Receipt days supply is configured at the plant level. It will be same whether you are using consumption based planning, or demand based planning. It is possible to have the system calculate days supply "until stock falls to Safety stock level" or "until stock falls to zero"
Once you have your lists of items that are to be included in 'first day' and "second day', go to OMIL. For items to be considered only in 'first day', enter a 1. For items to be considered only in 'second day', enter a 2. For items to be considered in both, enter an 'X'.
If you wish for the system to ignore safety stock (calculate days supply until stock falls to zero), enter 1 in the safety stock field.
Rgds,
DB49 -
Sir in MD04 when i am converting planned order to production order i am getting following message also release is rejecting :-
No valuation variant found for valuation area AMBA
Message no. C6015
Diagnosis
The system could not find a valid valuation variant for valuation area AMBA.
If the valutaion variant is not assigned to a valuation area, this will have the following effect on the valuation of the goods receipt of the finished product:
u2022 If the price control indicator in the material master of the finished product is S, it will lead to price differences.
u2022 If the price control indicator in the material master of the finished product is V, the goods receipt will be regarded as a delivery free of charge.
Procedure
Assign a valuation variant to valuation area AMBA in the configuration menu.
Can u please tell me in which tcode i have to do customization to overcome above error message.
I online wait.Dear,
You must check the maintenance of "Valuation variants for order (Transaction OPK9)", which you can also access via the Customizing path "Production --> Production orders --> Integration --> Define valuation of goods received":it may be that an assignment valuation area - valuation variant is missing."
Regards,
R.Brahmankar
Maybe you are looking for
-
When trying to update my apps on my phone, after logging in it says my account has been disabled for security reasons. I've updated my password but it still says its disabled. Any thoughts?!
-
I converted a PDF document to word. How do I unlock this document for editing?
How do I unlock a document for editing if it is in read only form?
-
Mailman stripping PDF attachment
Hi, I've enabled content filtering on a mailman list and I added the mime types application/pdf, application/x-pdf, and image/pdf to the "passable" types field in the www interface. Mailman is still stripping PDF attachments, although other mime type
-
My friend's company has a win2008 server, it an all-in-one kind of server, it's domain controller, dns, dhcp, and application server, av server. Because no IT person on site, and server's firewall is turned off, update is turn off, and it's extremely
-
Processing in STP causes out-of-sync in FCP
Mixing multitrack live band performances. After sending tracks to Soundtrack Pro for normalization, EQing, effecting etc. and round tripping back to FCP they now get out of sync with live performance video over the course of time. Doesn't happen if I