SUS - Table joins for PO and Invoice

Hello,
I am trying to create a report in SUS and I'd like to join some tables.
I'd like to be able to pull all the SUS PO's and SUS Invoices filtered by Vendor and Date.  Looking at BBP_PD all the data is already linked under "Header Links" but I'm not sure how to use those links in a query.
CRMD_ORDERADM_H seems to contain most of the PO and Invoice data I need but how can I connect a PO with the correct invoice? 
Thanks,
Matt

Solution: 
Use the following function modules to look up this data.
BBP_PD_SUSPO_GETLIST
BBP_PD_SUSPO_GETDETAIL
This returns a lot of data so you can pick and choose what you need.
Thanks,
Matt

Similar Messages

  • Join for dataview and tables.

    Hi,
    can i write join for dataview and tables.
    Regards,
    Suresh.

    hi,
    YEs u can create for data view and tables.
    You can create database views in the ABAP Dictionary. Views (aggregate objects) are application specific and allow you to work with multiple database tables.
    Regards,
    Rahul

  • Table Relation with Payment and Invoice of Vendor

    Hi all,
         I have one question about Table Relation with Payment and Invoice of Vendor.
         the scenario is.
         2 Purchase Order number : 100000001/100000002
         1 Invoice document number : 200000001 which include  2 Purchase Order.
         1 Payment document number : 300000001
         How should I found out table relation from Payment document number - Invoice document number - Purchase Order number. ?
          I try to link the following table, but it does not work.
          RBKP     *     Invoice Receipt
          RSEG     *     Invoice Receipt document line item
          BKPF     *     Accounting Document Header
    BSEG     *     Accounting Document Segment
    PAYR          Payment Medium File
    BSIK          Accounting: Secondary Index for Vendors
    BSAK          Accounting: Secondary Index for Vendors (Cleared Items)
    BSIS          Accounting: Secondary Index for G/L Accounts (Open Items)
    Does any one know about it ?
    Regards
    KY Chuang

    Hi Venkatesh,
    Thnx a lot for the reply. This has almost solved my problem, however there's one thing left. when I'm trying to take a print out after exporting the info into an excel sheet, the information really looks scattered, i.e.,  is there a way where we can go ahead and get the info in a rather unscattered manner.
    I've tried to take a print directly without actually transferring the info into an excel sheet, then each of the vendor is printed in a separate page, which again they feel is a problem.
    So, if you have an idea pls suggest.
    Thnx again for the information.
    regards
    sandhya

  • Table name for opening and closing stock

    Hi gurus,
    i want table name for opening and closing stock .  How to calculate this opening and closing stock in report.
    Murali.

    Murali,
    Check out in OINM, which maintains all the details of the stock transactions..
    Hope it might help you..
    Regards
    Gattu

  • What are the table names for CRM and APO?

    hi friends,
    what are the table names for CRM and APO?
    Regards
    suneel.

    hi Suneel,
    check in crm forum
    Re: SAP-CRM Tables
    BUT051 BP Relationship: Contact Person Relationship
    Similar to BUT050 , additionally contains Contact Person’s Address data
    BUT0BK Business Partner: Bank Data & Details
    BP Number, Bank Key, Bank Country Key, Bank Account Number
    BNKA Bank Master Data
    BUT100 BP: Roles
    ADR2 Telephone Numbers (Business Address Services)
    ADR6 SMTP Numbers (Business Address Services)
    Contains Email – Id of the BP.
    ADRC Addresses (Business Address Services)
    BP’s Complete Address Details- City, Country, Post Code, District, Street, Title No Etc
    TSAD3T Table containing the Title text against a Title No.
    COMM_PRODUCT Master Table for Product
    CRMM_BUAG Master table for Business Agreement
    CRMM_BUAG_H Header Data for Business Agreement such as Tax Category, Tax Characteristic, Form key, Business Agreement Class. Data in this table correspond to ISU CRMD_ORDERADM_H Contains the Header Information for a Business Transaction.
    Note:
    1. It doesn’t store the Business Partner
    responsible for the transaction. To
    get the Partner No, link it with
    CRM_ORDER_INDEX.
    2. This table can be used for search
    based on the Object Id(Business
    Transaction No).
    CRMD_CUSTOMER_H Additional Site Details at the Header Level of a Business Transaction
    CRMC_PROC_TYPE Master table Business Transaction Type
    CRMC_PARTNER_FCT Definition of Partner Functions
    SCPRIOT Priorities for Activities with priority text.
    CRMC_PROC_TYPE_T Text for a transaction type
    CRMC_ACT_OBJ_T Objective Number and Text for Activities
    TJ30T All the status code and text
    CRMC_PR_ASSIGN : Transaction Type and its Transaction Type Object.
    IBIB : Installed Base/Ibase
    IBIN : Installed Base Components
    COMM_PRODUCT : Products
    CRMC_T077D : customer account groups
    CRMD_ORDERADM_H (for header) CRMD_ORDERADM_I (Item data)
    CRMD_ORDERADM_H Business Transactions CRM
    CRMD_ACTIVITY_H Activity
    CRMD_OPPORT_H Opportunity
    BUTOO : Customer details
    BUT001 BP: General data II
    BUT100 BP: Roles
    BUT150 BP relationship: Attribute table (test
    different
    BUT_HIER_TREE Business Partner Group Hierarchy
    CDBC_T_PRODUCTID Mapping: Product Id
    CDBD_ORGMAN Business transaction - organizational unit -
    set
    COMC_PRODUCT General Product Settings
    COMC_R3_FIELDS Assignment of R/3 material master fields to
    CFOP
    COMM_CATEGORY Category
    COMM_CFGMAT Basic Data for Materials
    COMM_HIERARCHY Category Hierarchy
    COMP_TYPES Hierarchy Tool: Comparison Type Check
    Table
    CRMC_CPRICPROC Customer Pricing Procedures
    SMOKVBEZ15 Assignment employees to positions
    CRMMLSGUID: GUID entry (should match GUID in CRMPRLS)
    CRMM_BUT_CUSTNO : Also GUID table (GUID here should match GUID in R/3 table CRMKUNNR)
    SMOFSUBTAB : Mapping & Parameters
    SMOFDSTAT : Download Monitor (R4AM1)
    SMOFFILTAB : Filters (Should match filters in R3AC1 & R/3 Table CRMFILTAB)
    SMOFOBJECT Definition of Objects for Download
    SMOFOBJPAR Parent Objects of an Object in Table
    SMOFPARSFA Middleware Parameter
    SMOFQFIND Queue Finder Table for MW-Queue finder
    SMOFTABLES Definition of Tables for Download

  • Which table if for BADI and its implementation

    Which table if for BADI and its implementation
    I want to know which implementations have already been created and actived for one BADI.

    Hi
    check the tables for BADI
    SXC_ATTR   
    SXC_ATTRT  
    SXC_CLASS  
    SXC_COCO   
    SXC_EXIT   
    SXC_FCODE  
    SXC_FCODET 
    SXC_IMPSWH 
    SXC_SCRN   
    SXC_TABLE  
    SXC_TABLET 
    Regards
    Anji

  • Diff pricing procedures for contract and invoice

    Hi all,
    My client is into service industry.He is using two pricing procedures for contracts and invoice. Now the requirement is they want to use a single pricing procedure for both contracts and invoice. Now i need club them into one and i need to delete some condition types which are not in use.What are all the factors do i need to consider before clubing them into one??
    Can anybody guide me in this regard?/

    You need to foreclose all your existing contracts and create a new one with the new pricing procedure
    G. Lakshmipathi

  • Is it possible to have different pricing procedure for SO  and invoice?

    Hi,
    Is it possible to have different pricing procedure for SO
    and invoice?

    Hi Kiran35086 
    --Yes you can have it.But it is based on the business requirement
    --Create 2 Document pricing procedures & assign one in VOV8 & another in VOFA
    --In Sales Document VOV8 you maintain different  document pricing procedure Ex A
    --Go to VOFA & select your billing document type in Account assignment/pricing assign the document pricing procedure.EX- B
    --Create condition records in VK11 for the condition types which are included in the pricing procedures
    --Maintain pricing procedure determination in OVKK with 2 different Document pricing procedure & save it
    --When you raise SO in VA01 you will find one pricing procedure & when you raise billing in VF01 you find another pricing procedure in conditions.
    Let me know if your problem is solved
    Regards
    Pradeep

  • Standard view table available for MARA and MARC

    Hi Guys,
                    Any standard view table available for MARA and MARC ?
    Thanks

    hi,
    what exactly you mean to say by "std . view table"??
    MARA in the main table give has all general information..
    Regards
    Priyanka.P

  • Link for PO and Invoices FB60

    Hi Friends,
    I have a requriement I need to fetch invoices based on particular Purchase orders, can any one tell me the link for this two.
    Actually the invoice details are posted in Transaction FB60.
    Regards,
    Line

    Hi!
    Do you mean link between the BKPF and BSIS tables? It's the BELNR, GJAHR, BUKRS fields.
    Check BSAS table also. BSAS and BSIS for the cleared/uncleared FI documents.
    You might check out the fields ZUONR or SGTXT for reference in BSIS/BSAS tables also.
    Regards
    Tamá

  • Tables common for OM and PO modules

    Hi,
    When the internal purchase order of our organization is converted to Sales order then how can i get the data from backend tables. I want to know the link columns of the tables in PO and OM modules.
    Thanks & Regards,
    KalpanaVenkat....

    The join between om and po for Internal reqs is as follows
    oe_order_headers_all.source_document_id = po_requisition_headers_all.requisition_header_id
    Hope this answers your question
    Sandeep Gandhi
    Independent Consultant
    513-325-9026

  • Table required for billing and RG1 output

    Dear all,
    pls give me the list of tables required for billing output and RG1 output

    Hello Digs,
    Just check out these sites and see if this is useful to you
    http://www.erpgenie.com/abap/tables_sd.htm
    http://www.erpgenie.com/saptech/transactions.ht
    <b>**Reward if this helps**</b>
    Regards
    AK

  • Workflow for PO and invoice in FI-AP

    Hi,
    Can someone tell me whether it is possible to implement only one Workflow of approval for Purchase Order in MM and Invoice in FI-AP?
    Thanks for any information.
    Marcos

    Both are diff workflow.
    you have to implement the PO workflow and Invoice workflow.

  • 3 way table join for a view?

    Hi,
    I need to create a view comprising several complex queries (at least to me...). Below is an example where I have to do a three way table join, based on multiple columns from each table.
    This is the data I need to get at:
    table1."DISTRICT TYPE",
    table1. "DISTRICT CODE",
    table1."EO_NAME"
    With the following constraints:
    table1 joined with table2 via DISTRICT_TYPE and DISTRICT CODE
    table2 joined with table3 via PRECINCT and PRECSUB
    What is the best query to use in this situation? Or, is there a better alternative, considering I do have to create a view?
    Thanks very much.

    This one really is a basic join question, and a quick perusal of the SQL Reference Manual, or any basic SQL book would provide an answer. However ...
    Assuming your tables look like:
    TABLE1
    district_type
    district_code
    eo_name
    TABLE2
    district_type
    district_code
    precinct
    precsub
    TABLE3
    precinct
    precsub
    other_stuff
    then
    SELECT a.district_type, a.district_code, a.eo_name,
           b.precinct, b.precsub,
           c.other_stuff
    FROM table1 a, table2 b, table3 c
    WHERE a.district_type = b.district_type and
          a.district_code = b.district_code and
          b.precinct = c.precinct and
          b.precsub = c.precsub

  • Link for PO and Invoices

    Hi Friends,
    I have a requriement I need to fetch invoices based on particular Purchase orders, can any one tell me the link for this two.
    Actually the invoice details are posted in Transaction FB60.
    Regards,
    Line

    Hi
    Link the
    EKPO-EBELn = RSEG-EBELN and
    EKPO-EBELP = RSEG-EBELP and
    fetch the invocie data
    Rseg contains all data related to FB60
    Header tables is RKPF
    use EKKO if needed.
    Reward points if useful
    Regards
    Anji

Maybe you are looking for

  • Safari 5.0.6 not compatible with the LOOP

    My homepage is Sympatico which has now upgraded to the LOOP. Everytime I go to my hompeage it tells me my browser is not supported. I am running MAC OSX 10.5.8 with Safari 5.0.6. The LOOP says that I must be at Safari 5.1. Is this as simple as upgrad

  • RPUQSTC0 - Witholding tax update

    Hi all, I need to update Swiss witholding tax information for 2007 and I find out that I can do it with the files from Cantonal Tax Office and the report RPUQSTC0. I have the files but I can't find documentation regarding the report. Where can I find

  • Sign a string in ABAP (digital signature)

    I have a string in ABAP and want to sign this and simply send it to the RFC port. I have tried SAP CryptoLib and it works fine when messages are below 5kb (approx.). When the messages are over 7 kb the standard PKCS#7 client cant verify (read the sig

  • What can't I do with OS X 10.5 server (that I can do with normal OS X 10.5)

    I was intending to install OS 10.5 on a Mac Mini at home to run a mail server, caldav server, wiki and a web server. I could add all of these using open source solutions and packages such as MailServe for Leopard:http://cutedgesystems.com/software/Ma

  • Nesting .fxml component in another .fxml component using SceneBuilder

    Hello, Is it possible to use SceneBuilder to nest one JavaFX component into another? Thanks