How to terminate the billing doc if validation fails ????

Hi Experts ,
I am doing a development in which i have to check the billing document before saving. For this i am using BADI_SD_BILLING .
In this i am using INVOICE_DOCUMENT_CHECK to verify the billing document before saving .
If any validation error occurs while creating billing doc through VF01 , it will show an error message and doc saving will be terminated. This works fine in case of VF01 but while doing collective billing through VF04 , its not working as i have used an error message.
So to overcome this i have created an application log object  (SLG0) and updated the same . Now the log is getting updated successfully but the billing doc with error is also getting saved.
So please suggest how to stop saving of billing documents if any validation error occurs.
Thanks and Regards ,
Ranjan

What validation are you performing?  Typically, a 'stop billing' operation is performed in a copy requirement assigned in the billing copy control configuration.  All of the logging is handled from within the requirement and displayed in the billing log, whether it's an individual create or a billing due run.  If the same validation is performed during billing due, this obviously sounds like something that does not require interaction and should be handled via copy control.

Similar Messages

  • How do I configure Billing doc as the follow up doc to sales order in CRM?

    Hi,
    I have the Sales Order transaction type and Item category created and did the item category determination.
    Next step is to make the Billing Doc as the follow up doc. I do not know how to do it.
    I know copy control for Transactions, item categories and Item Category determination. Do i have to create billing transaction type and item category and do the copy control to link to sales order? if so what is the transaction type for billing?
    Can someone explain to me?
    Thanks.
    Edited by: SAP GK on May 10, 2011 4:08 AM

    This is done under spro>crm>Billing>Item Category Determination>Assign Item Categories. Here you link transaction type and item category of that transaction type to billing item category. according to that billing type is determined. link between billing item and type is set under spro>crm>Billing>Define Billing Item Categories
    Regards.

  • When i cancelled the billing doc through VF11 Fi document not yet creted.

    Pls help on this issue.
    When i cancelled the billing doc through VF11 Fi document not yet creted. system thrown the given below error:
                                                                                    Diagnosis   :                                                                          The document does not exist. It was possibly not posted and therefore cannot be read from the database.                                                                               
    Procedure  :                                                                    
         Repeat the transaction at a later time.                                                                               
    Pls help on this issue.I assign full marks .
    Rgds
    Mahesh

    Dear Mahesh
    This is bcoz you have not assigned the Accounting Document type for your cancellation billing document.
    Go to VOFA, select the cancel billing document type S1 and [see whether S1 is maintained] against the field [Document Type]   Most probably, in your case, it is not maintained and hence the problem.
    Maintain S1 in the above field and retry to cancel the billing document.
    thanks
    G. Lakshmipathi

  • I cancelled the billing doc through VF11 Fi document not yet creted

    Pls help on this issue.
    When i cancelled the billing doc through VF11 Fi document not yet creted. system thrown the given below error:
                                                                                    Diagnosis   :                                                                          The document does not exist. It was possibly not posted and therefore cannot be read from the database.                                                                               
    Procedure  :                                                                    
         Repeat the transaction at a later time.                                                                               
    Pls help on this issue.I assign full marks .
    Rgds
    Mahesh

    First check whether accounting posting has been made for your Invoice or not.If accounting document has been created then go to VOFA and check the "Invoice cancellation" field and not the Document type  field.
    For your billing type F2, Invoice cancellation billing type should be S1 in the standard system.
    Document type field is for creation of accounting document type in FI. When you create F2 type of billing document, then DR type of accounting document should be created in FI.
    If this "Document type" field is blank than whatever may be the Billing type ,when it is released to accounting , RV type of document will be created.
    Regards
    Pradyumna

  • Stop the Billing Doc creation for error confirmation

    Hello Experts,
    This is regarding the Billing issue.
    Our Service Process: We create the Service Process and also create the followup confirmations.
    For ex: I have created one SP and also created one followup two confirmations.
    The second Confirmation contained an error and it has generated Billing Document
    Actually The bill should not be generated until all confirmation contain no error and only one billing document should be generated per Service Call.
    Could you help to stop ,the Billing Doc creation for Error Confirmations?
    Regards
    Madhu

    Check the following thread: KEPM valuation K/(834) No standard cost estimate could be found for mat.
    Shail

  • How to see the billed invoices in VF04 transaction

    Hi,
    All
    I would like to find a way to see the invoice number for collective billing. When we process more than one Delivery at a time,
    The invoice number is generated in background and in order to find it that we have to reference back to the delivery. Is there an  place to see this or
    how to see the billed invoices in VF04 transaction
    Thanks
    rajesh

    Hi
    You may check the table VBRK, give the date of creation of invoice in ERDAT field and execute, it will give all the Invoice created on that date.
    you may also check with ref. to the invoive no. in table VBRP for the Delivery no. in the field VGBEL.
    If require you may create an ABAP Querry for these two tables VBRK and VBRP.
    Hope it will help
    Regards
    AA

  • Where can I find the Billing Doc. Header Text SO10 text name?

    I have to write some logic in the billing document header text “country of origin”.
    VF02-- GOTO-- HEADER---HEADER TEXT----- COUNTRY OF ORIGIN.
    When a billing document is created it automatically creating the header text with the following details:
    Name :                       Billing doc number
    Language : EN
    Text ID:        ZD17
    Text object : VBBK.
    I need to find the SO10 text name from which the above dynamic text is generating, so that I can change the code in the original text..
    I searched in the SCN and found the Tcode VOTXN.
    I went to this tcode and selected the Billing Doc. Header Radio button.
    And I found the Access sequence number corresponding ID(ZD17-country of origin)
    When I gone through the sequence number I found one SO10 text name, but that is not the right SO10 name because the contents are totally deferrent.
    is there any way to find the SO10 text name, or did I went to any wrong path...
    please help me..
    Regards,
    Ramesh

    Double on the right hand side and Click on Goto-> Header for the Name and object details.

  • How to find the status of package (valid/invalid) was at a particular time

    How to find the status of package (valid/invalid) was at a particular time ?
    I want to find the status of one oracle package at 3pm yesterday. The status of this package today is INVALID.
    I am sure it was VALID yesterday. But no way to prove it. Can any one help please???
    I can generate AWR report for last 7 days...

    Try using a flashback query, like this:
    select object_name, object_type, status
    from dba_objects AS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL '18' HOUR)  -- 18 hours ago
    where object_name = 'MY_OBJECT'
    ;if you haven't granted FLASHBACK privs, you may need to connect as SYS to do a flashback query on a data dictionary table.
    But this should give you the info you need - if it's still in undo.

  • How to identify the bill-to-site location for a customer

    Hi All,
    How to identify the bill-to-site location for a customer.
    I want to determine the language output of the AR invoice report based on the bill-to site address.
    If the bill-to site is located in Sweden, the document should be in Swedish. If the bill-to site is located outside of Sweden, the document should be in English.
    I have defined a query but not able to identify from which column I can identify the bill-site-location.
    select --a_bill.org_id,party_name,account_number,a_bill.CUST_ACCT_SITE_ID
    from
    apps.hz_parties party
    ,apps.hz_party_sites party_site
    ,apps.hz_cust_accounts b
    ,apps.hz_cust_acct_sites_All a_bill,
    apps.hz_locations loc,
    apps.hz_cust_site_uses_all u_bill,
    apps.ra_customer_trx_all trx
    where party.party_id=party_site.party_id
    AND a_bill.party_site_id = party_site.party_site_id
    AND b.party_id = party.party_id
    AND loc.location_id = party_site.location_id
    AND u_bill.cust_acct_site_id = a_bill.cust_acct_site_id
    AND trx.bill_to_customer_id = b.cust_account_id
    AND trx.bill_to_site_use_id = u_bill.site_use_id
    Thanks,
    Joohi

    Hi ,
    Check this apps.hz_cust_site_uses_all here site_use_code will be there , you can find Bill_To Ship_to , from there you can find the site_use_id and location Id
    Thanks
    Shagul

  • BOM is doubled in the printout against the billing doc

    On the printout from the billing document, tarrif price for the BOM is doubled vs price on the billing doc in SAP.
    What should I do here?

    Hi.,
                    First check out at item catgories whether TAE is relevant for pricing or not,TAE should not be relevent for pricing for Mainitem level BOM,If the configurations are fine then check out once with your technical persons(ABAPERS),They do the need ful as there may be some problem in OUTput .,
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • How to identify the bill is First bill, Final bill or Normal bill?

    Hi
    How to identify the bill is First bill, Final bill or Normal bill.
    If the bill is first bill how we can identify this is by acquisition or change of tenancy.
    If the bill is final bill how we can identify this is by change of tenancy or loss.
    Please provide the tablets to get the above information.
    Thanks & Regards,
    Sree
    Edited by: Sree on Oct 13, 2009 11:23 AM

    Sree,
    Please check the field ERCH-ABRVORG (billing transaction).  It shows you what kind of bill has been created (e.g., 03 = Final Billing for Move-Out). If the begin of billing period matches to the move-in date it is the first bill created for that particular contract.
    I hope this helps.
    Kind regards,
    Fritz

  • How  to change the billing type Rv to DG

    Dear all,
    when ever we are doing the return order to a sales we will create a customer credit memo through the VF01 T-code.where billing type will be customize one that is credit memo..
    once we save that the in customer G/L we are getting the document type as RV instead of DG.
    please tell me how to change the document Type in customer Ledger.
    regards,
    chethan

    Hi,
    Just to draw your attention that DG is doc.type used to issue credit memo from FI (t.code FB75), where it does not involve the inventory movement.
    Whereas the credit memo generated from OTC cycle (i.e.VF01) involves inventory movement. Ideally, both of these types of credit memos should have different doc. types, so that users can distinguish the returns based on doc. types later on.
    So, after explaining the above, please check with your business thoroughly if they really need to use DG instead of RV. I would suggest to create new doc. type 'ZC' and set up through VOFA.
    Thanks,
    Nirav

  • How to calculate the Bill Discount !

    Hi,
    I have a requirement where in I have to develop a report to display bank balance chart with the following details in the output.They are :
    1. Posting Date
    2. Bill Discount (BD)
    3. Letter of Credit(LC)
    4. Cheque Amount may be cheque issued.
    5. Deposits.
    Above are the information which i have to display based on Posting Date range , Company Code and Bank Key present in the selection-screen.
    Below are my few observations:
    1. To retrieve the Bill Discount, I am first fetching the data from BKPF table by checking the document types 'DZ' ,'KZ', Company code and Posting Date Range. Then using document number,company code present in these entries along with Posting key = 39 and special GL indicator = 'W' retrieving the data like DMBTR,WRBTR from BSEG.
    2. Similarly for Letter of Credit amount retrieving the data in the same way as mentioned above except special GL indicator will be 'Y'.
    Now please correct me if my approach is wrong. Request you all to throw some light as I am Technical Consultant and humbly looking forward to all your help.
    Also, request to let me know the logic or process how one can calculate fourth point as well as Fifth point as mentioned above.
    I am just looking for flow of data/process flow/standard transactions through which I can see these above mentioned things which can help me in building the logic. At least a general approach to this will be appreciated highly.
    Regards,
    Raghavendra Kulkarni.
    Edited by: raghavendra kulkarni on Jul 8, 2010 2:33 PM

    Hello,
    how to measure the size.The View DBA_SEGMENTS gives the size of any Segments (Table, Index, ...).
    So you may use for instance a query like that:
    select segment_name, bytes "Size in Bytes"
    from dba_segments
    where owner = '<schema_name>'
    and segment_name = '<segment_name>'
    and segment_type = 'INDEX'Hope this help.
    Best regards,
    Jean-Valentin

  • Restrict if the excise invoice isn't cancel we can't cancel the billing Doc

    HI
    How to Restrict if the excise invoice is not cancel we can't cancel the billing Document
    I know if the billing document is Cleared we can restrict by using the copy control Requirement in VOFA (29)
    Is it possible to Standard SAP ? if Yes how?
    Regards,
    Prasanna

    Dear prasanna_sap,
    It is not possible in standard SAP.
    You have to go for a development.
    Exit RV60AFZZ-USEREXIT_NUMBER_RANGE
    Please find the logic
    If XVBRP-WERKS = J_1IWRKCUS - J_1IWERKS Pass the XVBUK - VBELN to J_1IEXCHDR u2013 RDOC, If STATUS = R the document should not allow saving (Error message: Excise invoice to be cancelled first), else allow saving.
    Please let me know if you have any further clarifications.
    Thanks&Regards
    Raghu.k

  • Error While Releasing the Billing Doc to Accounting.

    Hi All,
               When I am Releasing the Billing Document to Accounting the Value of JIN2 Condition Type is not getting released to Accounting. It is giving the Following Error.FI/CO Interface : Balance in Transaction Currency. I have all maintained the Account Determination. But Still I am facing the same problem.
            Please suggest any Solution.
    Thanks,
    Prashant.

    Hi Prashant,
    Please check the following function in transaction SE37
    (here you could check if the functions enhancement is in any project and
    also if the function is active): EXIT_SAPLV60B_001 - 011.
    Using transaction CMOD you could take a look at user exits that are
    active in your system. Please de-active projects in particular relating
    to the billing process than check whether the error resists.
    Also check to make sure that there is not an unused user exit active.
    Regarding to use exits created data inconsistencies please find the
    attached note:
    160211 Usage of USER_EXIT creates data inconsistency
    Please also find the note
    48431 Unused user exit runs
    how to check if a user exit is active.
    The list of user exits with specifications please find in the following
    note: 301077 User exits for the interface to accounting
    If these notes are not helpful please check another possible cause of
    error F5702. Sometimes this error is triggered when the net value is
    changed in pricing (userexit, own routine or formula). Please check also this
    possible reason.
    Cheers,
    Alex

Maybe you are looking for

  • Service purchase order bapi_po_create1 error: maintain services or limits

    I am trying to create service Purchase Order. I am getting error: 'Purchase order still contains faulty items, Please maintain services or limits'. Struggling to solve this. Can anybody shed some light on this to solve. I would appreciate your any he

  • How do I get LV2009 to see my PCIE-1433?

    Hi all - I think this problem is just a matter of picking the right download.  I'm trying to modify an LV application that was installed on demo system provided by a vendor. They very kindly provide all their source code, but it's written in version

  • Table TKZU1 and T.code KSAZ

    Hi All could anybody let me know what is the relation between table TKZU1 and T.code KSAZ useful answers would be rewarded with points Regards Prasad

  • Multi-language support for built-in dictionary

    Hi, Could anyone tell me if the built-in dictionary in iOS supports multi-language environment? Say, for now the dictionary explains an English word in English, is it possible to have it explain German or French words in English? Thanks in advance!

  • RSSB_GENERATE_AUTHORIZATIONS

    Hi, I don't know whether I should post this question here or within the BI forum. Anyway, I've brought in the structural authorisations from an HR system into the BW DSO's 0HR_PA_" and 0HR_PA_3. I now need to generate the BW related authorisations us