Profit margin - frm_kondi_wert_018 - create billing document

Hi!
I want to create a sales billing document with reference to a delivery. The profit margin for one billing item not exceeds a certain limit (calculated in FV64A018, frm_kondi_wert_018) and for some materials the system does not pop-up any message, just calculates the margin. The problem is that when the user creates the billing document, the system issues an invoice number but when he wants to display the invoice, the system issues the error message VF 041: Billing document 90589068 does not exist. (I browsed the table and watched the flow documents and indeed the invoice does not exist.)
It may be a problem of authorization but I don’t find the missing one (I used SU53). I searched SAP Notes or related threads....
Do you have any idea? Or some helpful links...
Thanks guys.

Hi Florina,
Oh if that is the case then you can try out one last try by debugging the system with help of ABAPer.This way you can atleast analyse why system is behaving in different way for different logons.
If it is not traced then you can post this in ABAP forum.
At times I have faced the same issue.That time the cause was in problem in the output program.User had set the processing time of output as 4-Immediately afetr saving the document.Whereas I was processing with manual release of output.
So whenever I used to save the document it was getting saved.
But when the user does the same thing the output is called immediately at time of saving the document and due to error in output program,he used to face this sort of error.
In user's case he system used to issue the document number but when you go to VF02,document number is not avialable.
Ask user to remove the output assignment and try saving the invoice.This time if the error is not faced then you need to check the output program.
Reward points if useful
Regards,
Amrish Purohit
Regards,
Amrish Purohit

Similar Messages

  • Error while creating billing document using VF04 transaction

    Hi All,
    User is trying to create billing document using VF04 with ference to delivery number. When pressing save in invoice creation system SAP gives invoice document number (No accouting document generated). but no documents are actually created. When user trying for second time log is showing this sales order is currently processed by the user(user is same who is trying to create invoice)
    Please let us know what is causing this issue since this issue is happening in production and we can not debug this.
    We checked for number range also but its not.
    Waiting for your inputs.
    Regards,
    Jyothi CH.

    When pressing save in invoice creation system
    SAP gives invoice document number (No accouting document generated).
    but no documents are actually created
    Check there is any clash with internal number range of billing type vs other billing types ?
    Try to create billing document using VF01,see any messages were poping while saving ?
    Check for abap dump in ST22 ?
    Edited by: Jeyakanthan A on Feb 9, 2011 9:52 PM

  • Error while creating billing documents

    Hi,
      While creating billing documents I am getting error message as 
    Maintain customizing for excise and series group determination
    Message no. 8I619
    I have check the setting for CIN it is OK excise and series group are maintain properly so what can be the proble,
    regards,
    zafar

    Hi,
    Check once again customizing
    Maintain Series Group - In this IMG activity, you define the different excise series groups within your company. Series groups allow you to maintain multiple number ranges for the outgoing excise documents. Based on excise regulations and exemptions from the authorities you can maintain multiple number series for outgoing documents. But each of these series has to be declared to the excise authorities.
    - Define excise series groups based on type of outgoing document
    - Assign series group to excise registration ID
    - If no financial postings are required for an Excise invoice in this seris group then you tick the 'No utilization' indicator.
    - If the CENVAT has to be paid immediately and you need not wait for the Fort nightly payment then mark the 'Immediate Utilization' Iindicator. Example - You could define two series groups, group 001 for excise invoices, and group 002 for 57 F4 documents.
    - No account postings for CENVAT in sales cycle
    - No utilization Flag
    If you do not need any CENVAT utilization for an excise invoice but would like to just generate an excise invoice then you need to mark this indicator.
    If the flag is checked then system will create an Excise invoice in the given Series group but there will not be any account postings or Part2 postings.
    Immediate Utilization of CENVAT - Specifies that when you create an excise invoice, the system immediately pays the amount from CENVAT and creates the Part II entry. Such invoices will not be listed for fortnightly utilization.
    If you have both fortnightly and immediate utilization for the same excise group, the account determination within CIN IMG should point to the ED interim account.
    Thanks
    Chidambaram

  • How to block creating Billing document if no accounting doc generated

    Hi,
    In Brazil, after create Billing Document a new document called Nota Fiscal is also created.
    But I can't allow creating Billing Document and Nota Fiscal if i have a problem during the releasing process of the Accounting Document.
    How Could I to do for block the creation of those documents if i had a problem in releasing the accounting document ?
    Best Regards.
    Kleyson Rios.

    HI,
    with out creating a billing document we can not expect accounting document details.
    once u create a billing document then we come to know whether accounting doc is created or not. if not created then we hav top analyze why it is not created.
    do one thing u have to check all configuration settings before creating a billing document.
    Srini

  • 'update was terminated' while creating billing document VF01

    Hi all,
             i need a solution urgently ..except for paticular document no all documents that i post using VF01 create successfully document no.
    but for a paticular document no(may be it is of some type that i am unable to) while creaing billing document no it gives a message 'document created successfully' ,but when i try to click any button after that e.g BACK it shows a messge 'Update was terminated  for author ....' in my inbox. and vf03 shows the documentdoesn't exist.
    in st22 i checked one dump . when i gave a break point at that point the cursor never reached the code.
    I also checked SM13 and it showed all fms as init. and one fm 'RV_MESSAGE_UPDATE ' as error . i aws unable find the fm in the main program .
    one more thing when i create bill document for other document type it shows messge 'Document saved ....(no accounting document created)' but for this one i am getting messge 'document saved.......' .
    I asked one collegue he told me might be some OSS notes required for it . i am working on a unicoded system ECC 6.0  version.but he is not sure .
    Has any body faced the same problem..and what was the soln....if oss notes are required than how could i find it..and what was the no...........
    THANKS IN ADVANCE ...................

    THANKS  for the reply.
    i am new to sap .can u tell me in detail where actually i can check for number range of the document . one more when i checked the sm13 and  started debugging it gave me for a certain character set  (may be in chineses) present in the table ,the transfer command gives a dump. now the problem is it is too long 132 and don't no forwhich character it gives an  dump.how can i check the characters maintained in the system. it gives a dump   CX_SY_CONVERSION_CODEPAGE   ,At the conversion of a text from codepage '4102' to codepage '4110':      
    i am not sure this causes the mesages 'Updation was terminated' . what u people think.
    thanks ..

  • Create Excise invoice(J1IIN) document while creating billing document using bapi BAPI_BILLINGDOC_CREATEMULTIPLE

    Dear Experts,
    My scenario is:
    We have batch split scenario, where the parent line item of billing document has 0 quantity and its subsequent item (item with batch number) holds actual quantity data.
    When we create billing document using VF01 against delivery document, system creates billing document along with excise invoice document (J1IIN Document). And in excise document contain same number of line items that of billing document. Please see the below attachment: 
    Biiling document screen shot:
    While creating billing document, the J1IIN Document created automatically. Below is the screen-shot for the same.
    Now the issue is:
    When we create billing document using BAPI: BAPI_BILLINGDOC_CREATEMULTIPLE system creating only billing document and not creating excise invoice document.
    When we create excise document manually using J1IIN the zero quantity line items are excluded in excise invoice document.
    Please see the below screen-shot for the same; The z quantity line items are missing.
    We want excise document to be created while creating billing document using BAPI BAPI_BILLINGDOC_CREATEMULTIPLE. Or is there any other BAPI for the same purpose.
    Customization is also maintained for creating excise invoice document automatically.
    Regards,
    Rajesh Sadula.

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • Create billing document from IDOC INVOIC01

    Hi Experts,
    I created a function module to extend IDOC_INPUT_INVOIC_MRM. After created successfully the invoice from this inbound idoc, I tried to create a billing document by code below:
    get sale order number from purchase order *****************************
        CALL FUNCTION 'BAPI_PO_GETDETAIL'
          EXPORTING
            PURCHASEORDER                    = lw_tfrseg-ebeln
            ACCOUNT_ASSIGNMENT               = 'X'
         TABLES
            PO_ITEM_ACCOUNT_ASSIGNMENT       = lt_acc_***
    ****get sale order details*******************************************************
         CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
          EXPORTING
            I_BAPI_VIEW                   = lw_order_view
          I_MEMORY_READ                 =
          TABLES
            SALES_DOCUMENTS               = lt_sales_key
            ORDER_HEADERS_OUT             = lt_ord_headers
            ORDER_ITEMS_OUT               = lt_ord_items
            ORDER_SCHEDULES_OUT           = lt_ord_schedules
            ORDER_BUSINESS_OUT            = lt_ord_business
            ORDER_PARTNERS_OUT            = lt_ord_partners
            ORDER_ADDRESS_OUT             = lt_ord_address
          ORDER_STATUSHEADERS_OUT       =
          ORDER_STATUSITEMS_OUT         =
            ORDER_CONDITIONS_OUT          = lt_ord_cond
    ****Fill billing data in*******************************************************
               lt_bill_data-SALESORG = lt_ord_headers-sales_org.
             lt_bill_data-DISTR_CHAN = lt_ord_headers-DISTR_CHAN.
             lt_bill_data-DIVISION   = lt_ord_headers-DIVISION.
             lt_bill_data-DOC_TYPE   = lt_ord_headers-DOC_TYPE.
             lt_bill_data-ORDBILLTYP    = lt_ord_headers-ORDBILLTYP.
             lt_bill_data-BILL_DATE    = lt_ord_business-bill_date.
             lt_bill_data-SOLD_TO    = lt_ord_headers-SOLD_TO.
             lt_bill_data-ITEM_CATEG    = lt_ord_items-ITEM_CATEG.
             lt_bill_data-ACCTASGNMT    = lt_ord_business-ACCNT_ASGN.
             lt_bill_data-PRICE_DATE    = lt_ord_business-PRICE_DATE.
             lt_bill_data-COUNTRY    = 'US'.
             lt_bill_data-PLANT    = lt_ord_items-PLANT.
             lt_bill_data-BILL_TO    = lw_partner_bp-customer.
             lt_bill_data-PAYER    = lw_partner_py-customer.
             lt_bill_data-SHIP_TO    = lw_partner_sh-customer.
            REF_DOC    = lt_sales_orders-DIVISION.
             lt_bill_data-MATERIAL    = lt_ord_items-material.
             lt_bill_data-REQ_QTY    = lt_ord_items-req_qty.
             lt_bill_data-CURRENCY    = lt_ord_items-currency.
             lt_bill_data-SHORT_TEXT    = lt_ord_items-short_text.
             lt_bill_data-TAXCL_1MAT    = lt_ord_items-TAX_CLASS1.
            REF_ITEM    = lt_sales_orders-DIVISION.
            STAT_GROUP    = lt_sales_orders-DIVISION.
             lt_bill_data-NO_MATMAST    = 'X'.
             lt_bill_data-ADDR_NO    = lt_ord_address-ADDRESS.
            lt_bill_data-TITLE    = lt_ord_address-DIVISION.
             lt_bill_data-NAME    = lt_ord_address-NAME  .
             lt_bill_data-NAME_2    = lt_ord_address-NAME_2.
             lt_bill_data-POSTL_CODE    = lt_ord_address-POSTL_CODE.
             lt_bill_data-CONSUMCTRY    = lt_ord_address-COUNTRY.
             lt_bill_data-CITY    = lt_ord_address-CITY.
             lt_bill_data-DISTRICT    = lt_ord_address-DISTRICT.
             lt_bill_data-STREET    = lt_ord_address-STREET.
             lt_bill_data-REGION    = lt_ord_address-REGION.
             lt_bill_data-PROD_HIER    = lt_ord_items-PROD_HIER.
             lt_bill_data-SALES_UNIT    = lt_ord_items-SALES_UNIT.
             lt_bill_data-PROFIT_CTR    = lt_ord_items-PROFIT_CTR.
            TAXJURCODE    = lt_sales_orders-DIVISION.
             lt_bill_data-PURCH_ORD    = lt_ord_headers-PURCH_NO.
             lt_bill_data-DOC_NUMBER    = lt_ord_items-DOC_NUMBER.
             lt_bill_data-ITM_NUMBER    = lt_ord_items-ITM_NUMBER.
            ORIGINDOC    = lt_sales_orders-DIVISION.
            lt_bill_data-ITEM    = lt_sales_orders-DIVISION.
             lt_bill_data-CREATED_BY   = sy-uname.
            MATERIAL_EXTERNAL = lt_sales_orders-DIVISION.
            MATERIAL_GUID = lt_sales_orders-DIVISION.
            MATERIAL_VERSION = lt_sales_orders-DIVISION.
             lt_bill_data-INCOTERMS1  = lt_ord_business-INCOTERMS1.
             lt_bill_data-INCOTERMS2  = lt_ord_business-INCOTERMS2.
             lt_bill_data-EXCHANGE_RATE = lt_ord_business-EXCHG_RATE.
             lt_bill_data-PAYMENT_TERMS  = lt_ord_business-PMNTTRMS.
             lt_bill_data-HG_LV_ITEM   = lt_ord_items-HG_LV_ITEM .
    ******call bapi function to create billing document********************
      CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
       EXPORTING
         CREATORDATAIN         = lw_creator
         TESTRUN               = lc_testrun
         POSTING               = lc_posting
        TABLES
          BILLINGDATAIN         = lt_bill_data
        CONDITIONDATAIN       =
        CCARDDATAIN           =
        TEXTDATAIN            =
          ERRORS                = lt_bill_errs
          RETURN                = lt_bill_retu
          SUCCESS               = lt_bill_succ
    A return message in the table lt_bill_retu:
    "This item is not relevant for billing!"
    Anyone can tell me why? I think this problem be generated from the step "fill billing data" but I don't know where.
    Pls help me!!!
    Thanks,
    Gy

    Hi,
    In the condition data, I want to add new condition type as below:
    <<  Add new condition type
        CLEAR: lt_cond_data.
        lt_cond_data-COND_TYPE = 'ZHD0'.
        lt_cond_data-COND_VALUE = mrm_ship_charge-summe.  " amount of shipping charge
        lt_cond_data-COND_CURR = mrm_ship_charge-waerq. " USD
        append lt_cond_data.
    *>>
    But I created successfully billing document, this condition type is not appear in the billing view by transaction VF03.
    Could you help me to find out the fault?
    Thanks,
    Gy

  • Cannot create billing document from sales document

    Hi,
    i am trying to create billing document from the created sales document.
    But the billing document is not generated. I was getting  the error - ' Document is blocked from billing'.
    SO, i changed the billing block and left it blank, and when  I tried to create the document again, I got another error " Create billing document" not allowed (uSER STATUS   ST01, Object VB006000071200000).
    Please help me out,

    Dear Priyam,
    Attached are the screen shots, go through them.
    I believe you need to change the status in the Sales order status(Object status).
    click on Object status
    Regards
    Shaik

  • Hi , I am not able to create billing document from the delivery document .

    Hi,
    I am facing one problem i am trying to create billing document from delivery document but it is giving error " Payer" and Sold to party not found ".
    in my Delivery Document field partner tab is showing only ship to party it should show payer and sold to party also .
    Although it is maintained in customer AG.
    can any one help in this ????
    thanks !!!!!!!!!!

    Hi Payal,
    1.u check whether u have maintained[entering actual number] payer and bill to party in sales order[ which is copied from customer master].
    2.and check partner determination procedure for delivery document.
    more important is u wouldnot have maintained partner determination procedure for delivery header.[spro->sales and distribution->basic function->partner determination->partner determination for delivery]
    Regards
    Sharad

  • Create Billing Document from Sales Order (Without Delivery)

    Dear Experts,
    Pls note, presently we are creating Billing Document (VF01) from Outbound Delivery Number after Post Good Issue. All sales Document like Billing Document, Output Type, Invoice Type has been configured for this process and we are doing this without any error. Fyki, we have configured lots of Z Order, Billing & Delivery type to do this processes.
    But for one of this order type we need not do any delivery. We want to create Billing Documents from sales order directly (without doing any Outbound Delivery).
    So, would u pls advise the steps how can we configure and assign Order Type, Billing Type or any other type  to meet above requirement.
    Thanks in advance.
    Best Regards.
    Ripon

    Hi
    There are two most important configuration:-
    1) In VOV8 for your Order Type maintain the Order Related Billing Document
    2) Maintain the Copy control setting in VTFA betwwen your Order Type and billing Type.
    Also note that if your line item is not require to be delivered then for your Item category maintain (in VOV7) not relevant for delivery and not relevant for scedule line.
    Regards
    Amitesh Anand
    Edited by: Amitesh Anand on May 24, 2010 5:09 PM

  • Authorization problem with VF01 "Create Billing Documents"

    Dear All,
    We face following problem with VF01 "Create Billing Documents".
    Transaction: VF01
    User: Joe
    Authorization of Joe:
         VKORG Sales Organization: A, B (authorization object V_VBRK_VKO)
         FKART Billing Type: 1, 2 (authorization object V_VBRK_FKA)
    The objective for Joe:
       Joe is qualified to create bills in
          sales org A only for billing type 1 and in
          sales org B only for billing type 2.
       Joe should not be able to create bills for
          sales org A with billing type 2 and in
          sales org B with billing type 1.
    How can we solve this problem?
    We already searched for userexits without any success.
    Any help or ideas are very appreciated.
    Regards
    Markus Wilhelm
    Project Manager ERP

    Dear,
    There are standard authority-checks based on Sales organization (authorisation object V_VBRK_VKO) and/or Billing type (V_VBRK_FKA).
    An option would be to create a new billing type, define specific authorisations and use the new billing type for these documents.
    The bad thing is that you would also need a special (new) sales order type, because the billing document type is unique per sales order.
    So maybe it is easier to have a different sales organization.
    Another option would be to create a new authorization object and check it in the billing documents.
    If you wish, you could modify program LV60A005 & LV60A006.
    Then you might check various user/customer exits.
    Some functions to check: EXIT_SAPLV60A_001/002,
    EXIT_SAPLV60B_001 - 008, EXIT_SAPLV60B_010 - 011.
    Regards,
    R.Brahmankar

  • Item numbers are differing when i am creating billing document.

    item numbers are differing when i am creating billing document with reference to delivery.
    eg:  item 10  Nimusulide
          item 20 paracetomol
    but in invoice it is as follows
    item 50  Nimusulide
    item 100 paracetomol
    plz help me

    Hi,
    In VOFA check field item number increment
    This will be maintained as 50.Change it to 10.
    Reward points if useful
    Regards,
    Amrish Purohit
    Message was edited by:
            AMRISH PUROHIT

  • Ff759 during creating billing document

    hi guys
    During  sales order process with Customer Down Payment (for Poland) I'm getting an ff759 error when I'm creating  billing document .
    Message no. FF759.
    Cannot post document: tax base in local currency is zero.
    You tried generating a document in which the tax base in local currency is zero although the tax amount and tax base in foreign currency is not zero
    System is not creating an accounting document.
    The billing document that I'm creating in that case  is a regular invoice (type F2) that uses a downpayment invoice (type FAF) for clearing.
    Both invoices are in local currency.
    I'm sure the error is  because of some tax rounding isuess.
    We have implented every note relating to Down Payment  for Poland and to FF759 error.
    My system SAP ECC 6.03 , SP04
    Any ideas??
    thx
    Raf

    Alex, thank you for your answer, but it didnu2019t solve my problem, most of the notes that you wrote about are relating to invoice correction,
    and like I wrote before our problem is happening only during  sales order process with Customer Down Payment (Down payment process for Poland is different than in other countries) when weu2019re creating  billing document.
    Error  is being trown from  infunction FI_TAX_SV_TAXITEM.
    Prüfung: Steuer <> 0 und Steuerbasisbetrag = 0
        IF ( i_bset-hwbas = 0 AND i_bset-hwste != 0 ) OR
           ( i_bset-fwbas = 0 AND i_bset-fwste != 0 ) OR
           ( i_bset-h2bas = 0 AND i_bset-h2ste != 0 ) OR
           ( i_bset-h3bas = 0 AND i_bset-h3ste != 0 ).
    no error in case of external system is active             "N515047
    AND  billing document AND bas-amount = 0                  "N515047
    prerequisite: note 549712                                 "N515047
          IF  ext_activ IS INITIAL                              "N515047
         OR  i_bkpf-awtyp NE 'VBRK'.               "N515047   "N1174393
           or ( i_bkpf-awtyp NE 'VBRK' and                      "N1174393
                i_bkpf-awtyp NE 'WBRK' ).                       "N1174393
            message_store 'FF' 'E' '759' blank blank blank blank.
          ENDIF.                                                "N515047
        ENDIF.
    btw. != means different
    Beside that I would like to let you know that thanks to substitution described in note 872449 point 5c I was able to avoid ff759 error when I was creating billing document, but unfortunately in that case  posting document was incorrect.

  • Changing billing document date while creating billing document from vf01

    Hi gurus,
    I have requirement to change billing doc date while creating billing document from VF01.
    here I have to consider goods issue date eq billing date.
    caluculating billing date = Goods Issue + Goods in Transit duration time.
    I have done everu thing but I cant update the caluculated date, iam using the following enhancement
    Enhancement:SDVFX001
    Function Module:EXIT_SAPLV60B_001
    Include:ZXVVFU01 which are part vf01.
    here iam sending the calculated date to VBRK-FKDAT
    move cal_date to vbrk-fkdat.
    need help how to update the calculated date to VBRK-fkdat i.e billing document date
    Regards
    Bhaskar

    Hi
    No! That exit is not good for your issue
    U can use the user-exit USEREXIT_NUMBER_RANGE_INV_DATE  defined in RV60AFZC
    Max

  • Creating Billing document for WBS Element(Transaction: CJ02 )

    Hi Guys,
    I am using FM BILLING_SCHEDULE_MAINTAIN to create billing document with milestone data,
    it is giving sy-subrc eq 0. but billing document is not saving in  FPLA table,
    I am using FM GRSV_UPDATE_GRPGA_FROM_CJDW to update project.
    and more over iam using COMMIT WORK.
    Thansk in advance
    Regards
    Peram Srinivas

    Kindly refer following Links:
    Excise modvat accounts not defined for DLFC transaction and  excise group
    STO Account Determination
    j1iin error message
    Accounting document for Excise Invoice
    Regards,
    Ashutosh

Maybe you are looking for

  • How to declare class variable with generic parameters?

    I've got a class that declares a type parameter T. I know how to declare a static method, but this doesn't work for a static variable: public class Test< T >     * Map of String to instances of T.     * error: '(' expected (pointing to =)     * <iden

  • How to import pdf files to iPad

    Brand new to the iPad community! How do I "import" pdf files to the iPad, for use by pdf reader and/or annotation apps? I have some of the appropriate apps, but whenever I try to sync pdf files ("books"), I get a message that I need iBooks to read pd

  • Dead LCD screen

    I have a HP G72 laptop, 17.3 inch screen. Display went dead after 3 months. It started flickering and went completely white. I noticed a spot on lower left side appear in the display. Sent the unit for repair to HP, and they returned it back claiming

  • Cannot see Bridge folder on BlackBerry's SD Card in PlayBook Bridge Files

    I have learned that when downloading a file through the messages app on the PB, the file is stored in /Media Card/BlackBerry/documents/Bridge.  These files are accessible on the BB through the email the attachment came in.  However, I cannot access t

  • Making best quality PAL DVD

    I have just made a 24 minute TV pilot in Premiere Pro CS4. I exported the pilot as an .avi, then imported it into Nero to author a DVD. However, the video quality on the final DVD was terrible (even though the video quality in the .avi file was fine)