ISA: Billing doc search

Dear guru's
  The Billing doc search in the ISA searches both open and closed billing docs(Invoices, Credit Memos). How do I restrict to get only the open items in the search.
Thanks,
Vivek.

Hi Vivek,
        Use the following logic.
Note : lit_isu_cont contains the list of isu contracts,lit_isu_cont-lv_vertrag.
SELECT belnr vertrag endabrpe bergrund abrvorg loevm
        FROM erch
        INTO TABLE lit_bill_data
        FOR ALL ENTRIES IN lit_isu_cont
        WHERE vertrag = lit_isu_cont-lv_vertrag
        AND ( bcreason = space
              AND loevm = space
              AND simulation = space ).
If sy-subrc = 0.
" Billing document exits ".
endif.
Hope this helps.
Regards,
Kapil

Similar Messages

  • Open sales orders and open deliveries and open billing doc to sap from legesy

    Dear all
    i have some open sales orders and open deliveries and open billing doc are there in the legesy system
    so i want to know how to transfer the doc to sap by using lsmw plz tell me

    Hi Amith,
    it is always good to search in Google before posting .LSMW is very old topic and i am sure you will get lots of Documents on this .Please go through the below link .you will get some idea on this.
    http://scn.sap.com/thread/1012472
    there are 14 steps in LSMW and it is same for all (master data and Transaction Data)
    Pls practice this in your sand box or quality system before working it in the client requirement.
    Hope this helps to you
    Regards
    Sundar

  • Billing doc not been generated

    Hello,
    i am trying to create a billing doc to delivery related SO.
    i have the outbound delivery completed and now trying to create a billing doc but it says it has been fully invoiced even when we dont have any billing doc for it. the document flow as well doesnt show any invoice.
    what might be the problem?
    Thanks

    Hello,
    There could be number of reasons:
    1. You do not have sufficient integration in VKOA
    2. Accounting periods are being closed.
    3. The Customer account has been blocked.
    4. There may be a pricing error.
    5. User do not have sufficient authorization to post an accounting document.
    VFX3 should solve your problem. You release the documents to accounting, if there are errors check for log. Check the forum with search VFX3 for further help.
    Regards,
    Ravi

  • Cancellation of billing doc in is retail

    Error-
    0090000695 000000 Cancellation document is not the same as the original billing doc. 0090000695

    Dear Jose,
    There is an SAP Note in Service Marketplace for this; However, be very careful to use that note because it is a "Consulting Note". Please search for it. I believe it is note number 489676. I can tell you briefly what is required: You need to create a copying requirement routine and assign the requirement routine in the FP type under the "Cancellation" tab to your cancellation billing type.
    Thanks and Sincere Regards,
    Amitabha

  • Regarding output type for billing doc

    i have one billing doc. i want to find out type for that billing doc. through that i need to find the program name and form name.
    i have lot of out put types. In that how to find the out put for my requirement

    HI pavan,
    It is not a good idea to check with the Program name or Layout set name without knowing the OUtput types because, Billing docu number can work with multiple Output types...you never know it. So in your case to check TNAPR table would be the best option...but again it is never recomended to go ahead without knowing the output type.
    And for one Output type there will be only one smart form/ script form and a Zprogram will be configured.
    It is not possible to configure multiple Smart forms for a same Output type.
    You can use single smart form in Multiple Output types but not single output type for diff Smart forms.
    Try to either know the smart form/script from name or the Zprogram so that you can search it in TNAPR table or by using Where used list icon.
    Regards,
    Kittu

  • Bonus VA01 / VA21 routine 24     Only in billing doc.

    Hello SAP experts,
    in our sales documents ( VA01 / VA21 ) we need the bonusinformation, like in the invoice.
    For SAP Standard we have the routine 24     Only in billing doc.
    Do you know why?
    Performance?
    Thanks for your help and information.
    Best regards
    Petra Schober

    Hi,
    This 24 is requirement it will be used in rebates or bonus .
    example -when billing is happening that time only system will calculate the rebates or bonus other wise system will not bothered about the rebates or bonus  this requirement 24 will assigned in pricing procedure in rebate or bonus condition type in requirement .then system will not do unnessery search the performance  will not slow

  • 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 all Billing Doc fields(SAP / customer) for IDOC ?

    Hi all,
    I need to send customer billing information with all billing document fields by idoc,
    the question is, we have a lot customer defined fields in billing doc, so that i  cannot just use standard iDOC types,
    can anybody tell me a easy way to find all billing doc related fields and put it in iDOC type?
    Thanks & Best Regards,

    Hi,
    try the table ROOSOURCE and search the data source with string in astrick attr  for master data and for text with text
    This will give you the list of all the master data source in the system and it contains a column which tells about the extract structure and function module used by each.
    Thanks
    Ajeet

  • Taxjurisdiction 26187(billing doc) has defectivestructure 9001 10 20

    Hi All,
    When I  created the billing document, it didn't release to accounting. Because of the below error message:
    1/3/2012 4692243202 000000 Document 4692243202 saved (no accounting document generated) 9001 10 20
    1/3/2012 4692243202 000000 Tax jurisdiction 2618700001 has defective structure 9001 10 20
    4692243202 - Billing Doc
    9001 10 20 - Sales Area
    2618700001 - Tax Jurisdiction code
    Did any one faced similar issue?
    Thanks,
    Vinay

    Hi Vishnu,
    We are using Vertex for tax calculation...
    I went in Vertex Look up and searched for 2618700001 got many results and there associated rates.
    Thanks,
    Vinay

  • Error while creating Billing doc using VF01 for Debit memo req. from RRB

    Hi,
    I am creating billing doc for my Debit memo req. which is created using RRB(DP90, DP95).
    Error message - Item 000010 does not exist.
    When I debugged and looked into code it seems following lines are causing problem.
    Program
    LV60AA28
    Line u2013 734
      IF  vbap-vkgru EQ vkgru_dyn_posten.
        IF vbap-aufnr IS INITIAL .
    set AUBEL because it was overwritten by VBAP-VBELN
          vbrp-aubel = vbap-vgbel.
          vbrp-aupos = vbap-vgpos.
          vbrp-autyp = vbap-vgtyp.
    This code was not in 4.6 system.
    We have just migrating from 4.6 to 6.0 and facing this issue while testing.

    First of all you should try to learn how to express in a public forum like this. 
    On your comments
    Do some ground work from your end
    why should I ??  if you want you can do ground work or any work.  If you post a question, you have to hear patiently all suggestions and dont scribble whatever you want.
    You should have some basic
       understanding of SAP ABAP.
    You should have posted this question ABAP forum !!!!   Why without any sense you have posted in sales forum ??

  • Vf02 error while releasing a billing doc to accounting

    Hello All,
    I m getting the below mentioned error while releasing a billing doc for a accouting.
    I have checked all the settings in vkoa , ob52 and many more and all are set properly, now m not able to track where actually the prob is.
    error is: No account is specified in item 0000001004
    Message no. F5670
    Diagnosis
    No account was specified for account type "S" in item "0000001004" of the FI/CO document.
    System Response
    The Financial Accounting program cannot process the document.
    Procedure
    A system error has probably occurred in the application you called up. Check the data transferred to item "0000001004" of the FI/CO document.
    Points wil be rewarded
    Thanks,
    SUnny

    Hi,
    Have you checked what is the determination account determination log ? You can do this by entering in VF02 and select from the menu Environment -> Account Determination Analisys -> Revenue Accounts.
    In this log you can see what are posting keys determined from the pricing procedure that should be posted in the FI document and determine very easy in which step the account was not determined.
    After that you can maintain the correct account in VKOA transaction.
    BR,
    Valentin

  • Error while releasing Billing doc to Accounting

    Hi all
    I am gettin the following error while releasing a Billing doc to FI-
    Reconciliation account 240001 or short key 00 is not permitted
    The Billing doc pertains to Export sales and the billing Doc type is Export Invoice. However the Customer Recon A/c is defined as 240000 which is for Domestic Sales. A/c 240001 stands for Export Sales. I am wondering why it is asking for the Export Sales Recon a/c. Does this has something to do with Alternative Recon A/c? Should I set an Alternative Recon A/c and check this? If yes, then should it be defined in SD or FI?
    If any1 has come across this prob, plzz help me.
    Regards

    It is all Fi related, and should be defined by the Fi Consultant.
    But by changing the sort key I think your error can be solved. But I don't exactly know your config settings to recommend any solution.
    Regards
    AK
    Please reward if helpful

  • Account determination error in FI doc during SD billing doc posting.

    hi,
    when I create one billing doc ref to s/o,
    I check account determination in condition type:
    G/L account no.: 110000
    Provision acc.   : 120000
    in FI doc,
    should debit 110000 and credit 120000
    but current status is credit 110000 and debit 120000
    Please help.
    Thanks.

    Hi,
    One of the following could be the reasons for the Account determination error.
    Please check.
    1.Incorrect account assignment group entered in the customer and material master
    Resolution:Maintain correct account assignment group in customer and material master,Eg.External Domestic,Z1 - External Foreign,Internal Foreign,etc,.
    2.GL account not extended to the respective company code.
    Resolution:Extend the required GL account to the company code.
    Regards,
    Sophia Xavier

  • Billing document cancellation (VF11) the cancelled doc. is not getting automatically cleared against the actual billing doc.

    Hi All,
    In case of billing document cancellation (VF11) the cancelled doc. is not getting automatically cleared against the actual billing doc. no. Each time user has to clear the doc. manually. We have observed this issue after recent patch updation dated 22nd Feb’2014. Till 21st Feb’2014 the cancelled doc. has been cleared automatically against their respective billing documents.
    Please guide.
    Thank you.

    Hi Gopi,
    Please chheck SAP Note No. 1259505. It explains two ways in which SAP releases cancellation documents to FI.
    OSS NOte 1259505 lists the possible causes from SD side &
    OSS Note 309208 lists the possible causes from FI side.
    Regards,
    Kavita

  • Billing doc

    Dear all,
    Scenario is user has created  sales order for excisable finished goods ,and followed by delivery, billing and excise billing to the customer who has already received the materials (GR done).
    Now by mistake instead of cancelling the some other billing doc. user  has cancelled above billing doc.
    How we can update this . Do we have to create new billing doc?. but excise billing doc has already gone to customer  what is effect of the same in terms of excise /register
    kindly suggest
    thanks,
    shankar

    Hi,
    if u delete also  that means it's not deleted total from the data base as ur abaper to retrieve the data from the  data base table he will do it for u .
    best regards,
    venkataswamy.

Maybe you are looking for