Set Order finish date in planned order on Production order creation CO41
Hi experts,
I'm trying to set the order finish date, field SFC_POCO-PEDTR on transaction CO41, into Scheduled finish, field CAUFVD-GLTRS, of production order transaction.
The issue is get the value of PEDTR. For change the value GLTRS i'm using the exit PPCO0007 and it works, but i haven't the value of field PEDTR.
I hope to have been clear.
anybody can help me??
Thanks in advance
Marco
Edited by: Menegazzo Marco on Aug 3, 2010 5:20 PM
Hi DwarakanathS
Thanks for you reply....
But if in the exit i try with the code you suggest, when i do the assign:
FIELD-SYMBOLS <my_fs> TYPE SFC_POCO.
ASSIGN SAPLCOUP(SFC_POCO) TO <my_fs>.
the program give me an error "Field "SAPLCOUP" is unknown. It is neither in one of the specified"...
and if i try with this:
FIELD-SYMBOLS <my_fs> TYPE SFC_POCO.
ASSIGN 'SAPLCOUP(SFC_POCO)' TO <my_fs>.
the error is "SAPLCOUP(SFC_POCO)'" and "<MY_FS>" are type-incompatible."
what's wrong?
thanks
Marco
Edited by: Menegazzo Marco on Aug 4, 2010 10:16 AM
Edited by: Menegazzo Marco on Aug 4, 2010 10:53 AM
Similar Messages
-
MRP Planned order finish Date calculation (Planned delivery + GR Proc.time)
Dear Gurus,
Currently in our system, when MRP runs, Planned orders are created and the order finish date is calculate based on Purchasing processing time OMEW + Planned Delivery time from Material Master + GR processing time from material Master.
My business requirement is that, system has to take only Planned Delivery time + GR Processing time and exculde Purchasing PRocessing time.
I cant make it Purchasing Processing time as ZERO - because this is used for other Purchase orders and KPI will be affected for procurement department
Now we are going to Automate the Purchase orders for Materials - if outline agreement exist.
How to make system settings for a MRP run, the Planned order finish date - should consider only Planned delivery time from Material master + GR Processing Time ( it should exculed Purchasing PRocessing time). Is it posssible? if not by any user exit, ABAP coding should be done?
gurus please advice!
BADI : MD_PLDORD_CHANGE - is this can be used?
Please advice
Regards
RS
Edited by: RS on May 18, 2010 10:22 AM
Edited by: RS on May 18, 2010 10:33 AM
Edited by: RS on May 18, 2010 1:34 PMLet me check, if I can find a way to paste /afs/md04 (AFS Envirnoment) screen shot . But in the mean time following are the
details
IHPT - 12 days
GRPT - 0 days
SMK - 000 (Op Period, Float After Prod., Float Before Prod.,Release Per. - 0 days)
Thanks, -
Req. delivery date and plan order finish date relationship
Dear Experts,
I have a question on setting the req. delivery date and plan order finish date relationship. Now, I want the plan order finish date is one day before the req. delivery date, is it possible to set it in configuration? Please advised! Many thanks!
Regards,
Matt YimMatt,
Please use a schedule margin key(SMK) in the material master MPR2 view which has float after production defined as 1day.
If there are no SMK with that defination then you can define you own in customisation and assign the same in the material master. (SPRO--->Production ->MRP->Planning ->Scheduling and Capacity Parameters->Define Floats).
Regards,
Prasobh -
BOM Explosion with order finish date
Hi,
In transaction OPPQ it is possible to configure the BOM explosion date used by MRP and creation of a process order (see SAP NOTE 506345).
I suppose this setting is also considered when re-reading master data during release of an order.
The field BESAL can have the following values:
BOM explosion number/order start date
1 Order start date
2 Order finish date
3 BOM explosion number/order start date
4 BOM explosion number/order finish date
What I do not understand is that value 4 also end up in using the order start date when re-reading master data. Here the function module CO_ZF_VALIDATIONDATE_DET is called which contains the following coding:
+ Festwerte Feld BESAL:+*
* ' ' Seriennummer/Eckstarttermin
* 1 Eckstarttermin
* 2 Eckendtermin
* 3 Seriennummer
IF T399D-BESAL <> CHAR2.
* Auflösung mit Starttermin
u2026
ELSE.
* Auflösung mit Endtermin
u2026
ENDIF.
which says only use the Order finish date if BESAL has the value 2. The comment showing the possible values gives me the impression that SAP simply forgot to adapt this coding when splitting the value 3 (prev. only BOM explosion number) into 3 BOM explosion number/order start date and 4 BOM exlosion number/order finish date.
On the other hand the SAP Note mentioned above documents this behaviour.
Does anyone know the reason why value 4 (BOM exlosion number/order finish date) results in using the order start date ?hi,
The defination in OPPQ is only working for the MRP, when the planned order is created.
Then the explosion date will be copied from planned order to production/process order when you convert the planned order.
However, when the production or process order is created manually, or when you do a re-read master data process, then a different BOM explosion date process will be carried out as described in the SAP note 506345, it has explained the behavior clearly base on the different value of paramter:
V_T399D_S-BESAL = initial, 1, 3 or 4
V_T399D_S-BESAL = 2 (Explosion with order finish date)
So there is no problem to have different behavior of planned order and production/process order.
Regards,
Rachel -
Production finish date is later than order finish date?
In my company, most of the plan orders in MD04 have an exception message "64 Production finish date is later than order finish date". The plan strategy of the materials are 40. The plan orders are created from Scheduling Agreements or Independent Requirements. We set 'Scheduling' as 2(lead time) in the MD01/MD02. The self-production time in material master data is 0. The schedule margin code is 000 which all the parameters are 0.
For a example, we create a requirement on 2007.04.24. After MRP run, plan order generate. It's basic date will be 2007.04.24, but the production date IS 2007.04.25. All the plan order like that, the production date are always later than the basic date for one day.
Could someone tell me why? and how to settle this problem?
Thank you in advance!Hi,
check scheduling parameters for planned orders and scheduling parameters
for production orders.In that set the various indicators like
adjust basic dates to order start date
do not adjust basic dates to order start dates and try.
Tcode opu3 / opu5
Thanks,
s.nandhakumar -
How Production Order finish date and time is being comptued by SAP?
Hello Expert,
How Production Order finish date and time is being comptued by SAP? for example, we create a Production Order via CO01, the basic start date is 29.09.2008 and time is 04:00 it gives us basic finish date is 29.09.2008 and time is 13:28.
how does SAP compute the time 13:28 as it finished time
Please explain me briefly.
Thanks
RyanHello Guys,
When we create Production Order in R/3 the time is calculated by routing but it is extended at SetUp machine time. It is not correct?. SetUp imachines time used only for first Production Order for the same product and it is plan manually, for others Production Order we need calculate time for production without SetUp machine time being pick up to compute finish time. how could we achieve this? only those Machine time will be check.
thanks -
BOM explosion date after order finish date
Hi
We have issue with BOM explosion date. In process order, BOM explosion date is geting calculated after order finish date.
Any idea why this is happening.Hi,
Just to understand the issue better, can you list the scheduled and basic dates on the order.
Anup. -
Capacity planning and schedulng production order based on availabe capacity
Hi Gurus,
I am trying to use capacity planning, when the production order is created it takes the order start date as the requirement date. Then when i do he capaity check it says capaity not available. After finite scheduling again it proposes to shift operations by certain days.
I need the capity to be check in MRP and the palled orders to have start dates based on aviable capity, currenty all the palled orders are starting on the requirement date irresptive of avaiabe capaity. I tried using finite scheduling option in MD02 still it does not take in to account exsting production orders for giving dates of the planned orders.
Regards
AbhiDear Abhishek,
1) This is Std SAP of MRP, only material Av check will be carried out in MRP & create procurement
Proposals
2) Capacities will not Checked ( consider ) in MRP in Std R/3
3) Your Need can be only met through APO
Regards
Madhu -
Sales order - show total plan costs (from production order) on sales order
Hi all,
I have the following question/scenario:
We create prodction order to collect cost (hours) for a service. There exists also a material master for this service.
The confirmed hours are posted on the production order and then setteld to the respective sales order (settlement rule SDI).
What to I have to maintain/customize to show the total plan cost (for the service) on gthe sales order?
If I check the sales order via VA03 --> environment --> cost report , I can see the planned sales revenue but no planned costs?
(the actual value flows work so far, postings via settlement or billing document).
I hope the topic is understandable. Any ideas?
Thanks in advance.
Edited by: Butch66 on Sep 27, 2010 7:07 PM
Edited by: Butch66 on Sep 27, 2010 7:08 PMHi
Planned costs from prod order can not show on sale order.. Both are 2 separate entities in their own respects
Unless you calculate sales order cost estimate on your sales order, you cant see planned costs on sale order...
To calculate sale order cost estimate, make settings in your requirement class...
1. Go to procurement tab of sale order
2. See whats the requirement type
3. Go to IMG > Controlling > Prod cost Contr > Cost Obj Contr > Prod Cost by Sales Order > Control of Requirements
4. Here you can see mapping of req type to req class....
5. If you want to have sales order costing and have sales order as CO object inorder to have sales order wise profitability, you should have following settings in Req class...
>Acct Assignment Category should be E
>Costing: Either Blank or X
>Costing Id and Costing Method: As per your requirement
Regards
Ajay M -
To restrict Issue for production than planned qty in production order
Hi Experts,
In my scenario, the production staff will prepare production order and right click in production order document and select "Issue Components" option to Issue raw materials for production floor. After issuing the raw materials to production floor closes the "Issue for Production" document and now we have "Production Order" document open in screen. When he again select "Issue Components" option and issues the raw materials once again. Materials are issued once again wrongly. This happens since the production order document is not getting refresh after "Issue for Production" document is done.
Is there any way to restrict issue of raw materials than the planned qty.?
I have tried lot of ways to restrict this through SP. Please revert me an solution to this issue.
The procedure should trigger immediately when the "Issue Components" option is selected second time (If the raw materials are issued in full in first time itself). And it should allow only the qty which is to issued to production order qty (if they issue part issue to production order)
Thanks in advance
Raja.SHi Neetu,
Thanks for your quick response. I have tried this query. But it is not blocking the issue for production document even the raw materials are issued already for the production order.
I'll explain my work flow again. The Production staff will prepare production order and then release the same and update the production order after changing the status for "Release". Then he will right click the Mouse button and select "Issue Components" option and perform the Issue for Production process. He will issue the required raw material completely in one shot and add the Issue for Production document.
After adding the Issue for Production document he will close that document and now we will be in Production order document. Now our production order document will not get refreshed. Now the Production staff go for "Issue components" option, then it should not allow him to issue the components once again. But it is allowing him to issue components any number of times. there is no control.
If we browse the production order document to previous record and browse back to the same record then my Production order document get refreshed and now we can control the issue. But what should i do to control in the earlier case. Since they want to perfrom lot of production order, there is a chance to issue components for same production order more than one time before the production order document get refreshed.
Please provide me the SP to control this scenario.
Thanks in advance.
Raja.S -
How to set the a quantity during MIGO 101 for Production Order
Hi Gurus
My issue is very easy.
Since few weeks we execute 101-MIGO directly on production dep.t at the end of every shift.
When MIGO is called the system propose the residual qty (noy yet Posted) for the PP Order.
Becuase for a PP Order, many 101 movement have to be posted (during differents shifts), I need to clear the qty proposed in field GOITEM-ERFMG. This is becuase sometime users post a single Movement for the total residual quantity !!!!
Is there an Exit or a Badi or a customizing setting is avaliable to do it ???
Thank-You in advance for your help.
ClaudioHi Claudio,
A 101 movement for the production order takes place when
- You receive the production order via MB31
or
- Confirm the last operation which has PP03 control key
A backflush is done only for the components called by the production order & not for the header material.
Hope the above answers your query.
Regards,
Rahul. -
Can sales order line item text be replicated into production order
Hi
Can sales order line item text be replicated to production order through standard PP configuration? If so how can it be done?
If that is not possible through standard configuration then can it be possible to read both sales order line item information and production order information using a BAPI or a program?
Please help me, i have been trying hard for this and also searches sdn for relevant posts but could not find any, I thank all people who can help me with some information on this.
Regards,
JessicaSample code:
DATA:
wa_order_objects TYPE bapi_pp_order_objects.
DATA:
it_order_header TYPE STANDARD TABLE OF bapi_order_header1.
*--Setting Flag to get details of BAPI
wa_order_objects-header = c_x.
CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
EXPORTING
number = "Order number"
order_objects = wa_order_objects
TABLES
header = it_order_header. -
Can GATP confimed date come from production order finishing date??
Hi Expert,
I have one question to ask.
in the GATP , I want to the APO system can consider the production ability , that is, when I create a sales order, the system will make a GATP check in APO, if there is no enough stock, the system will create a PPDS planned order and return the planner order finsihed date as the schedule line confirmed date.
I do not know this is possible or not??
I hope some expert can help me to solve this problem
thank you in advance!Hi Liu,
Why Planned order date.. It could be Production order date (planned order release date) + inhouse production time + Transporation lead time + GR processing time (at the original location where the order is placed) ..that should determine the material availability date. CTP exactly does this. Make sure that the "replenishment lead time is switched off" in the product-location master (in fact this is location independent)- as this take precedene over everything else.
Also ensure that that end of checking horizon is larger than the interval established above, else MAD could be much earlier. Also enure that transfer of requirements is set both at header and schudule line level for CTP to work.
Regards,
Loknath -
While creating a production order I am using forward scheduling order start date is today and finish date proposed by the system is 07.02.2011 but the problem is in house production time is 10 days. then why the system has proposed finish date as 07.02.2011 instead of 14th or 15th or 16th
Dear Kumar,
Always system picks the timings from routing when you create production order manually
System will not check the filed in house production time from material master while creation of production order
So check in routing, for the timings that you have given
It will solve your issue
Regards
Madhu -
How do we can change the last done dates of Planned operation by EM orders?
Hi colleagues
i defined four opertions for one equipment as performance based or time based plans and scheduled it for next month. then we received a EM notification for mentioned equipment. we iisued order for EM notification and maintenance opertor carried out the orders but while he doing the EM process , he did two opertion of preventive maintenance from mentioned plan.
we can add mentioned operations in EM orders as operations but the question is that after we confirm the EM orders and enter the actual dates , and it seems that the last done dates of assigned two operations must be change in PM plans.!
Is there any solution for it or not?
Thanks
AkbarHi Carlos
thanks for ur attention
actually i want change the last done dates of some opetions in my scheduled maintenance orders by assigning them to EM orders as operations.
for example:
i received a EM orders with this description : oil leakage from sight glass of hydraulic pumps
in the proceesing of EM order , i will eliminate the leakage and also change the oil of pump .
the changing the oils is the one of our shecduled Maintenance plan that is it would be called on next month.
in the confirmation of EM order , i will add this operation from equipment task list ( change the oil) and enter the dates and another data.
it's obvious that mentioned opertion should not be schedule on next month and according to it's package sequence , the new date for changing the oil must be 3 month later form the date that we entered on EM order.
Thanks
AKBAR
Maybe you are looking for
-
Database Configuration Assistant Error
Hello, I am trying to create a database from a given template using the Database Configuration Assistant, but when I get to the end of the configuration and click on "Finish" nothing happens. I can click as many times as I want, but no error messages
-
When I go to install the premier pro disc it says to insert the disc in the "C" drive??? Help.
-
Experts - two questions regarding FormulaH1.. FormulaHn: 1) Do the FormulaH1, FormulaH2...properties of a multi-heirarchy dimension need to be marked "InApp"? in order to fully use the formulas in BPC input schedules and reports? I am using BPC 7.0
-
Printing #10 Envelope - Return Address "off the page" & Address Very High
I'm having trouble printing a #10 envelope. I have an Okidata B410d printer that Pages seems to subtitle a "Generic PCL Laser Printer." I went -- File / Open From Template Chooser / Word Processing / Envelopes / Classic Envelope I fill in the fields
-
Adding a new line item using BAPI_OUTB_DELIVERY_CHANGE
Hi, I have a requirement to add a new line item to outbound delivery to the existing line items using the FM BAPI_OUTB_DELIVERY_CHANGE.Pls suggest how to do it. Thanks in advance. Anand