COPA from Billing seperate sales rev qty & sales return qty

Dear Experts,
If we need to seperate sales rev qty & sales return qty, how do we send sales rev qty & sales return qty by billing type?
Thanks in advance.

HI,
I assume you want to post the sales rev. qty / sales return qty. You can use enhancement COPA005 (include ZXKKEU08) to move actual values/quantities to other value/quantity fields if you have a rule for that.
I guess you can use the SD document category which is assigned to every billing type to differentiate between sales postings and sales return postings. This is more stable than focussing on the billing type itself (where a new one is created easily but nevertheless it must be assigned to an existing SD document category).
best regards, Christian

Similar Messages

  • To know Customer from Billing Document number

    Hi,
    In VF03 IN we enter BILLING DOCUMENT NUMBER then we get detail of that. How can we find Customer(KUNNR from KNA1) from this BILLING DOCUMENT NUMBER. Please help me in this.
    Thanks in advance.

    Hi  Suresh..
    Table: VBFA (sales doc flow)
    From Billing Document No  find the Sales order no.
    Table VBAK - From sales order No find the Customer No.
    reward if Helpful.

  • COPA : Drive Item Category from billing doc. / without sales order

    Dear All ,
    I need to drive item category directly from billing document ( billing without sales order - POS inbound doc. )
    i tried to drive it from table VBRP but the derivation failed as table VBRP need the billing doc. number & i can't get it from COPA
    POS does not create any sales order , the in coming inbound doc. create billing directly ( billing type : FP  ).
    Edited by: Ahmed Hassan on May 25, 2011 2:28 PM

    Hi Jat
    This is not the screen I  am looking for .Please go to condition tab and look for Analysis .Let me know on what excess you are looking system to find your pricing .
      Below are are reference for u.
    Regards

  • How Billing doc.created from purchase invoice in Third Party Sale

    Hi All
    Our client requirement  has been mapped as sap third party sales process .
    But if the vendor is delivering less qty .  than the qty. for which Sales ordered  has been  created, How to create the  Sales billing Doc.  according to the purchase invoice so that Sales Billing  Doc. should be created for the delivered qty. only .
    Please suggest the configuration  & how the data is flowing from the Purchase Invoice to the Sales Invoice.
    Thanks in advance
    Ashok

    Hi
    you can achieve your requirement by following
    T-Code  VTFA (copy control Order to Billing)
    use you Third party order type and billing type
    Go to Item category (if Standard use TAS)
    there is a option "BILLING QUANTITY"
    user there "E" Goods receipt quantity less invoiced quantity"
    Hope it will solve your problem
    Cheers
    Shambhu Sarkar

  • Calculating Key Figures in Copa based as sales Rev / Cusomter Price Based

    Hello Gurus,
    I have a requirement in which i would like to calculate some key figures in COPA as sales revenue.
    I would like for e.g to calculate the following: Cusomter Price Based Discount but do not know what to take into consideration.
    Is there any document which can help me to build it?
    I have  created the generic datasource based on the table CE1XXXXX.
    Thank you

    Hi Anindya,
    thank you for replying.
    The steps in that document was already being done.
    I have all Key Figures comin from CE1xxx Table. We are using the cost based COPA.
    My problem now is to build some Key Figures as sales revenue (Sales View) like for e.g Cusomter Price Based Discount.
    I would like to know how to proceed to build them. Any sample?
    Is it possible to build them directly based only on the generated extractor? or should i have to take dta from Billing as well?
    Thank you.

  • Copy Pricing Cond. from PO to Billing Doc. in 3rd Party Sales

    Background
    For Third Party Processing, the standard SAP "Document Flow" is:
    Sales Order -> Purchase Order -> Invoice Receipt -> Billing Document
    Question 1
    We have this Third Party Model described above mplemented with my current customer.  Standard SAP Condition Type VPRS is in the SD Pricing Procedure and during Sales Order creation it is determined via Material Master.  However, after the Invoice Receipt is created against the PO, it appears that VPRS is redetermined in the Billing Document based off of the 'Cost' from a Condition Type in the PO. 
    My question is as follows:  How does it 'know' to do this???  I do not see any code or calculation type in the Pricing Procedure that tells it to pull it from the condition type in the Purchase Order.  Where is this code - or - where is this functionality derived from in Pricing Configuration???
    Question 2
    This question is dependent on Question 1, but is it possible to pull other pricing values from the PO into a different Sales Order condition type(besides VPRS of course) using stricly Pricing Configuartion or do I have to code some sort of Calculation Type to do this? 
    Thanks for any help here!
    Mike

    Hello Mike
    Question 1:
    It knows it from config as you rightly guessed. Let me quote from SAP help documentation:
    Documentation for VPRS says "For a third-party business transaction, the costs are determined from the purchase order:"
    If Customizing has been configured appropriately, the system determines the cost for third-party order processing from the value of the vendor invoice plus proportional statistic conditions (for example, cash discounts or statistical freight) from the purchase order in Materials Management.
    The quantity indicator in the billing documentu2019s document flow then controls where the cost comes from. Activate indicator F in the Billing quantity field (billing quantity equals goods receipt quantity minus quantity already billed).
    This is in copy control. VTFA - Item cat settings
    Links:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/d7/5cf0e89e5911d2959e00a0c9306794/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/eb/85a078893811d2ac830000e8a5bd28/frameset.htm
    Question 2:
    I don't think it is  possible to pull other pricing values from the PO into a different Sales Order condition type using strictly Pricing Configuration. You will have to  code some sort of formula ( Alt. Cond. Base value/Alt. Condition Value)  to do this.
    Hope this helps.

  • Coping control from Billing to Sales order

    Hi Experts,
    i maintained copy control from billing to credit memo sales order, which is coping all data from invoice to credit memo sales order.
    My requirement is that
    when we create billing, automatically one more line item will be appeared. for instance line item 10 ( Line item 10 is 1 quantity)  and line item 11 ( Line item 11 will be 0) also will be appeared in Billing document but the in the standard sales order we will enter only line item 10 and quantity will be 1.
    i need only one line item in my credit memo sales order instead of appearing one more line item with 0 quantity.
    Thanks
    Shibu Chandran

    Hi Sir,
    please help me out with more insights?
    Shibu Chandran
    Edited by: shibu2000000000 on Nov 17, 2011 11:39 AM

  • Billing Qty by Sales office and Sales group (LIS)

    Hello!
    I am running the report MC-E, I want to see there (or at another report of LIS) the ratio Billing Quantity, but shown by Sales office and/or by Sales group, could anybody help me?
    Thank you in advance
    Regards

    Hello Enrique
    You may add key figure 'Billing Quantity' to standard Infostructure S002 or add characteristics "Sales Office' or 'Sales Group' to Infostructure S001.
    Or if you don't want to tamper with standard delivered, copy S001 or S002  and create custom Infostructure ( S500+) with the requisite characteristics and key figures.
    Hope this helps.

  • Pricing control from billing to sales

    Hello All:
                I have a requirement about the pricing control as below.
                Credit memo request is expected to be created refer to billing, but I don't want to use all the condition types of billing.
                Actually I plan to assign a new pricing procedure to credit memo, but the pricing procedure is copied from billing doccument as default.
                Is there any configuration can cover this?
                Stephen
    Stephen

    Create a new data transfer routine as recommended in the following note:-
    Note 14136 - Pricing procedure for credit memo with reference
    G. Lakshmipathi

  • COPA document created from billing document, cost components are twice

    Hi Experts,
    Ref Subject line : COPA document created from billing document, cost components are twice.
    I have checked the following :
    1.  Cost Estimate of a material
    2.  Production Confirmation of the Order
    When comparing both of the above, they are same, without variance.
    Now when a COPA document is created, we observe the Cost Component Split in Sales Order to be exactly TWICE as compared to Cost Estimate of the material.
    May I please request help from you all. What must be the cause & where do i check / rectify.
    Regards,
    Hussein.

    Hi Hussein
    If you are seeing double in KE30 Report - May be you are updating both sales order and billing doc in COPA and hence you are seeing 2 line items.. But one of them will be record type A and the other one with F
    If the above is not the case and you are seeing double in the COPA document itself - Then See if you have mapped VPRS cond type in KE4I to the same value fields as Cost Comp Split
    Also, one strong possibility that you are using Batch Split in SD.. .... Which means your delivery document (VL03N) will have multiple batches of materials being delivered to the customer....
    a. In this case, your Item Category for main item (HPOS) and Sub Item (UPOS) has to be different and the Item catg for UPOS should not be relevant for billing / Costs... Note 77414 descirbes this situation and the settings to be done in SD Customizing
    b. You may need to apply note 352441 in your system
    Regards
    Ajay M
    Edited by: Ajay Maheshwari on Dec 1, 2010 5:36 PM

  • GR date (MIGO) as the Billing date in Third Party Sale

    Dear All,
    I have a scenario where the GR date should be the billing date in third party sale.
    Can it be accomplished by any user exits of billing? Please share your ideas and if this can be done through user exit, please name the user exit.
    Thanks in advance.
    Regards,
    Ipsit

    hi,
    read sales order number or PO number or get the information from document flow of VBFA if pO exists thengo to PO history in EKBE table if BWART - 101 then trigger billing document with reference to SALES ORDER on the same day.
    for that you need to create a Back Ground Job in SM36.
    balajia

  • User Exit/Badi to change the billing plan date when create sale order

    Experts,
    Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
    My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
    I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.

    Hi,
      check the include MV45AFZB.
    Thanks & Regards,
    Sateesh.

  • Qty sales & month

    Dear Forums,
    If i want to get this report for This month so far ;
    item code, item description, DocDate,stock on hand, Qty sales, Turn over, Turn over days
    eg . April 20,
    542514 / MILK/ 11-05-09 / 40 / 10 / 2.66666 / 80 / 20 / 30
    542518/ SOAP/ 11-05-09 / 40/ 10 / 2.66666 / 80 / 20 / 30
    can any one show me the query? thanks
    Edited by: rachelhel on Apr 22, 2009 7:48 AM
    Edited by: rachelhel on Apr 22, 2009 10:38 AM

    Hi ,
    Please try this .....
    SET ARITHABORT OFF SET ANSI_WARNINGS OFF
    SELECT T0.ItemCode, T0.Dscription,T1.OnHand, convert(varchar,SUM(T0.BaseQty*T1.NumInSale)) AS 'Qty Sales',DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    ,convert (varchar,(t1.onhand/(SUM(T0.BaseQty*T1.NumInSale)/DAY(GetDate())* Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END)))AS 'TURN OVER IN MONTH'
    FROM DBO.INV1 T0 INNER JOIN DBO.OITM T1 ON T0.ItemCode = T1.ItemCode
    WHERE Month(T0.DocDate) = Month(GetDate()) AND Year(T0.DocDate) = Year(GetDate())
    GROUP BY T0.ItemCode,T0.Dscription,T1.OnHand
    union
    SELECT T1.ItemCode, T1.itemname,T1.OnHand, '' AS 'Qty Sales',DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    ,'No Sales' AS 'TURN OVER IN MONTH'
    FROM DBO.OITM T1
    WHERE T1.ITEMCODE NOT IN (SELECT ISNULL(ITEMCODE,0) FROM INV1)
    GROUP BY T1.ItemCode,T1.itemname,T1.OnHand
    ORDER BY 1

  • "Qty Sales Result not Same"

    hai all Expert..,
    I have a problem with my Query .., may have that can help me.
    I create a Query for Qty sales, after I was working Excecute
    but after I check the results one by one with the sales results
    of the analysis appeared to have all that is not the same as the results of the analysis in sales
    SELECT T0.ItemCode, T0.Dscription,T1.OnHand,T0.DocDate,T0.ActDelDate, SUM(T0.BaseQty * T1.NumInSale) AS 'Qty Sales' ,DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    FROM DBO.INV1 T0 INNER JOIN DBO.OITM T1 ON T0.ItemCode = T1.ItemCode
    WHERE
    T0.ItemCode  ='01000006' and
    (Month(T0.DocDate) = Month(GetDate())-1)  AND Year(T0.DocDate) = Year(GetDate()) and
    (T0.BaseQty * T1.NumInSale)>0
    GROUP BY T0.ItemCode,T0.Dscription,T1.OnHand,T0.DocDate,T0.ActDelDate
    ORDER BY T0.ItemCode,T0.DocDate
    Thanks...

    Try This
    SELECT T0.ItemCode, T0.Dscription,T1.OnHand,T0.DocDate,T0.ActDelDate, SUM((T0.Quantity * T1.NumInSale)-T1.OPENQTY) AS 'Qty Sales'
    ,DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    FROM DBO.INV1 T0 INNER JOIN DBO.OITM T1 ON T0.ItemCode = T1.ItemCode
    WHERE
    T0.ItemCode ='01000006' and
    (Month(T0.DocDate) = Month(GetDate())-1) AND Year(T0.DocDate) = Year(GetDate()) and
    (T0.BaseQty * T1.NumInSale)>0
    GROUP BY T0.ItemCode,T0.Dscription,T1.OnHand,T0.DocDate,T0.ActDelDate
    ORDER BY T0.ItemCode,T0.DocDate

  • Cancel Billing ,Material Document(PGI),Delivery,Sales order

    hi experts,
    pls help me Cancel Billing ,Material Document(PGI),Delivery,Sales order.
    so when ever given to billing number cancel to all the document
    plz send to me code and suggestions.
    plz it is urgent.
    advanced thanking you.

    you can do that from VF02 - application menu - billing document - cancel.
    if you want to do that from program use standard bapi's to cancel BAPI_BILLINGDOC_CANCEL1... also please reffer to transaction code BAPI for more bapis to reverse pgi - or you can write a BDC to reverse pgi - tcode is vl09.
    i dont think you cancel  order but you can delete depending on your config. check out in application menu on va02. use bapi BAPI_SALESORDER_CHANGE to reject the items in sales order.

Maybe you are looking for

  • Why will iphone not play video in landscape mode anymore

    I am a HUGE purchaser and user of iTunes Music Videos and on my iPhone, I was happily playing them in playlists and watching them in landscape orientation as a video playlist. I was quite upset when I bought my first iPad and found that it simply wou

  • af:messages - component name is appearing as the text 'component'

    Hi, Could any one please help me to resolve this validation issue occuring in <af:messages> popup. I am using the <f:validator validatorId="validator.NameValidate"/> component to display faces messages in the popup. The component link that gets gener

  • Searching in sxmb_moni for business data

    Hello, it is possible searching for business data in sxmb_moni for example a order-No. The reason is that a customer want know the time the order is executing or this happened without an error or trying to send the order again. Normally only with the

  • URL Failure

    Hey all, I have an exit button in my 1.3.1 JApplet that allows me to return to the calling page when pressed. I pass the page name as a parameter into the applet and build up a return URL based on getDocumentBase(). The problem is that when I try to

  • When to close database connection

    I'm working on an application that reads a customer number from an Access database and returns the name, address, etc of the customer number. My question is the following, is it best practice to close the database each time the request has been proce