Accounting Document and Sales Order No

We have an accounting document number. And while putting the document number in FB03, I am getting the entry view of thr document. And while clicking on a particular line item, there is an additional assignment block, in that block there is a field Profit Segement. And in that, there is a field Sales Order. How I can access that value with correspondance to accounting document number. Is there any table, from where I can get that data directly?

I just want to know when we done PGI against sales order it genetrate an acconting document .
Can any one tell me in which  fi and sd tables this entry filled.

Similar Messages

  • Link between Accounting Document and Sales Order

    Dear SD Gurus,
    How to find the Sales Order number and Sales Order Item from the accounting document- like document types DZ, DG, ID etc.
    Kindly specify the table links and fields to fetch the above details
    Regards
    Vimal

    Link Between SAP SD, MM & FI
    The link between SD and MM :-
    1. When you create sales order in SD, all the details of the items are copied from Material master of MM.
    2. MRP and availibility check related data is also taken from MM although you control this data in SD also.
    3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
    4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
    There are many such links between SD and MM.
    Now the link between SD and FI :-
    1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the bacgground. eg. In case of standard sales order, you create an outbound goods delivery to the customer.
    Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
    2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
    3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
    SD Integration points with other modules
    SD module is highly integrated with the other modules in SAP.
    Sales Order –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Costing                        -       CO/ MM
    •Tax Determination              -       FI
    •Transfer of Requirements       -       PP/ MM
    Delivery & Goods Issue –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Reduces stock                  -       MM
    •Reduces Inventory $            -       FI/ CO
    •Requirement Eliminated         -       PP/ MM
    Billing -
    Integration Points                      Module
    •Debit A/R                      -       FI/ CO
    •Credit Revenue                 -       FI/ CO
    •Updates G/ L                   -       FI/ CO
      (Tax, discounts, surcharges, etc.)
    •Milestone Billing              -       PS
    Return Delivery & Credit Memo -
    Integration Points                      Module
    •Increases Inventory            -       MM
    •Updates G/ L                   -       FI
    •Credit Memo                    -       FI
    •Adjustment to A/R              -       FI
    •Reduces Revenue                -       FI
    SD Transaction Code Flow: 
    Inquiry / Document type IN
    Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
    Purchase Order PO
    Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
    Sales Order OR
    Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
    Billing F2
    Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
    <b>The SD & FI link is established through mapping of appropriate G/L accounts through T.Code: VKOA</b>
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • The financial document and sales order control is missing at delivery order

    The financial document is assigned at sales order line. The system is not restricting to deliver the goods of cost less than or equal to value of financial document.
    Suppose a financial document with a value of 10000USD is assigned to a sales order of value 20000.In this case system is letting me to make the delivery order and PGI of cost 20000.I want the system to restrict to deliver the items of cost 10000USD.
    Note=In xd01 i have mentioned the payment guarantee procedure=Letter of credit but not the credit control area.
    Regards :Vijay

    Hi,
    1st check your FD to determine whether or not there is an allowed overdraft. If there isnt one than check IMG Tx VX52, Finnancial Document Conditions, check value:
    "Even if you do not set this switch - that is, there is no value check in the SD document -, the system subtracts the consumed values from the total value of the financial document.
    In this case, the subtracted value may exceed the total value of the financial document because the check, but not the update, is deactivated."
    Regards
    Kikas

  • Automatic account postings (for Intercompany Purchase order and Sales order

    Hi all,
    I need some help related to the automatic account postings (for Intercompany Purchase order and Sales order)which i can set for the follwoing scenarios. I have looked on the forms and searched alot but not able to a single solution to solve both the pupose. if one scenario works the other doesnt. Please advise.
    I have created the master data
    Customer receiving--G001
    Sales Org.--GXIN
    Distr. Channel- 01
    Division - 00 
    Company code receiving - G1
    customer supplying- V001
    company code for supplying- V1
    2 different scenarios
    1- Intercompany Purchase order in which a Customer receiving- G001, gets stock replenishment NB purchase order from supplying company V1- GI  and GR of stock is done. Biling document for customer receiving G001 is created. But now I need a way to do the opposite side posting at the supplying customer -V001-- this I do using an Idoc which creates a Invoice receipt for creditor(supplying customer) V001.
    2. Sales order-- A customer X001 of company code G1 buys stock from the company code V1. the customer G001 of company code G1 bills the customer X001, but the intercompany billing doc/ invoice is created for the customer G001 by company code V1.  then now i want an automatic account posting to be created at the supplying customer V001 via idoc.
    Can this be achivable via Idoc with automatic account postings.   
    Please let me know if it doesnt make sense. thanks to all in advance
    cheers
    Jasmeet

    Hi all,
    For the Sales order and automatic posting we have created an output type ZR4N- this is creating a batch input session which can be triggered to be processed autmatically.
    For the intercompany Purchase order -from Invoice we are creating a different output RD04 (sap standard) which creates invoice receipt at the vendor side.
    Rest of the settings are defined using SAP standard functionality within transaction OBCA, OBCB, OBCC, OBCD,OBCE
    thanks for viwing the post
    Cheers
    Jasmeet

  • Account assignment "C" and sales order

    Hi All,
    While making service PO with account assignment "C" and Item category "D", Sales order is mandatoey in item detailes.
    Can you all experts tell me what impact it has on sales order...?
    Can we see a report where these two i.e service PO and Sales order are linked?
    What accounting impact is has?
    Regards,
    Satyendra

    Hi,
    When u do SES,The accounting docs are"
    May be Consumption account (or what u define Account): Dr
    GR/IR: Cr
    & After IV, accounts are:
    GR/IR: Dr,
    Vendor: Cr
    You can report in MB5S or ME80FN.
    Linkage in OME9 and OKB9.
    Regards,
    Biju K

  • Create single billing document by sales order with division 00 and delivery with division 01

    Hello,
    I have a task to config the SAP system that would be possible create single billing document with different divisions.
    Scenario:
    1 doc: Create Sales order (division 00 - services) -> Create Billing doc
    2 doc: Create Sales order (division 01 - materials) -> Create Outbound delivery and Post good issue -> Create Billing doc.
    Sales order 1 and sales order 2 have the same:
    dates;
    custumers;
    Sold-to-party;
    payment terms;
    incoterms;
    and others;
    When I create VF01 with documents Sales order and Outbound delivery system splits in two different billing documents due to different divisions.
    I read www.scn.sap.com forums and test it DV system.
    I use and change settings in these transactions:
         VTFL
         VTFA
         VOFA
         VOFM
    But it doesn't work.
    Please give me feedback or give advices how to config in antoher way.
    Thanks a lot for your time and efforts.
    Rolandas

    You need to do configurational change and customization as recommended in the following note:-
    Note 50752 - Invoice combination for different divisions
    G. Lakshmipathi

  • Billing document to Sales order No / Shipment No

    Hi all,
    I would like to seek help on building up a customized program to retrieve information of Sales Order No and Shipment No from Billing document which has been released to accounting document (VBRK- RFBSK=C).
    Could anyone advise on how to do this?
    Could I use the document flow table VBFA? ...  In which VBFA-VBELN=billing document number, and VBFA-VBTYP_N=M (Invoice)
    Does anyone foresee perormance issue on this 2 tables joining?
    Thanks.

    Hi,
    you can retrieve Sales Order Details from VBAK & VBAP table, but Sales Order number and Sales Order Item Number you can retrieve from VBRP [ AUBEL - Sales Order Number & AUPOS Sales Order Item Number ]. Based on this you can develope a customized program.
    Dont Prefer VBFA because the Performance of Table is very poor which will slow down your system.
    Regards,
    S.Saravanan

  • Report for Pegging for  forecast and sales order consumption(pegging)

    Hi ,
    Plaese help to create a report for the below
    Requirement is there to have a showing Forecast (Number) and Sales order (Number) pegging Report
    Means like to which forecast number the sales order number is consumed
    Regards
    Kiran

    I have tested this on ASCP and I am agree with you. I am pasting one para from document...
    "Oracle Master Scheduling/MRP and Supply Chain Planning calculates the ATP quantity of an item for each day of planned production by adding planned production during the period (planned orders and scheduled receipts) to the quantity on hand, and then subtracting all committed demand for the period (sales orders, component demand from planned orders, discrete jobs, and repetitive schedules).
    Note: Committed demand does not include forecasted demand or manually entered master demand schedule entries. Also, the amount available during each period is not cumulative. Oracle Master Scheduling/MRP and Supply Chain Planning does not consider ATP quantities from prior periods as supply in future periods. "
    Thanks and Regards,
    Dipak

  • Populating the Partners from Sales document (Customer/Sales order/delivery)

    Hi All,
    Is there any way to Populate the Partners which are mantained in Sales document (Customer/Sales order/delivery) into Customer Quality notification (Q1)
    Presently only Sales to party and ship to party is getting populated when we create Q1 notification.
    Thanks in advance
    jay

    Explore :
    Quality notification>Notifcation creation->partner->Define partner fuction procedure->Assign Partner Functions to Notification Type--->
    Check here whether you can get here the partner function.

  • Link between PO and Sales Order?

    Hi,
    I have an issue..I need to send an idoc containing PO with fields (like ebeln, lifnr...etc). Along with this PO, I need to send a field 'customer po number (vbkd-bstkd)' from sales order.
    Could you please help me out to find out the link between purchase order and sales order? how to fetch customer purchase order number from po number?
    Also what is the difference between Purchase order number and Customer purchase order number?

    The customer purchase order number is the number of the purchase order which you get from one of your <b>customers</b>. This number is copied in the sales order, for future reference.
    On the other hand, the purchase order is the order you send to one of your <b>vendors</b>.
    Thus the sales order and the purchase order are two indipendent objects. The customer purchase order number does not reference any document on the ERP. Therefore you can't link a purchase order to a sales order.
    Refer to the SAP Solution forum SAP ERP Sales and Distribution (SAP SD) for this kind of questions.
    Regards, Davide
    Message was edited by:
            Davide Cavallari

  • SD-How to find table of link between delivery and sales order?

    Hi Experts,
    I have a requirement as below.
    In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
    One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
    How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
    Thanks a lot,
    Frank

    Hi frank
    Check the following tables  VBAP , VAPMA , VBUP . It may help you
    Regards
    Srinath

  • SD-How to find table link of special delivery and sales order number?

    Hi Experts,
    I have a requirement as below.
    In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
    One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
    How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
    Thanks a lot,
    Frank

    hi,
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=20150250&messageID=3784069]

  • How to get COUNT of  Invoice No and  Sales Order No from Multiprovider

    Hello Guys,
    I have a scenario like below. I have 2 info cubes (1) Billing Item Info cube (2) Sales Order Item Infocube which stores Item level data in infocube. I created Multiprovider for these Sales Order Item Cube and Billing Item Info cube.
    Now in My Multiprovider, Invoice No and Sales Order No gets repeated no of times because one Invoice and One order will have no of Materials. I have a requirement to count Total No of Billing Document and Total No of Sales Document for a Day in the BEx Report. I was thinking to use COUNT function but if Sales Document or Billing Document gets repeated then it will count those records which i don't want. correct me if i am wrong. 
    How to get Total no of Billing Document and Total no of Sales Document from a Multiprovider where i have Item level data is stored ?
    Regards,
    Komik Shah
    Edited by: Komik Shah on Aug 20, 2011 5:33 PM

    Hi,
    Count can be achieved as per the following document. Create for Billing Doc and Sales Doc separately.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
    Regards,
    Suman

  • How to activate FM Account assignment in Sales Order

    Dear All,
    How to activate FM Account assignment in Sales Order at item level in account assignment category.
    Plz provide some solution for the same.
    Thanks & Regards,
    Pankaj

    Hi,
    Thanks for your reply.
    I am not asking of account assignment group for material.
    My problem is when i am creating Sales Order at item level in Account assignment category there is one field for Fund Mangement account assignment grp.
    I want to activate this field and i have to enter FM area in that field.
    Plz send some solution for the same.
    Thanks & regards,
    Pankaj

  • Addl Account assignment in Sales order

    We are in Make-to_order Scenario.
    Following is an item which as generated from a SD invoice:
    marketing and management Free : 1300
    In the additional account assignment data, sales order = 1500989
    Cost centre & Internal order fields are blank.
    Can I assign a default Cost centre for this GL account through OKB9 ?  Will it work ?

    Hi Nikki
    Cost center does not work for revenue accounts...  You can assign IO in the additional acct assignments tab
    However, by default the account assignment is to PSG if you have COPA activated
    br, Ajay M

Maybe you are looking for

  • Can I copy music on an iPod to a "new" computer?

    I have a new computer and would like to copy the current music on my iPod to the new computer. Music was originally loaded from the old computer. Is there a way to transfer the files FROM the iPod to the new COMPUTER using iTunes? (iPod --> computer)

  • Table of Contents Web Part

    We have a website that builds a sitemap using the OOTB Table of Contents web part to build a Site Map. The site consists of several subsites and the site map is close but under one particular subsite though the site map shows duplicate links. As an e

  • IPod Nano will not work

    My daughter has had her iPod Nano 8GB for about 10 months and now it will only play when its attached to the computer. What is causing this and how can it be fixed?

  • Convert mouse position to image position

    Using a zoomed IMAQ image in an image control, I want to recover the position of the mouse in the co-ords of the underlying image. LastMousePositionX (and Y) give the info I want but they are one click in the past and not the current position. Amazin

  • HT4972 Updating IPad operating system

    I have an early IPad (version 3.2.1 (7B405) model MB292LL), is it possible to update the operating system to IOS?