Customer Sales per Internal Order

We book Sales through a JV. All my debit and credit posting to a customer are with reference to a Internal order . Now i want a report wherein i can get to know that how much is the debit and credit in a customer account per internal order. My problem is that while posting the transation internal order is captured only in the Revenue or Expense Line Item and Customer Line does not have internal Order ...

Hi Sachin
In FBL5N give customer and company code and execute the report.
Click on "Change Layout" and select order it displayes balances by order
FILTER the balances as per your requirement.
Let me know if you need any further information
Regards
Prasad

Similar Messages

  • FI-AR-CR Customer Sales per Credit Control Area

    Hi,
    Do you know any table or funtion that may calculate the Customer Sales Volume per Credit Control Area? I need to calculate a customer specfic DSO (Day Sales Outstanding) figure. The standard AR Summary doesn't return such information. This nay be obtained via BSEG, but it requires a complex query.
    I have found the function module CUSTOMER_BALANCE, but it returns customer sales per company code, which still requires additional calculation to totalize the balances for all the company codes that belong to a credit control area which the customer is assigned to.
    I appreciate any input that may provide a simplier solution for this question.
    Thanks and regards.
    Gonçalo

    Hi,
    I have decided to use the function module CUSTOMER_DSO_CALCULATION, and I will try get the sales volume from some internal variable that this FM uses to calculate the standard DSO. Then I'll store it on a  Z table in order to compute the new specific DSO
    Thanks and regards,
    Gonçalo

  • Posting of Perks with internal order

    Hello
    We have maintained cost distribution infotype with subtype 01 for all employees. The regular salary as well as perks are posted using this distribution. Now we have a requirement to post mobile expenses with internal order. In FI Side profit centre is maintained in internal order master, one to one relationship. In IT 27 multiple cost centres are maintained, each cost centre is having separate profit centres, So when we are trying to maintain the internal order in It 27, system is restricting us.
    If we maintain another record in It 27 with custom subtype with internal order and one cost centre which is being maintained in internal order master.How to link one particular wagetype with custom subtype of IT27, so that it will get posted with internal order.
    Thanks
    Swapna

    Thank you.
    Customizing in ACSET  was missing.
    It is working fine now

  • Production Order and Internal Order for each item of the sales order

    Hi
       I am developing Make To Order Report where I have to display the MTO Line Items and non MTO Line Items. For non MTO Line Items I have to display Internal order with Planned and Actual Costs and also Production Order with Planned and Actual Costs. Could anybody tell how to get the Internal order no and production order with Planned and Actual costs for each line item for a sales order.
    Thanks
    Naga

    Hi,
    You can get the Production orders, Planned orders, Internal orders generated for Sales order item from AFPO table (use fields KDAUF-Sales order number & KDPOS-Sales order item). Then to identify the order type use order category (AUTYP) from table AUFK.
    Once you have the Production/internal order, you can ge the cost from COSS and COSP table. Use the object number from AUFK to get the cost entries from COSS & COSP.
    You can use the following sample code as reference.
    Hope this is helps.. (Don't forget to mark it... )
    Form GET_COSTS                                                       *
    Get the material cost, labour hours and the labour cost for the      *
    sales order material.                                                *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_COSTS.
      DATA V_OBJNR LIKE AUFK-OBJNR.
    DATA v_menge LIKE vbap-kwmeng.
      SELECT SINGLE OBJNR
        INTO V_OBJNR
        FROM AUFK
       WHERE AUFNR EQ AFPO-AUFNR.
      SELECT * FROM COSS
       WHERE OBJNR EQ V_OBJNR
         AND WRTTP IN ('01', '04'). " p_wrttp. "Labour Cost ( Plan, Actual)
        PERFORM GET_VALUES_FROM_COSS.
      ENDSELECT.
      SELECT * FROM COSP
       WHERE OBJNR EQ V_OBJNR
         AND WRTTP IN ('01', '04')         " p_wrttp
         AND KSTAR NE '0000510033'. " EQ p_kstar2.      "Material Cost
        PERFORM GET_VALUE_FROM_COSP.
      ENDSELECT.
    Get the unit cost of the production order by dividing the production
    cost by the order quantity. The result will be multiplied by the
    GL posting qunatity (Delivery quantity) to get the production cost
    for the quantity being deluivered.
      IF NOT AFPO-PSMNG IS INITIAL.
        OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_HOURS_ACT =
                          OUT_REC-ADDNL_LABOUR_HOURS_ACT / AFPO-PSMNG.
        OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_HOURS_PLN =
                         OUT_REC-ADDNL_LABOUR_HOURS_PLN / AFPO-PSMNG.
        OUT_REC-LABOUR_COST_ACT = OUT_REC-LABOUR_COST_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_COST_ACT =
                         OUT_REC-ADDNL_LABOUR_COST_ACT / AFPO-PSMNG.
        OUT_REC-LABOUR_COST_PLN = OUT_REC-LABOUR_COST_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_COST_PLN =
                         OUT_REC-ADDNL_LABOUR_COST_PLN / AFPO-PSMNG.
        OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_MATERIAL_COST_ACT =
                         OUT_REC-ADDNL_MATERIAL_COST_ACT / AFPO-PSMNG.
        OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_MATERIAL_COST_PLN =
                         OUT_REC-ADDNL_MATERIAL_COST_PLN / AFPO-PSMNG.
      ENDIF.
    Multiply the calculated Unit Production costs with the GL quantity to
    get the actual production cost of the quantity delivered.
    Calculation for Labour Hours
      OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT *
                                 OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_HOURS_ACT = OUT_REC-ADDNL_LABOUR_HOURS_ACT *
                                 OUT_REC-QUANTITY.
      OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN *
                                 OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_HOURS_PLN = OUT_REC-ADDNL_LABOUR_HOURS_PLN *
                                 OUT_REC-QUANTITY.
    Calculation for Material Cost
      OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_MATERIAL_COST_ACT =
          OUT_REC-ADDNL_MATERIAL_COST_ACT * OUT_REC-QUANTITY.
      OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_MATERIAL_COST_PLN =
          OUT_REC-ADDNL_MATERIAL_COST_PLN * OUT_REC-QUANTITY.
    Calculation for Labour cost
      OUT_REC-LABOUR_COST_ACT   = OUT_REC-LABOUR_COST_ACT *
                                   OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_COST_ACT = OUT_REC-ADDNL_LABOUR_COST_ACT *
                                  OUT_REC-QUANTITY.
      OUT_REC-LABOUR_COST_PLN   = OUT_REC-LABOUR_COST_PLN *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_COST_PLN = OUT_REC-ADDNL_LABOUR_COST_PLN *
                                  OUT_REC-QUANTITY.
    Get the planned material cost from the total of the planned cost of
    the component materials in the production order confirmations.
      SELECT BWART MENGE MATNR SHKZG FROM AUFM
        INTO (AUFM-BWART, AUFM-MENGE, AUFM-MATNR, AUFM-SHKZG)
       WHERE AUFNR EQ AFPO-AUFNR.
        CHECK AUFM-BWART NE '101'.
        READ TABLE I_MBEW WITH KEY MATNR = AUFM-MATNR
                                   BWKEY = AFPO-DWERK.
        IF SY-SUBRC NE 0.
          SELECT MATNR BWKEY ZPLPR LPLPR PEINH
            FROM MBEW
            INTO I_MBEW
           WHERE MATNR EQ AUFM-MATNR
             AND BWKEY EQ AFPO-DWERK.
            APPEND I_MBEW.
          ENDSELECT.
        ENDIF.
        IF SY-SUBRC EQ 0.
          IF I_MBEW-ZPLPR NE 0.
            IF AUFM-SHKZG EQ 'H'.
              OUT_REC-PLANNED_MATERIAL_COST =
              OUT_REC-PLANNED_MATERIAL_COST +
                           ( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ELSE.
              OUT_REC-PLANNED_MATERIAL_COST =
              OUT_REC-PLANNED_MATERIAL_COST -
                           ( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ENDIF.
          ELSEIF I_MBEW-LPLPR NE 0.
            IF AUFM-SHKZG EQ 'H'.
              OUT_REC-CURRENT_MATERIAL_COST =
              OUT_REC-CURRENT_MATERIAL_COST +
                           ( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ELSE.
              OUT_REC-CURRENT_MATERIAL_COST =
              OUT_REC-CURRENT_MATERIAL_COST -
                           ( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ENDIF.
          ENDIF.
        ENDIF.
      ENDSELECT.
    Get the Future material cost per Unit by deviding the calculated
    Future material cost above with the goods reciept quantity to, then
    multiply the unit cost with the GL quantity to get the Future material
    Cost for the Quantity delivered. (Quantity in the entery from GLPCA
    Table).
      IF NOT AFPO-WEMNG IS INITIAL.
        OUT_REC-PLANNED_MATERIAL_COST =
           OUT_REC-PLANNED_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
        OUT_REC-CURRENT_MATERIAL_COST =
           OUT_REC-CURRENT_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
      ENDIF.
    ENDFORM.                               " GET_COSTS
    Form GET_VALUE_FROM_COSP                                             *
    Get the Material cost from COSP table.                               *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_VALUE_FROM_COSP.
      FIELD-SYMBOLS: <FS> TYPE ANY.
      DATA: V_COMPONENT TYPE I.
    Cummulate the posting values of all the 16 period buckets as to get
    total production order cost. This is to handle the aprtial posting of
    prodction order values in diffrent periods.
      V_COMPONENT = 15.
      DO 16 TIMES.
        ADD 1 TO V_COMPONENT.
        ASSIGN COMPONENT V_COMPONENT OF STRUCTURE COSP TO <FS>.
        IF COSP-WRTTP EQ '04' AND COSP-KSTAR EQ P_KSTAR2.
          ADD <FS> TO OUT_REC-MATERIAL_COST_ACT.
        ELSEIF COSP-WRTTP EQ '04'.
          ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_ACT.
        ELSEIF COSP-WRTTP EQ '01' AND COSP-KSTAR EQ P_KSTAR2.
          ADD <FS> TO OUT_REC-MATERIAL_COST_PLN.
        ELSEIF COSP-WRTTP EQ '01'.
          ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_PLN.
        ENDIF.
      ENDDO.
    ENDFORM.                               " GET_VALUE_FROM_COSP
    Form GET_VALUES_FROM_COSS                                            *
    Get the Labour cost and Labour hours from the COSS table.            *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_VALUES_FROM_COSS.
      FIELD-SYMBOLS: <FS1> TYPE ANY,
                     <FS2> TYPE ANY.
      DATA: V_COMPONENT1 TYPE I,
            V_COMPONENT2 TYPE I.
    Cummulate the posting values of all the 16 period buckets as to get
    total production order cost. This is to handle the aprtial posting of
    prodction order values in diffrent periods.
      V_COMPONENT1 = 15.
      V_COMPONENT2 = 111.
      DO 16 TIMES.
        ADD 1 TO: V_COMPONENT1, V_COMPONENT2.
        ASSIGN COMPONENT V_COMPONENT1 OF STRUCTURE COSS TO <FS1>.
        ASSIGN COMPONENT V_COMPONENT2 OF STRUCTURE COSS TO <FS2>.
        IF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ P_KSTAR1.
          ADD <FS1> TO OUT_REC-LABOUR_COST_ACT.
          ADD <FS2> TO OUT_REC-LABOUR_HOURS_ACT.
        ELSEIF COSS-WRTTP EQ '04'.
          ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_ACT.
          ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_ACT.
        ELSEIF COSS-WRTTP EQ '01' AND COSS-KSTAR EQ P_KSTAR1.
          ADD <FS1> TO OUT_REC-LABOUR_COST_PLN.
          ADD <FS2> TO OUT_REC-LABOUR_HOURS_PLN.
        ELSEIF COSS-WRTTP EQ '01'.
          ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_PLN.
          ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_PLN.
        ENDIF.
      ENDDO.
    ENDFORM.                               " GET_VALUES_FROM_COSS

  • Sales order cost objective vs OKB9  Internal order cost object.

    Hi All,
    we facing an  issue with sales order cost objective vs OKB9 cost object.
    For IC PO service material, we assigned account assignment category 4.Reasonis Service material was not showing on G\R account.
    The G\L account 7898788, we assigned to Service Item (material type DIEN)  , for G\Cost 7898788 cost element is assigned in OKB9. Combination business + order 3478787.
    Now conflict with sales order cost objective vs OKB9  internal order cost object.
    While posting intercompany IR posting system thronging below error messageu2026
    Enter only one true account assignment
    Message no. KI249
    Diagnosis
    You made assignments to several objects in CO (cost center, order, project etc.). 2 of these have been created as true objects.
    System Response
    You are allowed only one account assignment for each cost-relevant account
    How to resolve this issue.. Do I make any config changes in the system to overcome this issue?
    Or any sub account to assin in VKOA config for internal orderu2026
    Regards,
    Adi

    Hi Waman,
    Thanks for your inputs.
    Issue :  IR failed to post for wax  Sales Order -> ICPO  - Error:  Enter only one true account assignmentu2019.
    Background:
    Original setup  in  Test system   & Productionu2013 account determination for servive (DIEN) account assignment category u20184u2019 was linked to G/L Account  34444444, As part of project orange u2019, account determination was linked to account u201889710100u2019.
    Account u20188970100u2019   34444444 was replaced with 8970100 ,is not linked to any cost center & always post with reference to IC Sales Order as per config in OKB9 based on company code (US99) + cost element (89701100) + business area (9yyy). This caused a conflict while posting IR, system could not determine exact order for posting financial value.
    Conflict:  Actual Sales Order 34789343 is  linked to PO via account assignment category & IC dummy sales order (8014331) is determine via config setting. Two cost objects cannot be linked to one IR G/L account booking.
    Regards,
    Adi

  • Sales Order value updating in the Internal Order Revenue Planning

    Dear All, 
    We have created an Internal Order and entered the planned value of the Revenue & Costs.When we create the Sales Order ,the Planned Revenue value of the Internal Order is updating by the Sales Order Value,but as per the client requirement ,the planned value of the Internal Order should not get updated by the sales order value.
    Please note that we have activated the CO-PA.Is this CO-PA activation is affecting the Internal Order planned values by the Sales Order value?.If so how to come from this issue.
    Please help me as how to resolve this issue.
    Regards
    Subbu

    Hi,
    Thanks for giving the appropriate SAP Note and I have referred the said note,but in note the SAP has said that
    "The attached modification deactivates the update for the order for all order categories (CO internal order, PM order, CS order)."
    In our scenario we need to update the planned vales in the CO Internal Order ,PM Order and CS Order except the Sales Order value.Is there any other alternative solution without affecting the CO Internal Order,PM order and CS Order?
    Please share as we are in the process of testing.
    Thanks
    Subbu

  • Customer and Internal Order

    Hi,
    I want to track all the customer sales with statistical internal orders. My requirement is:
    Whenever i am saving the customer master system automatically should create a one statistical internal order with customer number. Where i have to confiuge this.
    Pleae guide me.
    This is very very urgent

    Hello
    I am sorry but what you are trying to do is not possible in the standard system.
    There is no functionality to automatically create a statistical internal order from the
    customer´s master data.
    Regards
    Javier

  • Linking Sales Promotions to Statistical Internal Orders

    We have two kinds of promotions here.
    a) Consumer Promotion - reduced price for a particular period
    b) Trade Promotion - Free goods - buy 10 get one free.
    We are creating these promotion through standard SAP route with a validity period, and these get populated in the sales order order correctly.
    The promotionional expenses are borne by the supplier (vendor). To debit his account with the appropriate expenses, we have created Statistical Internal orders (SIO) in CO, one per supplier account.
    (We have developed a report where we accumulate all the values dueing these two above promotions and manually pass a JV in finance in the SIO.This is a long circuitous process and we are exploring other alternativesto make the values flow directly to the SIO)
    If you double click on the sales order item, and proceed to Account Assignment tab, you will see an order no., where you can select the (SIO) no., which we are doing manually.
    I am unable to find any place in configuration of Sales Promotion/Sales Deal/ SIO (definition) through which I can default the SIO no. in the sales order, so that the values can flow automatically.
    Please help if possible.
    Thanks & Regards
    AN

    I think that this is not possible.
    Roberto

  • 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.

  • Account Assignment field in Sales Order (Internal Order)

    Hi SD Guru's
    In my sales order i have two items with two different item categories....for the 1st item in the account assignment field i can see internal order number field, in the 2nd item i cant see that internal order field. What do i do? Any customization settings?
    Regards
    Ravi

    Hi Ravi,
    it is due to profit centre accounting / costing is active, it is better to get it clearified from a FICO consultant
    regards,
    Santosh

  • Report Sales Per Customer

    Hello to all!
    i have a requirement to make a query that will bring me report for Sales Per Customer
    the desired fields are the following
    CardCode
    CardName
    --, (Select sum(T6.LineTotal) from inv1 t6  where t6.docentry=t0.docentry) 'Price Bef. Disc.'
    , (Select t5.linetotal from inv3 t5 where t5.docentry=t0.docentry and t5.expnscode in ('6','7')) as 'Freight'
    --, (Select t5.linetotal from inv3 t5 where t5.docentry=t0.docentry and t5.expnscode='11') as 'W/TAX'
    VatSum
    .DocTotal
    SlpName
    till now i have written the following code
    SELECT t0.docdate as 'Doc. Date', t0.docnum as 'Doc No.', T0.CardCode AS 'Customer Code', T0.CardName as 'Customer Name', (Select sum(T6.LineTotal) from inv1 t6 where t6.docentry=t0.docentry) 'Price Bef. Disc.', (Select t5.linetotal from inv3 t5 where t5.docentry=t0.docentry and t5.expnscode in ('6','7')) as 'Freight', (Select t5.linetotal from inv3 t5 where t5.docentry=t0.docentry and t5.expnscode='11') as 'W/TAX',T0.VatSum,  sum(T0.DocTotal) 'Doc. Total', T1.SlpName as 'Account Manager' FROM OINV T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode inner join ocrd t2 on t0.cardcode=t2.cardcode inner join ocrg t3 on t2.groupcode=t3.groupcode WHERE (T0.DocDate between '[%0]' and '[%1]')
    group by T0.CardCode, T0.CardName, T1.SlpName, t0.docnum, t0.totalexpns, t0.docentry, t0.docdate,T0.VatSum
    union
    SELECT t0.docdate as 'Doc. Date', t0.docnum as 'Doc No.', T0.CardCode AS 'Customer Code', T0.CardName as 'Customer Name',(Select (-1)*sum(T6.LineTotal) from rin1 t6 where t6.docentry=t0.docentry) 'Price Bef. Disc.', (Select (-1)*(t5.linetotal) from rin3 t5 where t5.docentry=t0.docentry and t5.expnscode in ('6','7')) as 'Freight', (Select (-1)*(t5.linetotal) from rin3 t5 where t5.docentry=t0.docentry and t5.expnscode='11') as 'W/TAX', (-1)*T0.VatSum, (-1)*sum(T0.DocTotal) 'Doc. Total',T1.SlpName as 'Account Manager' FROM ORIN T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode inner join ocrd t2 on t0.cardcode=t2.cardcode inner join ocrg t3 on t2.groupcode=t3.groupcode WHERE (T0.DocDate between '[%0]' and '[%1]')
    group by T0.CardCode, T0.CardName, T1.SlpName, t0.docnum, t0.totalexpns, t0.docentry, t0.docdate,T0.VatSum
    but i would like only once to be displayed each customer
    do you have any idea?

    issue resolved
    SELECT
    T0.CardCode AS 'Customer Code'
    , T0.CardName as 'Customer Name'
    ,(select sum(t5.linetotal) from inv1 t5 INNER JOIN oinv T6 ON T6.DOCENTRY=T5.DOCENTRY where t6.cardcode=t0.cardcode and t5.docdate between '[%0]' and '[%1]') 'Price Bef. Disc.'
    ,(Select sum(t7.linetotal) from inv3 t7 inner join oinv t6 on t6.docentry=t7.docentry where t6.cardcode=t0.cardcode and t7.expnscode in ('6','7') and t6.docdate between '[%0]' and '[%1]') as 'Freight'
    ,(Select sum(t7.linetotal) from inv3 t7 inner join oinv t6 on t6.docentry=t7.docentry where t6.cardcode=t0.cardcode and t7.expnscode ='11' and t6.docdate between '[%0]' and '[%1]') as 'W/TAX'
    ,(select sum(t8.vatsum) from oinv t8 where t8.cardcode=t0.cardcode and t8.docdate between '[%0]' and '[%1]') as 'VatSum'
    ,sum(T0.DocTotal) 'Doc. Total'
    , T1.SlpName as 'Account Manager'
    FROM OINV T0
    INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
    WHERE (T0.DocDate between '[%0]' and '[%1]')
    group by T0.CardName, T1.SlpName,T0.CardCode
    union
    SELECT
    T0.CardCode AS 'Customer Code'
    , T0.CardName as 'Customer Name'
    ,(select sum(t5.linetotal) from rin1 t5 INNER JOIN orin T6 ON T6.DOCENTRY=T5.DOCENTRY where t6.cardcode=t0.cardcode and t5.docdate between '[%0]' and '[%1]') 'Price Bef. Disc.'
    ,(Select sum(t7.linetotal) from rin3 t7 inner join orin t6 on t6.docentry=t7.docentry where t6.cardcode=t0.cardcode and t7.expnscode in ('6','7') and t6.docdate between '[%0]' and '[%1]') as 'Freight'
    ,(Select sum(t7.linetotal) from rin3 t7 inner join orin t6 on t6.docentry=t7.docentry where t6.cardcode=t0.cardcode and t7.expnscode ='11' and t6.docdate between '[%0]' and '[%1]') as 'W/TAX'
    ,(select sum(t8.vatsum) from oinv t8 where t8.cardcode=t0.cardcode and t8.docdate between '[%0]' and '[%1]') as 'VatSum'
    ,sum(T0.DocTotal) 'Doc. Total'
    , T1.SlpName as 'Account Manager'
    FROM orin T0
    INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
    WHERE (T0.DocDate between '[%0]' and '[%1]')
    group by T0.CardName, T1.SlpName,T0.CardCode

  • Sample Report: Sales per Customer by Period - WITH QUANTITIES

    I am trying to make some modifications to the 'Sales per Customer by Period'  sample report, but am having problems. I want it to be YTD and comparative, so YTD-12. That part was easy enough. Then I wanted to add the quanty. So i want the report to show the sales amount and quantity for each customer, ytd and prior year ytd. This seemed easy enough also, until I looked further into the data. It doesn't match up with reports from Business One. The problem seems to be my items that are packs, like an item that is sold in packs of 10. If the invoice has 10 10 Packs on an invoice, my report shows a quantity of 10. The SBO report shows it as a quantity of 100 (10x10). I have tried to add Item level stuff, so I could go get the 'Items per Sales Unit' value and multiply it by the quantity. When I do this the report crashes.
    Does anyone have any suggestions? Has anyone created a report like this? Any help would be appreciated.

    Hi,
    What is your B1 version and PL? Is this a Crystal Report or PLD?
    Thanks,
    Gordon

  • Internal Order report per SKF

    Hi
    I am new to CO area.  I have a requirement. 
    I have to monitor the maintance costs per 46 vehicles I have in my company individually.  I have created these vehicles each as a Statistical Key figure.  I am posting the maintenance expense to a Cost element and the cost element is assigned to a Cost Centre.  I have also created an Internal order (statistical) and the above postings are also captured to this internal order.
    Will the above would meet my requirement of monitoring the maintenance cost incurred per each vehicle ?
    Which report would show the cost incurred per vehicle for a period ? 
    Regards

    Hi,
    SKFs are used to allocate costs from one cost object to other object.
    in your case,you have created one cost center and one statistical Internal order.you book all 46 vehicles cost to one cost center and one statistical internal order.how are you going to see view costs by vehicle.
    with your set up it is not possible.
    Create one cost center and 46 statistical internal order.
    when ever you booking cost for for vehicle input cost center and Internal order.for expample.
    you have created cost center CC1000 and statistical internal order like IO1,IO2,IO3 and etc....to IO46.
    posting are like this
    Cost element   Amount  Cost center  Internal order
    6000000               $30     CC1000      IO1
    6000000               $60     CC1000      IO3
    Hope this helps you.
    Thanks,
    Rau

  • Changing Payment terms for customer Sales Order

    Hi,
    I have a requirement like scenario below :
    1. Customer sales orders are billed with X payment terms (Not installment).
    2. Subsequently, Customers agree for installment terms.
    3. A need arises to change ONLY the payment terms on the  existing billing document (without cancelling existing billing document)
    4. Is this achievable ? Via VF02 or FB02 ? Or any other means ?
    Thanks in advance.
    Bala

    You cannot change the terms through the VF02; however, you can change under FB02.  Go into the accounting document you would like to change, double click on the customer account posting and you should see the payment terms highlighted for you to change.
    If you do not see it changeable, it is due to security.
    Hope that helped.

  • Sales order value flow to internal order without cost elements.

    Dear Sap Friends,
    My client have a requirement, when sales people creating a sales order, sales value flow into internal order without a cost elements. normal case when SO, Deleivery, and billing data automatically can flow into CO-PA. Here i want to know how value can flow into I.O. without a cost elements please give me advise.
    i created a  statistical internal order  and that internal order i assigned in sales order account assingment. but i know that there is no value going to flow this  I.O. becasue there is no cost elements.(becasue client dont want to create a cost element for internal order)
    There is any option when i crate a sales order  values can go into internal order without cost elements or i can create a statistical Internal Order and assigned into  CO-PA? if i can dothatt what is the steps. kindly explain to me. if some have can explain to me please leave contacts number or send me reply.
    Regards
    Paul

    By standard configuration itr is not possible.
    You ought to have user exit in place.
    For DC A & B, where you need a redetermination of pricing component, take help of an ABAPer for user exit USEREXIT_XKOMV_FUELLEN (module pool SAPLV61A, program RV61AFZB).
    So now, for DC C, you need to change the copying control in VTFL - item, where your pricing type ought to be D-Copy pricing elements unchanged.
    Regards
    JP
    ASSUMPTION: I assume that your all DC uses the same Sales Doc type & Billing Doc type

Maybe you are looking for

  • Changes in process order against actual/standard bom

    Dear GURUS We are from Process Industry. Suppose there is finished material A. Components of A (BOM) for qty - 1 Component    qty.    X                 1    Y                 2    Z                  3 One process order is created of A for qty 1. Then

  • HTML Tags appear in Notes : how to removing display HTML Correctly.

    Hi the Notes section of HTML CLient for service request, we are seeing HTML Tags appearing in the following format. <html><b>Some message/b></html> We want to make it appear in HTML format. Not with the HTML Tags. Is there some way to get rid of the

  • What type is version 35.0.1for firefox browser? Release/beta/Aurora/nightly/ESR

    The following webpage(http://www.geek.com/news/firefoxs-four-release-channels-explained-1489525/) says that Release versions are released every 6weeks.If that be so then how come v36.0 , v36.0.1 , v36.0.3 , v36.0.4 are relese channel versions ? the p

  • Set headers with jsp

    hi, i try to make a download page with jsp. here is my code: <%@ page import="java.io.*,javax.servlet.*,java.util.* "%> <%           String filename = "super.zip"; response.setContentType("application/octet-stream"); response.setHeader("Content-Dispo

  • CRM BADI URGENT?

    Hi I am using BADI BUPA_FURTHER_CHECKS...when creating a business partner (sold-to-party) in SAP CRM? I need to check the industry code with the attribute...and give an error message... But the problem is that this BADI is not getting triggered? Do u