Capacity Planning : CM40 - User Exit CY190001
Hi,
I implemented project for user-exit CY190001 and activated it.
I am executing transaction CM40 with parameter "User Exit" selected and "Execute background job at once".
It creates and executes the job (RCCYMAB2) successfully. Job log says "Planning results were saved".
It seems it is not able to call user exit CY190001 code. I have several write statements and success messages just to check whether it is calling the user exit or not. But job log does not reflect any write or messages I have written in User--exit.
Can you help me to find out what I should do to activate the user-exit? Or am I missing anything here?
Thanks,
Chirag
HI,
the user-exit run olny at end of function.
see standard function module CY01_USER_EXIT_PLANNING
IF IN_FCMSG-PARAMETER3 = FC_CON_END_OF_FUNCTION.
PERFORM RESET_LOGS.
CALL FUNCTION 'CY01_USER_EXIT_1'
TABLES
IN_AFVG_TAB = WORK_AFVG_TAB.
REFRESH WORK_AFVG_TAB.
EXIT.
If you want say exactly when our user exit is used, you can put in DEVelopment system or QAlity System a message twpe X. Just for test
Rgds
Similar Messages
-
Does anyone know of a user exit to update planned order component quantity after super BOM is exploded?
Hi Julius,
I used an implicit enhancement in include LCOSDF36 under the form TRANSFER_DATA_PLANNED_ORDER. The enhancement builder allows you to change standard SAP code without creating a project via CMOD.
If you are on ECC versions of SAP you could use it. Go to include LCOSDF36 and switch 'on' the builder via the menu path.
If you are on older versions of SAP, you will have to locate a user-exit for PP. There are several of them available. You could also search right here on SDN.
Let me know if you have any other questions.
Kindly,
Salil -
Identify Orders created manually in the planning book (user exit macro?)
Hello All,
I am trying to capture the orders created manually in planning book using a user exit macro!!.
Does anyone have any Idea of how to acheive this. Main aim is to identinfy orders created manually.
Thanks in advance,
Regards,
-SriniHi,
There are no change pointers like R/3 in APO due to the live cache technology. You can how ever findout if an order is created by system or manually created. Check this [thread|Re: How to identify an order generated by heuristics run or entered manuall]
Check if you can use the BAPIs to read orders and see if they have "output-firmed". -
Problem in MRP planning with user exit key
Hi All,
I have a requirement like this..
we have 1000 FG in our plant.. out of which they want to plan only 250 FG's through MRP run collectively...when they do MRP run system should plan only these 250 FG's and also down level materials ( components ) of these 250 FG's ..
So I proposed to use user exit key in MD01 screen by activating user exit M61X0001 and these 250 FG 's are identified with a separate MRP group in material master and developed enhancement..
But when I do MRP run in MD01 with this user exit key, system only planning those 250 FG's but not planning down level materials or components of these 250 FG's.. is this standard behavior.. can somebody guide me how solve this issue..
Thanks
KumarHi Kumar,
You can use either MRP Type, MRP Controller, MRP Group in this user exit to control the MRP run. For these set of Materials you have to assign any of same value or at least differentiate these material from other material. Then only you can control the MRP by using this user exit even though if you use different MRP Group and MRP Controller. In User Exit, you may have to add your dependent material's MRP Group/MRP Controller. Make sure that these set of materials are different than all other materials.
If you don't have any plan to run MRP for other materials then as per Ajit suggestion you make that material's MRP type as "ND". But, in your business case they may want to activate the MRP for all the material not now but may be latter.
Thanks -
User exit: save PM order
Dear all,
I'm looking for an user exit that will be actived during order save. However, it seems most exits just for check, I can not change any data.
The requirement is: if user save certain order, then field function area 'CAUFVD-FUNC_AREA' is filled automatically. This fiels in the order header.
Thanks,
BenHi,
Orders
User Exits BBPK0001
Description Exit for determining the external procurement profile
User Exits CNEX0013
Description Default item category for component assignment
User Exits CNEX0026
Description Customer enhancement for general inspection of material
User Exits CNEX0027
Description Customer enhancement: Plant, storage loc. finding for comp.
User Exits CNEX0037
Description Check new component
User Exits COCCA002
Description Customer Functions for Organizational Authorization Checks (SETTLEMENT)
User Exits COI20001
Description Changing of person found
User Exits COI20002
Description Alternative procurement of HR availability data
User Exits COOM0001
Description Customer Functions for Overhead Percentages
User Exits COOPA_01
Description Customer check modules for internal orders
User Exits COOPA002
Description Customer function for master data maintenance - internal orders
User Exits COOPA003
Description User-Defined Fields in the Order Master
User Exits COOPA004
Description Customer function: Print order master data
User Exits COPCP005 (see: 1, )
Description Material Costing: User exit for material valuation (strategy U)
User Exits CY190001
Description Capacity Planning: Change order operation
User Exits COZF0001
Description Change purchase req. for externally processed operation
User Exits COZF0002
Description Change purchase req. for externally procured component
User Exits CYPP0001
Description Change sequence criteria and sequencing
User Exits ICSV0001
Description Display of geographic location data
User Exits ICSV0002
Description Automatic task determination for service notifications
User Exits ICSV0003
Description Partner selection
User Exits ICSV0004
Description Check PM object and display object information
User Exits ICSV0005
Description Determining reason for rejection - resource-related billing
User Exits ICSV0008
Description Validation of additional partner types
User Exits IWMI0001
Description User exits for SM/PM IDOCs
User Exits IWO10001
Description Create a PM sub-order
User Exits IWO10002
Description Customer check for order release
User Exits IWO10004
Description Customer check for order completion
User Exits IWO10005
Description Customer specific determination of profit centre
User Exits IWO10006
Description FCode exclusion through customer enhancement
User Exits IWO10007
Description Customer enhancement - permits in the order
User Exits IWO10008
Description Customer enhancement: Determination of tax jurisdiction code
User Exits IWO10009
Description Customer Check for 'Save' Event
User Exits IWO10010
Description Customer enhancement for determining WBS element
User Exits IWO10011
Description Customer enhancement for component selection
User Exits IWO10012
Description Priority handling on central header
User Exits IWO10015
Description F4 Help for user fields on operation
User Exits IWO10016
Description Customer enhancement to check operation user fields
User Exits IWO10017
Description Determine external order number by customer logic
User Exits IWO10018
Description User fields on order header
User Exits IWO10020
Description Automatically include task list
User Exits IWO10021
Description Automatic task list transfer when creating order from notification
User Exits IWO10022
Description Determine calendar from user exit
User Exits IWO10023
Description Service order: Change header data for advance shipment document
User Exits IWO10024
Description Service order: Changes to items for advance shipment
User Exits IWO10025
Description Finding responsible cost centre
User Exits IWO10026
Description User check on setting status 'Do not perform'
User Exits IWO10027
Description User exit: Generate user-defined settlement rule
User Exits IWO10029
Description Inclusion of bill of material in PM/SM order
User Exits IWO10030
Description Predefining the fields for the profitability segment
User Exits IWO10031
Description Hide personnel number in PM/SM order
User Exits IWO10033
Description Customer-Specific Authorization Check PM/CS Order
User Exits IWO10034
Description Operation status based on the status of capacity requirements
User Exits IWO20001
Description User exit to pass routing/task list to order
User Exits IWOC0003
Description PM/SM authorization check of ref. object and planner group
User Exits M06B0002
Description Change communication structure for purchase requisition release
User Exits MGA00003
Description Material Master (Industry and Retail): Number Display
User Exits PPCO0001
Description Application development: PP orders
User Exits PPCO0005
Description Storage location/backflushing when order is created
User Exits PPCO0023
Description Checks changes to components
regards,
Venkatesan Anandan -
Reg. User Exit for MD04 & MD05
Hi All,
The requirement is to put an Indicator 'R' in the <b>ROPInfo column</b> of transactions <b>MD04 & MD05</b> based on some criteria. Kindly guide is there any user exit using which I can update this ROPInfo Column? If not thru, user exit, is there any other way of doing the same?
Thanks & Regards,
Kiruhtika.MHi
New buttons to MD04/MD05 can be added in enhancement M61X0002 - User Exits PP-MRP Material Requirements Planning Evaluations, user-exit EXIT_SAPMM61R_001
<b>Reward points</b>
Regards -
This program copies data from one version to another version. But I wants copy data between 2 version by just changing planning secnario. So Could you please provide an user exit to achieve this functionalty. The user exit has to provide popup to prompt source and target planning scenarios as well.
Please help me to get the solutions for this issue. Thanks in advance.hi
You can try all these user exits.
MCP20026 Planning hierarchy tool: Enhancement of characteristics
MCP20025 User Exit for Saving Forecasts
MCP20024 User-Exit for Inputing forecast parameters
MCP20023 User Exit for Checking Duplicate Char. Combinations
MCP20022 User Exit for Displaying Forecast Results
MCP20021 User exit for modifying parameter when transferring f.reqts
MCP20020 User exit for reading info structure when transferring reqts
MCP20018 User Exit for Enhancing a Level of a Planning Hierarchy
MCP20017 User Exit for Influencing Key Figure Block
MCP20015 User exit to set the field names material/plant PBED
MCP20014 User Exit for Changing Line Text
MCP20013 User Exit for Once-Only Change to Planning Table
MCP20012 User Exit for Excluding Function Codes
MCP20011 User Exit for Processing Data Records to be Updated
MCP20010 OTB check in the purchase order
MCP20009 Extrapolation of Invoiced Sales for OTB
MCP20008 Order processing treatment from IDocs
MCP20007 User Exit for Customer-Defined F4 - Value Request Control
MCP20006 Exit for processing header info for download in Excel
MCP20005 User exit for authorization check in planning
MCP20004 SOP: design header information for flexible planning
MCP20003 SOP: create function code for flexible planning
MCP20001 User exit to read external data for planning table
Regards
Sajid -
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 -
hi,
i need a user exit for tcode cm40 for mass processing of the production orders which trigger while i opt for radio button dispatch.i got some exits but those are not getting triggered when i run the transaction.please suggest.You can schedule a job using following step
Step 1. Create JOB Name (Ex: PLANTWORKCENTER)
Select Overall Profile you select using normal capacity levelling in CM21
Select check box "Redefined Selection"
Select radio option "Dispatch"
Select radio option "Execute job at once online"
Select check box "Display error log"
Execute, Screen will move to CM21.
Enter here your workcenter and plant and execute.
+Note: If there is no requirement against workcenter you will see message enter yes message will displaye on screen +
Go back from the message screen.
Step 2. Make following change now on CM40 screen
Remove selection from check box "Redefined Selection"
Select radio option "Save Parameters"
Execute
Come back from the message screen
Step 3. Goto SA38 and run program "RCCYMAB2"
Execute
Enter same job name as entered in Step 1.
Save this variant with same name as JOB name.
Step 4. Schedule Job in SM36 with step for Program "RCCYMAB2" and variant created in step 3.
Execute this JOB and it will dispatch for the selected workcenter and plant. You can create such variants and execute in one job. -
User exit/ badi needed for planned order create/change,collective ATP check
Dear All,
I'm looking for a user exit/ badi which can be used for planned orders at the stage of
mass collective availability check (COMAC tcode) update; or at some other relevant stages of mass update of planned orders.
I need after collective availability check to perform the following:
1) to copy date from "total comitment" field on header tab of planned order and paste it (replace old date) to order finish date on header screen
then
2) to start a scheduling.
Very appreciate your help.
Best Regards,
Andrey
Edited by: Andrey Kruglov on Apr 15, 2010 3:06 PM
Edited by: Andrey Kruglov on Apr 15, 2010 3:07 PMDear,
Use the BAPI : BAPI_PLANNEDORDER_CHANGE
Or use the function module MD_SET_ACTION_PLAF for Schedule planned order.
and the transaction MDAC Execute action for planned order
This function module includes the following actions:
Explode BOM
Explode BOM, check availability
Check availability, only explode BOM in the case of a requirement
Check availability, do not explode BOM
Reset availability
Change planned order data
Schedule planned order
Delete planned order
Assign the key for the respective action control to the materials in the material master (MRP 4 view).
Please refer this thread,
Re: MDVP for collective orders
Regards,
R.Brahmankar -
User Exit/Badi to change the billing plan date when create sale order
Experts,
Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.Hi,
check the include MV45AFZB.
Thanks & Regards,
Sateesh. -
How to use user exit macros in demand planning?
Hi all,
I am have created an user exit macros? but then can anyone guide me how to use the abp code there in the User exit macros in demand planning.
Thanks
PoojaHi Pooja,
The ABAP code can be written inside the functional module assigned to user exit macro.
Start Transaction SMOD.Enter APODM005 in the 'Enhancement' field. Select 'Display'.
Then choose 'Components' or Shift+F11 and double-click the name of the function module.
Double-click the include contained in the function module to enter the source code.
For step by step details you can refer to SAP note 418801.
Let me know if it helps.
Regards
Gaurav -
User Exit or BADI For MRP Planning
Dear all ,
I want to Control the MRP Planning ( MD01 ) only for Demand Orders..
Tell me any User exits / Badi for that Issue..
i checked in this enchancement M61X0001, this is correct or wrong ,,,,
With Regards ,
GJHI
Possible exits
LMDR2001 User exits restr. profiles of opt. pur.ord.-based load bldg
LMDZU001 User exits in additional planning.
I hope there are no BADi's for this try for implicit enhancements if u r using ECC 6.0
Regards
Edited by: Rasheed salman on Dec 20, 2008 9:54 AM -
BPS User Exit Variable based on Planning Package Selection
Hi,
I'm implementing a SAP BW-BPS planning layout to be integrated into the CRM we user interface.
Most of the characteristic selections come from the CRM fields that need to be filled by the user when creates a trade promotion.
The charcteristic selections work (as standard) just if in the planning level I flag "Selection in Package", then in package these selections are dinamically defined from what the user select in the CRM fields at runtime.
My problem is that I have to build a BPS User Exit variable to filter, in the planning level, the proper Planning Area based on the CRM Sales Organization value.
The characteristic CRM Sales Organization belongs to whose chararcteristic the value is determined dinamically in the planning package.
Is it possible for a BPS user exit variable, set in the planning level, to catch the value of a characteristic selection made at planning package?
Many thanks for your help.
AlessandroHi Indu,
Many thanks for your answer.
I have already took a look at the document posted by you but I didn't find the solution to my problem.
This because i have to create a user exit variable that need to get the value of the characteristic selection in package.
I mean in the planning level I will have the user exit variable that restrict the planning area and, his function module, need to read, at runtime, what is the value of the characteristic CRM Sales Organization restricted in package by CRM.
So I don't have any idea to which BPS internal table I have referred to in my funcion module to catch the value of the CRM Sales Organization dinamically filtered by CRM.
Many thanks,
Alessandro -
User Exit for Planned Shipment in APO
Hi,
Pls let me know, if you know the user exit which triggers when a planned shipment is deleted in APO.
Thanks,
KumarHi,
You 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
Regards,
R.Brahmankar
Maybe you are looking for
-
For anyone who has tried to read the ICCCM
the greatest rant ever: http://lists.slug.org.au/archives/slug- - 00054.html English football hooligans -- if I want to get a short message to the other side of the field, do I use my ICCCM-based X Window PDA? no, I tell it to a random hooligan, poke
-
Re.Time Machine Question
Hi I have bought a Seagate 2TB Backup Plus drive to use with Time Machine which I bought from the Apple Online Store. Following the instructions on the Apple website, I plugged the machine in, went through the set up process and ticked the 'show in m
-
Hi, I need links / resource which will give me some information and example on how to integrate jsf and cocoon. ( i have searched with google, but not much helpful, got a few articles about integration advantages, but seldom examples). I am using jbo
-
E90 and Hands Free Car Installation
I have a problem, my car an Alfa 156 is fitted with a Nokia hands free set and this works perfectly with my old 9320i phone through the POP port. My new phone is an E90 Communicator and I wish to update my car kit to match. The E90 does not have a PO
-
How can i use some kind of authentication when some requests a socket connection to my server socket. What can i do to prevent everybody and anybody from getting a connection to it, only say someone with a specified user/password can be granted a con