Screen exit in planned order md12,md13
Hi all,
I have a requirement to add custom fields to planned order (md12). I have found BADIs for the same but nothing suits for my requirement. Anyone can help ?..
thanks and regards
Jijo
Hello,
Try with this user-exits.
Exit Name Description
LMDR2001 User exits restr. profiles of opt. pur.ord.-based load bldg
LMDZU001 User exits in additional planning
Similar Messages
-
Hello all.
I have been search for a user exit in planned orders that allow me to define some code in it to triger some changes. this user exit should be at time of planned order is saved.
I have already search in this forum and I found out how to find the user exits by transaction. I have tried for transaction MD12 but did not found any suitable user exit.
Does any one know any user exit that could make my life easiser
thanks
Manuel AntonioYou can try the following BAdIs:
You can use the Business Add-In (BAdI) MD_PLDORD_CHANGE to change, before posting, data from planned orders, which have been created, changed, or deleted as a result of planning a material or manual processing.
The Business Add-In allows you to fill and change fields from planned orders in the PLAF table. It also supports filling of customer-specific fields in the customer include CI_PLAFDB.
You can execute the Business Add-In in the planning run in the following areas:
Material requirements planning
Master production planning
Long-term planning
You can also carry out the Business Add-In in all applications, which execute manual planned order changes. Examples of this kind of application are:
The dialog transactions for creating and changing planned orders (MD11, MD12, MS11, MS12)
The Business Application Programming Interfaces (BAPI) for creating and changing planned orders
all applications that explicitly or implicitly create or change planned orders, for example the planning table of repetitive manufacturing, repetitive manufacturing confirmation, capacity planning, assembly order processing and so on.
Requirements
When planning a material or manually processing a planned order, you must change individual fields in the planned order or provide entries for customer-specific enhancements of the planned order structure.
Standard settings
The Business Add-In is not active in the standard.
The Business Add-In cannot be used multiple times.
The Business Add-In is not filter dependent.
Activities
To activate the Business Add-In, you must create an active implementation. To do this, choose the following path in the SAP Menu: Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Implementation
For more information about this procedure, see the SAP Library under
Basis Components -> ABAP Workbench -> Changing the SAP Standard -> Business Add-Ins -> Implementing Business Add-Ins.
Further notes
Documentation on the BAdI method CHANGE_BEFORE_SAVE_MRP
Documentation on the BAdI method CHANGE_BEFORE_SAVE_MAN
You can also call the documentation on the BAdI method via the menu, by carrying out the following steps:
1. Choose the tab page Interface.
2. Double-click on the relevant method.
3. Click on the right mouse button and choose Component documentation.
Update Planned Orders (MD_PLDORD_POST)
Use
Application components: PP-MRP, PP-MP-MPS, PP-MP-LTP, PP-REM
Function group: M61P, M61U
You can use the Business Add-In (BAdI) MD_PLDORD_POST to further process data from planned orders, which have been created, changed or deleted through the planning of a material or as a result of manual processing.
The Business Add-In allows you to publish the created and changed data from planned orders and can be used to update customer-specific tables or to connect to information systems and workflows.
You cannot use the methods of the Business Add-In to change the planned orders themselves. The planned orders are always posted in the communicated form.
You can execute the Business Add-In in the planning run of the following areas:
Material requirements planning (PP-MRP)
Master production planning (PP-MP-MPS)
Long-term planning (PP-MP-LTP)
You can also execute the Business Add-In in all applications, which carry out manual planned order changes, for example:
The dialog transactions for creating and changing planned orders (MD11, MD12, MS11, MS12)
The Business Application Programming Interfaces (BAPI) for creating and changing planned orders ( PlannedOrder Create, PlannedOrder Change)
All applications that explicitly or implicitly create and change planned orders, for example the planning table of repetitive manufacturing, repetitive manufacturing confirmation, capacity planning, assembly order processing, and so on.
Standard settings
The Business Add-In is not active in the standard.
The Business Add-In can be used multiple times.
The Business Add-In is not filter dependent.
Activities
To activate the Business Add-In, you must create an active implementation. To do this, choose the following path in the SAP Menu: Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Implementation
For more information about this procedure, see the SAP Library under
Basis Components -> ABAP Workbench -> Changing the SAP Standard -> Business Add-Ins -> Implementing Business Add-Ins.
Note that the Business Add-In can be used multiple times and therefore all active implementations are called and run through.
Example
The following is a possible use for the methods of this Business Add-In:
When planning a material or manually processing planned orders, you want to log the changes made to the planned orders or the triggered subsequent functions.
The subsequent processing of certain planned orders or individual data from the planned orders occurs in an external planning system. In this case, you can log the corresponding changes to these planned orders in a user-defined table during planning. Using a separate report, you can select the data from the log table and process it further.
Further notes
Methods
Update Planned Orders: Requirements Planning - POST_AFTER_SAVE_MRP
Update Planned Orders: Manual Processing - POST_AFTER_SAVE_MAN
You can also call the documentation on the BAdI method via the menu, by carrying out the following steps:
1. Choose the tab page Interface.
2. Double-click on the relevant method.
3. Click on the right mouse button and choose Component documentation.
Regards
Ram -
User exit during planned order to production order conversion
Hi,
Let me know if there is any user exit during planned order to production order production.
Regards,
YogeshDear
You can try the following :
1.PPCO0001 /PPCO0007 /PPCO0012
2.BADI workorder_update
3.Check in SMOD or CMOD and enter PPC* -you will find all the related user exit
Hope this helps
Regards
JH
Edited by: Jiaul Haque on Oct 21, 2010 10:55 AM -
Hi,
What is the function of 'assign version' from the list of 'edit' in MD12 - change planned order.
Is there a way to change the BOM revision level assigned by MRP run?
Currently MRP assign the most recent revision level to a planned order, and I would like to be able to change it to a previsious revision level.
Thanks
Lin-Lin LiHi,
"Assign Version" is like the reading Master data in Planned Order.
Now try this. in your Pl. Order Change Screen, slect Master data Tab pag.
Then try the "Assign Version", your BOM details in the lowerpart of the screen vanishes.
You will get the message saying "Explosion data has changed, please re-explode" if you confirm this by Pressing Enter.
Then the BOM details dat will go off and you can select another PV.
Otherwise directly you can change the PV in the entry screen itself.
Hope this helps..
Regards,
Siva -
Lock/ disable field in planned order MD12
Dear expert,
Can we lock the field in planned order? In my case, I want the purchasing staff to be able to change only the production version, for others field i want them to be locked. Therefore the purchasing cannot change any fields in there except the production version.
this is due to the need for material subcon.
Maybe u can give any advice. what should i do?? do i need to make new customizing t-code for ex: ZMD12 or just make new customizing from authorization t-code su3?
Thanks
PaulineDear Pauline,
Check in SE93,by creating a new T Code ,with the start object as Transaction with variant.
Transaction type: Variant transaction
In the SAP Reference IMG, under "Basis Components" -> "Application Personalizaion" -> "Tailoring of Application Transactions", you can define transaction variants. These allow you to preassign values to fields within a transaction, define field attributes, or hide entire screens.
To run a transaction variant, you define a variant transaction. On the next screen, enter the name of the transaction and the name of the variant.
Note
Variant transactions are client-specific.
If you try to start a variant transaction and the corresponding variant does not exist, the transaction runs without a variant.
If the above does not helps you means,check this link to explore more,
Transaction variant
Regards
Mangalraj.S -
Debug CIF - ECC inbound - User exit CIFORD03 - Planned order to process ord
Hi
While Converting planned orders to process orders from APO to ECC, queues are not getting stop in Inbound ECC.. even after setting CIF user as dialog user and maintaining both CIF user and my user ids in /sapapo/c4 to block queues. maintained the same in ECC CIFGPARAMV table. Outbound queues are stopping in APO, but not able to debug APO outbound queues...
I want to debug user exit CIFORD03 (EXIT_SAPLCORD_005 ) in ECC . Please reply.
Thanks
SreeniHi Sreeni,
The setting in /sapapo/c4 against your user ID would be relevant in this case.
Debugging should be on, and use detailed logging. Also, your RFC user ID should be a dialog user ID or a Service user ID.
Did you make sure that your user ID and the RFC user ID 'in R/3 for APO' have sufficient debug authorizations (including queue debug authorizations)?
(You can find out the RFC user in SM59 in APO against the RFC connection that you have for R/3. )
You should then see a queue stuck in R/3 inbound, where you could enter in debug mode.
If you go to SMQR in R/3, and see a queue called CF, then it's also possible to deregister this CF queue, and then queues will get stuck in R/3 inbound. You could then use this queue for debug if you have sufficient debug authorizations including queue debug.
Thanks - Pawan
Edited by: Pawan Pathak on Feb 16, 2012 1:32 PM -
Is the Screen Exit for SALES Order
Hi,
I want to add Two Fields in the SALES ORDER. Can any tell me exit for to add new fields in VA01.
Thanks
Regards
PrashanthYou cau use the screens used in the tabs (header and item): additional data B.
In these tab screens exit are called, in these screen you can insert your fields.
The screen are:
SAPMV45A8309, Sales Document Header - User Exit Header
SAPMV45A8459, Sales doc. Item - User exit item
Use screen painter to change them. (transaction SE51) -
Hi All,
I have added three fields in Additional tab 'B' in the Header level of Sales Order (VA01) Transaction screen exit (SAPMV45A - Screen no: 8309). But my problem is i am unable to see the fields in the header level of VA01 transaction after activating the screen. Please suggest me how to display the fields in the header level of VA01 Tcode.
Thanks,
SantoshHi Santosh,
We usually do assign a User exit to a Project & activate.
Just follow the nice link on Wiki for User exit assigning to a project.
[Customer Exits (CMOD) |http://wiki.sdn.sap.com/wiki/display/ABAP/CustomerExits%28CMOD%29]
Regards
Abhii -
I want to add an field in additional data B screen of VA03 .
Pls help with some screen exit.Hi Shivram,
you can add your field in Sales Order Screen Additional Tab B (Program:SAPMV45A and Screen No:8309)
and Following user-exits could be used for validating the field and modify field content:
 MV45AOZZ User-modules PBO (Process Before Output)
 MV45AIZZ User-modules PAI (Process After Input)
 MV45ATZZ Data Definitions
 MV45AFZZ Subroutines
Thanks and Regards,
pavankumar -
Need to create screen exit for Sales Order Transaction
Hi all,
I need to show some additional data on 'ADDITIONAL DATA B' tab of the sales order transaction... I have created a project but not able to get the enhancements that are to be used...
Will be really very heplful if you let me know, which one to use also why to use it...and how to determine which enhancement is to be used.... As i am new to User Exits...Hi ,
Check out this exits.
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
SDAPO001 Activating Sourcing Subitem Quantity Propagation
Check some of badi .
Please reward if useful. -
Screen exit in purchase order MM06E005
Dear Experts.
I have implemented a USER EXIT (MM06E005) to tcode ME21N at header level (Add new tab and one field in it) and respective field getting updated in the table EKKO.
But my problem is that field is not display at ME23N transaction.
So please give me some idea or some code to solve this problem.
Good answers will be rewarded.
This was the suggestion given in earlier thread.
If sy-tcode = '<TCODE>'.
loop at screen.
if screen-name = <FIELDNAME>.
screen-input = '0'.
modify screen.
endloop.
endif.
I have tried using this piece of coding also, but still it is not working. Plz help me in this regard. Its very urgent.
Valid points are suitably rewarded.
thks in advance,
nagarajanHi Nagarajan,
Please go through this link.,
http://www.****************/Tutorials/ExitsBADIs/MM/MM01.htm
In this link you will be finding some piece of code where you can find the required field to be displayed in display mode in MM03. I think this would help you.
Cheers,
Swamy Kunche -
Problem in screen exit for Production Order
Hi ,
Created a screen with one field RESB-POTX1 and called it from dictioanry directly so the field defaultly assigned as RESB-POTX1. As it is a item text field and am creating in header level screen .
in PAI functional module exit am capturing value for this field enter by the user and updating directly to RESB table but the problem is while retreiving data in CO03 am not getting value for this field .
In PBO when i pass value from varaible ( got through from RESB ) directly like RESB-POTX1 = l_potx1 ( variable )
it throws an error resb-potx1 not declared . but i declared as tables : resb in pai exit .
as am updating directly resb am not created in field aufk structure ...how to pass this valuehi,
if u want to add new fields in the transaction, this is sample code for CNEX0006 enhancement.
First create a project in cmod and attach the enhancement CNEX0006 to the project.
1.go to se11 and in the PROJ table u will find ci_proj include , in this add ur custom fields.
2.go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose Dict./Program fields and drag and drop in the screen .
3. if u want to write any logic before the screen is displayed do it in PBO.
4. now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic
move-corresponding sap_proj_imp to proj.
5.4. now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic
move-corresponding proj to cnci_proj_exp.
Activate the project .
Hope this helps
Regards
Syed -
How to activate batch field in Planned Order
Hi all Gurus,
My customer asked me to activate batch field in Planned Orders (MD12) so that they can enter batch number before converting planned order to production order. By entering a variant in the table I could make it display in the table but not in change mode.
Is it something to do with screen variant or do you have any suggestions?
Thanks in Advance
Sree...Hi,
Please maintain following config...
1. Go to Production --> Material Requirements Planning --> Procurement Proposal --> Planned Orders --> Define Layout for components list.
2. Then go to Field Selection Profile. Select the profile and click on profile field selection fields
3. Click on Change Field Selection and Select Batch or any other required field. Save the changes.
This should work, pl come back to me in case you have any further doubts.
Regards,
Gaurav -
Hi,
What is the table to find the scheduled start time and the scheduled finish time in the planned order MD12.
ThanksDear Bakkali
Please use Table PLAF. This will give all the required data for planned order.
Regards
Amit Parkhi -
Remaining capacity requirements scheduled for operation in Planned Order
Hi all,
I'm workig with planned orders, and I need the "Remaining capacity requirements scheduled for operation" data to list it in a Z Report, but I don't know how to get it.
You can see the info in the "Detail Scheduling" of the planned order in MD13.
Anyone knows how to get the info? Any table or any FM to get it?
Points will be given for helping
Thanks in advance!Did you ever find out where the planned order capacity information lives? I can find the production capacity information in table KBEZ, but it appears that there is no planned order info there.
Thanks,
Matthew Bruckner
Maybe you are looking for
-
Error 102 when trying to download OS X 10.8.5, Help!
I am using a Macbook Pro 8,2 on 10.8.4 When attempting to download and install the 10.8.5 update via the Mac App Store, I receive an error 102 before the download will begin! I even tried to download the update directly from the Apple support site on
-
Could I wirelessly connect my mac to a big screen TV using AirPort Express? Could I use a USB to VGA (or HDMI but thats probably too much info) and hook it up to my TV?
-
Am trying to see what happens when user fills in adobe form and clicks submit. What will be sent back to server? Filled PDF or XML? If its XML, does it get stored on the user's machine in some temporary files?? If not, atleast where does it get store
-
My computer won't let me burn pictures to a disc. I have pushed the icon that says Share, then burn to disc, then select all. Now I don't see anything to start burning to my CD R disc. Can someone help this Grammi? I have a 700-027c Envy HP
-
Error message when trying to publish web pages
Hi, I had a problem with some "older" pages not loading pictures on each page. Someone suggested I try "publish all" and now I get this error message: Publish Error An error occurred while publishing file "/web/.Temporary Web Resources/F9C31143-DADE-