Plan table output

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...
thanks

thanks 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 ?

Similar Messages

  • Interpret EXPLAIN PLAN TABLE OUTPUT

    Please point me to some document to understand on how to interpret this data, especially " OUTLINE DATA ".
    ORCL > explain plan for select * from hr.employees e, hr.departments d where e.department_id = d.department_id ;
    Explained.
    Elapsed: 00:00:00.11
    ORCL > select plan_table_output  from table (DBMS_XPLAN.DISPLAY(NULL, NULL, 'ADVANCED')) ;
    PLAN_TABLE_OUTPUT
    Plan hash value: 1343509718
    | Id  | Operation                    | Name        | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT             |             |   106 |  9540 |     6  (17)| 00:00:01 |
    |   1 |  MERGE JOIN                  |             |   106 |  9540 |     6  (17)| 00:00:01 |
    |   2 |   TABLE ACCESS BY INDEX ROWID| DEPARTMENTS |    27 |   567 |     2   (0)| 00:00:01 |
    |   3 |    INDEX FULL SCAN           | DEPT_ID_PK  |    27 |       |     1   (0)| 00:00:01 |
    |*  4 |   SORT JOIN                  |             |   107 |  7383 |     4  (25)| 00:00:01 |
    |   5 |    TABLE ACCESS FULL         | EMPLOYEES   |   107 |  7383 |     3   (0)| 00:00:01 |
    Query Block Name / Object Alias (identified by operation id):
       1 - SEL$1
       2 - SEL$1 / D@SEL$1
       3 - SEL$1 / D@SEL$1
       5 - SEL$1 / E@SEL$1
    Outline Data
      /*+
          BEGIN_OUTLINE_DATA
          USE_MERGE(@"SEL$1" "E"@"SEL$1")
          LEADING(@"SEL$1" "D"@"SEL$1" "E"@"SEL$1")
          FULL(@"SEL$1" "E"@"SEL$1")
          INDEX(@"SEL$1" "D"@"SEL$1" ("DEPARTMENTS"."DEPARTMENT_ID"))
          OUTLINE_LEAF(@"SEL$1")
          ALL_ROWS
          DB_VERSION('11.2.0.1')
          OPTIMIZER_FEATURES_ENABLE('11.2.0.1')
          IGNORE_OPTIM_EMBEDDED_HINTS
          END_OUTLINE_DATA
    Predicate Information (identified by operation id):
       4 - access("E"."DEPARTMENT_ID"="D"."DEPARTMENT_ID")
           filter("E"."DEPARTMENT_ID"="D"."DEPARTMENT_ID")
    Column Projection Information (identified by operation id):
       1 - (#keys=0) "D"."DEPARTMENT_ID"[NUMBER,22], "E"."DEPARTMENT_ID"[NUMBER,22],
           "D"."LOCATION_ID"[NUMBER,22], "D"."DEPARTMENT_NAME"[VARCHAR2,30],
           "D"."MANAGER_ID"[NUMBER,22], "E"."EMPLOYEE_ID"[NUMBER,22],
           "E"."FIRST_NAME"[VARCHAR2,20], "E"."LAST_NAME"[VARCHAR2,25],
           "E"."EMAIL"[VARCHAR2,25], "E"."PHONE_NUMBER"[VARCHAR2,20], "E"."HIRE_DATE"[DATE,7],
           "E"."JOB_ID"[VARCHAR2,10], "E"."SALARY"[NUMBER,22],
           "E"."COMMISSION_PCT"[NUMBER,22], "E"."MANAGER_ID"[NUMBER,22]
       2 - "D"."DEPARTMENT_ID"[NUMBER,22], "D"."DEPARTMENT_NAME"[VARCHAR2,30],
           "D"."MANAGER_ID"[NUMBER,22], "D"."LOCATION_ID"[NUMBER,22]
       3 - "D".ROWID[ROWID,10], "D"."DEPARTMENT_ID"[NUMBER,22]
       4 - (#keys=1) "E"."DEPARTMENT_ID"[NUMBER,22], "E"."EMPLOYEE_ID"[NUMBER,22],
           "E"."FIRST_NAME"[VARCHAR2,20], "E"."LAST_NAME"[VARCHAR2,25],
           "E"."EMAIL"[VARCHAR2,25], "E"."PHONE_NUMBER"[VARCHAR2,20], "E"."HIRE_DATE"[DATE,7],
           "E"."JOB_ID"[VARCHAR2,10], "E"."SALARY"[NUMBER,22],
           "E"."COMMISSION_PCT"[NUMBER,22], "E"."MANAGER_ID"[NUMBER,22]
       5 - "E"."EMPLOYEE_ID"[NUMBER,22], "E"."FIRST_NAME"[VARCHAR2,20],
           "E"."LAST_NAME"[VARCHAR2,25], "E"."EMAIL"[VARCHAR2,25],
           "E"."PHONE_NUMBER"[VARCHAR2,20], "E"."HIRE_DATE"[DATE,7],
           "E"."JOB_ID"[VARCHAR2,10], "E"."SALARY"[NUMBER,22],
           "E"."COMMISSION_PCT"[NUMBER,22], "E"."MANAGER_ID"[NUMBER,22],
           "E"."DEPARTMENT_ID"[NUMBER,22]
    68 rows selected.
    /

    "outline data" are a set of hints that enforce the use of the given plan.
    The best source on interpreting plans (I know) is: http://antognini.ch/papers/InterpretingExecutionPlans_20091017.pdf
    Regards
    Martin

  • IMG setting for REM Planning Table

    Hi Gurus,
    Can any one throw light on following IMG settings-
    Path -
    IMG --> Production --> REM --> Planning --> Planning table --> Maintain Row selection --> Reciepts Other version
    Relevance of "Other version - in IMG setting for visible rows in planning table".
    Planning table output does not change with check or uncheck of version.
    Which check or unchecking, planning table is considering all the production versions of the materials maintained.
    What is purpose of having a check or uncheck, if system is giving the same result.
    Regards,
    Srini

    Hi Srini,
    We create production version to OPTIMIZE the production. We mention the routing and the BOM in the production version. Actually speaking, in the REM scenario we don't even need a planned order. Production order is absolutely not needed. So in the planning table, it shows the production data for all the versions that you have created, irrespective of whether or not you check the indicator. During planning run, the system will take the first production version by default. So in the planning table you can see the optimum production and you can do leveling also, possible through the row selection option in IMG. Hope this sheds a light on your concern.
    Regards,
    Sreekant.

  • PLAN TABLE

    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 plan

    Okay, 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Smart form requirement(related to TLine table output)

    Hi,
    I am trying to display smartform developed in ABAP  from webdynpro java as a PDF .The output is taken from a BAPI which is returning the output in TLINE table. I have tried printing the table output which consists of special characters but I am not able to get the output from the BAPI.
    Can anybody please tell what can be done for the same.Looking forward for the reply.
    Regards,
    Pawan

    Hi Pawan,
    I should clarify.  If you are planning to use Web Dynpro your first task is to get data into the Context Controller of the Web Dynpro component you are using.  Data is obtained via an Adaptive Web Service model which is generated for you by Web Dynpro if you provide it a WSDL.  So you need to create a Web Dynpro Project (If you plan to use the NWDI which most projects will it is best to create development component project of type Web Dynpro rather than just a Web Dynpro project), Anyhow once you you will an empty models folder in the project. Right click this to be prompted for the model type.  The model will be generated if the WSDL meets the criteria for generating a model. If it is created you still need to initiatlize the model in the wdDoInit() method of the Web Dynpro component controller and place the model nodes correctly in the Context of the Component Controller.
    This is accessed using wdContext from wdDoInit().  Once the data is properly in the context you will need to use context mapping to map the data into the context of the view controller from which it can be applied to the UI components in the Views layouts.

  • Plan Table Not Being Created

    When I place the cursor on a statement and press F6, sqldev asks me if I want to create the missing plan table. If choosing YES, nothing happens, no output to the console, no plan table is created. F6-ing again and the same happens again and again.
    After executing ?/rdbms/admin/utlxplan.sql (using the same connection info), it works.
    This is against 9.2.0.4.

    >
    Normal table fine but trying syntax below but tabel properties show no compression
    >
    What properties? You didn't show any query or result that shows if the table is compressed or not.
    >
    nOW HSOING AT TABLE LEVEL OR ON TABLE PORPETIES BUT WHEN check user_tab_partitions shows as compressed for oltp
    >
    I have no idea what any of that means.
    Again - you didn't post anything showing if the table is compressed or not. And without the DDL for the source table no one can try to reproduce your results.
    Thanks for using code tags and posting some of the DDL needed but you should edit your post and REMOVE all of the extra partition definitions since all they do is bloat the listing.
    This works for me in vanilla 11.2.0.1.0
    create table EMP_PART parallel
    COMPRESS FOR OLTP
    partition by range (hiredate)
    INTERVAL (NUMTOYMINTERVAL(1,'MONTH'))
    subpartition by hash (deptno)
    subPARTITIONS 4
      partition all_data values less than (to_date('01/01/2013', 'mm/dd/yyyy')
    as select * from emp
    select table_name, compression, compress_for, composite, partition_name
    from user_tab_partitions
    TABLE_NAME     COMPRESSION     COMPRESS_FOR     COMPOSITE     PARTITION_NAME
    EMP_PART     ENABLED     OLTP     YES     ALL_DATA

  • 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
    Prathib

    Most 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,
    Ravindra

    Hello,
    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.

  • How to remove empty row from rfc table output.

    Hello,
      I am using adaptive rfc and printing table output. The table rows start from 2nd row, the first row being empty. How can I remove the empty first row.
    Here is what I tried.
    wdContext.nodeDataSource().nodeTableOutput().moveNext();
    and
    wdContext.nodeDataSource().nodeTableOutput().moveTo(1);
    Neither of them worked. Any clue is appreciated.
    Srinivas

    IWDNodeElement first = wdContext.nodeDataSource().nodeTableOutput().getElementAt(0);
    wdContext.nodeDataSource().nodeTableOutput().removeElement(first);
    Armin

  • Question on Plan Table

    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
    Rajiv

    Hi 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

  • Explain Plan Table

    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
    Arpit

    As 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

  • Planning table

    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
    ShankarR

    Dear,
    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
    Jayanta

    Dear ,
    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

  • How can we have  Multiple table outputs in a ABAP Query .

    HI Experts .
    query output in 3 different  abap list s
    My requirement is to have  basic list of 20 fields  and the  summation list of 6 individual fields ( grouping ) and  another table output of 10 fields in a single query and single output .  the second and the 3 rd output fields are from  the basic list only .
    kindly help
    Pols

    The user is asking about  Query with more than one list as output.
    like Multiple list in  a ouput.

Maybe you are looking for