BDC : creating Billing frm Dr/Cr Memo - Problem in deletion of  conditions

Dear Gurus,
I am facing a problem when I try to develop a BDC for creating a Billing document from a Debit/Credit Memo Sales Order.
The requirement is to delete some condition when creating billing from debit note for Depot plant.
The problem I am facing is in time of deleting the condition , as I am not able to move the lines of table control in Pricing tab up or down.
the ok_code = /00 is not working and I have tried all p+,p- for that.
My logic is to bring the CONDITION that should be deleted at top position of the table control. but as I am not able to move the scroll bar , I got stuck there.
So any solution of that available or any alternative is available for the requirement ???
Thanks
Shibashis

V1 498 - Credit already exist for item...
What the above message means is that lines items have already been used as reference for the creation of credit memo request(s).
Create a new sales order, delivery and billing document. Then create credit memo request with reference to this new billing document and test.
In VTAF copy control, at item level, field "Pos./neg. quantity" dictates how the quantity in the source document is affected by copy control.
PS - I tried to create credit memo with reference to billing document (F2), there were no issues there. Therefore I am taking that the issue is with credit memo request (copied with ref to billing document F2)

Similar Messages

  • 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 ??

  • Problem in create billing document thr VF01

    Hi,
    I create a billing document for the delivery order number using VF01 through BDC batch input session. Here is the program flow,
    1. perform open_bdc.
    2. perform populate_bdc_data.
    3. perform insert_bdc_session.
    4. perform call_transaction_using_VF01 - only to capture return error messages.
    5. perform event_trigger - trigger an event which starts a job that is defined to run when the event is raised. The job will execute the RSBDCSUB.
    6. perform close_bdc.
    7. perform process_bdc - process the bdc session through
    SUBMIT RSBDCSUB.
    My problem is, when creating billing document, the program not able to capture the return error message if there is any error occurs. The message tab (after CALL TRANSACTION) gives error message with message type as 'S'. so the program was not able to capture/display error records. 
    Is there any way to capture the return error message correctly?
    Or Any suitable BAPI available?
    Pl help me to sort out the issue.
    Thanks in advance.

    use  format_meessage
    CALL TRANSACTION 'PA30' USING IT_BDCDATA MODE 'A'
                                               UPDATE 'S'
                                       <b>MESSAGES INTO IT_MSG.</b>
      LOOP AT IT_MSG WHERE MSGTYP = 'E' .
        PERFORM CREATE_SESSION.
        PERFORM INSERT_INTO_SESSION.
    CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            ID        = IT_MSG-MSGID
            LANG      = SY-LANGU
            NO        = IT_MSG-MSGNR
            V1        = IT_MSG-MSGV1
            V2        = IT_MSG-MSGV2
            V3        = IT_MSG-MSGV3
            V4        = IT_MSG-MSGV4
          IMPORTING
            MSG       = V_MSG
          EXCEPTIONS
            NOT_FOUND = 1
            OTHERS    = 2.
        IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    plz reward if useful

  • 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

  • While creating Billing, system is very slow..performance issue

    Hi,
    While creating Billing, system is very slow. How can I debugg and provide the analysis where is the exact problem.
    This is showing performance issue.
    Waiting for kind response.
    Best Regards,
    Padhy
    Moderator Message : Duplicate post locked.
    Edited by: Vinod Kumar on May 12, 2011 10:59 AM

    hi,
    Chk the links
    http://help.sap.com/saphelp_nw04/helpdata/en/4a/e71f39488fee0ce10000000a114084/content.htm
    Re: How to create Secondary Index?
    How may secondary indices I can create on the ODS?
    Deletion of ODS index
    Ramesh

  • Re-create billing without reversing goods issue

    IHi experts,
    In VOV8 we use both Order related billing & Delivery related billing. We always encounter problem when we need to amend
    the Condition values in VK12 that system looks for reversing the Goods issue , then can change the price manually or thru
    the new condition amounts that was changed in Vk12.
    Isu2019t possible to NOT TO reverse the Goods issue but instead amend the pricing in the SO & create the invoice again. Just with
    cancelling the invoice.
    We do not want to go thru the hurdle of cancelling the goods issue, but just cancel the invoice amend the sales price & re-create the billing.
    Please advice the setting to do this.
    Thanks,
    Pri

    Dear Arijeet
    Fortunately, the settings in VTLA exactly matches with what you have indicated.  So we can conclude that the control is not in VTLA.
    So let us move to other settings as under:-
    My VOV8 settings are
    SD document categ.::::::C
    Item division:::::::::::X
    Read info record::::::::X
    Probability:::::::::::::100
    Outpur application::::::V1
    Screen sequence grp:::::AU
    Incomp.proced.::::::::::11
    Transaction group:::::::0
    Display Range:::::::::::UALL
    FCode for overv.scr:::::UER1
    ProdAttr.messages:::::::A
    Incomplet.messages::::::X
    CndType line items:::::::EK02
    Billing Plan type::::::::blank
    Paymt.guarant.proc.::::::01
    paymt card plan type:::::03
    Checking group:::::::::::01
    Propose deliv.date::::::::X
    My Item Category settings are
    Completion Rule:::::::::::B
    Billing Relevance:::::::::A
    Pricing:::::::::::::::::::X
    Business Item:::::::::::::X
    Sched.Line Allowed::::::::X
    Wght/Vol.Relevant:::::::::X
    Determine Cost::::::::::::X
    Incompletion Proced.::::::20
    PartnerDetermProced:::::::N
    TextDetermProcedure:::::::01
    Item Cat.Stats.Group::::::1
    Screen Seq.Grp::::::::::::N
    thanks
    G. Lakshmipathi

  • 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 ..

  • Creating Billing Plan data for sales order using BAPI_SALESORDER_CREATEFROM

    Hi All,
    We are using BAPI_SALESORDER_CREATEFROMDAT2 to create the sales order.We are unable to get the fields for billing plan tab in this BAPI.
    Kindly let me know the fileds in BAPI that corresponds to the fileds of billing plan in sales order.
    Thanks in Advance,
    Kiran I.

    Hi kiran
    hi Dhanapal
    i ahve the same problem which u posted..
    My scenarion is to create billing plan while creation of order using the BAPI_SALESORDER_CREATEFROMDAT2 but could not find any structure to pass billing plan details
    pls can u let me know if u found any solution for this if so can u send me detailed mail..
    i want to populate in both way header level and item level (by removing check header plan in the billing plan tab)
    Pls let me know ASAP..
    Thanks
    anil

  • 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

  • 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

  • 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.

  • Create payment batches for credit memos

    Hi,
    I want to create payment batch to pay several credit memos.
    When I issue "Select invoices" and "Build payments" processes, it does not select any of credit memos.
    I try to add manually the credit memos on "Modify payment batch" window, but after selecting the first credit memo it displays the message:
    "You cannot create a negative mount payment.".
    Please help me how to create payment batches for credit memos.
    Thank you.

    Hi Manish,
    I am using 11i version.
    Actually I followed the advices on this note, but still the same problem, the payment batch does not allow credit memos (as they are with negative amount), even when adding them manually.
    Please help me to find where is the problem.
    Thank you.

  • Create a Credit and Debit memo with reference

    Dear Gurus,
    When creatting credit and debit sales document with reference to a billing document it is not possible to modify value of the sales document, in order to create a partial document.
    It only happens when the billing document refered has billing plan.
    I need to create partial debit and credit memo from a billing document with billing plan.
    Can anybody take a hand?
    best regards,
    Juan

    Hi,
    I presume you are asking , instead of creating credit and debit memos, why cant we change the sales order, Am  I right ?
    If I am right, then I like to say here, we have a provision in SAP of creating Invoice correction request.
    Which would satisfy your quest I suppose. Invoice correction request of customers complaints, has sales document type is RK, and Document category is K. 
    "I need to create partial debit and credit memo from a billing document with billing plan" I say why not, you can do it with suggested Invoice correction request which is the combination of  G2 &  L2  in a single document.
    However If I have helped you for dispeling your doubt, I am glad.
    Regards,
    Saplinx

  • Cannot generate accounting doc when creating billing doc

    When creating billing doc, no accounting document is generated, the posting status is "Error in accounting interface". I have checked and there is no problem in account determination. Does anyone get idea on this problem? Thanks!

    Check the account determination in Transaction Code VKOA.
    If the data is not maitained to determine G/L, in that case it gives error. Once you maintain the relevant data in VKOA, next go to billing document in change mode VF02 & release the same to accounting.
    Regards,
    Rajesh Banka
    Reward points if helpful.

Maybe you are looking for

  • Content conversion in sender adapter.

    Hi, I have a problem with the content conversion in sender adapter. I need only process the csv file with the exact number of columns containing the structure, if the csv file contains more o less columns in the csv file, I want that this files are n

  • 32-bit executable does not run in Windows Server 2008

    Hi, Sorry if this question has been asked already. I am having trouble finding a solution in the NI knowledge base and here in the forums. I just created a simple UI standalone application in Labwindows/CVI with UI. It runs perfectly in XP when it wa

  • Payment verify error!

    I play KABAM / Hobbit app on an I-pad and I-phone daily. Mid game gold purchase on I-pad the app crashed (diff issue) and purchase transaction did not go through. Now, every time I open the game I'm asked for my apple I'd and password... then iget me

  • How do I delete all the emails in my inbox and iOS 7 with one command/keystroke?

    Please let me know if there is a way to delete all emails in the inbox in a single command or keystroke. After updating iOS 7 I have many emails that I would like to simultaneously delete.

  • Can't access a bill pay while using both FF 3.6.13 & Java 6 update 23

    I'm currently using Firefox (FF) 3.6.13. I can get on my bank's web page, view my accounts, but can't get on the bill pay portion of this website. I figured it was a Java issue. I then downloaded the latest version of Java (Java version 6 update 23).