Scenario Querry

Hi,
I have a particular scenario wherein the mrp run
generates a non account assigned PR
Parent item (FG): Pump Assembly
Child items:
1.Bare pump
2.Coupling
3.Base
Now when u run MRP for an assemble to order sales order
via MDO2,coupling and base are sent to subcontractor against sales order from stock, but when it comes to bare pump our scenario is such that this child item is sometimes available in stock while most
of the time it is procured from subcontractor itself
directly who then performs the assembly whose charges are
included in the subcontracting info record of the parent item.
Now, i want to know what is the exact setting in the
material master records for indivigual/collective requirements in each of material master records? 
Any HELP regarding this querry, it would
be really appreciated!
Thanks in Advance...
Santosh

Hi Santosh,
Individual/Collective indicator
Parent item (FG): Pump Assembly "1"
Child items:
1.Bare pump  "2"
2.Coupling   "1"
3.Base       "1"
Coupling and Base can also be defined as "2" provided it is a standard part.
Regards,
Prasobh

Similar Messages

  • Dynamic select querry in sender jdbc adapter

    Hi,
          We are working on a scenario where in we will be using different source database tables , we were trying to see if it is possible that the select querry can be made dynamic so that the same communication channel can be used for all the different source tables.
         Request all to come up with suggestions as to if this is possible.
    Thanks ,
    Pravesh Puria.

    Hi All,
    Thanks VJ for your reply.
    Let me reframe my question.
    I have multiple database instances at source side. On all instances I have same table name.
    My requirement is to poll all these instances table and fetch data.
    Do I need to create multiple sender agreements or there is a way to dynamically change the datbase name in sender Communication channel.
    Any other solution is also appreciated.
    Same is the case with JMS adapter, Multiple instances of JMS are there at source side sending similar structure data in there own queue.
    Request you to kindly response.
    Regards,
    Pravesh

  • Dynamic select querry in sender JDBC channel

    Hi,
        We are working on a scenario where we need to read data from various database tables , we were trying to see if it is possible that the select querry can be set dynamically so that the same channel can be used to read from the various tables.
        Request all to please come up with suggestions as to whether this is possible.
    Thanks ,
    Pravesh Puria.

    Hi All,
    Thanks VJ for your reply.
    Let me reframe my question.
    I have multiple database instances at source side. On all instances I have same table name.
    My requirement is to poll all these instances table and fetch data.
    Do I need to create multiple sender agreements or there is a way to dynamically change the datbase name in sender Communication channel.
    Any other solution is also appreciated.
    Same is the case with JMS adapter, Multiple instances of JMS are there at source side sending similar structure data in there own queue.
    Request you to kindly response.
    Regards,
    Pravesh

  • Select the current row in read only querry VO

    Hi.,
    I am using jdev 11.1.1.5
    I had created a Finyear EO with corresponding VO
    I had also created a read only querry VO [PostdGLhdlnVO]
    I had created a viewlink between FinyearVO and PostdGlhdlnVO with following conditions
    FinyearVO.bu = PostdGLhdlnVO.bu
    FinyearVO.year = PostdGLhdlnVO.year
    I need to select the current row and print that row using println statement. as i am using readonly querry while i drag and drop the PostdGLhdlnVO i cant able to select the current line (i.e., when user clicks the current row)
    My scenario:
    I need to create a non database checkbox for every row in that table [PostdGLhdlnVO] which will get the current row
    can anyone help me to create a nondatabase checkbox for that table

    Try,
    This may help:
    Re: ADF Table Multiple row selection by Managed Bean-Prasad

  • Querry Report Required

    Dear All,
    In our Scenario we are transfering the Inventory for the production (Daily) What ever is issued to perticular department(Warehouse). an from that warehouse items are issue for production.
    Example:
    Inventory Transfer: date
    Item X : transfer from main stores to A warehouse (100QTy)
    Production Order: date
    FG: Z (50 QTY)
    Require X (10QTY)
    Issue for Production of X item is 10 QTY
    I want a querry which shows me
    Total production of FG , Inventory Transfer of X  with a filter of date between
    thanks in advance
    Ashish Gupte

    Hi Gordon
    Sorry for replying late.
    Yes it is defined in BOM .
    Ashish Gupte

  • RFC to multi file scenario

    Hi,
    I have to carry out a RFC to multi-file scenario. The requirement is that Error generating on whatever part XI will handle have to be reported. Is this possible in this scenario? What can be the mechanism?
    I want to report these errors via a mail to an e-mail id.
    Since i haven't done this scenario, i would appreciate if some link for carrying this out step-by-step is given.Also tell me what configuration for receiving RFC has to be done on XI and R/3.

    Hi Arpit
    <b>go through these blogs for the querry</b>
    <b>For email alerts</b>
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
    /people/sap.user72/blog/2005/01/14/alert-management--improving-monitoring-of-your-landscape
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    You have to do SMTP Configuration for EMail and SMS.....
    http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
    Thanks !!

  • JDBC -- Idoc scenario.

    Hello experts.
    I have next scenario JDBC --> Idoc.
    I have a sender JDBC adapter who reads information of BD table. This information is passed to Idoc, and update DB records, for next iteration don´t touch this records.
    JDBC adapter reads in 5000 sec interval, but how I can do that JDBC adapter only read when another condition?
    For example if read process is more large then 5000 secons, JDBC adapter reads the same information but my process until don´t update BD table, and this is a BIG problem , but two identicals Idocs are generated.
    Some one know how I can solve this problem?
    Thanks.

    Julian,
    When you make the option as serializable,the update query will update all records that satisfy the update query but it will ensure that no new data is entered in to the table between the execution of the select and update query.
    In your case as I guess you have given maxRecords in the select Queryt ( only 1500 ) records were selected , but as you aren ot using this same criteria in the update query all rows have been updated.
    Remember Serializable ensure that no new data is enetered into the table between the select and update query's execution. You should ensure that the update query only updates the data selected in the Select Query.
    A DB expert should be able to helo your forumuale the required querry.
    regards
    Bhavesh

  • ABAP Querry related Querry

    Hi,
    I am creating an ABAP Querry using SQ03, SQ02 and SQ01.
    I have two tables to fetch data - MAST AND MARA.
    The only common field in the two is MATNR.
    First I created the Infoset using table MAST.
    I clicked on the <b>Join</b> Radio Button on SQ02.
    And then Inserted the MARA table using Insert Table Button.
    It automatically, linked the two tables using MATNR field because that is the only common field in the two tables.
    I can see the fields of MAST Table in SQ02 and SQ01,
    But I can't see the fields of MARA which I have to display on the Input screen as well as output screen.
    Help needed.
    Thanks in advance,
    Ishaq.

    Hi Ishaq,
      Have you selected the fields into field groups?
    Check my article which explains a sample scenario in the link below.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40bec8da-4cd8-2910-27a9-81f5ce10676c
    Regards
    Sailaja.
    (Intelligroup).

  • Need help to solve update querry for multiple records.

    Could any of you please provide update querry for the following scenario.
    Requiremnt:
    1. Update the UNIQUE_ID of record ( same Identifier and Identifier_code
    where END_Date is not null) with the UNIQUE_ID of the record (( same  Identifier and Identifier_code
    where END_Date  is null).
    2. If More than one NULL in END_date then update UNIQUE_ID with max(EFFective_Date) of UNIQUE_ID
    Source  data
    UNIQUE_ID
    Identifier
    Identifier_code
    EFFective_Date
    END_Date
    1
    777
    abc
    2/14/2014 11:15
    2/28/2014 9:00
    1
    777
    abc
    2/21/2014 9:00
    3/7/2014 9:02
    2
    777
    abc
    2/28/2014 9:00
    3/14/2014 9:02
    2
    777
    abc
    3/7/2014 9:02
    3/14/2014 9:02
    2
    777
    abc
    3/14/2014 9:02
    NULL
    5
    888
    xyz
    2/14/2014 11:15
    2/28/2014 9:00
    5
    888
    xyz
    2/21/2014 9:00
    3/7/2014 9:02
    5
    888
    xyz
    2/28/2014 9:00
    3/14/2014 9:02
    6
    888
    xyz
    3/7/2014 9:02
    NULL
    7
    888
    xyz
    3/14/2014 9:02
    NULL
    OutPUT .
    UNIQUE_ID
    Identifier
    Identifier_code
    EFFective_Date
    END_Date
    2
    777
    abc
    2/14/2014 11:15
    2/28/2014 9:00
    2
    777
    abc
    2/21/2014 9:00
    3/7/2014 9:02
    2
    777
    abc
    2/28/2014 9:00
    3/14/2014 9:02
    2
    777
    abc
    3/7/2014 9:02
    3/14/2014 9:02
    2
    777
    abc
    3/14/2014 9:02
    NULL
    7
    888
    xyz
    2/14/2014 11:15
    2/28/2014 9:00
    7
    888
    xyz
    2/21/2014 9:00
    3/7/2014 9:02
    7
    888
    xyz
    2/28/2014 9:00
    3/14/2014 9:02
    7
    888
    xyz
    3/7/2014 9:02
    NULL
    7
    888
    xyz
    3/14/2014 9:02
    NULL
    Thanks in advance.

    Hi Vikash,
    This query will not produce results as per requirement:
    Try it with following data
    Insert into @TempTABLE values (1,777,'abc','2/14/2014 11:15','3/14/2014 9:02')
    Insert into @TempTABLE values (1,777,'abc','2/21/2014 9:00','3/14/2014 9:02')
    Insert into @TempTABLE values (2,777,'abc','2/28/2014 9:00','3/14/2014 9:02')
    Insert into @TempTABLE values (2,777,'abc','3/7/2014 9:02','3/14/2014 9:02')
    Insert into @TempTABLE values (2,777,'abc','3/14/2014 9:02',NULL)
    Insert into @TempTABLE values (5,888,'xyz','2/14/2014 11:15','3/14/2014 9:02')
    Insert into @TempTABLE values (5,888,'xyz','2/21/2014 9:00','3/14/2014 9:02')
    Insert into @TempTABLE values (5,888,'xyz','2/28/2014 9:00','3/14/2014 9:02')
    Insert into @TempTABLE values (7,888,'xyz','3/7/2014 9:02',NULL)
    Insert into @TempTABLE values (6,888,'xyz','3/14/2014 9:02',NULL)
    as per the problem statement, all records having 888,'xyz' should be updated with 6 not 7 as max effective date is associated with 6 not 7.
    Ashutosh
    Nope.
    can you check the original post first. It clearly states output as having 7 as id for all the records with 888,xyz
    also your above posted sample data is different from original sample data as you've dates jumpled up for the records with ids 6 and 7
    Please see the illustration for original sample data
    --sample table for illustration
    declare @t table
    (UNIQUE_ID int,Identifier int,Identifier_code varchar(100),EFFective_Date datetime ,END_Date datetime)
    --populate original sample data
    INSERT @t ([UNIQUE_ID], [Identifier], [Identifier_code], [EFFective_Date], [END_Date]) VALUES (1, 777, N'abc', CAST(0x0000A2D200B964F0 AS DateTime), CAST(0x0000A2E0009450C0 AS DateTime))
    INSERT @t ([UNIQUE_ID], [Identifier], [Identifier_code], [EFFective_Date], [END_Date]) VALUES (1, 777, N'abc', CAST(0x0000A2D9009450C0 AS DateTime), CAST(0x0000A2E70094DD60 AS DateTime))
    INSERT @t ([UNIQUE_ID], [Identifier], [Identifier_code], [EFFective_Date], [END_Date]) VALUES (2, 777, N'abc', CAST(0x0000A2E0009450C0 AS DateTime), CAST(0x0000A2EE0094DD60 AS DateTime))
    INSERT @t ([UNIQUE_ID], [Identifier], [Identifier_code], [EFFective_Date], [END_Date]) VALUES (2, 777, N'abc', CAST(0x0000A2E70094DD60 AS DateTime), CAST(0x0000A2EE0094DD60 AS DateTime))
    INSERT @t ([UNIQUE_ID], [Identifier], [Identifier_code], [EFFective_Date], [END_Date]) VALUES (2, 777, N'abc', CAST(0x0000A2EE0094DD60 AS DateTime), NULL)
    INSERT @t ([UNIQUE_ID], [Identifier], [Identifier_code], [EFFective_Date], [END_Date]) VALUES (5, 888, N'xyz', CAST(0x0000A2D200B964F0 AS DateTime), CAST(0x0000A2E0009450C0 AS DateTime))
    INSERT @t ([UNIQUE_ID], [Identifier], [Identifier_code], [EFFective_Date], [END_Date]) VALUES (5, 888, N'xyz', CAST(0x0000A2D9009450C0 AS DateTime), CAST(0x0000A2E70094DD60 AS DateTime))
    INSERT @t ([UNIQUE_ID], [Identifier], [Identifier_code], [EFFective_Date], [END_Date]) VALUES (5, 888, N'xyz', CAST(0x0000A2E0009450C0 AS DateTime), CAST(0x0000A2EE0094DD60 AS DateTime))
    INSERT @t ([UNIQUE_ID], [Identifier], [Identifier_code], [EFFective_Date], [END_Date]) VALUES (6, 888, N'xyz', CAST(0x0000A2E70094DD60 AS DateTime), NULL)
    INSERT @t ([UNIQUE_ID], [Identifier], [Identifier_code], [EFFective_Date], [END_Date]) VALUES (7, 888, N'xyz', CAST(0x0000A2EE0094DD60 AS DateTime), NULL)
    --do the update
    UPDATE t
    SET UNIQUE_ID = MaxID
    FROM
    SELECT MAX(CASE WHEN END_DATE IS NULL THEN UNIQUE_ID END) OVER (PARTITION BY Identifier,Identifier_code) AS MaxID,UNIQUE_ID
    FROM @t
    )t
    WHERE UNIQUE_ID <> MaxID
    AND MaxID IS NOT NULL
    --now check the output
    SELECT * FROM @t
    The output is as below
    UNIQUE_ID Identifier Identifier_code EFFective_Date END_Date
    2 777 abc 2014-02-14 11:15:00.000 2014-02-28 09:00:00.000
    2 777 abc 2014-02-21 09:00:00.000 2014-03-07 09:02:00.000
    2 777 abc 2014-02-28 09:00:00.000 2014-03-14 09:02:00.000
    2 777 abc 2014-03-07 09:02:00.000 2014-03-14 09:02:00.000
    2 777 abc 2014-03-14 09:02:00.000 NULL
    7 888 xyz 2014-02-14 11:15:00.000 2014-02-28 09:00:00.000
    7 888 xyz 2014-02-21 09:00:00.000 2014-03-07 09:02:00.000
    7 888 xyz 2014-02-28 09:00:00.000 2014-03-14 09:02:00.000
    7 888 xyz 2014-03-07 09:02:00.000 NULL
    7 888 xyz 2014-03-14 09:02:00.000 NULL
    Now compare it with original output and you'll find they're the same
    UNIQUE_ID Identifier Identifier_code EFFective_Date END_Date
    2 777 abc 2/14/2014 11:15 2/28/2014 9:00
    2 777 abc 2/21/2014 9:00 3/7/2014 9:02
    2 777 abc 2/28/2014 9:00 3/14/2014 9:02
    2 777 abc 3/7/2014 9:02 3/14/2014 9:02
    2 777 abc 3/14/2014 9:02 NULL
    7 888 xyz 2/14/2014 11:15 2/28/2014 9:00
    7 888 xyz 2/21/2014 9:00 3/7/2014 9:02
    7 888 xyz 2/28/2014 9:00 3/14/2014 9:02
    7 888 xyz 3/7/2014 9:02 NULL
    7 888 xyz 3/14/2014 9:02 NULL
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Needs Time Calculation in SQL Querry

    Dear ALL,
    I am having One Finished Good (X )  which is make item and machine is defined in one of the UDF in Item master (U_MACH) and Speed of the machine is also defined in Item Master. (U)Speed)
    now the scenario is :
    I got an Sales order for X , qty is 100000
    Now i want to calculate the time
    speed of the machine is 400 per min and name of the machine is M1
    so
    100000/400 = 250 /60  = 4,16 Hrs
    and my end time is 10AM 
    i want a querry to calculate 10:00:00 - 4:16.00 = 5:44:00
    Thanks In Advance
    Ashish Gupte

    Hi,
    I have a sample code right here.Just change Hour1 and Hour 2 into your corresponding Table.FieldName.
    Note: the only difference here is Time start - Time end - 15 mins. Kindly remove @lessmin.
    DECLARE @lessmin int;
    DECLARE @ms int;
    DECLARE @datetime1 datetime;
    DECLARE @datetime2 datetime;
    Declare @hour1 as datetime
    Declare @hour2 as datetime
    Declare @date1 as datetime
    Declare @date2 as datetime
    set @date1 ='2011-08-25'
    set @date2 ='2011-08-25'
    set @hour1=(Select $[OPDN.U_LoadTimeStart])
    set @hour2 =(Select $[OPDN.U_LOadTimeEnd])
    SET @lessmin = -15;
    SET @datetime1 = @date1 + @hour1 ;
    SET @datetime2 = @date2 + @hour2;
    SET @ms = DATEDIFF(ms,@datetime1,DATEADD(mi,@lessmin,@datetime2));
    select  convert(varchar(13),@ms/3600000)+':'+right('0'+convert(varchar(2),(@ms % 3600000)/60000),2)
    Regards,
    Darius Gragasin

  • How PLM scenario is integrated to SAP ?

    Hi Guys,
    We are planning PLM scenario integration to SAP.
    Could someone provide me some pointers on how to start , prerequisites , technologies involved , skill set required , does ABAP techie play a key role.
    Your suggestions and helpful pointers are immensely appreciated.
    Best Regards,
    Garry.

    Hi Garrick,
    Your Question is open and very general as PLM is very vast and depends on the scenario?
    Any way i will just try to explain you:
    PLM has many parts i.e. PDM (Product Data Managment) which comprise of Material master, Bill of Materials, Document Management System, (If any CAD Interface with DMS, or MS Word or MS Excel Integrations with DMS as templates), Engineering Change Management, Order Change Management, Classification System.
    All these are with in SAP R/3 and you have configure as per the business requirement and integration b/w these objects (MM, BOM, DIR etc) are very important and needs lot of ABAP help as it involves Function Modules, enhancements, etc as per needs again.
    PLM also comprise of CFolders, Cprojects which are the Plug In to R/3 and works on Intranet and Internet again depending on the Requirement of Customer/Business.
    To work on Cprojects it is important to have PS knowledge but not mandatory,
    Again based on the Scenarios it depends the Integration of CFolders & Cprojects with your existing R/3 PS, DMS, BOM, MM, etc.
    Any SAP Functional guy can handle PLM, but with some knowledge of Functional MOdules, enhancements etc with some Innovative Ideas.
    There might also be some Workflow requirement in DMS and ECM which will be controled and authorized based on Statuses.
    Hope you have got the enough idea.
    Any specific querry you can post to SDN, SDN freinds will definetely help you.
    Regards
    Rehman
    Reward Your Points If Useful

  • Querry result not clear

    I have a function f1 and one table rno1 :->
    create or replace function f1(p1 number ) return number is
    temp1 number := 0 ;
    begin
    select s3.nextval into temp1 from dual;
    return temp1;
    end;
    SQL> desc rno1;
    Name Type
    DEPTNO NUMBER(2)
    RNO NUMBER(4)
    Data in table rno1 is like :->
    SQL> select DEPTNO from rno1;
    DEPTNO
    20
    30
    30
    20
    30
    30
    10
    20
    10
    30
    20
    30
    20
    10
    20
    20
    20
    20
    20
    19 rows selected.
    When I am executing the below querry i am getting for Deptno 10 two DEPTNO1 values
    1184 and 1185 For the deptno 20 one value 1186 and for Deptno 30 two values
    1187 and 1188.
    1 select r1.DEPTNO, r2.deptno1 from rno1 r1,
    2 (select DEPTNO, f1(c.deptno) DEPTNO1 from rno1 c group by c.deptno) r2
    3* where r1.DEPTNO = r2.DEPTNO
    SQL> /
    DEPTNO DEPTNO1
    10 1184
    10 1185
    10 1185
    20 1186
    20 1186
    20 1186
    20 1186
    20 1186
    20 1186
    20 1186
    20 1186
    20 1186
    20 1186
    30 1187
    30 1187
    30 1187
    30 1188
    30 1188
    30 1188
    19 rows selected.
    Can any one explain this result querry.
    I think for each deptno the should be one value only.

    Hello,
    Not exactly sure why it is happening but from the tests I did, it seems that a sort join/merge join combination causes the additional calls to the function. When the query uses a hash join, the problem does not ocurr. This can't be taken as a rule of thumb however as I've only tested it with this limited scenario:
    SQL> select * from v$version;
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE    9.2.0.3.0       Production
    TNS for Solaris: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    SQL> select * from dt_test_tab;
        DEPTNO
            20
            30
            30
            20
            30
            30
            10
            20
            10
            30
            20
            30
            20
            10
            20
            20
            20
            20
            20
    --No stats gathered
    SQL> select
      2     r1.DEPTNO,
      3     r2.deptno1
      4  from
      5     dt_test_tab r1,
      6     (select
      7             DEPTNO,
      8             dt_test_f1(c.deptno) DEPTNO1
      9     from
    10             dt_test_tab c
    11     group by
    12             c.deptno
    13     ) r2
    14  where
    15     r1.DEPTNO = r2.DEPTNO;
        DEPTNO    DEPTNO1
            10        116
            10        117
            10        117
            20        118
            20        118
            20        118
            20        118
            20        118
            20        118
            20        118
            20        118
            20        118
            20        118
            30        119
            30        119
            30        119
            30        120
            30        120
            30        120
    PLAN_TABLE_OUTPUT
    | Id  | Operation            |  Name        | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |              |       |       |       |
    |   1 |  MERGE JOIN          |              |       |       |       |
    |   2 |   VIEW               |              |       |       |       |
    |   3 |    SORT GROUP BY     |              |       |       |       |
    |   4 |     TABLE ACCESS FULL| DT_TEST_TAB  |       |       |       |
    |*  5 |   SORT JOIN          |              |       |       |       |
    |   6 |    TABLE ACCESS FULL | DT_TEST_TAB  |       |       |       |
    Predicate Information (identified by operation id):
       5 - access("R1"."DEPTNO"="R2"."DEPTNO")
           filter("R1"."DEPTNO"="R2"."DEPTNO")
    Note: rule based optimization
    --Results after gather_table_stats appear to be correct:
        DEPTNO    DEPTNO1
            20        122
    30 123
    30 123
            20        122
    30 123
    30 123
    10 121
            20        122
    10 121
    30 123
            20        122
    30 123
            20        122
    10 121
            20        122
            20        122
            20        122
            20        122
            20        122
    | Id  | Operation            |  Name        | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |              |    19 |   551 |     7 |
    |*  1 |  HASH JOIN           |              |    19 |   551 |     7 |
    |   2 |   VIEW               |              |     3 |    78 |     4 |
    |   3 |    SORT GROUP BY     |              |     3 |     9 |     4 |
    |   4 |     TABLE ACCESS FULL| DT_TEST_TAB  |    19 |    57 |     2 |
    |   5 |   TABLE ACCESS FULL  | DT_TEST_TAB  |    19 |    57 |     2 |
    Predicate Information (identified by operation id):
       1 - access("R1"."DEPTNO"="R2"."DEPTNO")
    --Results after adding the order by to get the above results in the right order
    SQL> select
      2     r1.DEPTNO,
      3     r2.deptno1
      4  from
      5     dt_test_tab r1,
      6     (select
      7             DEPTNO,
      8             dt_test_f1(c.deptno) DEPTNO1
      9     from
    10             dt_test_tab c
    11     group by
    12             c.deptno
    13     ) r2
    14  where
    15     r1.DEPTNO = r2.DEPTNO
    16 order by
    17 r1.deptno;
        DEPTNO    DEPTNO1
            10        124
            10        125
            10        125
            20        126
            20        126
            20        126
            20        126
            20        126
            20        126
            20        126
            20        126
            20        126
            20        126
            30        127
            30        127
            30        127
            30        128
            30        128
            30        128
    | Id  | Operation            |  Name        | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |              |    19 |   361 |     8 |
    |   1 |  MERGE JOIN          |              |    19 |   361 |     8 |
    |   2 |   VIEW               |              |     3 |    48 |     4 |
    |   3 |    SORT GROUP BY     |              |     3 |     9 |     4 |
    |   4 |     TABLE ACCESS FULL| DT_TEST_TAB  |    19 |    57 |     2 |
    |*  5 |   SORT JOIN          |              |    19 |    57 |     4 |
    |   6 |    TABLE ACCESS FULL | DT_TEST_TAB  |    19 |    57 |     2 |
    Predicate Information (identified by operation id):
       5 - access("R1"."DEPTNO"="R2"."DEPTNO")
           filter("R1"."DEPTNO"="R2"."DEPTNO")I think the point is though that this isn't an reliable method of ensuring one call per deptno as the results change with the execution plan...the reasons for which however are beyond my understanding, although I'm sure someone else will have a better idea as to why this is happening.
    HTH
    David

  • Logical System in IDOC-XI scenario

    Hi,
         I need help to understand few things in IDOC-XI scenario, could any one help me in this regard.
        we use Adapter specific identifiers to map services, we have following type of identifiers 1) Sys.ID & Client No.  2) Logical System. 
    my questions are
    a) Are we use Logical System in B to B scenario ?
    b) Are we use LS in reference to the SAP system or Non SAP system ? if a non SAP system....how a non SAP system send an IDOC and why a non SAP system receive an IDOC ( conversion is possible in XI ) ?
    Thanks and Regards
    Mahesh.

    Hay Kumar,
    Logical systems can also be used for SAp sytems wich are not installed yet as a virtuall placeholder.
    a) yes. if on of your business is a non sap system or a propritery system that you developed yuo'll ue LS.
    b) non SAP system can send and recieve IDOCs. so it's possiable to get an IDOC from a system and turn it into an RFC for SAP or get an IDOC from an SAP system and then turn it into something else for another system.
    Have a Good One,
    Uri Lifshitz.

  • Sale Order Scenario - Report in PS Budget /Actual/Variance

    Dear Experts,
    Please help me understand solve the scenario given below
    Step 1
    Work order issued to a contractor ( contract includes Service and Material from the contractor) - Service being the labour part
    and Material being the cement
    But cement is supplied by the client as a sale of cement at a basic price agreed between the two parties.
    Eg:
    There are 2 WBS
    WBS 1 - has a PR released converted to PO with value 100 ( inclusive service + material)
    Material procured through me51n , Me21n - GR done and stock has come to GNST ( 40 rs)
    material converted to sale order stock mb1b - 412 E after creating sale order with reference to WBS 2
    WBS 2 -  reports cost incurred for procurement ie; 40rs
    Actual booked against WBS1 based on GR 100
    Once the billing is done for rs 20 ( basic price) report in budget actual variance shows as below
                    Budget    Actual    Variance
    WBS 1      200          100          100
    WBS 2                       40           -40
    Report should show 120 as the project cost rather than 140 - since 20 is lost against selling at lower cost.
    How to get the cost to 120 which is the actual cost for the work

    Dear Experts,
    Please help me understand solve the scenario given below
    Step 1
    Work order issued to a contractor ( contract includes Service and Material from the contractor) - Service being the labour part
    and Material being the cement
    But cement is supplied by the client as a sale of cement at a basic price agreed between the two parties.
    Eg:
    There are 2 WBS
    WBS 1 - has a PR released converted to PO with value 100 ( inclusive service + material)
    Material procured through me51n , Me21n - GR done and stock has come to GNST ( 40 rs)
    material converted to sale order stock mb1b - 412 E after creating sale order with reference to WBS 2
    WBS 2 -  reports cost incurred for procurement ie; 40rs
    Actual booked against WBS1 based on GR 100
    Once the billing is done for rs 20 ( basic price) report in budget actual variance shows as below
                    Budget    Actual    Variance
    WBS 1      200          100          100
    WBS 2                       40           -40
    Report should show 120 as the project cost rather than 140 - since 20 is lost against selling at lower cost.
    How to get the cost to 120 which is the actual cost for the work

  • Possible to do if/then scenarios?

    I work for a large company that has many sales branches throughout the US (40+). Each branch has a MPLS circuit and a local ISP. We have prioritized data that is sent over the MPLS circuit, and all other data over the ISP, with failover configured for either circuit to fail over to the other one. Right now all of the sales branches internet traffic (along with all non-priority traffic such as email) comes back thru the ISP (via a VPN tunnel) to our main location, so we can monitor the internet links. We would like configure the normal internet traffic to go out the ISP directly, but still have the email and so come back via the VPN tunnel. We know how to configure this, however, when we do this we would like to install a PC with some monitoring software on it (surf control), that way we can still monitor the internet traffic. We would like to set it up so that if the PC with Surf Control goes down, that the router will send traffic back over the VPN tunnel or MPLS traffic. So the basis of what I want to do is:
    If PC Goes Down = False, Send Traffic To PC
    If PC Goes Down = True, Send Data To VPN tunnel or MPLS circuit.
    Is it possible to do such a scenario?
    We do not currently have the budget for a pix or anything like this, so we are trying to figure it out. I have attached a very basic diagram of the basic network configuration that we have. Any suggestions would be appreciated.
    Also we do have a Ciscoworks LMS 2.6 available as well if that would help at all.

    http://www.cisco.com/en/US/products/sw/iosswrel/ps5413/products_feature_guide09186a00801d862d.html
    good luck,
    Peter

Maybe you are looking for

  • How to deliver an order created in SAP R/3 using sap gui.

    Hi all,    I have created an order in SAP R/3 with two items.Now i want to deliver the order using sap gui.Pls tell me the bapi or steps of doing it. Regards, Kiran.

  • Satellite Pro A200 and Windows XP 64bit possible?

    I'm the owner of that notebook & i'm wondering if it's compatible with Windows XP 64 bit. I work with 3dsmax which don't work on Vista (32 or 64 bit). Is there any problems with drivers & where I can find drivers for 64 bit Windows XP? Cheers

  • AWARE 5.2/ Audio problem running on some local computers

    Hi everyone, I received emails from clients saying that when they run the packaged pieces from the CD, it works great. When they copy the whole CD contents into some of their local machines, some audios are not playing. This occurs on lessons loaded

  • Adobe 11. crashes every few minutes on Youtube.

    On Youtube, my updated Adobe 11. crashes every few minutes. My Firefox advises me to a compatible downgrade to Adobe 10. How can I solve this problem?

  • Batch track rename?

    My iTunes has used the CDDB to get (nonsense) track info on a 16-CD boxed set. Even uninstalling iTunes and deleting the Library doesn't erase this info (anyone know where it's stored?). I guess I'm going to have to rename the tracks (I just want Tra