How to find order no. from project no.

Hi,
We are trying to create a custom report like CN47N. Now I want to find out order no. for any project no. entered. Can you suggest what tables to use to find order nos for any project?

Hi ,
U can use table VBAK for header item  & VBAP for sales document items with account assignment of WBS.
Rgds
Edited by: Shrikrishna Rasam on Oct 3, 2008 7:38 AM

Similar Messages

  • How to find server model from 11g OEM mgmt$ views

    How to find server model from 11g OEM mgmt$ views
    server model like Dell 710, DL380 G7 etc..,

    It is included in this query (run as user SYSMAN):
    SELECT t.target_name AS host_name,
    ecm_util.HOST_HOME_LIST (t.target_name, t.target_type) AS home_info,
    hw.vendor_name AS Vendor,
    hw.system_config AS System_Config,
    hw.machine_architecture Architecture,
    os.name AS os_name,
    os.base_version os_base_version,
    os.update_level os_update_level,
    os.address_length_in_bits os_address_length_in_bits
    FROM mgmt_targets t, mgmt_ecm_snapshot s, mgmt_hc_os_summary os, MGMT_HC_HARDWARE_MASTER hw
    WHERE t.target_type = 'host'
    AND t.target_name = s.target_name
    AND s.snapshot_type = 'host_configuration'
    AND s.target_type = 'host'
    AND s.is_current = 'Y'
    AND s.snapshot_guid = os.snapshot_guid
    AND hw.snapshot_guid = s.snapshot_guid
    ORDER by t.target_type
    The asked info is available in the view MGMT_HC_HARDWARE_MASTER, column: SYSTEM_CONFIG
    Eric

  • How to find delete message from iphone

    how to find delete message from iphone?

    I am afraid that I don't think there is a way to do this.

  • How I find my iphone from my imac off.   hvordan jeg finder min iphone fra min imac af?

    hej jeg står og mangler hjælp til hvordan jeg finder min iphone fra min imac af?
    hello I'm standing and need help with how I find my iphone from my imac off?

    Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support

  • How to find max(time) from table using group by

    how to find max(time) from table using group by
    select var max(time)
              from table
              into (var1, time1)
               where .....
                 group by var.
    it is fetching record which is top in table.
    if u can help?
    regards.

    No this will fetch the maximum time from teh table.
    select var max(time)
    from table xxxx
    into (var1, time1)
    where .....
    group by var.
    Refer this code
    TABLES SBOOK.
    DATA:  COUNT TYPE I, SUM TYPE P DECIMALS 2, AVG TYPE F.
    DATA:  CONNID LIKE SBOOK-CONNID.
    SELECT CONNID COUNT( * ) SUM( LUGGWEIGHT ) AVG( LUGGWEIGHT )
           INTO (CONNID, COUNT, SUM, AVG)
           FROM SBOOK
           WHERE
             CARRID   = 'LH '      AND
             FLDATE   = '19950228'
           GROUP BY CONNID.
      WRITE: / CONNID, COUNT, SUM, AVG.
    ENDSELECT.

  • How to find lost files from Iphone without back up

    How to find lost files from iPhone without back up?

    If you don't have a back up, there's no where to restore them from.

  • How to find orders in timer delay.

    Hi,
    How to find the orders which are in timer delay.
    Is it from Find Order/Get Order combination. Appreciate your help.

    Hi Srinivas,
    I have actually pasted the optimized version of FindOrder, here is the full xml. As you know, whichever says optional you can remove the below tags.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">
    <soapenv:Header/>
    <soapenv:Body>
    <ord:FindOrder>
    <!--Optional:-->
    <ord:ViewBy>
    <!--Zero or more repetitions:-->
    <ord:View>?</ord:View>
    <!--Optional:-->
    <ord:RemarkFilter>
    <!--Optional:-->
    <ord:RetrieveRemarks>false</ord:RetrieveRemarks>
    <!--Zero or more repetitions:-->
    <ord:AttachmentFilter>
    <!--Optional:-->
    <ord:FileNameMatch>.*</ord:FileNameMatch>
    <!--Optional:-->
    <ord:MinSize>0</ord:MinSize>
    <!--Optional:-->
    <ord:MaxSize>4</ord:MaxSize>
    <!--Optional:-->
    <ord:Format>inlineBase64Binary</ord:Format>
    </ord:AttachmentFilter>
    </ord:RemarkFilter>
    <!--Optional:-->
    <ord:AmendmentFilter>
    <ord:LevelOfDetail>?</ord:LevelOfDetail>
    </ord:AmendmentFilter>
    <!--Optional:-->
    <ord:LifecycleEventFilter>
    <!--Optional:-->
    <ord:RetrieveLifecycleEvents>false</ord:RetrieveLifecycleEvents>
    </ord:LifecycleEventFilter>
    </ord:ViewBy>
    <!--Optional:-->
    *<ord:SelectBy>*
    *<!--Optional:-->*
    *<ord:OrderId>?</ord:OrderId>*
    *<!--Optional:-->*
    *<ord:OrderState>?</ord:OrderState>*
    *<!--Optional:-->*
    *<ord:TargetOrderState>?</ord:TargetOrderState>*
    *<!--Optional:-->*
    *<ord:Reference>?</ord:Reference>*
    *<!--Optional:-->*
    *<ord:Cartridge>*
    *<ord:Name>?</ord:Name>*
    *<!--Optional:-->*
    *<ord:Version>?</ord:Version>*
    *</ord:Cartridge>*
    *<!--Optional:-->*
    *<ord:OrderType>?</ord:OrderType>*
    *<!--Optional:-->*
    *<ord:OrderSource>?</ord:OrderSource>*
    *<!--Optional:-->*
    *<ord:CreatedDate>*
    *<!--Optional:-->*
    *<ord:FromDate>?</ord:FromDate>*
    *<!--Optional:-->*
    *<ord:ToDate>?</ord:ToDate>*
    *</ord:CreatedDate>*
    *<!--Optional:-->*
    *<ord:CompletedDate>*
    *<!--Optional:-->*
    *<ord:FromDate>?</ord:FromDate>*
    *<!--Optional:-->*
    *<ord:ToDate>?</ord:ToDate>*
    *</ord:CompletedDate>*
    *<!--Optional:-->*
    *<ord:Priority>?</ord:Priority>*
    *<!--Zero or more repetitions:-->*
    *<ord:Field>*
    *<!--Optional:-->*
    *<ord:Cartridge>*
    *<ord:Name>?</ord:Name>*
    *<!--Optional:-->*
    *<ord:Version>?</ord:Version>*
    *</ord:Cartridge>*
    *<ord:Path>?</ord:Path>*
    *<!--You have a CHOICE of the next 2 items at this level-->*
    *<ord:EqualTo>?</ord:EqualTo>*
    *<ord:From>?</ord:From>*
    *<ord:To>?</ord:To>*
    *</ord:Field>*
    *<!--Optional:-->*
    *<ord:MaxOrders>?</ord:MaxOrders>*
    *</ord:SelectBy>*
    <!--Optional:-->
    <ord:OrderBy>
    <!--1 or more repetitions:-->
    <ord:OrderField>
    <!--Optional:-->
    <ord:SortBy>?</ord:SortBy>
    <ord:Header>?</ord:Header>
    </ord:OrderField>
    </ord:OrderBy>
    </ord:FindOrder>
    </soapenv:Body>
    </soapenv:Envelope>
    Thanks
    Naveen Jabade

  • How to find PO number from ORDRSP Idoc.

    Hi,
    Can  anybody let me know how to find the PO number from the Idoc ORDRSP.
    Scenario is as below:
    SAP system1 will send PO to SAP system2.(Idoc type ORDRS05).
    When SO is created in SAP system2, it will send a confirmatory Idoc of message type ORDRSP.
    From this I have to find  the PO number as I can find only VBLNR.
    Points assured for workful solutions.
    -B S B

    Hi BSB,
    CHECK THIS CODE
    DATA : BEGIN OF itab_status OCCURS 0,
              idoc           LIKE edids-docnum,
              date_stauus    LIKE edids-logdat,
              status_counter LIKE edids-countr,
              status         LIKE edids-status,
              descrp(70),
              ponumber       LIKE ekpo-ebeln,
              mess           LIKE edidc-mestyp,
    END OF itab_status.
    DATA: text111        LIKE e1mbxyi.
    DATA: text11         LIKE e1edp02.
    IF itab_status-MESS = 'WMMBXY'.
       select single * from edid4  INTO ITAB where segnam = 'E1MBXYI' AND
                     HLEVEL = '02' AND DOCNUM = itab_status-idoc.
    MOVE  : ITAB-SDATA  TO TEXT111 ,
    text111-EBELN TO itab_status-ponumber.
    ELSE.
    YOUR CASE FALLS IN THIS CATEGORY****
    select single * from edid4  INTO ITAB where segnam = 'E1EDP02' AND
                     HLEVEL = '03' AND DOCNUM = itab_status-idoc.
    MOVE  : ITAB-SDATA  TO TEXT11 ,
    text11-BELNR TO itab_status-ponumber.
    ENDIF.
    endif.
    LET ME KNOW IF YOU NEED ANYTHING ELSE.
    THANKS
    VENKI

  • Sales order stock from Projects

    Dear Gurus,
    The Scenerio is,
    I am procuring materials through project. Generally it will go into project stock, If it is mentioned as a stock item. But my requirement is, the procured material has to go into salesorder stock.( Bcoz delivery of material happening in SD thrpugh sales order.) Is that possible? If yes, what are all the settings, I have to do in PS module and other modules,if required. But the cost(Planned/Actual) has to be captured against Project.
    Awaiting for your reply.
    Regards
    Suresh

    Hi,
    When you are creating a PR from project , the "OPTT" customizing
    1.Should have the "D" setting for "Sales Doc- Project" setting.
    and in the sales order that is relevant to the project , you must have the WBS element assignment
    Both the project and the Sales order should have the material ! project having it as being procured ( to take care of PR & PO generation )
    and the SO having the material as being delivered ( to do the delivery and billing of the material supplied )
    The Sales order should have the material production or procurement getting triggered through the item category ( and the material master's MRP Type ) and the requirement type !!
    All these settings  once maintained, you can have GR of material to Sales order stock !
    Best Regards,
    M.Amarendra

  • How to find user group from tcode

    Hi Experts,
    I have custom tcode from this i found report name as AQIDSYSTQV000001SD_RR_03======
    I am unable to find Queryname in SQ01 from this.
    When i saw some of the forums i  understood that IDSYST is the user group for my query but i am unable to trace such user group in SQ01.
    Please guide me how to find user group for my report
    Thanks&Regards,
    narasimha.

    Hi ,
    I found in table AQGQSTRUC but i didnt find the specified query
    Previously 401 client is there but at present it is not there .How can you justify it that it is 401 client.
    As 401 client data is moved to someother client is it the problem why i am not able to find query??
    Thanks&Regards,
    narasimha.
    Edited by: narasimha02 on Dec 7, 2010 9:54 AM

  • How to find out tcode from a program that can run the same report?

    Hello all,
    I have a program name and I can see it is successfully proccessed. Now if I want to get the report via a tcode, how can I get it?
    How can I find the tcode from the program itself?
    Regards,

    Hi,
    1) Go into SE80, > Enter the name of the program, and press 'Enter'.
    2) You will see a folder called 'Transactions' appearing in the object list on the bottom left.
    3) Open the folder, and you'll find T.code of that program.
    Thanks,
    Nirav

  • How to find data's from table whose sum=given input.

    Hi all,
    how to find values whose sum=given value.
    i have a master. table
    master table
    name amount
    a 1000
    b 6000
    c 2000
    d 1500
    input amount=4500 (may change);
    how to get name from master table whose sum(amount)=4500;
    i.e) a,c,d as output.

    Hi,
    I realy like the approach you made.
    But it is not realy scalable, as you probably know already.
    I tried the following:
    WITH
    master_table as
    select 'a' name, 1000 amount from dual union all
    select 'b',      700 from dual union all
    select 'c',      2000 from dual union all
    select 'd',      300 from dual union all
    select 'e',      1000 from dual union all
    select 'f',      1200 from dual union all
    select 'g',      2300 from dual union all
    select 'h',      500 from dual union all
    select 'i',      400 from dual union all
    select 'j',      600 from dual union all
    select 'k',      700 from dual union all
    select 'l',      400 from dual union all
    select 'm',      500 from dual union all
    select 'n',      600 from dual union all
    select 'o',      700 from dual union all
    select 'p',      800 from dual union all
    select 'q',      900 from dual union all
    select 'r',      1000 from dual union all
    select 's',      1700 from dual union all
    select 't',      1400 from dual
    ,got_name_list     AS
         SELECT     LTRIM ( SYS_CONNECT_BY_PATH (name, ',')
                    )                         AS name_list
         ,     SYS_CONNECT_BY_PATH (amount, '+')     AS amount_list
         FROM     master_table
         CONNECT BY     name     > PRIOR name
              AND     amount     < :target_amount
    SELECT     name_list, amount_list
    FROM     got_name_list
    WHERE     XMLQUERY ( (amount_list)
               RETURNING CONTENT
               ).getnumberval ()     = :target_amount
    ;And indead I received a solution. But it toke 788 seconds.
    I think that if you want to use this with more rows you have to find a PL/SQL solution.
    Regards
    Peter

  • How to find print program from script

    Hi,
    How can i find the print program from the script .
    i unable to find in TNAPR table.
    thanks,
    srii

    Hi Sridhar,
    U can find in NACE transaction.
    Please check this link
    search print program and sap script
    with po no how to find script and  print program for that  po.
    Best regards,
    raam

  • How to find the difference between Project costs & Cost center costs?

    Hi all,
    Can you please explain me ? What is project Cost & Cost center cost and which are the tables having those fields of project cost & cost center Costs? And how to find the difference between their costs ? And please give me the functional Idea about it?
    Thanking you all in Advance...
    Regards,
    Chandru

    Hi,
    goto table COSP:
    1) object-no. beginning with 'KS' refer to cost-centre
       example: 'KSKOKA4711'
       with KS, KOKA = controlling area and 4711 = cost centre
    2) OBJNR beginning with 'PR' refer to projects / WBS-element
       example PR00001234
    Message was edited by: Andreas Mann

  • How to extract Plan cost from project #

    Hi,
    I am new to PS.I have a requirement for extracting plan cost from Project #
    Is there any FM? or table for this?
    Plan cost should be equal to S_ALR_87013532 report Plan column.
    FYI..I am writing an ABAP report.
    rgds
    vara
    Edited by: Vara K on Jan 13, 2009 11:48 PM

    First Get Struture name for Transaction CJ40
    Goto SE11, and enter your structure name.eg. RKPLN
    Goto the field that holds your data (e.g.WKGXXX), and double-click on the element name. Once inside the element, do a where-used list for that element, searching tables only.
    Then go into each table, and see if you can find the one holding your data.
    E.g COEJ,COEP,COSS
    Regards,
    Nitin

Maybe you are looking for

  • How to insert check box value in table?

    Hi all kindly help me how to insert check box value in database. what code i have to use as i am new in programing. thanx in advance

  • How to enter multiple values in BEX Analyzer 7.0

    We are on 7.0.  I created a query in Query Designer with a variable type of Select Option.  When I execute the query in BEX Analyzer, how do I enter multiple selections? Thanks. Ryan

  • Sequence Execution in oracle apps forms

    hi all I want to know the execution sequence of the form personalization, CUSTOM PLL , Profile options in oracle apps for a specified form thanks

  • Cannot play Real Audio stream in my N82

    Hi there, i have this Real Audio link: rtsp://stream2.rbb-online.de/encoder/radioeins-live.ra It plays fine on my desktop computer. But, when I use the URL in the web browser on my N82, Realplayer opens, tries to establish a connection and thats it..

  • Pause/Pause button that applies to everything

    My Original Post: I have been designing a visual presentation in Flash CS5, there are a few movie clips on the stage that are set to play at a certain time/frame. The problem I am having is that I am not familiar with coding/actions. I want to have a