Create different billing document types from same sales order type

Hello,
Please take a common document flow, just  like this one:
- Sales Order (type ZE01 )
- Outbound Delivery
- Billing Document ( ZA or ZB )
The billing document is based on the outbound delivery. Here is the requirement that we need to implement:
- We need to determine different billing document types ( ZA or ZB ) according to a custom determination, based on a Z table. In some cases the billing document will be type ZA, in other cases it will be type ZB. I've been told that I can achieve this  via copy control , but some extra help would be welcome.
Any clues?
Regards,
Joã

Hi João G Neves ,
Were you able to achieve this requirement using a  user exit? if so could you let me know the name of the user exit? Basically in our current project a sales order can be billied using 6 different billing document types. The copy controls between the sales  document and billing document is been set up for all the 6different billing doc types and currently the users are manually selecting the billing document type in VF01 .The buisness insists on making this automated.They want the billing document type to be determined based on some custom condtions.
Any inputs regarding this is highly appreciated.
Thanks & Regards,
Srini

Similar Messages

  • Create Specific Invoice Document Type against Specific Sales Order Type

    Hi,
    the sales order types are
    1) "ZORR" (copy of "OR")
    2) "ZORS" (Copy of "OR")
    both have different number ranges
    the delivery Type is "LF"
    invoice document type is
    1) ZINR (Copy of F1)
    2) ZINS (Copy of F1)
    boht have different number ranges
    now i want that when sales order "ZORR" is used, then invoice type ZINR should be created (when creating invoice w.r.t LF)
    and when sales order "ZORS" is used, then invoice type "ZINS" shoudl be created.
    right now, the system creates invoice "F2" whenever i create invoice w.r.t. to delivery order in VF01
    dear experts...please sort this issue..thanks

    Assign Billing type in VOV8 .
    ZORR" (copy of "OR") == LF==  ZINR
    ZORS" (copy of "OR") == LF==  ZINS
    So that when you create invoice with VF01 system will trigger invoice type ZINR for ZORR, and ZINS for order type ZORS.
    Regards,
    Ramesh

  • Order and delivery related billing from same Sales Order

    Hi
    I have a scenario where in the same sales order customer has put two line items.One with item category TAN i.e. Delivery related billing and other TAD i.e. Order related billing. Line item with TAN item category is invoiced. When trying to create invoice for second line item(TAD) system gives error like" Item Category OR TAN can not be invoiced with billing type F2".that means when I create billing for second line item ,it also drags first line item which is already billed.
    Please suggest.
    Thanks

    Hello,
    the system works in this way:
    - for every item present in the sales document to be billed, it searches an entry customizing copy control table TVCPF.
    - if TVCPF entry does not exist (because TAN is not maintained in transaction VTFA OR -> F2) then system issues message VF003
    - If TVCPF entry exists, then system performs the copy-requirement routine to check if the item is billeable.
    SOLUTION:
    You could maintain an entry in VTFA for combination OR -> F2 item TAN, and put a copy-requirement routine setting SY-SUBRC = 4, so that the billing is item is not created for the sales order TAN item.
    Best regards,
    Ivano.

  • Can create twice billing document for the same delivery in STO

    Hi experts,
    I donot have problems in Standard Sales order when I create billing doc via VF01. When I try to create another billing doc in VF01 for the same delivery it says error, as the item is already invoiced.
    This is correct. 
    But while creating invoice for STO order, system allows me to create more than 1 billing document for the same delivery. If we accidentally or purposefully create it allows to create many.
    Could you let me know where in SPRO (IMG) I can control this?
    Thanks,
    Pri

    Hi
    STO billing if it is intercompany STO followed by IV billing type you can create only once
    No special settings reqd to achieve this as you bill  (IV billing type) the delivery the first time, the delivery status gets completed
    If Intracompany, the billing type is proforma invoice F8  and this can be created as many times as you wish as proforma doesnot update accounting
    if your issue is this
    Even this also if you want to restrict only once then try with copying requirenments 311 at item level (i hope standard item category NLN is used) in VTFL between header NL to F8
    Regards
    Raja

  • Creating Query to show items from open sales orders with a/p invoice

    Hi experts,
    I am trying to create a query that will show what items/quantities are still in open sales orders that can now be filled by an incoming shipment of goods, processed through the a/p invoice.
    This needs to be done using subqueries, which I have no experience with.  I am trying to do this using the ORDR and RDR1 tables to show the open items from the sales orders and the OPOR and POR1 tables to show items just received in to inventory.  I would like the query to show exactly the open item's, their quantities, the posting date from the sales order and the customer name that can now be filled from the new shipment through the a/p invoice.
    I appreciate the assistance,
    Hayden (on behalf of Todd)

    Hello,
    try this
    SELECT T0.[DocDate], T1.[ItemCode], T1.[Dscription],( T1.[Quantity] - T1.[DelivrdQty]) As "Open Qty" FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[DocDueDate]  <= [%0]And ( T1.[Quantity] - T1.[DelivrdQty]) != 0
    Try this query in query manager.
    Thanks
    Manvendra Singh Niranjan
    Edited by: Manvendra Singh Niranjan on Jul 13, 2011 6:27 AM

  • Two invoice types order-related from the same sales order type

    Hi experts,
    I need to assign a different invoice type to two different items categories regarding to invoice each item with a different invoice rumber range and a different accounting document type (one 'RV' and another 'PF').
    Neither of them have delivery.
    I' ve assigned in the copy controls from sales orders to invoices the items categories to the corresponding invoice type in order to avoid the items are invoiced by wrong invoice type.
    Exem:
    item category ZIC1 must be invoiced by invoice type ZF1
    item category ZIC2 must be invoiced by invoice type ZF2
    I executed VF04 twice: first regarging to create ZF1 and second create ZF2.
    1)  If I insert ZF1 invoice type (order-related) by default in the sales orders definition (Sales and Distribution -> Sales -> Sales -> Sales Document Header -> Define Sales Document Types), the item ZIC1 is properly invoiced and the ZIC2 too. But: although I already invoiced both items, SAP laves the sales order opened waiting to create ZF1 for ZIC2.
    2)  If I don't fill the invoice type by defautl, the invoicing can't be done because the invoice type isn't determined (VKDFS-FKART empty).
    I want to know if  there is any exit to change the values of VKDFS entries for each item of sales orders before to process this table with VKDFS.
    Thanks in advance,
    Aupalaura

    Hi,
    thanks a lot for the quick answer.
    But in save document prepare it's not this structure. And the field for save the invoice type by default is at header level FKARA (in VBAK table).
    Anyway, I'll check it.
    Regards,
    Aupalaura

  • Multiple output condition type in same sales order.

    08.10.2007
    Hi friends,
    I have used two output condition types in my output determination procedure for printing. The problem is in the document by default only one condition type appears, if the user needs to use the alternative condition type this has to be typed in manually.
    Any solution for both the condition to appear in the output screen by default so that the user has the option to select either of the two  required output type.
    Thanks in advance.
    Udaynath.

    Hi Krishnan,
    1) Check if you have any requirement routine assigned to the condition type in the output determination procedure.
    2) Ensure the manual only option is not checked in the output determination procedure
    3) Maintain the condition records [VV11].
    Regards
    Nadarajah Pratheb

  • OURPUT TYPE FOR A SALES ORDER TYPE

    Hi,
    When i create a new sales order for the type SO, the system don't affect the output type to my order. I have to do it manualy.
    What's missing?
    In custo, I define the same output type of CS to the order type SO but is still not working.
    It's work perfectly for CS type order.
    Thanks for your quick answer.

    Hi,
    Please check whether you have maintained the condition record in VV11.
    Regards,
    Shekhar

  • Create new billing document if delivery line items have different UOM

    Hello,
      I have a requirement to create different billing documents if the line items in my delivery has different UOM.In my case if delivery is completely ok billing documents are automatically generated.
    How to do so what logic needs to be build.Please guide.
    Regards,

    Hi
    Answer is pure assumption
    You can try to implement VOFM Routine
    Data transfer -> Billing documents
    Check the Routine 351, you can copy the same and modify as per your requirement.
    I think you need to modify VBRK-ZUKRI field, during creation of Billing document.
    I suggest to take help from Functional consultant on this
    Regards
    Madhan D

  • Create SD Billing document from Vistex Claim Request or Billback document

    Is there a way to create SD Billing document(VF01) from Vistex Claim request or Billback document. Our business is requesting that they do NOT want to settle the billback in Vistex instead want to create a SD Billing document.
    I found a check box 'create billing document' in Vistex Claim request document type configuration - but that does not seem to do anything at all.  What is this for? does anyone know? 
    Is there another way Vistex allows to create SD billing document ?
    Please help.
    thanks
    Suren

    Hi,
    The sole purpose of Vistex is to create chargeback/billlback documents with reference to a Billing document in SD.
    After create the CB/BB docs in Vistex, settlements can be done only in Vistex and cannot be brought back to SAP.
    Other option is to create a Credit/Debit memo as applicable instead of doing the settlements in Vistex, however tracking the document flow and reporting will turn out to be more complex.
    In any case, take the help of an ABAP per who would suggest if any workaround in the form of a dewvelopment is possible or not.
    Regards,
    Amit

  • Error shown FM - Creating the Billing Document

    Hi All,
    I am creating the new Billing Document for last year Sale Order.
    "Sum of Invoice value differs from item value.  Confirm"   -  this message display shown at the time of saving the Billing plan.
    While saving the transaction the below error displayed with the following check box:
    "An error appeared in Funds Management!
    The corresponding status will be set, so
    this order cannot be delivered or billed"
    System not allow to save the transaction and show the same above message.
    Expecting the guidelines from the experts.
    Thanks in advance.
    Regards,
    GB

    Hi
    Referred this note and it is relevant to Version.
    Any other guidlines??
    Regards,
    GB

  • How I can get the Billing Type for the sales order and its items

    How I can get the Billing Type for the sales order and its items. I mean from which SAP tables and how?

    Hi,
    You need to use two tables.
    First use VBFA. Enter the sales order number in the field Predecessar and the value M in SubCt field. This will give all the billing document number for the sales order items.
    Then use the billing document numbers in table VBRK, where in you can get the billing document type.
    Regards,

  • How to Block Customer from Sales Order Type

    Hello Gurus!
    I was wondering if there was a way to block a specific customer from a sales order type? 
    We have 4 Sales Organizations, and 2 of them use this customer, with different sales order type for each sales organization.  So I only want to block this customer for 1 sales organization and a sales order type.....is this possible.  If so, please advise!
    I just want to block a customer from a sales order type. 
    Thank you for your time!
    Best regards,
    WC

    Hi,
    I have an wild idea just check it works or not--
    Create a dummy customer pricing procedure.whenever u want to bleck a customer for any particular order type assign this dummy pricing procedure in customer master(Sales Tab).
    Do not define any pricing procedure in SPRO against this customer pricing procedure
    The moment user will try to process any order type (which u want to block for a customer), the system will not determine any pricing procedure & consequently it will not allow to save the order.
    Hope it will solve the problem.
    Regards
    Sanjay

  • How to block sales order creating manually for a sales order type

    Hi SD gurus,
    My client wants for EDI orde type, the sales order should not be processed manually
    how can i restrict this. I know to i can restrict this by not giving authorization
    I want globally to maintain this.
    thanks

    Hi.
    I think that the best way to do this is to create a field exit to data element AUART.
    You will need an ABAP'er to create this field exit and associate the field exit to program SAPMV45A.
    Doing this, you need create a customized table to maintain the sales order type permitted to manual creation.
    You can use the program RSMODPRF to see all active field exits.
    I believe that EDI orders in your process are created through BAPI, correct?
    Waiting for response.
    regards.

  • Question on Search Help and Authorization Check for Sales Order Type

    Question 1:
    When I go to VA01 and click the search help, it shows only order type that are not blocked.
    However, when I have sales order type in select-options of a Z program,
    S_AUART FOR VBAK-AUART
    I click on the search help, it gives all the sales order types. How can I have a list with unblocked sales order type only?
    Question 2:
    I want to check whether a use can extract data from a sales order type (e.g. OR and RE)that he/she authorized to use.
    I have include the following in my program:
    AUTHORITY-CHECK OBJECT 'AUART'
    ID 'AUART' FIELD 'OR'.
    It always returns SY-SUBRC = 12.
    But order type 'OR' is granted to the user (he/she can create order with type OR in VA01)
    Please kindly give me some ideas, thanks.

    hi,
    ad1
    use following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR auart.
      PERFORM auartGet.
    FORM auartGet.
        CALL FUNCTION 'RV_HELP'
             EXPORTING
                  KEY            = VKORG
                  KEY2           = VTWEG
                  KEY3           = SPART
                  KEY4           = '0'
                  NUMBER         = '008'
                  FIELD_IN       = AUART
             IMPORTING
                  FIELD          = AUART.
    ENDFORM.
    ad2.
    example:
       AUTHORITY-CHECK OBJECT 'V_VBAK_AAT'
             ID 'AUART' FIELD 'OR'
             ID 'ACTVT' FIELD '01'. "01-create order, 02-change, 03 display
    check sy-subrc eq 0.
    regards,darek

Maybe you are looking for