Add or Delete Line Item in Billing Creation (VF01)

Hi,
During the billing document creation (VF01) for Order-Related Billing (example: Doc Type F5 - Pro Forma for Order), can you
manually add or delete line items?
Let's say if Sales Order was created with 3 line items and only 2 line items should be included in Billing Doc F5.  During the
billing document creation (VF01), it automatically copies all 3 line items.  How can I delete the line item that I don't want
to be included in Billing Doc F5?  Only way that I know is to put a billing block on Sales Order item so it won't automatically
copied into a billing document.  But this process is inconvenient.  After F5 document is created, my user will then need to
remember to go back to Sales order and remove a billing block from that line item.
Also vice verse, can an item be manually added to a billing document during the creation mode (VF01)?  Is there somewhere
in the configuration that I can change to allow this?  Or is it a standart SAP practice all items on a billind document have to
be Order or Delivery-Related?
Thanks,
Michelle

Hi,
While creating the invoice via VF01. Please go to selection list icon. this will take to you another screen. here you can select the line item you want to copy/bill.
Please try and let us know.
Thanks,
Vishal

Similar Messages

  • Can we add or delete line item in p.o which is been delivered completely

    Hi Experts
    Can we add lines or delete lines or can we change a qty of p,o which is been deliverd completely
    THANKS

    Hi
    Can we add lines or delete lines or can we change a qty of p,o which is been deliverd completely
    Yes we can
    If delivery completed indicator is there remove it
    Regards
    kaials Ugale

  • Add customer fields on item level billing document VF01

    Hi gurus,
    Does anybody know a user exit (or another way) to add 3 customer fields on a subscreen during creation of a billing document (transaction VF01) ? I'm afraid I need to do a modification for this but maybe there is a better solution.
    Thanks for your reaction.
    Serge

    Hi
    These are the userexits
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    may be you can look into this SDVFX010
    Please reward if useful.

  • Can we change pricing date for line item in billing

    Hi Expert,
    Can we change pricing date , while raising inoice for particular line iteam

    Hi,
    We can not change the pricing date for perticular line item at billing document level, the only option is we can enter the required date at the time of invoice creation in VF01 screen.
    If your requirement is copying the same pricing date that is entered at sales order, then do the following.
    Go to T Code:VTFL and choose your DElivery Type and Billing Type, then choose your item category and then change the pricing type as 'D' .
    Regards,
    Pasapula.

  • BAPI_BILLINGDOC_CREATEMULTIPLE u0096 Duplication of line item in billing docume

    Hi All,
    I am using BAPI “<b>BAPI_BILLINGDOC_CREATEMULTIPLE</b>” to create billing document. Creation of billing document is fine, but issue is I am passing individual line item along with <b>quantity</b> to be billed. But what’s happening is if I got 3 item line in sales order with quantity 1-3-5, billing document getting created 3 quantity ‘1’, 3 quantity ‘3’ and 3 quantity ‘5’. So I end up with 9 line item on billing document which is incorrect.
    Please see the code below which I am using, can anyone tell me what I am doing wrong here. I basically need to create 3 billing line item with respective quantity I pass. Any hint is much appreciated. Thanks in advance.
    Regards,
    Tim
    loop at GT_INIT_ITAB2 into GS_INIT_ITAB2.
        select single * into gs_vbak
                        from vbak
                        where vbeln = GS_INIT_ITAB2-VBELN.
        select single * into gs_vbap
                       from vbap
                       where vbeln = GS_INIT_ITAB2-VBELN AND
                             posnr = GS_INIT_ITAB2-posnr.
        select single * into gs_mara
                       from mara
                       where matnr = gs_vbap-matnr.
        refresh GT_BILLINGDATAIN.
        GT_BILLINGDATAIN-SALESORG   = gs_vbak-vkorg.
        GT_BILLINGDATAIN-DISTR_CHAN = gs_vbak-vtweg.
        GT_BILLINGDATAIN-DIVISION   = gs_vbak-spart.
        GT_BILLINGDATAIN-DOC_TYPE   = GS_INIT_ITAB2-auart.
        GT_BILLINGDATAIN-ORDBILLTYP = p_fkart.
        GT_BILLINGDATAIN-SOLD_TO    = GS_INIT_ITAB2-kunnr.
      GT_BILLINGDATAIN-ITEM_CATEG = GS_INIT_ITAB2-pstyv.
        GT_BILLINGDATAIN-REQ_QTY    = GS_INIT_ITAB2-kwmeng.
        GT_BILLINGDATAIN-SALES_UNIT = gs_vbap-vrkme.
        GT_BILLINGDATAIN-CURRENCY   = gs_vbak-waerk.
        GT_BILLINGDATAIN-SHORT_TEXT = 'Test'.
        GT_BILLINGDATAIN-BILL_DATE   = gl_date.
    write GS_INIT_ITAB2-afdat to GT_BILLINGDATAIN-BILL_DATE ddmmyy.
    GT_BILLINGDATAIN-BILL_DATE  = GS_INIT_ITAB2-afdat.
        GT_BILLINGDATAIN-PRICE_DATE = SY-DATUM.
        GT_BILLINGDATAIN-REF_DOC    = GS_INIT_ITAB2-VBELN.
        GT_BILLINGDATAIN-DOC_NUMBER = GS_INIT_ITAB2-VBELN.
        GT_BILLINGDATAIN-ITM_NUMBER = GS_INIT_ITAB2-POSNR.
      GT_BILLINGDATAIN-ORIGINDOC  = GS_INIT_ITAB2-VBELN.
        GT_BILLINGDATAIN-ITEM       = GS_INIT_ITAB2-POSNR.
        GT_BILLINGDATAIN-NO_MATMAST = co_x.
        GT_BILLINGDATAIN-COUNTRY    = 'AUS'.
        GT_BILLINGDATAIN-MATERIAL   = gl_matnr.
        GT_BILLINGDATAIN-TAXCL_1MAT = '1'.
        GT_BILLINGDATAIN-REF_DOC_CA = 'C'.
        append GT_BILLINGDATAIN.
      endloop.
    Prepare for BAPI call
        CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
          EXPORTING
            CREATORDATAIN         = GS_CREATORDATAIN
          TESTRUN               = co_x
          POSTING               = co_x
          TABLES
            BILLINGDATAIN         = GT_BILLINGDATAIN
        CONDITIONDATAIN       = GT_CONDITIONDATAIN
        CCARDDATAIN           =
        TEXTDATAIN            =
        ERRORS                =
            RETURN                = GT_RETURN
            SUCCESS               = GT_SUCCESS
        clear gl_return.
        loop at GT_RETURN.
          if GT_RETURN-type EQ 'E' OR
             GT_RETURN-type EQ 'A'.
            move: GT_RETURN to gl_return.
            exit.
          endif.
        endloop.
        if gl_return is initial.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
          WAIT   = '1'
            IMPORTING
              RETURN = gt_return_commit.
        endif.

    Hi,
    Check this code...For creating billing document from sales order..
    TABLES: vbak.
    PARAMETERS: p_vbeln LIKE vbak-vbeln OBLIGATORY,
                p_fkart LIKE vbrk-fkart.
    DATA:
    s_vbsk LIKE  vbsk.
    DATA:
    xkomfk     LIKE     komfk    OCCURS 0 WITH HEADER LINE,
    xkomv     LIKE     komv     OCCURS 0 WITH HEADER LINE,
    xthead     LIKE     theadvb  OCCURS 0 WITH HEADER LINE,
    xvbfs     LIKE     vbfs     OCCURS 0 WITH HEADER LINE,
    xvbpa     LIKE     vbpavb   OCCURS 0 WITH HEADER LINE,
    xvbrk     LIKE     vbrkvb   OCCURS 0 WITH HEADER LINE,
    xvbrp     LIKE     vbrpvb   OCCURS 0 WITH HEADER LINE,
    xvbss     LIKE     vbss     OCCURS 0 WITH HEADER LINE.
    SELECT SINGLE * FROM vbak
           WHERE vbeln = p_vbeln.
    IF sy-subrc <> 0.
      MESSAGE s208(00) WITH 'Invalid vbeln'.
      LEAVE LIST-PROCESSING.
    ENDIF.
    CALL FUNCTION 'RV_INVOICE_REFRESH'
         EXPORTING
              with_posting = 'B'
         TABLES
              xkomfk       = xkomfk
              xkomv        = xkomv
              xthead       = xthead
              xvbfs        = xvbfs
              xvbpa        = xvbpa
              xvbrk        = xvbrk
              xvbrp        = xvbrp
              xvbss        = xvbss.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln TYPE vbeln,
            posnr TYPE posnr,
          END OF t_vbap.
    SELECT vbeln posnr INTO TABLE t_vbap
           FROM vbap WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
    Fill the values.
      xkomfk-mandt  = sy-mandt.
      xkomfk-vbeln  = p_vbeln.
      xkomfk-posnr  = t_vbap-posnr.
      xkomfk-vbtyp  = vbak-vbtyp.
      xkomfk-seldat = sy-datum.
      xkomfk-fkart  = p_fkart.
      xkomfk-fkimg  = '1.000'.
      xkomfk-vrkme  = 'EA'.
      APPEND xkomfk.
    ENDLOOP.
    CALL FUNCTION 'RV_INVOICE_CREATE'
         EXPORTING
              vbsk_i       = s_vbsk
              with_posting = 'B'
         IMPORTING
              vbsk_e       = s_vbsk
         TABLES
              xkomfk       = xkomfk
              xkomv        = xkomv
              xthead       = xthead
              xvbfs        = xvbfs
              xvbpa        = xvbpa
              xvbrk        = xvbrk
              xvbrp        = xvbrp
              xvbss        = xvbss.
    READ TABLE xvbfs WITH KEY msgty = 'S'.
    WRITE:/ sy-subrc.
    WRITE:/ xvbfs-msgv1,xvbfs-msgv2,xvbfs-msgv3.
    Thanks,
    Naren

  • Deleted line item appears in BI report

    Helllo Gurus,
    How can we take care of deleted line items or sales order in sap BI.
    One of teh user came up to me and said even though i delete the line item in ECC but i am able to see in BI report.I thought it has something to do with ROCANCEL Field.
    In addition to  that my flow is 3.5 and we are reporting on DSO.So can you suggest how to take care of it.
    Thanks in advance.,
    Regards,
    AL

    Hi,
    I have worked with similar scenarios and my understanding is that whenever a order line is deleted, delta comes properly through LO data sources.
    You are using 2LIS_11_VAITM which should have a ROCANCEL field which you will need to load delta properly specially in case of deleted records.
    In your DSO, add 0RECORDMODE info object and map it to ROCANCEL (you will have to add this object in your info source as well as you are using 3.5 flow).
    Now, you do not need to worry about anything, if a order line is deleted in ECC and you are doing a delta load using 2LIS_11_VAITM, you will get the deletion record and it will delete the record in your DSO (I should say ODS as you are using 3.5) also.
    The keys of your DSO must be Sales Order Number and Sales Order Line Item.
    As far as I remember, deletion record comes with a value of R in ROCANCEL and X is used for Before Image.
    Regards,
    Gaurav

  • How to delete line item from delivery?

    Hi Experts,
    Two Invoices are associated with one delivery  delivery ,Now  due to a system error, first invoice didnu2019t generate any accounting document, so we cancel it. On the other hand  second invoice  was ok so we leave it, now we need to cancel the two lines of delivery.
    There are four items in the delivery and two different  billing document has been created for 2-2 line item,now as for last two items billing document is already been cancelled so how to remove this two item from delivery.
    Thanks,
    Dharmesh

    Dear Dham
    Please cancel the both the invoices then only you can delete delivery from delivery you cannot delete line item bcause delivery is the smae for both line items then process accordingly do delivery for line item wise (OR) try to see revenue account determination config in the masters how every try to post with existing
    Revenue account Determination
    Application
    Company Code
    Chart of accounts
    Sales org
    Acc assi Grp customer master
    Acc assi Grp material master
    GL Account for account receivables
    OR you need to find out FI posting period if it is closed trying to for previous monnth then account document will not get genertaed
    ask fi to open posting period try to close
    Regards
    M L Naidu

  • 2LIS_02_ITM deleted line items are not reflected in BW

    Hi,
    Our current Data flow 2LIS_02_ITM-->DSO-->CUBE.
    I am analyzing a Invoice, When it is created 01.04.2014 it has got 10 Line Items and all the data is load to BW,Invoice with 10 Line items.
    In ECC I can now see the same Invoice only got 5 line items and from change log I can see 5 line items are deleted on 15.04.2014.These changes are not reflected in BW.In BW invoice data still shows 10 line items.
    If I perform setup table job and ECC RSA3 for that invoice I am getting only 5.
    I believe it’s something to do with 0RECORDMODE,Can you please let me know how to fix this in BW.
    Thanks

    Yes this is a known behavior in case of deltas.
    For Deleted line items Rocancel field will have an entry with R.
    To handle this you need to map ROCANCEL field in Technical group of transformation (Between Datasource to DSO) with 0Recordmode.
    Once you will do that then after activating the data in DSO it will nullify the records and deleted order or item will not appear.
    Regards,
    AL

  • Report for deleted line-items in Transfer Orders

    Dear All,
    Please help me in writing the code for "Report for deleted line-items in Transfer Orders".
    regards,
    nishu

    Thanks. Repor completed.

  • How to release Stock blocked against deleted line items from  Sales order.

    We have Scenario as follows.
    Sales order made for  items available in stock.  Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
    What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
    available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
    Overall stock available is same as quantity mentioned in deleted line item.
    In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
                    i.e deleted line item.
    How to release these stock and make available for sales. Any standard process available ? or any other solutions
    Thanks & Regards,

    I got a solution for my question from other forum. for info
    Go to SE38 and enter program SDRQCR21 then execute...
    Enter line item which is blocked for sales order in MD04 and enter plant then check Data
    transfer box and uncheck other boxes... It will pop up information and click yes...
    You will get one report and Stock inconsistency will go off and then check it in MD04....
    regards

  • How to add a new line item to a Purchase Requisition number

    Hello All,
    Can anyone please provide me with some FM or BAPI to add a new line item to an existing Purchase Requisition number.
    Can it be done using BAPI_REQUISITION_CHANGE; if yes, then how do I pass the parameters into the BAPI tables..?
    Useful pointers would be appreciated...!!
    Thanks & Regards,
    Tarun Gambhir

    @Gautham,
    Thanks for the quick reply.
    I want to update the table EBAN, so should I use the parameter table XEBAN to put in the new line item and then execute..
    Also to fill up this table I need to pass certain value, so can I use BAPI_REQUISITON_GETDETAIL and pass the same details as found from the same BAPI and create a new line item...
    Regards,
    Tarun Gambhir

  • How can I add a new line item for production order?

    HI all,
    How can I add a new line item for production order through BAPI/FM? Thanks in advance.

    Hi Mil,
      Unfortunetly SAP is not in front of me.
    But if possible go to BAPI transaction , check for any production order's bapi for CHANGE purpose. Where you will be able to add your new line.
    Reward if useful!

  • Deleting line items in sales order.

    Hi All,
    I got as issue while creating the order.
    issue:
    I try creatin an order by deleting some of the line items and the customer got the credit check. when i tried chek in the debug mode the deleted line items are not reflecting in the internal table.
    Is there any user exit availble thru which i can delete the line items from internal table on the basis of UPDKZ ffield?.
    Regards,
    Neslin.
    Edited by: neslin on Jan 16, 2008 8:21 AM

    Hi,
    This is the standard SAP behaviour.
    ...Seems development inside a relevant include is the only fix to achieve this.
    Regards,
    Anubhav

  • Deleted line item in Purchase Order?

    Dear forumers,
    I need to display data for PO history from the SAP MM module, but I will also need to exclude deleted line item.
    Is it right to check for this deleted line item condition in the EKPO-LOEKZ field? But, what do the values ' ' and 'L' mean here?
    Please help. Thanks!

    L - Deleted..
    space - Not Deleted..
    Thanks
    Amol Lohade

  • Is it possible to have more than one Tax code per line item in Billing docu

    Is it possible to have more than one Tax code per line item in Billing document ?

    Hi,
    I have a different perspective there.
    If an item is applicable for two different taxes which are represented by two different tax condition types and these tax conditions are configured in the tax procedure, FTXP and so on....then these two condition records can have two different tax codes.
    We actually have this scenario in EU now, where EU talks about service tax in 2010 apart from the normal VAT. So now we have MWST and ZWST(Say)
    Now there are some materials which come with a service associated with it. So a service charge is also levied when the material is sold. So the material price will become applicable for VAT and the service charge becomes applicable for service tax. In this case, the tax classification of the customer will have two entries in sales orders updated in the fields VBAK-TAXK1 and VBAK-TAXK2 based on the sequence number of these condition types.
    Now based on different tax classification of the customer, we have 2 different tax codes representing different %of tax.
    Hope it helps

Maybe you are looking for