Pulling GL_ACCOUNT info into Sales Billing Report(based on VDITM)

Dear all,
I want populate profit center(this I can get from mat_plant attribute) and gl_account in the Report.
My problem is how do I get the join condition between general ledger data and vditm to get the GL_ACCOUNT for each billing item.
anyone any ideas?
Regards,
RK

Hi rajesh,
You directly have the VBRP-PRCTR profit center in the 13_VDITM ,
And one possible way of getting the GL Account in the billibg extractor is , Billing item table has sales document in it VBRP-AUBEL and , FI-AR table BSID also have Sales Doc with GL Account , may you can can give a try with this realtion
or as a alternate you can try a look up from DSO 0FIAR_O03 in BI which will have sales doc and GL Account
I am just guessing this possibilty , please investigate and implement
Regards,
Sathya

Similar Messages

  • Sales Analysis Report based on Supplier-wise

    Hi Experts,
    My client requirement is ,We are into trading so , we want a Sales analysis report based on Supplier-wise. like,
    Selection critieria is
    1)Supllier name
    2)From and To date.
    Heading are
    Item name     Sales UoM    Jan(quantity)   Feb(quanitity)   mar(quantity)   April(quanitiy).........
    here, i need only the sum of the quantity for the items for that particular month based on the date giving in selection criteria.
    Regards,
    Dwarak
    Edited by: Dwarak@SMS on Aug 23, 2010 4:29 PM

    Hi experts,
    For my clients requirement,
    I could able to alter my previous query(find below).
    My object is
    1)To get sales report based on Manufacturer.
    2)To get the TOTAL SALES QUANTITY OF THE MONTHS in the report. I go that in the below query, and only thing is that is have to minus the total Credit note for items to get the ACTUAL TOTAL SALES OF THE MONTHS. so , can anyone help me to alter the query to get me the ACTUAL TOTAL SALES OF THE MONTHS.
    the query is
    SELECT T0.ITEMCODE,T0.ItemName,T0.OnHand,
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 1 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JAN ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 2 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'FEB ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 3 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'MAR ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 4 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'APR ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 5 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'MAY ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 6 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'JUN ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 7 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'JUL ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 8 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'AUG ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 9 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'SEP ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 10 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'OCT ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 11 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'NOV ',
    (SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
    (NOLOCK) WHERE MONTH(T1.DOCDATE) = 12 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0)  AS 'DEC '
    FROM dbo.OITM T0
    LEFT JOIN dbo.INV1 T1 ON T1.ItemCode = T0.ItemCode WHERE T0.SellItem = 'Y' and T0.[FirmCode] =[%0]
    GROUP BY T0.ItemCode,T0.Itemname,T0.OnHand,YEAR(T1.DOCDATE) HAVING YEAR(T1.DOCDATE) =
    YEAR(GETDATE())-0
    ORDER BY T0. ITEMCODE

  • Multiple Deliveries into one Billing document  Based on the Shipment Number

    Hi,
    After searching, am posting this thread.
    I know the Invoice Slipt Parameters but i need to stop one invoice slipt parameter i.e. Billing Date.
    My Requirement:
    2 deliveries are created with different Billing Dates and attached to a single shipment.Now i want to combine these deliveries into single invoice based on the shipment number..
    Please put some ideas tht can help me  to solve this..
    Thank you in Advance.
    Edited by: Aditya Roy on Mar 13, 2009 8:11 AM

    Hi
    Payer
    Payment terms
    Billing date or billing due date
    Destination country
    Billing doc type
    Incoterms
    Actual GI date
    Foreign data trade
    If these are same in all delivery documents they can be combined into single billing
    This is controlled in copy controls in VTFL choose del type and billing type and your item category
    In that VBRK/VBRP if you choose 001 combined billing will happen
    In VF04 you can do the billing or in VF01 you have to input all the delivery nos manually and do the combined billing
    The same qn was posted by you on NOV 21st with so many replies?
    Why are you posting again and again?
    Pls close the thread whereever possible
    Regards
    Raja
    Edited by: ramanathan raja on Dec 14, 2008 5:00 PM

  • Address book print command pulls other info into address

    When I set up to print labels from the address book, it pulls other family member names into the first line of the address even tho they are not part of the contacts name. Any way to avoid this?

    The only way to avoid this is to not have that other information in the Contact. I think this document explains it pretty well: http://support.apple.com/kb/HT3952

  • Need to pull LONG TEXT into Sales Invoice

    Hi All,
    We have a Projects and we maintain some long text for these WBSes of  projects. Now we need to move them to Invoices. Is there any table where in we can store these texts and then we pull in Invoice ? We can also move to Debot Memo request and then to Invoice. How do I store TEXT as its a structure where in it gets stored.
    rgds..Ameet

    Hi,
    Following are some of the tables (PRTX, PSTX, PSTXB, PSTXH) where you can find the references for PS Text in WBS Elements.
    Regards
    Sreekanth

  • Z-Table Values, can it be pulled into Sales Order?

    Dear Gurus,
    If i maintain values for different disocunts in Z-Tables, can it be possible to pull those values into sales order?
    If so, please show me the way forward...
    SKumar

    Hii
    For using Z-Table value for discount calculation against particular condition type, you have to create one Routine in Transaction Code VOFM  => Go to formula from menue bar ==> Condition Base Value
    Create on routine there with the logic that base value of condition calculation will be Z- table (You can create your own logic)
    Then use that routine against your condition type in Pricing procedure in Alt Cal Type column
    Hope it will help you
    Thanks and Regards
    Shambhu Sarkar
    Edited by: SHAMBHU SARKAR on Apr 25, 2011 12:04 PM

  • Sales analysis report- showing & totaling both Invoices & Credit memos on o

    I have written a Several sales analysis reports based on INV1 tables and RIN1 tables, (Invoice lines and Credit memo lines) for SAP B1 using crystal. I would like the data from both the invoices & the credit memo to list & total on the same report. But have had no luck doing this.
    Is it possible?
    How would I go about doing it?

    Solved my problem, I used the "Show SQL Query" window on my existing reports copied and pasted them to SQL Management Studio as a View, used keyword Union All to join the two queries (Invoices and Credit memos)  and used the view as the data link to create a new report in Crystal Report writer.
    This got me both of the data files into the report detail line and allow for summing.
    Problem solved.
    Thanks for the input.

  • Can i get month, quarterly, half yearly, yearly wise sales report basing on

    hi,
    sap gurus,
    good evening to all,
    how can i get month, quarterly, half yearly, yearly wise sales report basing on division and material.
    is there any std transaction code for that.
    customization is requried for that.
    regards,
    balaji.t
    09990019711

    Standard SAP SD Reports:=
    Statistic Group:
    Purpose u2013 To capture data for Standard Reports, we require to activate Statistic Group as under:
    --> Item category (Configuration)
    --> Sales document type (Configuration)
    --> Customer (Maintain in Master data)
    --> Material (Maintain in Master data)
    When you generate statistics in the logistics information system, the system uses the combination of specified statistics groups to determine the appropriate update sequence. The update sequence in turn determines for exactly which fields the statistics are generated.
    Configuration:
    IMG --> Logistics Information System (LIS) --> Logistics Data Warehouse --> Updating --> Updating Control --> Settings: Sales --> Statistics Groups -->
    1. Maintain Statistics Groups for Customers
    2. Maintain Statistics Groups for Material
    3. Maintain Statistics Groups for Sales Documents
    4. Assign Statistics Groups for Each Sales Document Type
    5. Assign Statistics Groups for each Sales Document Item Type .....
    All Standard Reports which are available are as under:
    SAP Easy Access: Information Systems -> Logistics -> Sales and distribution ->
    1. Customer -> Incoming orders / Returns / Sales / Credit memos / Sales activities / Customer master / Conditions / Credit Master Sheet
    2. Material -> Incoming orders / Returns / Sales / Credit memos / Material master / ...
    3. Sales organization -> Sales organization / Sales office / Sales employee
    4. Shipping point -> Deliveries / Returns
    5. SD documents -> Orders / Deliveries / Billing documents ...
    & so on.
    Regards,
    Rajesh banka

  • Combining two sales documents  into one billing document

    Hi Friends,
    I need to combine two sales document into one billing document. Header data is same in both sales document.
    I have set factory calendar in the payer master.
    Tried for data transfer rotine at copy control of item level. But was not sure which routine to be set.
    Please let me know, what all settings are required to create one combine billing document.
    Regards
    Suman

    Hi,
    Is it delivery based billing or order based billing?
    2 orders / 2 deliveries and 1 invoice.
    For the above situation you need to write a routine which eliminates document number difference for Reference and Allocation.
    If you do not have different customer purchase orders for these two sales orders and in your copy control from delivery to billing your assignment and reference numbers are blank then system will club these deliveries and create one sales order.
    Else you need to eliminate these by writing a copy control routine and assign it at the header level.
    Hope this helps.  Pl. revert in case of further clarifications.
    Thanks
    Krishna.

  • Sales report based on Reason for Rejection

    Hi Guru's,
    I have a requirment to get the list of sales orders( Open/ Close) report based on Reason for Rejection.
    Please makesure it should be standard not customization and using tables.
    Thanks & Regards,
    Subbu.

    Hi subburamaiah
    If you want the report you can create a separate SIS report . In that take the input field  as a Reason for rejection.. and ask for the output the list of sales orders .Now when you check this user defined report you will give the reason for rejection and check what all orders got rejected on that reason for rejection.
    Regards
    Srinath

  • Inserting paragraphs into a report based on a certain condition

    Hi, I need some advice on the best method to insert paragraphs of text into a report.
    I have +/- 100 paragraphs which are in text format, I need to insert these into the report based on certain conditions.
    I have tried entering them into the trailer section one after the other and using conditional formatting to display them if the the condition is met. This works well but I ran out of space in the trailer section.
    I then thought of saving the paragraphs somewhere on the server as seperate txt files and inserting them into the report using file links,
    or I could put these paragraphs into a table and then insert them from there, some of these paragraphs are longer than 4000 characters,
    Please advise on the best method
    Thank you
    Michael

    Hi,
    If the button and the textfield are on in the same subform then this code should work in the click event of the button
    (This is JavaScript code so make sure the code is set to JavaScript and Client on the drop downs in the script window)
    (assuming the name of the textfield is TextField1)
    TextField1.rawValue = "some value";
    If they are in different subforms then you have 2 options
    Please note in both these options it is easier if the subforms have names ( I am assuming this to keep samples simple)
    option 1 -
    use the parent object to move up the tree till you are at the same level as that of the subform that contains the textfield
    e.g. 
    (Click Event of the button)
    this.parent.subformname.TextField1.rawValue = "some value";
    option 2 -
    Use the resolve node to make your way down from the top level of the form
    xfa.resolveNode ("form1.subformname.TextField1").rawValue = "some value";
    Hope this helps
    Malcolm
    p.s. I am making assumptions as the image/file you attached did not appear for me.

  • Creating Mulitile Billing documents based on Sales order

    Hi All
    My requirement is to create a billing documents based on sales order. Item category is SERVICE.
    For example : In Sales Order the quantity is 100.
    1 st billing doument user can create of 10.Then after 1 month 2nd billing document of 9 and so on.
    when i create billing document related with sales order . the billing document is created with 100 quantity.
    i know it is possible with delivery but my requirement is billing document should be created related to service.
    Appreciate your time.
    Thanks and Regards
    Mahesh

    Hi ,
    You can use mile stone billing concept for this requirement.In mile stone billing ,we enter the billing dates and quanitity to be billed.We can bill the required quantity once the billing date reaches the system date.
    Hope it helps.
    Regards,
    Pasapula.

  • Reporting based on weighted product unit sales

    Hello! I was just wondering what the best way of generating reports based on weighted product unit sales? I know that reports can be build based on weighted revenue, but I'm keen to be able to report on product units as well. For instance, if I have three
    opportunities:
    Opportunity 1: Has a probability of 25% for 100 units of Product A, closing Month 1
    Opportunity 2: Has a probability of 50% for 100 units of Product A, closing Month 2
    Opportunity 3: Has a probability of 50% for 100 units of Product B, closing Month 3
    Ideally, a quarterly report would show that I have sales of 75 units for Product A ((25%*100)+(50%*100)) and sales of 50 units for Product B (50%*100). I could then drill down the quarter and look at the Monthly sales breakdown.
    Not sure if this can be done by using the default fields and some clever Report building, or whether I'd need to create a custom field for each product sale that had an auto-calculated field (OpportunityProbability * Quantity)?
    Does that make sense? Any pointers would be massively appreciated! :)

    ???

  • T-code or SAP Table Sales report based on Document Pricing Procedure

    Hi Experts,
    Please suggest me some SAP Standard T-code or Sales Report based on Document Pricing Procedure and Sales Area.
    Or suggest me SAP Table for the above mentioned combination. Thanks in advance.
    With Best Regards,
    Bharat B

    Hi
    There is no standard t code available. You have to go for Zee using the below tables
    first you need to get the VBAK-KALSM(Pricing procedure)or VBRK-KALSM  next you have to pass the VBAK-KALSM to table T683V-KALSM(field) now you will get all the Document Pricing Procedures (KALVG) assigned to these pricing procedures along with sales area.
    So using these tables you can get the required data.
    regards
    Prashanth
    Edited by: Prashanth@SD on Jan 18, 2011 7:58 AM

  • Sales person commission based on sales revenue on material group-report

    Dear Experts,
    My client want to charge and calculate Sales person commission based on sale revenue on material group.
    lets say -sales person 'A' did sales during the month 5lakh on material group1 and 10 lakh material group2 .
    then i will give commission 5% on less than 6 lakh and 10% on more than 9 lakh sales revenue.
    so total commisssion they will book 125000(25000+100000) on GL .
    They want this information from CO so they they can book amount in FI and after that need to charge from COPA based on above logic..
    request you to guide me on the above.
    regards
    RR

    Hi ajay,
    I need Sales revenue ,sales person and material group information.
    will i get all this information from VBAP/VBRP table?.
    I will transfer sales revenue,material group and sales person to copa at the time of billing.
    Shall i use copa or VBAP/VBRP table in order to fetch information and based on information.I will calculate and post FI JV from FI to COPA.
    Guide me.
    regards
    RR

Maybe you are looking for

  • Follow-up on Ravi's User Exits example

    Hi, Ravi's user exit example: You have a content data source with fields say customer,sale org, profit center and amount. You wish to add sales manager to this extractor. You <b><u>locate</u></b> the table and <u><b>field name and append that field t

  • Automatic Creation of Archive Date Field in UDT

    Dear All, We had upgraded a client from SAP 2007B to SAP 8.81,after the upgradation while checking the list of fields for our User Defined Tables through Query Manager,a Field name ArchiveDate got created. This field has got created for all the User

  • The iphone "iphone" could not be restored

    Hello, I'v tried to update my Iphone to the new OS 3.1.3 and when it started to restore the iphone with the new OS i got this error: the iphone "iphone" could not be restored I tried restarting my computer and almost everything i found on the net and

  • Additional data tab B problem

    Hi, I have a requirement to display some fields on the screen of va01 additonal data tab B. I added those field in table using append structure. I identified the screen 8309.i created two box on the screen. I have put the fields of the screen. i have

  • How to protect my mac screen

    How to protect my apple macbook pro screen??