Planned order changes
Dear All,
which t code i can use to see the changes done in a planned order?
Please ex[plain.
We were asking about this topic before. Actually when planned order is converted to the order production, the planned order is deleted. One option is activating log for tables PLAF (Planned Order Header) RESB (Planned Order Detail) in SE13 tx and set rec/client parameter to "ALL" or the "client number" in system profile (As to BASIS people) where you want activate logs and re-start the system to obtain the history in these tables.
The transaction where you can see the logs about changes (Planned Order Header and Details Changes) is AUT10.
Check with Basis people if there aren't problems with the system performance to activate the logs in this tables, the reason is because the RESB table has a lot of changes with the normal operations in the system in planning.
Regards,
Donald Tatun
Similar Messages
-
BAPI for AFS Planned Order Change
Dear All,
Can anybody help me out to find the BAPI for PLANNED ORDER
CHANGE in AFS. i m aware that there is a BAPI_PLANNEDORDER_CHANGE for standard SAP, but im not sure of using for the AFS , since the grid value is not handled in this BAPI.Pls give your suggestion too.
Reward points are assured.Hi Raja ,
Sorry for replying too late ..... But I guess it may be useful for other guys..
Recently I also came accross same problem . But finally I got the solution.
BAPI 'BAPI_PLANNEDORDER_CHANGE' does support AFS Data .. like Grid Value and Grid Quanity.
Just pass AFS Header Data to Import Parameter AFS_HEADER & AFS Grid Value along with changed quantity
to AFS_SKU table. You will get this data from PLAF and J_3ABSSI Table.
( Note : You also need to pass Planned Order Data & Quantity which will be total of all quantities at SKU level. )
Regards ,
Vishal Bhalsing. -
Using Planned order Change BAPI with out changing date
Hi
I have a planned order with start date in future.
With in a program, I want to call the planned order using the FM BAPI_PLANNEDORDER_CHANGE to re-explode the order BOM.
I find that only if I change the order start date to system/current date, the planned order BOM gets updated/re-exploded. Else there is no change in the order BOM.
My requirement is to re-explode the BOM with out changing the order dates. In the function module I am maintaining "X' against BOM_EXP_FIX_IND.
But when I do it manually using MD12 and explode BOM with out changing the future start date, the order BOM gets updated.
Please help on this. Or is there any other FM/BAPI for this purpose.Dear Pradeep,
you could try to set DET_SCHEDULE = X with out
FIRMING_IND --> No
BOM_EXP_FIX_IND --> No
Let me Know if it modification setting have solved your problem and i have useful for you,
Daniele -
Regarding Planned Order Changes
Hi gurus,
I have a question, it's kind of urgent.
The scenario is: If i have a demand and ran MRP, it creates planned orders, so as dep.req will be created for components, which are converted to Preq and PO's. At this point if i make changes to my demand i.e. reduce or increase the previodu demand and run MRP again, what happens to the PO's already got created?
Is there any way to tackle this scenario? i mean, user exits etc.. or any other solutions..
Thank you and waiting for your valuable responses,,
SekharSekhar,
What Abhi says is right.
But if you want an automatic solution then you need to write a program which can be executed after MRP run. You need to read the stock requirements list after the MRp run and get the excess quantity. Then check if any PRs or POs exit. If exist then include a BDC in the program to chencge the qty so that excess is made 0.
The function module which gives the STock requirements list into an internal table is <b>AUFBAUEN_MDPSX_ANZEIGEN</b>. From this table you could read the indivial line items that make the receipts and issues.
Regards
Ram -
Table for PP Planned order Change Qty
Hi,
I am making a report and in that i am also adding PP planned orders of material which are manually generated for this if plan order is manually generated in the Table PLAF filed AUFFX is set to 'X' but this indicator is also set to 'X' if system generated palnned orders are chnage in such case i want to take only change qty means if system have generate plan order for 25 and user have makde it 30 then in report as manually generated plan order qty i want to add 5 qty only , so in which table i can get those details.
regards,
zafarHi,
Can u help on this issue.
regards,
zafar -
Billing Plan: order changes possible after FAZ has been created?
Hi together,
I've got a question regarding the billing plan functionality. Is it possible to change the order in case the FAZ is already created? Everytime when I try this the system increases the down payment value and a new FAZ will be created. Even when I enter a free of charge material the system creates a new FAZ with value 0... That#s strange, isnt'it?
Thanks for your help, ChristianHi Stefen,
We can do this ...but you can not look those fields .but you can through error messgaes . this you can do from user eixts or using BADI's. write code in such manner once if document delivey after that if user want to change any data just through error messages for him.
Thanks,
saleem -
Logs or change history of planned orders
Hi,
Would like to ask if you know a transaction code that will display the logs or changes made for a planned orders. If there is a transaction code also that would display the username of the person who deleted or changed the planned order.
Thank you.
-LyncelHi,
For Planned order change - Check with Table PLAF and below fields
User
Time Stamp - This will give the last change date on which planned order has changed( For EX today 20,080,506)
However u cannot view the details of deleted planend order. Because Planned order is temp object only, once u delete, it will be deleted from PLAF table
Pradeep -
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 -
Planned Order Creation using MD_PLANNED_ORDER_CREATE
Hi ,
I am using the FM MD_PLANNED_ORDER_CREATE , to create planned order .
The start date of the planned order changes based on the factory calendar, is there some way to avoid this the FM has a parameter ECM61S used to pass the scheduling paramaters , but using that also does not help.
Can any one please suggest me some way of doing it.
Regards
ArunHi Mangalraj ,
Thanks for the details.
Even when i try to create a planned order using the transaction MD11 , if i enter 01.01.2008 , it then changes the date to a working day .
Can you provide me with some more input on the use if the parameter ECM61S in the FM MD_PLANNED_ORDER_CREATE .
Is there some setting the factory calendar where we can set it such that planned orders are created even on holidays , kindly also tell transaction to view a factory calendar.
Regards
Arun -
Hi Experts,
Is it possible to remove planned orders from Receipts in MD04?Dear Anshu,
Is your requirement not to display/show the planned order in MD04 or else delete the planned order so that it's not normally
displayed without any filter option in MD04.
1.Deleting the planned order using MD12/MD16 or else in MD04,double clcik the planned order>change icon->delete will
permanently remove this planned order from MD04.
2.Using the filter option the planned order's can be hidden/not shown in the list.
Come back with your exact requirement.
Regards
Mangalraj.S -
When I choose leadtime scheduling in MRP RUN then system does forward scheduling always.
Then in planned order change mode when i do manually do scheduling then it does backward scheduling as per settings in OPU5.
How to get backward scheduling in MRP.??Dear,
MRP do the backwordscheduling but The system always determines the basic dates for planned orders using backward scheduling.
The system automatically switches to forward scheduling if the determined start date lies in the past.For this you have to maintain 2 settings.
1)In OPPQ - Plant parameters maintain the indicator for start date in the past allow. 2) In OPU3 for your plant & order type , maintain the no. of days for start date in the past.
Hope clear to you.
Regards,
R.Brahmankar -
How to delete planned orders with partial quantities -reg.
Dear Friends,
the issue is
we are not able to delete the old planned orders in MD16 for which partial quantities are existing.
we require to delete these planned orders which are partially serviced to avoid creation of schedule lines for excess quantities.
Is there any way to delete the planned orders for which partial quantities are existing ?
is there need to change any strategy to make MRP not to consider these planned orders with partial quantities for MRP run ?
thanks
Madhu Kiran.Hi Madhu,
Are you getting any error message from MD16? if yes then please send us the messsage number with class. if you do not want that MRP to consider the planned orders then change the startegy 11 for these parts with mixed MRP indicator 1.
try this deletion from MD12 also..planned order change mode. Let us know the fresh update.
Regards
TAJUDDIN -
Reg. Mass update of Planned order components
HI all,
I have a requirement wherein I will come to know the raw material consumption from storage location only at the time of production.
Now what I am doing is before doing confirmation I am updating the storage location for particular component in the planned order change mode - md12.I am doing this because the production confirmation is happening at External system and transferred via IDOC to SAP.So I cant add the sloc at that time.
I am doing the changes to planned order one by one. On an average I am doing this for say 50 Planned orders which is time consuming
Is there any option available in SAP to do mass change to the planned order components.
Regards,
MBN.Hi MBN,
You can use the LSMW, BDC program or FM MD_PLDORD_CHANGE_COMP_ITEMS to update the storage location in planned order components.
Regards,
R.Brahmankar -
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 -
How to Change Component on a SNP Planned Order ( Just 1 time )
Hello,
We are trying to change a component on a SNP Planned Order just 1 time.
So we do not want to change the PDS since this is one time change only.
We tried changing it in R/3. Once we do that, R/3 shows new component but APO still shows dependant demand on old component ( May be because APO SNP Planned order is still connected with the PDS ) .
Then we went to APO and tried to change the component in /sapapo/rrp3. Here you can delete the old component but doesn't let me add new component.
Next thing we tried was to convert it to PPDS Order. Once converted, we went to change mode and tried to remove old component and add new component. It lets me do this. Only issue with this route is that, it puts correct start and end dates on the order dependning on the order quantity and so order moves the dates which we do not like.
Is there any other better way to fix this issue ?.
Thanks.
Ketan Doshi.This being a very unique requirement, I would use one-off approaches usually not followed. You may need to explore the use of BAPI BAPI_MOSRVAPS_CREATESNPORDER. This will help you point the source of planned order to a PPM or a PDS that you may want to create in APO system on a one-off basis. PPMs can be maintained in APO, however PDS are usually CIFed from R3. You can try to create PDS (based on the new component) in APO system only using backend tables. Try do some little research on /sapapo/curto tables to create the PDS in APO. Then use the BAPI to point the source to this new PDS. (better you also try the PPM approach since there are no issues keeping the PPM in APO)
Maybe you are looking for
-
...cannot be updated. The required file cannot be found.
I just got my 2gig iPod nano for Christmas and it works fine, i uploaded like 109 songs on it aleady and a few photos. I only connected it to my computer like twice but now when i tried to add a few more songs to it from iTunes an error occurs with a
-
Change of BP name in BP Master to have respective change in open documents
Example, there is a BP Code A0001, BP name ABC Pte Ltd. There are some sales order for A0001 with the name as ABC Pte Ltd. There is a change in the BP name to ABC Trading Pte Ltd in the Business Partner Master. Issue: 1) The open sales order still re
-
Error trying to display a report file in FDM event script
Hi I am trying to display a file (report) during an event script and receive an error "Object reference not set to an instance of an object" . The process works in version 9.3 but is generating this error during our upgrade testing on 11.1.2.2 (diffe
-
TS1503 I still get 207 Items could not be synced
I get 207 Items could not be synced everytime i try and sync
-
Sorting by date in columns cross tab report.
Hi all, I am working on a cross tab report in BI Publisher in which columns are generated dynamically in a pivot table depicting months as Jan 09 , Feb 09.... but data type is char.When displayed in pdf, columns are generated sorted alphabetically. H