Simulating Acccounting Document before billing is created ( VF01 )

Hi All,
  We are on ECC6.00 . As it is a standard feature that SD billing is created and then the billing details are submitted to create accounting document .  If the system fails to create the the FI document, the billing docuemt still exists in the system.
Is there any way to roll back so that billing document is not saved. I was searching for a BAPI which can simulate the billing  and I found one BAPI_BILLINGDOC_SIMULATE, but the documentation says that it is obsolete  as of reales 4.6A .
I need suggestion on how to stop the billing document not saved if creation of accounting document fails.
Best Regards

hi,
this is to inform you that,
that means you are looking in such a way that,  if an accounting document is not raised by the billing document then that billing document also should not get saved - right.
please check this:
Name               BillingDocument
Business object    ItCustBillingDoc
Short description  Billing document
Dictionary ref.    VBRK-VBELN
New in Release     21A
Functionality
You can use this method to cancel a billing document.
As an input parameter, you are expected to enter a billing document number in the field BILLINGDOC_NUMBER. This corresponds to the document to be canceled.
This method can be used not only in the simulation run (TESTRUN = 'X') but also in an update run including update (TESTRUN = ' '). Both execution variants send back any errors that have occurred to the output table RETURN. If the document to be canceled has been correctly processed, information on successful processing is sent back in the SUCCESS table. This ouptut table delivers in particular the document number of the cancellation billing document in the update run.
Notes
Required entries :
BILLINGDOC Number of the billing document to be canceled
COMMIT Control :
In the update (TESTRUN = ' ') the update is carried out by COMMIT
WORK using the methods available.
please correct me if i am wrong.
hope this clears your issue
balajia

Similar Messages

  • Return Sales process, Posting billing document before return delivery

    Hello SAP Experts,
    Please guide me to map the Return Sales process scenario.
    I need this to map a scenario for Return Sales from one country to other country.
    Scenario is as follow:
    u2022     I had created return delivery directly without any previous sales order. (VA01)
    u2022     I want to return money in advance to customer before return deliver. (I donu2019t know whether it is debit memo or credit memo) (VF01)
    u2022     Return delivery.(VL01N)
    Please help me to map this scenario.
    If possible please send the document to create Billing document before delivery against sales order and also configuration document for the same?
    Thanks in advance.
    Waiting for reply.
    Best regards,
    Mahesh

    Hello Lakshmipathi,
    Thanks for reply.
    Scenario is as Below
    Customer in Belgium wants to return some material which he has purchased from Vendor in South Korea in month Jan 2010.
    Customer in Belgium has created Return Purchase order and Goods return document with movement type 161.
    Vendor in South Korea has Created Return Sales order with Z document type.
    As per standard process Customer in Belgium need to create Credit Memo after Goods Return by 161 movement, but canu2019t do that because some legal implications and so canu2019t send the Credit memo to customer in South Korea.
    So Customer in Belgium is expecting Credit Memo first from Vedor.
    So Vendor in South Korea, need to Create Credit Memo first before creating Return delivery.
    Hopes this clears exact scenario.
    Please advice how to create Credit memo first after Return sales order. If configuration is necessary for this, please advice to do it.
    In brief, Vendor in South Korea, has Created Return Sales order and he want to create Credit memo before creating Return Delivery without Credit Memo from customer.
    Best regards,
    Mahesh

  • Not create COPA document after Billing

    Hi Experts:
       my company product strategy  is  MTO (make to order).It's not created COPA document after billing .I don't know when the COPA should be created. After Billing or after running VA88 .so  I tried to run VA88. I got a COPA document after running VA88 . but It  didn't have revenue. Maybe I missed some config . Would you like to give me some advices ? thank you very much .
    the steps I did :
    MM02 - Strategy group is 20
    VA01 - Create a sales order
    CO08-  Create  production order with sales order
    MIGO - Goods Issue
    CO11N - Confim
    MIGO - Goods receive
    VF01 - Create billing
    KSS2 - Actual cost splitting
    KSII - Execute actual price calculation
    KKAo- Calculate work in process
    KO88 - actual settlement (production order)
    KKA3 - results Analysis for sales order
    VA88 - actual settlement (sales order)
    KE24- COPA Report (but not contains revenue )

    Hi  Siva:
         I checked my configs ,it's right . I think if my strategy is MTS (make to stock ). maybe the reason is that  .But now my  strategy is MTO(make to order).maybe I miss other configs.

  • IDOC-Segment Created a idoc document against Billing document

    Dear All,
    Thanks in  advance.
    Already created a idoc document against Billing document and one of the IDOC segment is not in the IDOC document output segments(WE05) actually it missed the segment.
    so i want to add the segment which it was missed during generation of IDOC document against billing document.
    Example:
    a) IDOC document misses one segment let suppose "Seg1".
    b) In "Seg1" it have only one field let suppose "Field1".
    c) But "Field1" does not have any value while generation of IDOC document so it doesn't create the respective segment in IDOC document.
    d) so here, i want to edit the IDOC document to add the "Seg1" in the IDOC document and reprocessing the IDOC document.
    Please help on this issue.
    Regards,
    Sridhar.

    Hello,
              If your requirement is to have the Segment even with only 1 Field, you'll have to create an Idoc Extension in WE30.
             In order to populate the Custom Segment, Use the Customer Function '002' in the IDOC_OUTPUT_INVOIC which is EXIT_SAPLVEDF_002 where you can actually insert the Segment as a Child Segment of an Appropriate Segment.
            You can go for Custom segment with the IDoc Extension so that you dont have to manually insert the Segment again and again while reprocessing it.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Billing documents should not be created when it is not released to accounti

    Hi SD gurus,
    In some situation, billing documents are generated but it is not released to accounting which results in mismatch between FI value and SD value. We go to VFX3 and see the list of billing documents and take corrective action.
    Our requirement is that the billing document should not be generated when system is not releasing this billing document to accounting.
    Please suggest a solution for this.
    Regards,
    Senthil.

    Thanks giri.
    For the following reasons, the billing documents are not released to accounting.
    1. If the user wrongly chosen the billing type for the delivery.
    2. After creating condition type, it has to be assigned in COPA. If we forgot to do it, billing doc will not released.
    Our requirement is that if the billing document is not able create accounting document, the billing document itself should not be generated.
    Hope this will be suffice to understand my issue and suggest a suitable solution.
    Points will be rewarded.
    Regards,
    Kumar.

  • Issue with copy control of Delivery document to Billing document

    Hi All,
    I am having some issue with copy control of Delivery document to Billing document.
    I am having two line items in Delivery documetn, one is for item to be delivered to customer and other which is created due to batch determination.
    Now , when I create billing document (VF01) with reference to this delivery document , I want only one line item (for the one which needs to be delivered to customer).
    I have used following things in  copy contro from ZLF to ZF2:
    Copying requirements: 004 ( Deliv-related item)
    Data VBRK/VBRP: 007 "(Inv.Split (Rec/Div))
    Is it correct or shall I use something else, so I have only one line item in Billing document.
    Regards
    Nidhi

    Pls. search the forum.
    Pls. refer the below link -
    Line with 0 quantity for main item with batch split
    Thanks

  • STO Delivery (NL) Automatic Pickup Billing Type in VF01

    Dear friend,
    I have created PO for STO and delivery (Delivery Type NL) through billing VF01, working fine.  But when I create the Billing VF01, billing type (JEX) is not coming automatically. I am selecting manually the billing type. 
    I have already maintained the copy control (T-code - VTFL) against Delivery document to billing document.  I canu2019t create the sale order type.
    Is there any configuration or option to automatic pick up of billing type STO delivery(NL).
    Useful answers duly rewarded
    Devendra

    Devendra,
    We have achieved teh same using USer Exit in Delivery (MV50AFZ1)
    Form : FORM USEREXIT_MOVE_FIELD_TO_LIPS
    Created one Z Table - ZBLTYP
    with fields: Delivery type, WERKS, Prposed Billing Type
    Codes for picking up as below:
    SELECT SINGLE * FROM zbltyp
    WHERE werks = lips-werks
    AND lfart = likp-lfart
    IF sy-subrc EQ 0.
    likp-fkarv = zbltyp-fkarv.
    ENDIF.
    We have achieved automation based on Plant. If you do not need Plant as criteria then u can drop the logic accordingly.
    Your techical person will help you in the same.
    Sandeep

  • Fully invoiced delivery document showing Billing status open

    Hi,
    During the processing of an intercompany STO an issue has arised that Fully invoiced delivery document showing is Billing status as 'open' and delvery document status as 'Being Processed'.
    Kindly help in this regard.
    Thanks & Regards
    Girish

    Hi Girish
    I too had the same problem while i configured intercompany sales and billing for the first time about an year back
    After the creation of intercompany billing IV still the delivery status will be being progressed
    This is due to some small errors in configuration
    Right now i am not able remember how did i correct that exactly?
    What i request you to keep right now configuration as it is and do a complete cycle
    While creating the intercompany billing input the delivery reference  that is delivery no and execute
    If this process go on smooth then there is no problem with configuration
    At this point of time if you are getting the error of ITEM not relevant for billing while in VF01 putting the delivery no for intercompany billing
    Then you have to redo the configuration carefully stepwise
    You might have done every thing correct there must be some small error in the sequence of config or something and by redoing it you can correct the same
    Regards
    Raja

  • Reverse the material document before cancelling the excise invoice.

    Dear Experts,
    While cancelling the exice invoice thru J1iex , system is giving me an error message "Reverse the material document before cancelling the excise invoice" .......I checked PO history where all the material documents are already cancelled with MIGO cancellation (movement 106 )
    But in J1iex , if I select the cancel option and put this invoice number , it is showing me one document with status "IN PROCESS" and if I select that doc and try to save it. System prompted me the message "Reverse the material document before cancelling the excise invoice ,but if I am trying to post this document system is issuing me a message "All Part I entries have been canceled for excise invoice ...........xx.Exicse table J_1IGRXREF and J_1IPART1 alrady update with both documents.kindly any one suggest me positive.
    MINI

    Hello
    follow the below steps
    1. MIGO:Cancel the material document (movement type 102) & during cancellation update part1 only. This changes the excise invoice document status to In process
    2. J1IEX:Post the excise invoice referring the material document (of movement type 102). Creates an accounting document to reverse the CENVAT postings. Creates a corresponding entry in Part II of the appropriate excise register
    Thus the excise postings are reversed.
    3.J1IEX: Cancel the excise invoice (Do this if your plant does not allow multiple goods receipts per excise invoice).Now the system will allow you to cancel the vendor excise invoice
    above the procedure right. you will get this updation excise registers also
    Laxman

  • HT4168 I have created an 100 page booklet in Pages, with many photographs, can I export it to ePub, and make an electronic book, because it says that "Note: The Pages document must have been created using a word processing template"?

    I have created an 100 page booklet in Pages, with many photographs, and much written word, can I export it to ePub, and make an electronic book, because it says that "Note: The Pages document must have been created using a word processing template"?....
    Basically what I want to do is publish the document into both an eDocument, and a hard copy document. What is the best way to do this?

    No Peter, this statement came right off the Apple ePub statement when outlining how to use ePub. the full context is:
    Creating ePub files with Pages
    Summary
    Learn how to create ePub files with Pages.
    Products Affected
    Pages '09
    ePub is an open ebook standard produced by the International Digital Publishing Forum. Pages ’09 lets you export your documents in ePub format for reading with iBooks on iPhone, iPad, or iPod touch.
    iBooks supports both ePub and PDF file formats, and you can export both from Pages.
    When to use ePub or PDF
    Use ePub when text is the most important part of your document, for example when you create a book, a report, a paper, a thesis, or classroom reading material.
    More details on using ePubUse PDF when layout is the most important part of your document, for example when you create a brochure, a flyer, or a manual with multiple illustrations.
    More details on using PDF
    Creating an ePub Document to Read in iBooks
    You can export any Pages word processing document to the ePub file format for reading in an ePub reader, such as the iBooks application on the iPad, iPhone, or iPod touch. Documents created in page layout templates can’t be exported to the ePub format.
    Documents exported to ePub format will look different than their Pages counterparts. If you want to get the best document fidelity between the Pages and ePub formats, style your Pages document with paragraph styles and other formatting attributes allowed in an ePub file. A sample document is provided on the Apple Support site that features styles and guidelines to help you create a Pages document that’s optimized for export to the ePub file format, which you can use as a template or a guide. To learn more about using paragraph styles in Pages, see the topics under the heading “Working with Styles” in the Pages built-in help.
    To read your ePub document in iBooks on your mobile device, you must transfer the ePub file that you create onto your device.
    To use the “ePub Best Practices” sample documentTo learn more about using the ePub format and get a better feel for how a Pages document might appear as a book in iBooks, it’s a good idea to download the “ePub Best Practices” sample document. After reading the guidelines and instructions within the document, you can use it as a template to create your own document. You can also import the styles from the sample document into a new document you create.
    Download the “ePub Best Practices” sample document at the following web address:
    http://images.apple.com/support/pages/docs/ePub_Best_Practices_EN.zip
    Do either of the following:Use the sample document as a template.Import the paragraph styles from the sample document into a new or existing Pages document.
    Export the document you create to ePub format to see how it looks in iBooks.
    Preparing an existing Pages document for export to ePub format
    Documents exported to the ePub format automatically appear with page breaks before every chapter. A table of contents is automatically generated, which allows readers to jump quickly to any chapter title, heading, or subheading in the book. In order to create a meaningful table of contents, it’s important to apply appropriate styles within your document. The ePub reader uses the paragraph styles to determine which items should appear in the table of contents for your book.
    Note: The Pages document must have been created using a word processing template.

  • Disable Billing Date in VF01 screen 6001

    Hi all,
             i need to disable(hide) the date field in vf01 (Billing  Invoice : create header data) for particular condition type or make it as the date equal to billing date. (screen 6001, field : vbrk-fkdat).
    i also tried RV60AFZC but i was not successfull.
    i searched in sdn but did not find such req .
    So kindly please suggest me.
    thanks in advance,
    kool.

    HI,
    i solved it by myself,
    the procedure is as follows
    navige to the include MV60AF0F_FELDAUSWAHL_SONDERREG
    (don't worry this is an enhance spot , so i giving the include name directly )
    not: you need to get access key.
    goto se38
    open MV60AF0F_FELDAUSWAHL_SONDERREG report in change mode
    in line number 268
    you wil get this code
      if ( fakt-tabstrip_subscreen  = '6105'
        or sy-dynnr = '0105' )    and
         screen-name = 'VBRK-XBLNR'.
        screen-input = 0.
        modify screen.
        perform xblnr_set_screen_attributes
                using     t180-trtyp vbrk
                changing  screen.
      endif.
    now under this you need to add your desired code
    in my case this is my code
    """""''MODIFIED BY ABAP1 06/09/2011
        if ( fakt-tabstrip_subscreen  = '6105'
        or sy-dynnr = '6001' )    and
         screen-name = 'VBRK-FKDAT' AND VBRK-FKART = 'ZMD' OR VBRK-FKART = 'F2'.
        screen-input = 0.
        modify screen.
        ENDIF.
    """""END OF MODIFICATION BY ABAP1.
    now save it and activate it and check in your vf01
    that field will be in non editable mode.
    regards,
    kool.

  • Periodic Billing: Invoicing with VF01 vs VF04

    Hello,
    I have created a basic billing plan for a rental contract. The contract is for 12 months (01.01.-31.12.2011)
    Billing date is at month end. Billing plan type is 02 = periodic and does NOT have a billing block assigned to it.
    Now I would like to create an invoice with VF01 for the month of January i.e. I go into VF01 and put in billing date 31.01.2011 but the system gives me all 12 items.
    When I use VF04 and also enter billing date to 31.01.2011 it gives me only the first invoice for January (which is correct).
    Why is the functionality in VF01 different to VF04? Why does VF01 not pull in the first item only (even though I enter billing date 31.01.2011)?
    What am I doing wrong here?
    Thanks in advance.

    Hello,
    the field 'Billing date' in first screen of VF01 is the Default billing date, it is not a selection criteria.
    To select by billing date in VF01 select menu Settings > Selection date.
    Best regards,
    Ivano.

  • Error in accounting document for Billing - Costing Key does not exist

    Hi,
    We had activated COPA for updating Record Type - A (Sale Order) and Record Type - F (Billing Document).  Subsequently we have removed all the settings done for Record Type A (Sale Order) including Costing key.
    Now after this change we get the error of "Costing Key XXXX does not exist" during generation of accounting document for Billing.
    Can any body suggest how to over come this error without creating costing key of Record Type A (Sale Order).
    Regards,
    Ela.

    Hi Ela,
    Please use T. code KE4J and remove Costing Key from record type F( Billing) then system wonu2019t look for Costing key during releasing billing document to accounting & use T. code KE40 to correct Costing key settings  if required.
    Regards,
    Shailesh Verma

  • Simulation and Document Overview

    HI SAP Guru's
    what is the diffeernce simulation and document overview,
    While i am trying to post inf-43, clicking on overview vat tax account doesn't visable in the doucment. selecting simulation field tax account is visable in the document.
    Kindly give me advice.

    When creating a document, Document Overview means the overview of the lines as you enetered.
    Whereas Smulation means the document including any automatically generated lines, e.g. tax line etc.
    Regars,
    Gaurav

  • Automatic pickup Billing Type in VF01

    Dear experts,
    Is there any option to automatic pick up of billing type STO delivery(NL).
    I have created PO for STO and dilevery(Delivery type NL) through billing VF01, working fine but every time when i create vf01 billing is not coming automatically billing type i am selecting manually the billing type JEX
    please suggest is there any user exit or any configuration is required for picking of billing type automatically.
    useful answers duly rewarded

    Hi Sai,
    We have achieved teh same using USer Exit in Delivery (MV50AFZ1)
    Form : FORM USEREXIT_MOVE_FIELD_TO_LIPS    
    Created one Z Table  - ZBLTYP
    with fields: Delivery type, WERKS, Prposed Billing Type
    Codes for picking up as below:
    SELECT SINGLE * FROM zbltyp
         WHERE werks = lips-werks
                  AND lfart = likp-lfart
         IF sy-subrc EQ 0.
            likp-fkarv = zbltyp-fkarv.
         ENDIF.
    We have achieved automation based on Plant. If you do not need Plant as criteria then u can drop the logic accordingly.
    Your techical person will help you in the same.
    Hope this will resolve your issue as it does for me.
    Regards,
    Dnyandeo H. Ainarkar

Maybe you are looking for

  • Text Wrap options not showing in InDesign CS3

    Using InDesign CS3 on a Mac 10.4.  I've had this problem for a couple of months now and it's getting past the point of annoying.  When I open my text wrap options pallete it's blank even when I expand options.  I can see the text wrap icons in my hea

  • How to create Unique constraint

    Hi, How can I create a unique constraint on a column in a table which has already been created. Thanks

  • Do MIDI Devices Appear In GB Prefs?

    I'm having some problems with the input of my MIDI keyboard. After I've installed the drivers, selected the keyboard in Audio MIDI Setup, etc. will the USB device appear in GB Preferences? Right now it says that a MIDI device is detected, but under A

  • Background colour displaying above graphics layer?

    Hi, I have a canvas, I've set the background colour to blue, and on creation complete am drawing a rectangle using canvas.graphics. However this displays behind the background colour? Is this correct? I can only see it if I reduce the background alph

  • Does iTunes maintain a trash anywhere?

    I made a mistake with my iTunes library.  Oops! I accidentally removes some songs from my iTunes library.  They were in an On The Go playlist.  I moved them to where I wanted them, and then iTunes asked me if I wanted to keep the files when I was rem