Enhancement/ BADI for Planned Order Routings CA01/ CA02
Hello Experts,
The reqt. is
An iDoc should get generated in SAP each time a Planned Order routing is: Created/ Updated/ Cancelled
The iDoc generated should contain Planned Order attributes plus the routings.
I am extending Idoc type LOIROU02 adding a custom segment with a field for Work center.
Now where to populate value for this newly added field?
Any Userexit/ enhancement/ BADI is available for this?
PS: There is no Userexit for this as far as I know.
Please help. Its urgent.
Hi Sharah,
Welcome to scn.
[Extension|http://help.sap.com/saphelp_45b/helpdata/en/35/b0e82c87a62488e10000009b38f9b7/frameset.htm][Process to extend idoc|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80677e5d-dc79-2c10-b7bb-a7e99767c8f6?QuickLink=index&overridelayout=true]
Regards,
Madhu.
Similar Messages
-
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 -
Hi Gurus,
I have to caculate the volume discount based on the goods ordered. So that i have to calculate the discount and update it into Net value in condition tab in va01. Please provide the what is the BADI for that suitable requirement so that it should be executed before saving the order. And also the discount should be displayed in the item level. Please provide me some suitable solution.
<b>Its Very urgent.</b>
Points will be awarded
Regards
RaviHi
Use the Std Include MV45AFZZ for writing the user exits related Sales order
which is a include in the std sales order program SAPMV45A
Write the code in the appropriate FORM..ENDFORM.. and see
see further the following Exits and BAdis for Sales order
Enhancement
V60F0001 SD Billing plan (customer enhancement) diff. to billing pla
V46H0001 SD Customer functions for resource-related billing
V45W0001 SD Service Management: Forward Contract Data to Item
V45S0004 Effectivity type in sales order
V45S0003 MRP-relevance for incomplete configuration
V45S0001 Update sales document from configuration
V45P0001 SD customer function for cross-company code sales
V45L0001 SD component supplier processing (customer enhancements)
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45E0001 Update the purchase order from the sales order
V45A0004 Copy packing proposal
V45A0003 Collector for customer function modulpool MV45A
V45A0002 Predefine sold-to party in sales document
V45A0001 Determine alternative materials for product selection
SDTRM001 Reschedule schedule lines without a new ATP check
SDAPO001 Activating Sourcing Subitem Quantity Propagation
Business Add-in
BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073
BADI_SD_V46H0001 SD Customer functions for resource-related billing
<b>Reward points for useful Answers</b>
Regards
Anji -
Hi Experts,
I am looking for the stabdard extractor for the Planned order, Basically I need the fields from the table PLAF.
Please let me know any standard extractor available or any extractor need to enhance.
Thanks
saiHi Sai,
Take a look at 2LIS_04_P_MATNR and see if it is usefull:
http://help.sap.com/saphelp_nw70/helpdata/en/88/7fc73c0c52085be10000000a114084/frameset.htm
Else it seems that you should create a generic extractor directly on the table according to this thread:
Re: Extractors for Planned orders and Proces Orders
Hope this helps.
BR
Stefan -
User Exit and BADI for Sales Order
Dear Experts,
please give me available user exits and BADI for sales order .i want to take the data from sales order at the time of sales order posting .Hi,
In debugging you can find some Enhancement Spots where you can implement your code. This lets you ignore the need for access key, but its a time consuming process spotting out the exact enhancement point.
Regards
Karthik D -
Creation of Reservation for planned order
Hi Team,
Is it possible to create reservation for planned orders after MRP run?
My opinion was the reservation can only be created with reference to production order after MRP. The reservation can not be created with reference to planne dorders after MRP run because planned orders are intermident document which will not exist in the system always. The planned order details will not be available in the system once it get converted into production order.
How the reservation will be processed which was created with reference to planned order after converting the planned order to production order?
Kindly need ur guidance.
Thanks
pskDear PSK,
In a typical discrete manufacturing setup production orders are the promised receipt for which reservations gets generated as
soon a production order is created.But only if the order is released goods movements can be posted against the reservation
details through MIGO/MB1A for 261 movement.
It's not required to create any reservation at the planned order level or which may not help you in any means to your business.
But however in a REM scenario MF60 is used to create stock transfer reservations for 311 movement where planned orders
are used for production backflush.To explain in detail even without any planned orders you can do a stock transfer reservation
for a production quantity.
Check and revert back.
Regards
Mangalraj.S -
How to connect MAPL and PLPO to derive work center for planned order
Hi,
Anybody know how to derive work center using MAPL and PLPO for planned order (PLAF). Is there any connecting table between MAPL and PLPO.
Please help asap.
Regards,
MitaliI guess u r trying to view the detail scheduling info (tab in MD13) for a planned order . In that case -
1. Go to PLAF and enter the planned order number. (PLAF-PLNUM) and get the ID of the capacity requirements record (PLAF-BEDID).
2. With this PLAF-BEDID go to KBED. pass the value here. KBED-BEDID. The KBED-ARBID values are your work center ID.
3. To get the work center texts ( the way is appears in the screen) - Pass this value to CRHD . CRHD-OBJTY = 'A' ( i.e Type work center) and CRHD-OBJID = KBED-ARBID.
Hope it solves ur prob.
Cheers
SKC -
Table For Planned Order Details From PP Module
In our organisation we are taking Plan Vs Acheivement from Production. So, intialy we taken Plan details from "PLAF" Table and Acheivement details from "S225" Table. But After running MRP at month end. Previous month plan get deleted and new order create.
how to get history data for Planned order.
Please help us.
Regards
NagaI don't think that there is any history in regard to planned orders. PLAF will get rebuilt according to your MRP parameters and I don't believe that the data is stored.
Regards,
Rich Heilman -
Changing MRP controller for planned order
Hello experts,
Is there any way the planner could change the MRP controller of a planned order within MD12 ? We are using ver 4.7 and this field is not enabled. Currently the planners are creating prod orders much in advance and are looking to move to a process where they firm planned order. We are using project stock planning structure so more that one planner may create orders for the same material. So when one planner review the material planning for one project he would firm the planned order and assign it to him for leater conversion.
Note: I the config I didn't saw any field selection control for planned orders.
Thank you in advance for sharing your wisdom.
Francois Paquet BPA
aeronautive industrieFrancois,
Very interesting question. However I never had to change those fields in either planned or prodcution orders.
Both orders master data fileds are disabled.
However since your are working with project orders ( or netwrok orders ) system would be giving you specific planner order hard tied to the project order ( similar to Made to order scenario).
Planner could use MD51 ( project planning ) & MD4C ( option for Netwrok or WBS element ) for monitoring progress of his /her order.
This way planners do not have to go by MRP controller data.
Hope this provides some new thoughts.
Thanks,
Ram -
Release status for planned order
Hi All
I am running MRP weekly,system is generating the Planned order once MRP is completed.Here my requirement is i want release status for planned order, at the same time once planned order is released i dont want user to change any data in planned order.
Somebody explain me about the settings of action control of planned order.
Regards
Srinivasan.PHi,
Sorry to say but there is nothing like system status for Planned orders.
Check below thread,
[Release of Plan orders|Planned Order Release]
Regards,
Dhaval -
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 -
Hi Experts,
I have configured the ATP rule for Planned Orders. So I only want to check the component stock and Production Orders when running ATP check for the Parent Material.
In OPJJ, I only selected the following options.
Include Safety Stock : Ticked
Check without RLT : Ticked
Incl.production orders : X (Take all production Orders into account)
No other options or boxes have been selected
Also I have included the relevant Checking group in MRP 3 for the Parent Material (Checking Rule has been assigned to that Checking Group in Config) and also maintain the Plant Parameters for MRP (assign the checking rule to the plant)
So, For an example :
Parent : A
Components : B and C
Parent Material A has only 5 Planned Orders starting on same day 20.05.2014 each qty 5
Components B got stock 300
Components C got stock 1
When I ran ATP Check for the Parent material A using COHV, qty 1 has been allocated to all the planned orders as committed. Why is this happening ?
I also checked in CO09 for the Component Material C, and it says ATP Qty is only 1. I expected the system would allocate that stock 1 to one of the Orders but it seems to be not working as I expect.
Any explanations will be much appreciated and will not hesitate to avoid the points.
Kind regards,
IsharaHi DB49,
Appreciate your reply. Please see the following comments.
Right now I have been assuming that you have performed an availability check manually for one of the planned orders, and you got the same results (overconfirmation). Please confirm.
Yeah I have performed for one order and it gave me the same result. Also, when I perform for the 2nd Order, it allocates the quantity.
OK, basic things you should already have checked:
You have maintained the checking rule for planned orders (OPPQ or OPPR)
You have maintained the ATP group for the materials (OVZ2)
You have assigned the ATP group to the Material Master of the components (MM02)
You have maintained the scope of check according to the rules you mentioned earlier (OPPJ).
You have no planning strategy in the component material that would have invoked a special ATP.
I checked everything apart from point 2 (OVZ2). I have maintained that via MRP Group and that MRP Group has been linked to Master Data (MRP 3)
Really appreciate your support in this.
Kind regards,
Ishara -
Disabling GATP for planned orders/production orders
Hi,
We have a scenario where we need to disable ATP check for production orders happening through GATP. That is, ATP check for production order materials should happen in SAP R/3. This is a problem because we have activated ATP check in integration models for sales orders and it is happening through GATP. Production Planning is happeninig in R/3 and we dont have either PP/DS or SNP in APO. ..only GATP.
any pointers on how the ATP check for planned orders/production orders can be blocked in GATP for the same materials which are active for sales order GATP check?
Thanks.hi Pawan /Prasun /vikas
Thanks for your helpful answers
@Pawan : Since we have recently gone live with production planning and its in the process of stabilizing we do not want to enable ATP check for production orders in GATP yet. Also since we are also using batch-determination with ATP check in production orders we still have to check how the system responds with the combination. Therefore,as of now, we dont intend to switch on ATP for production orders in GATP.
@ Prasun : I understand there would be a user exit (EXIT_SAPLATPC_001) which would help in doing GATP check based on order type/business event. However my concern is if the order does not belong to any of the order types will the system do a normal standard ATP check in APO or it will do a ATP check in R3 ? Our programmers are still looking how to tweak it but any pointers based on your experience will be helpful
Thanks -
How do I maintain storage location for Planned Orders in APO
Dear all,
Can you help us in maintaining storage location for planned orders in APO. The storage location from material master need to be updated in product master of APO and the same shall be automatically picked from product master during Supply Network Planning run.
Material master CIF is live.
We have got the following content error in CIF consistency check. How ever this is nt goging to harm any thing, but we would like to maintain in both R/3 and APO.
Error:
Plant and storage location in SAP APO: 2004
Plant and storage location in SAP R/3: 2004 FGPA
Thanks in advance
Ram Mohan Rao KolanupakaInstead of maintaining additional master data, i would rather use CCR user exits to switch off comparison of planned order at storage location level if the APO storage location is blank. This way you would not have to make changes to PPMs everytime a new scale out of the solution happens.
In SE18 check the user exit /SAPAPO/CIF_DELTA3 (interface RELEVANT_FOR_COMPARE_ORDHEAD)
If it is not possible to switch off this comparison then I guess changing master data is the next step. Do explore with a developer though about the first option. -
Where we enter raw material reservation qnty for planned order in monthwise
sir,
as per client requirement in every month raw material reservation quantity fixed for planned order in monthwise.
in sap Where we entere raw material reservation for planned order in month wise nov, dec, jan and whre its show.
is it possible after mrp run.can we check that raw material reserve stock in mmbe for planned order.
pl guide me step by stepDear Prakash,
1) in MMBE, you cannot see Reserved qty against plan order ( it is not a confirmed receipt )
2) the reserved qty which is shown in MMBE is against production order
3) only after converting plan order to production order ( Header material )
4) dependent requirements will convert into reservations
Regards
kumar
Maybe you are looking for
-
The requested column does not exist in this table
Hi All, I am getting the following error: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59014] The requested column does not exist in this table. (HY000) SQL Issued: SELECT "Customer
-
How do I add gmail to the links on the left hand side of my browser
I don't know what else to add it reads across the top web videos maps news shopping books more how can I add gmail to that list? I never use shopping I never use books
-
Windows 7 and HP psc 1317 All in One printer
A friend has a new laptop with Windows 7 installed. I am trying to install the software for his HP psc 1317 series all in one. I have down loaded the drivers etc from the HP site but despite running it as an administrator, both from the original disc
-
G450 2949 Laptop VGA to TV connection
My computer is G450 2949. It has 15 pin VGA. My TV has 3 rca. When I connect 15 pin VGA to 3 rca, laptop`s screen becomes smaller (squeeze) and tv screen flicks. I dont see anything.
-
Contacts Merge roll-back?
I set up a new/ different Apple ID and account for my wife and after the IOS 5 update wanted to get Photo Stream going on her Phone but a couple problems came up right off the bat, My wife's iPhone 4 not only merged ( I hope) all my 1500 work contact