How to know how many carts have been ordered as "bought on behalf of"

I'm looking for a way to know how many carts have been order in the past six months as "bought on behalf of" I've looked at tables CRMD_PARTNER and BUT000 but, I'm not sure how to determine what are the key fields and the SAP queries that I'll need to obtain such count. Any help will be appreciated. Thanks,

I'm in Classic scenario which means that the PO and other relevant documents are stored in ECC. A programmer here helped me to obtain the information that I was looking for by querying the PO header and PO items tables (EKKO, EKPO) for those orders where the requestor and the bought on behalf of persons where different (ERNAM, AFNAM):
SELECT DISTINCT EKKO~EBELN EKKO~ERNAM EKPO~AFNAM
FROM EKKO
INNER JOIN EKPO ON EKKO~EBELN = EKPO~EBELN
WHERE EKKO~BSART = 'EC'
AND EKKO~ERNAM <> EKPO~AFNAM
AND EKKO~AEDAT > '20110101'
Thanks All for your help,
Oscar.

Similar Messages

  • How to know what database components have been installed on my database?

    How to know what database components that have been installed on my database using SQL*PLUS tool? (10g 10.2.0)
    Edited by: frank.qian on Nov 8, 2008 10:55 PM

    Hi..
    >
    SQL> select comp_name,comp_id,version,status from dba_registry;
    select comp_name,comp_id,version,status from dba_registry
    The error on the first line:
    ORA-00942:The table or view not exis.
    >
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    sys >desc dba_registry
    Name                                                                                                      Null?    Type
    COMP_ID                                                                                                   NOT NULL VARCHAR2(30)
    COMP_NAME                                                                                                          VARCHAR2(255)
    VERSION                                                                                                            VARCHAR2(30)
    STATUS                                                                                                             VARCHAR2(11)
    MODIFIED                                                                                                           VARCHAR2(20)
    NAMESPACE                                                                                                 NOT NULL VARCHAR2(30)
    CONTROL                                                                                                   NOT NULL VARCHAR2(30)
    SCHEMA                                                                                                    NOT NULL VARCHAR2(30)
    PROCEDURE                                                                                                          VARCHAR2(61)
    STARTUP                                                                                                            VARCHAR2(8)
    PARENT_ID                                                                                                          VARCHAR2(30)
    OTHER_SCHEMAS                                                                                                      VARCHAR2(4000)
    sys >select COMP_ID,COMP_NAME,VERSION,STATUS from dba_registry;
    COMP_ID                        COMP_NAME                      VERSION      STATUS
    CATALOG                        Oracle Database Catalog Views  10.2.0.4.0   VALID
    CATPROC                        Oracle Database Packages and T 10.2.0.4.0   VALID
                                   ypes
    OWM                            Oracle Workspace Manager       10.2.0.4.3   VALID
    JAVAVM                         JServer JAVA Virtual Machine   10.2.0.4.0   VALID
    XML                            Oracle XDK                     10.2.0.4.0   VALID
    CATJAVA                        Oracle Database Java Packages  10.2.0.4.0   VALID
    EXF                            Oracle Expression Filter       10.2.0.4.0   VALID
    ODM                            Oracle Data Mining             10.2.0.4.0   VALID
    CONTEXT                        Oracle Text                    10.2.0.4.0   VALID
    XDB                            Oracle XML Database            10.2.0.4.0   VALID
    RUL                            Oracle Rules Manager           10.2.0.4.0   VALID
    ORDIM                          Oracle interMedia              10.2.0.4.0   VALID
    APS                            OLAP Analytic Workspace        10.2.0.4.0   VALID
    XOQ                            Oracle OLAP API                10.2.0.4.0   VALID
    AMD                            OLAP Catalog                   10.2.0.4.0   VALID
    SDO                            Spatial                        10.2.0.4.0   VALID
    EM                             Oracle Enterprise Manager      10.2.0.4.0   VALID

  • As a web designer I am interested in how many ipads have been sold in Australia? Whay percentage of the population now have and use?

    As a web designer I am interested in how many ipads have been sold in Australia? And what percentage of the population now have and use them?
    Also same for the iphone - how many units sold and being used?

    Google Analytics, assuming it is available Down Under, can give stats on device and browser usage for a site. Set up take a little while and involves adding script code to your pages, but is well worth the effort.

  • How many pages have been printed?

    Photosmart Premium Fax AIO c309a.
    Is there a way to find how many pages have been printed?
    I'd like to track page yield, which so far has been way below even totaly miserable.

    How is the printer connected?  If a network connection then you can use the printer's built in web server by entering the IP address in your browser, then click on  "Usage report"  on the left.  If you are connected by USB you could print a report page from the front panel as follows:  Setup, Print report, OK, Print Status Report, OK.  Items 13 and 14 will have page usage information.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How we will know whether RFC destinations have been created for sender and

    Hi,
        How we will know whether RFC destinations have been created for sender and XI system.
    Thanks,
    dhanush.

    Hi Dhanush,
    you can check using the TCODE SM59.
    Regards
      Kenny

  • How many workbooks have been visited by end users per day

    Hi SDN's,
    How many workbooks have been visited by end user per day.Is there any process to knew... Do we have any T-Codes to knew...
    Thanks & Regardz,
    Aluri

    nope... unless you're in 7.0
    the statistics before 7.0 only check queries... workaround would be to have a report on BW statistics filtering on the queries that are in your workbooks... that might give you an "idea", but if there people who run those queries outside of the workbook, it will "affect" your "statistics"

  • How many workbooks have been visited by end user per day

    <i><b>  Hi SDN's,</b></i>
    How many workbooks have been visited by end user per day.Is there any process to knew...
    <i><b>Thanks & Regardz,
    Aluri</b></i>

    Hi Aluri,
    Statistics are usually not available on workbooks. You can find out how many time a user calls up a particular query (which can be accessed by various workbooks). Because workbooks themseleves do not call up data from the infoproviders.
    You can tell how many times a user has accessed a query by looking at the Statistical queries and objects. Try the following two there is a list of other queries in help that you can go through also:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/68/84353cf261303de10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/68/84353cf261303de10000000a11402f/frameset.htm

  • Anybody know how you print off texts that have been sent to my iphone 4s,thankyou

    anybody know how you print off texts that have been sent to my iphone 4s,thankyou.

    Easiest way is to use something like this to import to your computer, then print them:
    http://www.wideanglesoftware.com/touchcopy/index.php
    Otherwise, you can take screen shots & print those.

  • Check how many licenses have been downloaded for an own partner addon

    Hallo
    we have created an own add-on that is available for all the partners. Partners who want to use this addon have to download license from SAP BUSINESS ONE CUSTOMER PORTAL.
    Is there a way to check which partners and how many licenses have been downloaded?
    Thank you
    Daria

    Hi Gordon,
    I moved my question to the forum you suggested because it's the correct one.
    What I mean with partner is a company who sells Sap Business One to its customers.
    My company is a parter sap and has created an own add-on. Every partner can buy and use this add-on, but need to download a license. the partner can download my add-on license from the same website (marketplace) where he download B1 license.
    I need to check which partners have downloaded our license and how many.
    BR
    Daria

  • How to know if a file has been updated in iCloud after modification?

    How to know if a file has been updated in iCloud after modification?
    I work on various app including Keynote on my Mac Pro. And after modification, i close file and I wait.
    When I see no more Internet traffic. I assume that keynote has uploaded all the works I have done into iCloud.
    But when I open the same file on my iPad on the way to work. I do not see the file updated.
    I assume that I did not wait long enough.
    I wished I had a way to enforce the updated file to upload and way to get confirmation that it has been completed.
    In windows I simply push the sync button.
    But for iCloud I do not yet see anything like that.
    Please help.

    you would be better served asking this in the iCloud discussion, where users are more knowledgeable about iCloud. Replies on iOS and iCloud issues are usually unanswered here because of our lack of knowledge.

  • How to know how many equipments can be produced?

    Hello friends,
    One equipment is having bill of material.  How to know how many equipments can be made with the stores stock? How to know for making min. no. of materials reqd for making optimum no. of equipments?
    bye,
    srinivas.

    Hi,
    Please have a look at the Rules of Engagement before posting to these forums. The link is here:
    [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
    Once you have read the above, please provide the necessary information.
    Regards,
    Amit

  • How to select which RFC USERS have been accessed my host ?

    Hi, guru
    how to select which RFC USERS have been accessed my host ?
    or how to record the RFC users's trace ?
    because the auditor wants to know it.
    Best regards,
    Michael

    how to select which RFC USERS have been accessed my host ?
    did you check ST03N->User profile ?
    or how to record the RFC users's trace ?
    Check ST01 for system trace.

  • How to know which version Netweaver is been installed in the system

    How to know which version Netweaver is been installed in the system.
    I wanted to know whether i have installed NW04 SP Stack 13 or higher.
    Suggestions / Hints are wellcome
    -Naren

    hi,
    Pretty simple yar
    In portal goto>sysconfig>support-->u can find the Version in the content area at the bottom.
    There u find the SAP WAS version and EP version.
    in NWDS
    goto help---->About sap NWDS -->then popup will disply you find the version.
    Vesion: 2.0.14 like
    Thanks,
    Lohi.
    Message was edited by:
            Lohitha M

  • How do I get CDs that have been imported into iTunes library to sync/transfer to phone?? very frustrating and any help would be appreciated. all the material i purchased from itunes transferred fine, but CDs won't. Please help!

    How do I get CDs that have been imported into my iTunes library to sync/transfer to my iPhone?? All the material that I purchased from iTunes has transferred just fine, but although the CDs will import to iTunes, they will not sync up with my phone. How do I do this?? I am very frustrated and would greatly appreciate any help.

    In what format did you import the cds?
    I have never had an issue with this.

  • How do I save photos that have been synced to my Ipad2, so that they do not get deleted when I sync with a different photo file on my computer.

    How do I save photos that have been synced to my Ipad2, so that they do not get deleted when I sync with a different photo foder on my computer (Pc win7).

    Place that first folder of photos that you synced to the iPad within the main folder of photos that you sync from and select them to sync again. You can place any number of subfolders within the main folder that you sync from and select those folders to sync. Just "tick"(select) the folders in the photos tab in iTunes.
    iOS and iPod: Syncing photos using iTunes

Maybe you are looking for