Read planned order quantity
Hi Experts,
I wanted to know if is there any way to read the planned order quantity directly in a macro ?
The scenario is that production is planned on 3 machines in production shop. When I refer to planning book, I get consolidated production of all the 3 machines (in KF Production Planned) but I want to use the production of individual machine & do some calculation in macro. Is there any BAPI / User Exit available to achieve this?
Thanks in advance
Regards
Sandeep Patil
You can use User exit macro to do this. Call BAPI_MOSRVAPS_GETLIST2 in this macro and you can get the planned order data. but this is complex developement and you need a good ABAP skill to do this.
regards
Similar Messages
-
Original Planned order quantity
Hi,
I want to capture the planned order quantity. Since planned order quantity is dynamic, I cant able to capture the original planned order quantity.
Eg: After running MRP, system gives a planned order 001 = 10,000 pcs.
When I convert this planned order in to partial order. Partial order quantity = 1000
Now system shows remaining planned order is 9000 pcs.
In which table system will store the original planned order quantity of 10,000 pcs. I tried in planned order table PLAF. The field total planned order quantity (GSMNG) is dynamic. It shows the current planned order quantity only.
Question:
1. Is it possible to find original planned order quantity?
2. If yes, then from which table we can see that.
Regards / USMD05 info cannot be directly read from a table in a meaningful manner unless you have setup the same to be a transparent table. So to read the info you will have to use - BAPI_MATERIAL_MRP_LIST
But I believe a better approach for your need would be to read the planned order & planned qty. from AFPO, add this to the value which you see in PLAF. This would give you the correct picture in your report, as MRP list keeps changing & you will not be able to have a reliable report if its based on MD05 data.
Provide the above spec's to your developer & the report should be easily built. -
Plan Order Quantity Table & Field
Hi
I want Plan Order quantity in z report.
Please help how I will get from system.
I required table & field name.
Regards
ARKDear Ashish,
No
This is not possible
Once the plan order is deleted you can not get in any table and
Also once the plan order is partially converted to process order then only remaining qty will be stored in PLAF table
PLAF is only table for plan orders as plan orders are not confirmed receipts
Only in initial stage when plan order is created with the quantity then it appears in PLAF
Once you start converting partially then the remaining qty gets updated in PLAF
Regards
Madhu -
Srap quantity should reduce planned order quantity
Hi Gurus,
I have a scenario here and i wanted to know if this can be technically achieved .
1.We have IDOC flowing from legacy system and it consists of both good quantities produced and scrap quantities produced .
2.Good quantity produced must be reported as a reporting point confirmation. Scrap quantity produced must be reported as reporting point scrap. Scrap quantity produced must also reduce the planned order planned order quantity.
3.Function module currently calls BAPI 'BAPI_REPMANCONF1_CREATE_MTS’ to post good Pieces Produced, can the same BAPI be used to call the scrap quantity and reduce the planned order ?
I have tried 'BAPI_PLANNEDORDER_CHANGE’ to achieve this scenario but still the planned order quantity is not getting reduced.
I want to know the feasibility to achieve this in technical or functional side .
Kindly help me to solve this problem , rewards would be generous enough for people who solve my problem.
Regards,
PKPHi Santosh,
Yes, it's true, it would simplify a lot. Unfortunately it can't be done.
These are high-end, high value and small life-cycle components and some packaging materials. Packaging materials are relatively easy to stock for one week or more but the other components should only be stocked to a minimum level.
Moreover, suppliers of high-end components do not feel the need to respect scheduled delivery dates because they "own" the market, so we can't be sure when stock will be available. The high demand for this components also adds more uncertainty because there might be only (unplanned) partial deliveries during the week as of production is available and distributed for us and other supplier's vendors.
Oh, and a production lot can really be of as low as 40 units in some cases.
Well anyway, I've tried the ATP approach but immediately run into a problem. In the morning I might be assembling a component (A) for the afternoon and I have a delivery scheduled for the morning of another component (B). I can't plan the afternoon production of a product with both components. Even being 2-3 days, in some very frequent cases we should immediately start production as soon as components arrive.
So ATP isn't very adequate even in the shortest time-frame to plan production in this scenario.
Thanks a lot for your input Santosh, it was worth a shot. Right now I can't see an option other than copy SAP_PP_009 to a new heuristic that reduces planned orders to component availability or to use a very small maximum lot size for these short production runs.
Regards,
Edgar -
Hi Experts,
for a particluar material I need the Open quantity of Planned orders for displaying in a custom report.
Please suggest from which table or by logic can i fetch this quantity .
Note: Not from any std report - i need table lable detailHi
Will this give the Open quantity of the Planned Order ( not converted ) ???
in PLAF table only existing plan orders info will be there
no productions orders
Regards
kumar -
CIF blocked .. due to planned order quantity too small
Hi,
we facing the issue of whenever planned order generated after optimizer run. if the quantity of planned order < 1 i.e 0.8pcs . It will get stuck and won't cif to R3... any solution for this ..??
thx in advanced
regardsHi
Can you please clarify the following:
1. Your Base Unit of Measure.
2. Any Min/Max Lot and rounding values maintained in ECC/APO.
3. PPM/Prod Version Lot sizes defined.
4. What is your BOM base quantity?
Also please elaborate the issue with proper examples, for us to help you better.
Regards,
Manjit
Edited by: Manjit Pahal on Aug 7, 2008 2:00 PM -
Decimal places in Planned order quantity
Hi Experts,
We are getting planned order(made from MRP) quantity as 43.24 KG. We dont want this. We want planned order in whole no. Like 43KG.
How to achieve this,
Regards,
SantoshHi Santosh,
You can create rounding profiel for PO and contract release orders, but have to chk for planned orders...chk the below link may help :
http://help.sap.com/saphelp_47x200/helpdata/en/67/c50d38c5a5c82ee10000009b38f842/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/f4/7d28c844af11d182b40000e829fbfe/frameset.htm
BR,
Krishna -
Ppds Planned order quantity is taken back to DP for analysis
Hi Guru,
Can any one explaine in step by step how i can release my order quantity from PPDS to DP to do my further analysis?
Please it will be really great if any one can guide me.
Thanks & Regards,
Kumar.Kumar,
Can you explain a little more what you are asking?
DP is demand planning. Here you are managing and deciding what your demand will be (predicting what you will sell is one of the more common outputs of DP)
PPDS is detailed supply planning. Here you are creating your supply elements, determining exactly how you actually intend to procure or build the product. In this plan, you have the opportunity to take into consideration capacity, execution duration, and the availability of lower level materials. In many (but not all) cases, the PPDS plan is built after the Demand plan has been turned into a final production demand forecast, and released to production for execution, prior to actually receiving the actual sales orders. In some cases, companies also may create an intermediate supply plan, which would usually be at a simpler level of detail (SNP).
Now you say you wish to 'release my order quantity from PPDS to DP' for some kind of analysis. I am not sure what this means. Supply and demand are two different things.
Companies that wish to, say, compare the demand plan to the supply plan typically don't do it in DP. Some will write custom reports, others build custom infocubes in a BW and perform their analyses there. It is definitely possible to extract supply elements (or just about any other type of data) into some kind of data structure, and place these elements into a DP planning book, if there is a business requirement. This would definitely be non-standard, and would have to be designed and built from scratch.
If you are looking for a transaction that will 'releases the order quantity from PPDS to DP', I don't believe it exists. If you wish to pull data from PPDS or SNP or ERP into DP in general, I would say you should talk to your local BW and DP experts to see what they can design for you.
Rgds,
DB49 -
when i convert t o planeed order to purchase requistion
the quantiy shows wrongly
i checked with BOM quantiy data is correct
why it is calculated wronglyDear sir
Thank you for the solution
actually the quantity is 6,870 mm
instead of that 6.780mm
finally we found that for particular user ,they select decimal notation as x.xxx
now we changed the decimal notation as x,xxx in SU01
now problem solved -
Query on open planned orders details with process order GR details
Dear Experts,
I need to create a query in SQ01 where the requirement is as given below,
Query output should display the open planned orders (Planned orders which is not converted to process order details) details for a material like Planned order number, Planned order quantity, Start date, Finish date and also the details of the list of process orders created for the same material with its details like PO qty, GR qty, Basic start date, Finish date, Actual finish date, BOM Component material codes, component quantity.
But i tried creating this query by joing the tables PLAF+ AFPO+AUFK+ AFKO+RESB . My input parameter will be the Material Number for which Planned order and Process orders are being created.
But i am unable to generate the output when i create a query by joining these tables
Is it possible to obtain the output for open planned order details and process order details in a single query ?
I am failing in my repeated attempts
Please provide your suggestions for developing this query
Regards,
J.BalakrishnanDear Bala,
as alternative , for use a query report and not a custom abap report, you can try to read data from MRP tables MDKP and MDTB . In these one tables you can find both elements (planned order and production orders) for to start to research all details that you need.
You can also use MDTB-DELKZ to filter only planned order (PA) and Production order (FE).
With the number order you can read the RESB table in order to define components details.
With this table would you the advantage to have always the opened orders.
If the following table are empty you should make a little customizing modification so that once MRP run will write them.
Give me feedback if i have been useful for you.
Daniele -
Hi Gurus,
This is my problem -
51 links (Base UoM) = 2.5 feet (Sales & Production UoM)
Delivery unit = 53 links
In VA01 -> when I entered Sales order = 12 feet system automatically rounded it to 12.990 feet.
I also received a pop up showing "Item 10 rounded to 265 lk. Rounding reasons 1,2,8 -> long text"
In MD04 -> when I look at the Sales order quantity = 264.996 links.
Ran MRP and the planned order quantity = 265 links
There is a surplus inventory of ------------> 0.0004 links
Settings in CUNI: (due to business reasons - Links can NOT be in Decimals. Feet has to be in decimals)
CUNI
Decimal places
Decimal rounding
Link
0
0
Feet
3
3
Please helpThanks a lot Dave. You are the only guy who really understood my issue in the first place.
And you asked all the right questions.
Just for the sake of our discussion - I created a brand new material (material setup is same as production client). MRP settings- Proc type E, PD, EX, no rounding profiles, strategy 40, Collective.
Material master sales view
Rounding on Sales order
MD04 before MRP run
MD04 after MRP run
MD04 in Feet
Production order conversion
Please let me know if you can not see these images.
I really appreciate your help.
Sorry for the delay in reply. I was travelling.
Thanks -
How to change the components of the planned order? (FM or BAPI)
I need to change the storage(LGORT) in the components.
I found only MD_PLDORD_CHANGE_COMP_ITEMS, but could not get the correct result.
Has anyone used this FM to change the components of the planned order?
Can you please tell how to use it. Or advise an alternative solution.Hi Anton,
There's a BAPI to change planned orders - BAPI_PLANNEDORDER_CHANGE, but it allows to change only header data.
Therefore you'll have to go a bit longer, and use a couple of other BAPIs:
First read the order that you want to change - BAPI_PLANNEDORDER_GET_DETAIL
Second, create a new planned order with the changed data, based on the read planned order - BAPI_PLANNEDORDER_CREATE.
Third, delete the old planned order - BAPI_PLANNEDORDER_DELETE.
Regards,
Mario -
Multiple planned orders for a requirement
Hi,
We have PPDS MRP with NEW shelflife w/ lot size profle run for product and produces multiple planned orders for the the requirements.
I have a requirement of 4,750 and 14,976 in the system and available stock 86,966.
The system creates two planned orders with 34,632 and 26,771 PCs.
Why is the system creating two order instead of one??
The min. lot size is 1876 and rounding is 936.
can somebody tell me what factors the system is considering??
Thanks.Hi Visu,
Which lot size procedure you are using , please check in lot size tab in Product master, it should be lot for lot.
if it is lot for lot , please change it to by period and weekly , is it change the planned order quantity ?
Manish -
Hi Experts
I am working with SNP Tool. I want to know that where I can see my planned orders other then /n/sapapo/rrp3 or is there any table for planned orders storage.
Please let me know if there is any table for planned order storage values.
Regards
guruThere is no table for the planned order in APO like R/3 ( table PLAF ).
You can see planned order in /SAPAPO/RRP2 also.
If you want to read planned order data you need to use FM like
BAPI_PBSRVAPS_GETDETAIL Read Data from a Planning Book
BAPI_MOSRVAPS_REQUESTLIST2 Request: Read Manufacturing Orders for Selection
Manish -
We run detail scheduling for our plant. We often change the duration of the planned order to either run longer or slower than what was created by the system (based off of the rates). If we change the planned order quantity the rate of the planned order will change back to original and the duration will change based off the new planned order quantity. How can I prevent the rate from reverting back to its original rate if we decide we want to change the planned order quantity after the rate has been changed?
Just in case you are wondering. We often change the duration of planned order or process order letu2019s say from 5 hrs to 8 hrs to fill in a shift and at the last minute we may decide to build more.
Thanks
Rob
ThanksHi,
If i understand you correctly,currently your planned overhead rate is 3% and you wants to change to 2%.
if this is the case goto your Overhead rate in configuration and copy overhead rate key which is with plan overhead type(2). and change 3% end as of today and copied one with new rate (e.g 2%) as of tomorrow and till end of life(12/31/9999)....
hope this helps you.
Thanks,
Rau
Maybe you are looking for
-
Ive had my shuffle for about 6 months and all was good with it until I had to reinstall windows. Now when I plug it in I get 'one of the USB devices attached to this computer has malfunctioned and windows does not recognise it'. Its not a problem wit
-
I'm having trouble figuring out how to add the user name in the menu bar. I used to have it showing along with the time & date etc. But i've looked everywhere trying to figure out how to do it. Any help would be gratefully appreciated. Thank you.
-
hi.. i have an amd 64 bit but i don´t like it so much because there are no programs to use it well... so i´m thinking to change myself to an intel P4 but i work with graphics and i don´t know what to do... ... a friend told me that there is a mother
-
Servlets and Object Serialization
Say, you have a Servlet which sends Objects across an ObjectOutputStream which is obtained from its corresponding HttpServletResponse. res.getOutputStream().writeObject(myObject); From what I observe it is impossible to obtain an ObjectInputStream fr
-
New ALSB3.0 install, WorkSpaceStudio "JVM terminated. Exit code=127"
I'm trying to get ALSB up and running on Oracle Enterprise Linux 5.2 32-bit. I have it installed and the QuickStart will start up. However, when try to launch WorkSpaceStudio I receive the following error: JVM terminated. Exit code=127 /root/bea/jdk1