Modifications in Planning tables
Hi,
On one of our project, we need to add an UDA on some members of a Planning application. We decided to go with an insert of data in the table “HSP_MEMBER_TO_UDA”, with the right MEMBER_ID from “HSP_OBJECT” and the right UDA_ID from “HSP_UDA”. It works perfectly, the table was modified, the data were correct but the modification didn’t show in planning when trying to retrieve information for theses members … After some times, it finally shows in Planning.
My question is : Is there a buffer used by planning while retrieving data from tables ? Why is there a lag between the content of tables and the information displayed in Planning ?
Thanks in advance for your answers :)
Frédéric
Hi John,
You are right, we could have used outlineload to update the members.
The full story is that our client need to be able to send specific data from an application to another. So, we develloped a webform in which he can flag the member he want to extract, we export the list of these flagged members (dataexport) and then use a PL/SQL procedure to parse the extract and update the Planning tables with a "active" UDA. At the end, our client is able to extract all data from the members he want (dataexport in a FIX with @UDA).
PS : We could not use DATAEXPORTCOND as the flag are not on the same crossing as the data.
So, we had the choice with our PL/SQL procedure : generate a file to update members with outlineload or modify the planning tables. The last option seems the easiest.
Is that more clear ?
Frédéric
Similar Messages
-
Operations are not getting despatched in capacity planning table
Hi Experts,
I am using capacity planning table (Graphical) to level the capacities and sequence the process orders. The start date of my orders are very well in future and sufficient capacities also is available in resources. But when I go to CM25 and select one order and click on despatch, system is not despatching it. This is the case for almost all the overall profiles.
The surprising factor is, this function was working fine earlier without any issues. I havent done any changes in configs which will affect capacity planning.
What can be the reason for this? Any thoughts please?.
One more thing. Is there any option to avoid the capacity planning step if Iam using R/3 and manage it by some other way?
Appreciate your earlier reply
Thanks & Regards
PrathibMost likely you didnt define the rowsource key properly. Please look under <install>/errors folder for any file there.
Also, please read the documentation. There is information there about how to troubleshoot a loading problem. Please always read the documentation and we would appreciate feedback on the documentation.
http://download.oracle.com/docs/cd/E17236_01/epm.1112/iop_user_guide/frameset.htm?launch.html -
Error message in capacity planning table
Hi,
I am using REM planning table.I enter the planning table by giving the selection criteria of Plant and production line.
System is giving following error message,
the error message and dignosis of the error message is given here.
'No prod. dates for material MTI_FERT011, version 0001, production line 2279'
Message no. REMPT315
Diagnosis
The planned order has no production dates for the combination of material, production version and production line you specified.
This may be as a result of the following, for example:
The planned order was scheduled but not using the production line you selected. (The production line is determined by the production version you entered in a planned order.)
Procedure
One possibility of finding out what is causing the problem is:
To access the planned order from the detailed dialog box in the table via "Change" and reschedule the planned order. Check the scheduling log by choosing "Goto --> Scheduling log". More information is displayed in the log's warning or error messages.
But which master data to be corrected is not known.
Experts please guide me.
Regards,
RavindraHello,
I had the same error while working with the REM planning table, despite the consistency of the data.
Another cause that can lead to the error message REMPT315 is that in the production version detailed screen, "Planning data" table you have entered the routing next to rate-based planning. You must enter the routing (number of the group and the group counter) on the line detailed planning.
After that, choose check again and try to introduce new quantities in the planning table. It worked for me!
Irina -
Unable to drop or truncate a plan table
Hi guys,
I was trying to execute 'Explain Plan' on one of my query. However, when I tried to drop the plan table, i was prompted that the table or view does not exists:
QL> EXPLAIN PLAN FOR
2 SELECT * FROM ORDERS WHERE TO_CHAR(O_SHIP_DATE, 'YYYY')='2005' AND O_STATUS='PROCESSING';
Explained.
SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);
PLAN_TABLE_OUTPUT
Plan hash value: 1275100350
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 648 | 46008 | 725 (5)| 00:00:09 |
|* 1 | TABLE ACCESS FULL| ORDERS | 648 | 46008 | 725 (5)| 00:00:09 |
Predicate Information (identified by operation id):
PLAN_TABLE_OUTPUT
1 - filter("O_STATUS"='PROCESSING' AND
TO_CHAR(INTERNAL_FUNCTION("O_SHIP_DATE"),'YYYY')='2005')
14 rows selected.
SQL> TRUNCATE TABLE PLAN_TABLE;
TRUNCATE TABLE PLAN_TABLE
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select count(*) from plan_table;
COUNT(*)
6
Any idea what went wrong? Thanks in advance.Ok, I managed to find the scripts to recreate the plan table. Now it works again. Cheers.
-
Hello guys,
I am on a 9.2.0.7.0, and i am trying to get explain plan for one select that is reading some table through the db link at the remote sight.
Unfortunately, i am getting this output :
1* select * from table(dbms_xplan.display)
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes | Cost | Inst |IN-OUT|
| 0 | SELECT STATEMENT | | | | | | |
| 1 | REMOTE | | | | | TESTI1 | R->S |
Note: rule based optimization
9 rows selected.remote database is 10.2.0.4.0
Can you reccomend me something?
Why can't i see normal output from the plan table, what to do to see it ?
Also , i could'nt find anywhere in the docs the meaning for R->S...
thanksthanks for your time to reply
@Kartrick
-so can we say that the only way to see that plan would be to connect to that remote instance with that db link user and run it there?
@ravikumar
-this woried me to... so optimizer mode on that remote 10.2.0.4.0 is choose, so can we say that this query is attacking remote table with RBO plan ? -
Hi,
This is the Explain Plan for one of my SQL queries
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes | Cost | Inst |IN-
OUT|
| 0 | SELECT STATEMENT | | 101 | 7676 | 60 | |
PLAN_TABLE_OUTPUT
|
| 1 | SORT ORDER BY | | 101 | 7676 | 60 | |
|
| 2 | NESTED LOOPS OUTER | | 101 | 7676 | 50 | |
|
| 3 | VIEW | | 100 | 2400 | 5 | |
|
PLAN_TABLE_OUTPUT
| 4 | UNION-ALL | | | | | |
|
| 5 | REMOTE | | | | | MKTG | R-
S || 6 | REMOTE | | | | | MKTG | R-
S || 7 | REMOTE | | 1 | 52 | 1 | MKTG | R-
S |PLAN_TABLE_OUTPUT
Note: cpu costing is off, PLAN_TABLE' is old versionI am concerned about the note "cpu costing is off"
Does this mean my optimizer is RBO?
Moreover, what is the cost cloumn in the explain plan table meant by?
BANNER
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
PL/SQL Release 9.2.0.6.0 - Production
CORE 9.2.0.6.0 Production
TNS for HPUX: Version 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production
I did 'select cpu_cost' from v$sql_plan;'
The column results in NULL values.
Thanks
RajivHi Justin,
I ran into some serious problem here.
As per the suggestions given, this is the modified query
SELECT x.rep_date,
x.certificate_id,
x.member_kit_flag,
y.enabled_date,
y.disabled_date,
TRUNC(y.creation_date) - TRUNC(x.rep_date) days,
y.csg_account_no
FROM (SELECT /*+ DRIVING_SITE(pt_gift_cert_referrals) */ a.*,
/*+ DRIVING_SITE(pt_cd_mailings) */ b.member_kit_flag,
to_date(b.shipment_date,'dd MON YYYY') rep_date
FROM pt_gift_cert_referrals@mktg a,
pt_cd_mailings@mktg b
WHERE a.cert_mailing_id = b.cert_mailing_id
AND to_date(b.shipment_date,'dd MON YYYY') >= '22-AUG-2003'
UNION ALL
SELECT /*+ DRIVING_SITE(pt_gift_cert_referrals) */ a.*, /*+ DRIVING_SITE(pt_certificate_referrals) */
'Z' member_kit_flag,/*+ DRIVING_SITE(pt_cert_stage_log) */
to_date(b.creation_date,'dd MON YYYY') rep_date
FROM pt_gift_cert_referrals@mktg a,
pt_cert_stage_log@mktg b
WHERE a.cert_event_id = b.cert_event_id
AND SUBSTR(b.process_type, 1, 14) = 'CLUBDISH DAILY'
AND to_date(b.creation_date,'dd MON YYYY') >= '22-AUG-2003') x,
pt_certificate_referrals@mktg y
WHERE x.certificate_id = y.certificate_id(+)
ORDER BY rep_date,
x.certificate_id;Unfortunately, the query resulted in NO rows.
no rows selected
Elapsed: 00:02:31.03
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=60 Card=101 Bytes=76
76)
1 0 SORT (ORDER BY) (Cost=60 Card=101 Bytes=7676)
2 1 NESTED LOOPS (OUTER) (Cost=50 Card=101 Bytes=7676)
3 2 VIEW (Cost=5 Card=100 Bytes=2400)
4 3 UNION-ALL
5 4 REMOTE* MKTG.WOR
LD
6 4 REMOTE* MKTG.WOR
LD
7 2 REMOTE* (Cost=1 Card=1 Bytes=52) MKTG.WOR
LD
5 SERIAL_FROM_REMOTE SELECT /*+ */ "A2"."CERTIFICATE_ID","A2"."GI
FT_CSG_ACCOUNT_NO","A2"."CERT_PROMOT
6 SERIAL_FROM_REMOTE SELECT /*+ */ "A2"."CERTIFICATE_ID","A2"."GI
FT_CSG_ACCOUNT_NO","A2"."CERT_PROMOT
7 SERIAL_FROM_REMOTE SELECT "CERTIFICATE_ID","CSG_ACCOUNT_NO","EN
ABLED_DATE","DISABLED_DATE","CREATIO
Statistics
0 recursive calls
0 db block gets
0 consistent gets
0 physical reads
0 redo size
338 bytes sent via SQL*Net to client
234 bytes received via SQL*Net from client
1 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
0 rows processedThe thing more bothering is, optimizer is not using the DRIVING_SITE hint
Previous Execution Plan was....
6742176 rows selected.
Elapsed: 03:15:20.07
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=53 Card=100 Bytes=76
00)
1 0 SORT (ORDER BY) (Cost=53 Card=100 Bytes=7600)
2 1 NESTED LOOPS (OUTER) (Cost=50 Card=100 Bytes=7600)
3 2 VIEW (Cost=5 Card=100 Bytes=2400)
4 3 UNION-ALL
5 4 REMOTE* MKTG.WOR
LD
6 4 REMOTE* MKTG.WOR
LD
7 2 REMOTE* (Cost=1 Card=1 Bytes=52) MKTG.WOR
LD
5 SERIAL_FROM_REMOTE SELECT "A2"."CERTIFICATE_ID","A2"."GIFT_CSG_
ACCOUNT_NO","A2"."CERT_PROMOTION_ID"
6 SERIAL_FROM_REMOTE SELECT "A2"."CERTIFICATE_ID","A2"."GIFT_CSG_
ACCOUNT_NO","A2"."CERT_PROMOTION_ID"
7 SERIAL_FROM_REMOTE SELECT "CERTIFICATE_ID","CSG_ACCOUNT_NO","EN
ABLED_DATE","DISABLED_DATE","CREATIO
Statistics
0 recursive calls
14 db block gets
0 consistent gets
14173 physical reads
0 redo size
112195379 bytes sent via SQL*Net to client
3146621 bytes received via SQL*Net from client
449480 SQL*Net roundtrips to/from client
0 sorts (memory)
1 sorts (disk)
6742176 rows processedAny help on this would be greatly appreciated.
Thanks
Rajiv -
Hi,
I have created the plan_table using utlxplan.sql but still i am getting the error:
ORA-02404: specified plan table not found
Is there something else to be done to get it fixed?
please suggest.
Regards
ArpitAs Lukasz suggested check the table privs between the schema where the table was created and the user trying to use it. Also make sure there's a synonym for the user using explain plan to get to the plan table easily; a public synonym might work best
-
To see the current statement getting executed im using the session browser utility in TOAD. And to find the plan of the query im going to the view plan tab. But in that tab it saying the plan table is not available. I created the plan table from $ORACL_HOME/rdbms/admin/utlxplan.sql for the user. But even then im not able to see tha explain plan.
I also changed the plan table in TOAD from TOAD_PLAN_TABLE to PLAN_TABLE in view-->options-->General. But still im not able to see the explain planOkay, so back to basics: you need to identify whether this is a problem with Toad... or with your PLAN_TABLE. So, just for a moment, ditch toad.
Test one: Connect to the database via SQL*Plus as the user you trying to use to explain the query in Toad. Then issue:
SELECT OBJECT_NAME, OBJECT_TYPE, OWNER
FROM ALL_OBJECTS
WHERE OBJECT_NAME = 'PLAN_TABLE';[pre]
What's the output (and what's the user you're connecting as)?
Message was edited by:
Joseph Crofts
Oops - missed a line from the SQL statement. -
Hello,
In planning table MF50 , the row 'not yet assigned ' is displayed from where we can assign plnd orders to any Packign line.
But when i assign the qty from this row to any other packing line the qty from 'not yet assigned ' is not getting deducted . What settings i need to do ?
Also can i assign by default some planned orders to any packing line.
Regards
ShankarRDear,
In MF50 select the row of 'not yet assigned and press Shift + F1 period you want then assign the quantity then use copy function and check. Tere you will get Truck symbol click on it you will get assign quantity.
When you try to assign 50% or less of the quantity to any version, system is taking the correct values in assigned and not yet assigned rows. But when you try to assign more than 50% to any version, system is taking only the assigned quantity as assigned and remaining quantity which is not yet assigned, is not displayed. For that use the OSS note 1104677
Hope it will help you.
Regards,
R.Brahmankar -
Use of Planning Table (MF50) in Capacity Levelling with Production Order
Hello Experts
I wish to know that is it possible to perform Capacity Levelling in planning table (tcode MF50) with respect to a Production Order ? It is known that MF50 is used in Repetitive manufacuring to do the capacity levelling with respect to Planned orders. But in our discrete manufacturing scenario we want to use planning table to the capacity levelling with respect toa Production order.
Any clue or help pertaining to this will be highly appreciated.
Thanks in advance
Regards
JayantaDear ,
MF50 is does the cacapcity leveling based on mateail -run schedule order (planned order ) where as in discrete manufacturing , when you run the MRP , MRP system assume Infinite Capacity and schedule the order as per your selection in MD02(2,1,3,3,2) and then you convert those planned order to Production order .Here you checkied the Capacity in Production Order level .
In stanadrd SAP , it is not possible to use MF50 for discrete production order.
In discrete order or process order , do the caapcity leveling , there are seperate planning table available based on Over all Capacity Profile and Schedule type .This can be done in following way :
1.CM31-Production Order Wise -Tabular
2.CM23-PO wise -Graphical
3.MC88: Ruf Cut Planning
Work Centre Wise : CM21 -Graphical , CM22-Tabular Planning Table .
Make sure the below set up before you carry on the Capacity leveling :
.Define time profile in OPD2.
Define the strategy profile in OPDB
Define the Overall profiles in OPD0.
In OPJK maintained check capacity with SAPSFCG013 profile for your production order type
In OPU3 , scheduleing parametre s: Generate Capacity , Scheduling Type , Automatic Log ,Start date in Past as per your req.
In OPJU , chekc the contol tab of the scheduleing as per OPU3
In OPKP- Production scheduling paranmeters assing the overall capacity profile -SAPSFCG013 with finte scheduling tick.
Master Data :
1.Materials Master define the Production scheduler and production scheduling profile
2.Work Center - Define the capcity planner group,activate checkbox Relevant for Finite sceduling,on the capacity header define the shift timings,break timings and unit of measure,no of individual capaity, enter formula for scheduling in capacity view.
3.Routing - enter the values for the standard values. Use control key with scheduling.
Hope this will help you .
Regards
JH -
Planning user not found in Planning Tables
Hi,
I have provisioned the user in shared services and then ran the provisionsuser.cmd utility as well. This user has different issue, has access to all Business Rules and Planning also but not able to run the BR's and not able to see them in planning.
When I ran a query to check the existance of user in HSP_Object, this user didn't find but able to login into planning and EAS console as well.
Please help me why this user is not in HSP_OBJECT table.
Thanks in advance for your help.
Regards,
UBIf the user can log into the planning application then they will exist in the planning tables.
Cheers
John
http://john-goodwin.blogspot.com/ -
DP_How to lock KF in the interactive Planning table
Dear Expert!
I want to lock the data in the Interactive Planning table according to each Key figure and a period of time (that mean I can not change the data of KF after locked). How can I do?
e.g: I created a Planning book and data view with following Key Figure:
- Forecast
- GDP
- CPI
- Historical Data
And the time bucket profile of this planning book as following:
- Past: 24 months
- Future: 12months
Now, I want to lock data of the KF "Forecast" in all past and future; lock data of other KF (GDP, CPI, Historical data) in past period.
How can I do now!
I hope to know the question soon. Thanks for your support!
LeGiangHi LeGiang,
If you would like to not allow any manual input for ALL the key figures in the past, then the solution for this "history" part would be quite easy.
When you define the planning view, specify the "input from" date as the current date. This way, no-one would be able to change any data in the past manually.
The above would also take care of not allowing any manual changes to "Forecast" in the past.
If however, you want only certain KFs should be non-editable while others should be editable, then you should use the function CELL_INPUT:
Syntax would be like
<Macro Name>
<Step Name> ( <Maintain 'processing Area' as 'past'>)
Cell: <Key Figure Row name> ( Attributes ) =
CELL_INPUT(0)
In above, remember that in <Step> row, you should double-click and change the value of the field 'change scope' to "attributes" from 'values'.
For the future and past, if you want that Forecast should be non-editable, then you could do this by another macro. Define a default macro that would change the attribute of the KF for Forecast as "no input allowed" for all the time periods. You could do this by using the function ROW_INPUT.
Your macro would look like -
<Macro Name>
<Step Name> : ( 1 Iterations :INITIAL;INITIAL )
Row: <Key Figure name e.g. Forecast> ( Attributes ) =
ROW_INPUT( 0)
In the row line above, remember to double click and change the value of the field 'change scope' to "attributes" from 'values'.
If you need more help, do let me know. This second macro would actually make the whole row non-editable. You could create these macros as a default macro, and have them run in the end after the other default macros.
Thanks - Pawan -
Clear the History Data Automatically in Production Planning Table MF50
Dear Friends,
I have the problem to set the Production Planning Table (Txn MF50) to
clear the history data automatically. Currently, all the history data
in the planning table has to be cleared manually.
Appreciate your help.
Rgds
Zahari Yusofinstead of just removing the whole history like private browsing do, i just want to remove browsing/download history and form&search. i didn't want to remove cookies and active logins, heheh. thank you
-
Reg: Functions of Planning Table MF50
Hi Friend,
i wish you all a happy Friendship day...
I need to know the following Function in REM,
1. Functions of Planning table.(MF50)
2.When we carry out Backflush , Components , activities get Posted. where can i find the reports for activities and components posted.
3. Preliminary Costing Values.
Thanks in advance.Hi dayanan,
1. Planning table MF50 is used to create a manual planned order respective date wise inspite of creating in MD11 one by one.
2. When you assembly backflush in MFBF your component consumption and Activities will get posted automatically GI, GR & Activities will be posted. This component consumption you can see through movement type 261 in MB51. Cost of that consumption and activities you can monitor in Product cost collector. PPC. for that go to KKF6N-select version- Header---- costs.... There you can refer the updated cost of consumption and MHR.
3. If you to consume additional component without GR that means only GI, goto MFBF and select component backflush and enter the component which you want to consume.
Hope this will clear all your doubts.
Regards,
Santhosh. -
Maintenance schedule not visible in PAM03 Planning table
Hi,
I have read in SAP help that the maintenance planned for vehicles can be seen in PAM03 planning table. But there is no further information about the required customizing steps.
Who can help?
UdoHi Dean,
try this:
IMG
> Plant Maintenance and Customer Service
> Maintenance and Service Processing
> Pool Asset Management
> Edit Object Processing
Application = Pool Asset Management
Notification Type = M1
Order type = (blank)
Dir. Sched = (selected)
That should give me 10 Points
Regards and good luck
Udo
Maybe you are looking for
-
Pages can't open Pages09 documents from MobileMe
I have a number of files created with Pages '09 on my iDisk. When the files are downloaded with GoodReader they appear as Folders, and Pages-iPad can't open them. Is there a way to open Pages documents stored on iDisk with iPad? Regards
-
Help - Playlists out of view of ipod Icon won't move up to the ipod Icon
Hello, I'm kind of new to the ipod world. I've been doing ok for the most part. I used to have no problems moving my playlists on the left hand side up to the ipod Icon. However, if you can't see the ipod icon my playlist wont' move to it -- only to
-
Hi I am workin on IDoc INVOIC01. When IDoc is processing its giving me an error message: Balance not zero: 49.29 debits: 144.99 credits: 194.28. This is occuring only when shipping charges are entered in the idoc. I am entering the shipping charges i
-
Hi, I want to display Purchse Order Invoice Tax in output script. can anybody know which parameter pass in "CALCULATE_TAX_ITEM" plz help me with example if possible...
-
Logic encounters unnexpected error then crashes?
I had logic 8 and it wrked fine. then one day wouldnt open and everytime produced an error report after saying it encountered an error. i tried installing logic 9, hoping it would bypass errors but it still has same loading issues. can anyone help de