SD_CIN_LV60AU02 badi

I using  SD_CIN_LV60AU02 badi for VF01 Tcode to restrict the user to Save Billing Doc. if Account Document No not generated  against the Billing Doc. No.
Badi Working Correctly, but it fails to stop billing document generation. After error msg , system generating new billing doc. no. , but it is not get updated in VBRK table. so i want to restrict that billing doc. no generation if system gives error msg .
Thanks.

Hi,
pls verify the methods you used for your requirement .

Similar Messages

  • About BADI:SD_CIN_LV60AU02

    I create a implementation for SD_CIN_LV60AU02 badi.When I active the implementation, the system give the message:'There are already implementations active'.
    WHY?How to do?

    Hello.
    That is not a problem. It is just a message.Because, you must know there are multiple implementations available.
    I created 2 implementations for this BADI SD_CIN_LV60AU02, the same message appeared.
    And when I am working with invoice, both implementations are working fine.
    All the very best to you.
    Let me know if you have any questions.
    Regards,
    Vamsi

  • VF01 Exit BADI to Postpone or block items in billing plan.

    Hi Experts,
    The business requirement is where they are not suppose to bill the customer more than the Sales Order value.
    While positng a invoice with referenceto to an Sales order (VF01) for a perticular order type with a billing plan.
    I want block items in invoice / billing plan of order if the value of billing items is exceeding the order netvalue.(only while posting the invoice document). 
    Please suggest any EXIT, badi.
    Thanks in advance.
    Regards,
    Mahesh

    Hi,
    Exits for VF01:
    SDVFX007 User exit: Billing plan during transfer to Accounting
    V60A0001        Customer functions in the billing document
    SDVFX009           Billing doc. processing KIDONO (payment reference number)
    V05I0001             User exits for billing index
    V05N0001           User Exits for Printing Billing Docs. using POR Procedure
    J_3RSINV            User Exits for Printing Billing Docs. using POR Procedure
    BADIs
    SD_CIN_LV60AU02                BADI for billing
    VOR_WA_FAKTURA              Billing before Goods Issue

  • BADI or User Exit for VF04

    Dear All,
    I want to stop the split of Invoice of the same customer. Can anyone know the BADI or User Exit to Implement this?
    Please help ASAP.
    Thanks in advance.
    Best Regards,
    Prasad

    Transaction Code - VF04                     Maintain Billing Due List                                                                               
    Enhancement/ Business Add-in            Description                                                
    Enhancement                                                                               
    V61A0001                                Customer enhancement: Pricing                              
    V60P0001                                Data provision for additional fields for display in lists  
    V60A0001                                Customer functions in the billing document                 
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure  
    V05I0001                                User exits for billing index                               
    SDVFX011                                Userexit for the komkcv- and kompcv-structures             
    SDVFX010                                User exit item table for the customer lines                
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)  
    SDVFX008                                User exit: Processing of transfer structures SD-FI         
    SDVFX007                                User exit: Billing plan during transfer to Accounting      
    SDVFX006                                User exit tax line in transfer to accounting               
    SDVFX005                                User exit reserves in transfer to accounting               
    SDVFX004                                User exit G/L line in transfer to accounting               
    SDVFX003                                User exit cash clearing in transfer to accounting          
    SDVFX002                                User exit for A/R line in transfer to accounting           
    SDVFX001                                User exit header line in delivery to accounting            
    J_3RSINV                                                                               
    Business Add-in                                                                               
    SD_CIN_LV60AU02                         BADI for billing                                           
    VOR_WA_FAKTURA                          Billing before Goods Issue

  • Need User exit or BAdi for VF01

    Hi.
    I need User exit or Badi for VF01.
    Condtion: After Successful Save of document number in database.
    Please help me.
    To be reward all helpfull answers.
    Regards.
    Jay

    Hi
    The follwing user exits and badis available:
                                                                                    Enhancement                                                                               
    V05N0001                              
    User Exits for Printing Billing Docs. using POR Procedure       
    V05I0001                              
    User exits for billing index                                    
    SDVFX011                              
    Userexit for the komkcv- and kompcv-structures                  
    SDVFX010                             
      User exit item table for the customer lines                     
    SDVFX009                               
    Billing doc. processing KIDONO (payment reference number)       
    SDVFX008                              
    User exit: Processing of transfer structures SD-FI              
    SDVFX007                               
    User exit: Billing plan during transfer to Accounting           
    V61A0001                               
    Customer enhancement: Pricing                                   
    V60P0001                               
    Data provision for additional fields for display in lists       
    V60A0001                               
    Customer functions in the billing document                                                                               
    Business Add-in                                                                                SD_CIN_LV60AU02                       
    BADI for billing                                                
    VOR_WA_FAKTURA                        
    Billing before Goods Issue                                                                               
    If it is helpful rewards points.
                         Regards
                          Pratap.M

  • BAdi for VF01 - Get Invoice Number

    Hi,
    I am working on the VF01, I want to save the outbound delivery number(LKIP-VBLEN) from VL01N as invoice number(VBRK-VBELN) when creating billing document.
    The below enhancement seem not trigger debugging mode.
    Enhancement
    J_3RSINV
    V61A0001 Customer enhancement: Pricing
    V60P0001 Data provision for additional fields for display in lists
    V60A0001 Customer functions in the billing document
    V05N0001 User Exits for Printing Billing Docs. using POR Procedure
    V05I0001 User exits for billing index
    SDVFX011 Userexit for the komkcv- and kompcv-structures
    SDVFX010 User exit item table for the customer lines
    SDVFX009 Billing doc. processing KIDONO (payment reference number)
    SDVFX008 User exit: Processing of transfer structures SD-FI
    SDVFX007 User exit: Billing plan during transfer to Accounting
    SDVFX006 User exit tax line in transfer to accounting
    SDVFX005 User exit reserves in transfer to accounting
    SDVFX004 User exit G/L line in transfer to accounting
    SDVFX003 User exit cash clearing in transfer to accounting
    SDVFX002 User exit for A/R line in transfer to accounting
    SDVFX001 User exit header line in delivery to accounting
    Business Add-in
    SD_CIN_LV60AU02 BADI for billing
    VOR_WA_FAKTURA Billing before Goods Issue
    I am looking for "$" sign number. Any idea?

    Also check this user exits as well.
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.

  • SD: Exits or BADIs for Billing

    Tcode VF01
    I am creating a billing document. When the user presses save button i want to:
    1) Check my Z table (which conatins the invoicing limit for the user currently creating bill)
    2) If the condition fails i want to issue a E type message so that creation of billing can be stopped.
    Which user exit or BAdi can be used.
    Regards
    Anik

    These are the Exits Available for Package VF
    J_3RSINV
    SDVFX001  User exit header line in delivery to accounting
    SDVFX002  User exit for A/R line in transfer to accounting
    SDVFX003  User exit cash clearing in transfer to accounting
    SDVFX004  User exit G/L line in transfer to accounting
    SDVFX005  User exit reserves in transfer to accounting
    SDVFX006  User exit tax line in transfer to accounting
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference numbe
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedu
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lis
    V61A0001  Customer enhancement: Pricing
    Similarly
    The Badi Availabel for VF package
    SD_CIN_LV60AU02                                               BADI for billing
    VOR_WA_FAKTURA                                                Billing before Goods Issue
    Award Points if Useful.
    Regards,
    Mithun

  • To find exit for the transaction VF02?

    Hi Experts,
    I need help for this enhancement.
    1.     In case of Company Code - 2200                         
                        During VF02 (Billing document flow to accounting) :  VBPA - PARVW                     value for "ZC" shall be filled in BSID-XREF1.
    It means for company code 2200, during the process of transaction VF02, the partner function value for 'ZC' from table vbpa should be updated to the field xref1 in table bsid.
    After finding the exit / badi, How do i need to modify it?
    Regards,
    Abdur Rafique

    Hi,
    Check exits for VF02:
    SDVFX008 User exit: Processing of transfer structures SD-FI
    SDVFX007 User exit: Billing plan during transfer to Accounting
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    J_3RSINV            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    BADIs for VF02
    SD_CIN_LV60AU02                    BADI for billing
    Method: EXCISE_INVOICE_CREATE   - BADI billing
    VOR_WA_FAKTURA                 Billing before Goods Issue

  • User Exits for Invoice creation ,cancellation and sales return

    Hi Gurus,
    Pl help me it's very urgent.
    I did not find any user exit invoice creation so i wrote the following code in include program
    MV60AF0B_BELEG_SICHERN.
    This code is to update the Z*table while saving invoice ,cancellation and sales return.
    The code modification is like below
          FORM BELEG_SICHERN                                            *
          Buchen Fakturabelege                                          *
    FORM BELEG_SICHERN.
      READ TABLE XVBRK INDEX 1.
      IF SY-SUBRC NE 0.
        CALL FUNCTION 'DEQUEUE_ALL'.
        MESSAGE S032.
        EXIT.
      ENDIF.
      IF SAMH_MOD = ON.
        EXPORT XKOMFK TO MEMORY ID 'SDBILLDL'.
      ENDIF.
      DATA: CALC_TYPE.
      IF REBATE_DETERMINED = 'Y'.
        CALC_TYPE = 'A'.
      ELSE.
        CALC_TYPE = 'I'.
      ENDIF.
    *{   INSERT         RD1K903017                                        1
    Work Area*********************
    data : wa_xvbrk type VBRKVB.
    data : wa_xvbrp type vbrpvb.
    data : wa_zmigo type zmigo.
    data : wa_vbrp type vbrp.
    Internal table Creation*******
    DATA:  BEGIN OF tab_XVBRP OCCURS 100.
             INCLUDE STRUCTURE VBRPVB.
    DATA:  END OF tab_XVBRP.
    data : begin of tab_vbeln occurs 10,
           vbeln type vbrk-vbeln,
           knumv type vbrk-knumv,
           end of tab_vbeln.
    data : tab_zmigo type table of zmigo.
    data : tab_vbrp type table of vbrp.
    *****Data declaration*************
    data : v_no_of_inv type i.
    data : v_vbeln_no(10) type n.
    data : v_last_inv_no(10) type n.
    data : v_first_inv_no(10) type c.
    data : v_tot_qty type i.
    data : v_frbnr type mkpf-frbnr.
    *******Ranges*********************
    ranges : r_vbeln for vbrk-vbeln.
    *****Populating IT****************
    tab_xvbrp[] = xvbrp[].
    describe table xvbrk lines v_no_of_inv.
    *}   INSERT
      CALL FUNCTION 'RV_INVOICE_DOCUMENT_ADD'
           EXPORTING
                VBSK_I           = VBSK
                WITH_POSTING     = 'A'
                PREISFINDUNGSART = CALC_TYPE
           IMPORTING
                VBSK_E           = VBSK
           TABLES
                XKOMFK           = XKOMFK
                XTHEAD           = XTHEAD
                XVBFS            = XVBFS
                XVBSS            = XVBSS
                XVBRK            = XVBRK
                XVBRP            = XVBRP
                XVBPA            = XVBPA
                XKOMV            = XKOMV.
    *{   INSERT         RD1K903017                                        2
    data : v_count type i,v_fkimg type i .
    data : v_no_of_records(10) type n.
    wa_xvbrk = xvbrk.
    ********Selecting the last rec no from ZMIGO
          select max( sr_no ) from zmigo into v_no_of_records.
    *****If Distribution channel is not ZB*********
    if  wa_xvbrk-vtweg ne 'ZB' and ( wa_xvbrk-fkart = 'ZRIN' or wa_xvbrk-fkart = 'ZRTE' ).
    if v_no_of_inv = 1.              " Process only when there is one invoice
    loop at tab_xvbrp into wa_xvbrp  where (           matnr ne 'CDGSTP0001'       and
                                                       matnr ne 'CD-RW'            and
                                                       matnr ne 'CD-RW65OHS'       and
                                                       matnr ne 'CABLE'            and
                                                       matnr ne 'CD-R'             and
                                                       matnr ne 'CDQ80N4'          and
                                                       matnr ne 'GENERAL'          and
                                                       matnr ne 'NERO'             and
                                                       matnr ne 'OTHERS'           and
                                                       matnr ne 'SPARE PARTS'      and
                                                       matnr ne 'PROMO ITEM'       and
                                                       matnr ne 'PROMO-1'          and
                                                       matnr ne 'PROMO-2'          and
                                                       matnr ne 'PROMO-3'          and
                                                       matnr ne 'PROMO-4'          and
                                                       matnr ne 'PROMO-5'          and
                                                       matnr ne 'PROMO-6'          and
                                                       matnr ne 'PROMO-7'          and
                                                       matnr ne 'PROMO-8'          and
                                                       matnr ne 'PROMO-9'          and
                                                       matnr ne 'PROMO-10' ).
    v_fkimg = wa_xvbrp-fkimg .
    v_fkimg = v_fkimg / 1000.
                do v_fkimg times.
                  v_no_of_records = v_no_of_records + 1.
                  wa_zmigo-sr_no = v_no_of_records.
                  wa_zmigo-po_no = wa_xvbrk-vbeln.
                  wa_zmigo-item_no  = wa_xvbrp-posnr.
                 wa_zmigo-mblnr  = wa_xmkpf-mblnr.
                  wa_zmigo-doc_type = wa_xvbrk-fkart.
                  wa_zmigo-posting_date = wa_xvbrk-fkdat.
                  wa_zmigo-created_on = sy-datum.
                  wa_zmigo-created_time = sy-uzeit.
                 wa_zmigo-bill_lno = v_frbnr.
                  wa_zmigo-material = wa_xvbrp-matnr.
                 wa_zmigo-inv_no = wa_xvbrk-vbeln.
                 wa_zmigo-inv_item_no = wa_xvbrp-posnr.
                  wa_zmigo-plant = wa_xvbrp-werks.
                  wa_zmigo-inv_date = wa_xvbrk-fkdat.
                  wa_zmigo-customer = wa_xvbrk-kunag.
                  wa_zmigo-unit = 1.
                  wa_zmigo-mtype = '601'.
                  insert into zmigo values wa_zmigo.
                enddo.
                clear : wa_zmigo.
    endloop.
    clear : v_count,v_fkimg,wa_zmigo.
    refresh tab_zmigo[].
    clear v_no_of_inv.
    else.                              "When there are Split Invoices
    v_last_inv_no = wa_xvbrk-vbeln.
    v_vbeln_no = v_last_inv_no - v_no_of_inv + 1.
    v_first_inv_no = v_vbeln_no.
    sort tab_xvbrp by vbeln.
    loop at tab_xvbrp into wa_xvbrp  where (           matnr ne 'CDGSTP0001'       and
                                                       matnr ne 'CD-RW'            and
                                                       matnr ne 'CD-RW65OHS'       and
                                                       matnr ne 'CABLE'            and
                                                       matnr ne 'CD-R'             and
                                                       matnr ne 'CDQ80N4'          and
                                                       matnr ne 'GENERAL'          and
                                                       matnr ne 'NERO'             and
                                                       matnr ne 'OTHERS'           and
                                                       matnr ne 'SPARE PARTS'      and
                                                       matnr ne 'PROMO ITEM'       and
                                                       matnr ne 'PROMO-1'          and
                                                       matnr ne 'PROMO-2'          and
                                                       matnr ne 'PROMO-3'          and
                                                       matnr ne 'PROMO-4'          and
                                                       matnr ne 'PROMO-5'          and
                                                       matnr ne 'PROMO-6'          and
                                                       matnr ne 'PROMO-7'          and
                                                       matnr ne 'PROMO-8'          and
                                                       matnr ne 'PROMO-9'          and
                                                       matnr ne 'PROMO-10' ).
    v_fkimg = wa_xvbrp-fkimg .
    v_fkimg = v_fkimg / 1000.
                do v_fkimg times.
                  v_no_of_records = v_no_of_records + 1.
                  wa_zmigo-sr_no = v_no_of_records.
                  wa_zmigo-po_no = v_vbeln_no.                      "wa_vbrp-vbeln.
                  wa_zmigo-item_no  = wa_xvbrp-posnr.
                 wa_zmigo-mblnr  = wa_xmkpf-mblnr.
                  wa_zmigo-doc_type = wa_xvbrk-fkart.
                  wa_zmigo-posting_date = wa_xvbrk-fkdat.
                  wa_zmigo-created_on = sy-datum.
                  wa_zmigo-created_time = sy-uzeit.
                 wa_zmigo-bill_lno = v_frbnr.
                  wa_zmigo-material = wa_xvbrp-matnr.
                 wa_zmigo-inv_no = v_vbeln_no.
                 wa_zmigo-inv_item_no = wa_xvbrp-posnr.
                  wa_zmigo-plant = wa_xvbrp-werks.
                  wa_zmigo-inv_date = wa_xvbrk-fkdat.
                  wa_zmigo-customer = wa_xvbrk-kunag.
                  wa_zmigo-unit = 1.
                  wa_zmigo-mtype = '601'.
                  insert into zmigo values wa_zmigo.
                enddo.
                clear : wa_zmigo.
    at end of vbeln.
    v_vbeln_no = v_vbeln_no + 1.
    endat.
    clear : v_count,v_fkimg,wa_zmigo.
    refresh tab_zmigo[].
    endloop.
    endif.                             "End of first 2nd IF.
    clear : v_no_of_inv, v_vbeln_no.
    endif.
    ****************Sales return************************************
    if  wa_xvbrk-fkart = 'ZRRE' and wa_xvbrk-vtweg ne 'ZB'.
    loop at tab_xvbrp into wa_xvbrp where (            matnr ne 'CDGSTP0001'       and
                                                       matnr ne 'CD-RW'            and
                                                       matnr ne 'CD-RW65OHS'       and
                                                       matnr ne 'CABLE'            and
                                                       matnr ne 'CD-R'             and
                                                       matnr ne 'CDQ80N4'          and
                                                       matnr ne 'GENERAL'          and
                                                       matnr ne 'NERO'             and
                                                       matnr ne 'OTHERS'           and
                                                       matnr ne 'SPARE PARTS'      and
                                                       matnr ne 'PROMO ITEM'       and
                                                       matnr ne 'PROMO-1'          and
                                                       matnr ne 'PROMO-2'          and
                                                       matnr ne 'PROMO-3'          and
                                                       matnr ne 'PROMO-4'          and
                                                       matnr ne 'PROMO-5'          and
                                                       matnr ne 'PROMO-6'          and
                                                       matnr ne 'PROMO-7'          and
                                                       matnr ne 'PROMO-8'          and
                                                       matnr ne 'PROMO-9'          and
                                                       matnr ne 'PROMO-10' ).
             v_fkimg = wa_xvbrp-fkimg.
             v_fkimg = v_fkimg / 1000.
             v_tot_qty = v_tot_qty + v_fkimg.
              do v_fkimg times.
                v_no_of_records = v_no_of_records + 1.
                wa_zmigo-sr_no = v_no_of_records.
                wa_zmigo-po_no = wa_xvbrk-vbeln.
                wa_zmigo-item_no  = wa_xvbrp-posnr.
                wa_zmigo-doc_type = wa_xvbrk-fkart.
                wa_zmigo-posting_date = wa_xvbrk-fkdat.
                wa_zmigo-created_on = sy-datum.
                wa_zmigo-created_time = sy-uzeit.
                wa_zmigo-material = wa_xvbrp-matnr.
               wa_zmigo-inv_no = wa_xvbrk-vbeln.
               wa_zmigo-inv_item_no = wa_xvbrp-posnr.
                wa_zmigo-plant = wa_xvbrp-werks.
                wa_zmigo-inv_date = wa_xvbrk-fkdat.
                wa_zmigo-customer = wa_xvbrk-kunag.
                wa_zmigo-unit = 1.
                wa_zmigo-mtype = '651'.
                condense wa_xvbrk-xblnr.
                wa_zmigo-reference = wa_xvbrk-xblnr.
    ********Bill of lading no**
               select single bill_lno from zmigo_final into v_frbnr where inv_no = wa_xvbrk-xblnr and material = wa_xvbrp-matnr.
               if sy-subrc eq 0.
               wa_zmigo-bill_lno = v_frbnr.
               endif.
                insert into zmigo values wa_zmigo.
              enddo.
              clear : wa_zmigo,wa_xvbrp , v_fkimg, v_frbnr.
    endloop.
    endif.
    *******Invoice Cancellation*****************************
    if  wa_xvbrk-fkart = 'ZRS1' and wa_xvbrk-vtweg ne 'ZB'.
    delete tab_xvbrp[] where shkzg eq 'X'.
    loop at tab_xvbrp into wa_xvbrp where (            matnr ne 'CDGSTP0001'       and
                                                       matnr ne 'CD-RW'            and
                                                       matnr ne 'CD-RW65OHS'       and
                                                       matnr ne 'CABLE'            and
                                                       matnr ne 'CD-R'             and
                                                       matnr ne 'CDQ80N4'          and
                                                       matnr ne 'GENERAL'          and
                                                       matnr ne 'NERO'             and
                                                       matnr ne 'OTHERS'           and
                                                       matnr ne 'SPARE PARTS'      and
                                                       matnr ne 'PROMO ITEM'       and
                                                       matnr ne 'PROMO-1'          and
                                                       matnr ne 'PROMO-2'          and
                                                       matnr ne 'PROMO-3'          and
                                                       matnr ne 'PROMO-4'          and
                                                       matnr ne 'PROMO-5'          and
                                                       matnr ne 'PROMO-6'          and
                                                       matnr ne 'PROMO-7'          and
                                                       matnr ne 'PROMO-8'          and
                                                       matnr ne 'PROMO-9'          and
                                                       matnr ne 'PROMO-10' ).
             v_fkimg = wa_xvbrp-fkimg.
             v_fkimg = v_fkimg / 1000.
             v_tot_qty = v_tot_qty + v_fkimg.
              do v_fkimg times.
                v_no_of_records = v_no_of_records + 1.
                wa_zmigo-sr_no = v_no_of_records.
                wa_zmigo-po_no = wa_xvbrk-vbeln.
                wa_zmigo-item_no  = wa_xvbrp-posnr.
                wa_zmigo-doc_type = wa_xvbrk-fkart.
                wa_zmigo-posting_date = wa_xvbrk-fkdat.
                wa_zmigo-created_on = sy-datum.
                wa_zmigo-created_time = sy-uzeit.
                wa_zmigo-material = wa_xvbrp-matnr.
               wa_zmigo-inv_no = wa_xvbrk-vbeln.
               wa_zmigo-inv_item_no = wa_xvbrp-posnr.
                wa_zmigo-plant = wa_xvbrp-werks.
                wa_zmigo-inv_date = wa_xvbrk-fkdat.
                wa_zmigo-customer = wa_xvbrk-kunag.
                wa_zmigo-unit = 1.
                condense wa_xvbrk-zuonr.
                wa_zmigo-reference = wa_xvbrk-zuonr.
                wa_zmigo-mtype = '602'.
    ********Bill of lading no**
               select single bill_lno from zmigo_final into v_frbnr where inv_no = wa_xvbrk-xblnr and material = wa_xvbrp-matnr.
               if sy-subrc eq 0.
               wa_zmigo-bill_lno = v_frbnr.
               endif.
                insert into zmigo values wa_zmigo.
              enddo.
              clear : wa_zmigo,wa_xvbrp , v_fkimg.
    endloop.
    endif.
    clear : v_no_of_records.
    *}   INSERT
      CALL FUNCTION 'STACK_RESET'.
      R185D-DATALOSS = SPACE.
      FOLGEAUFRUF102 = SPACE.
      PERFORM SETPAR_INIT.
    *{   INSERT         RD1K903017                                        3
    *}   INSERT
      LEAVE.
    ENDFORM.
    This program is working fine for single user but in production where no of people are creating the invoices from different places the data is not getting updated in table ZMIGO.
    sometime populating with wrong data , partial data and sometimes no updation at all.
    I have used the table locking system enqueue and dequeue FM's before n after updation but still the same
    thing is happening.
    What could be the reason.
    Looking for help very urgent any other alternate option.

    Hi,
    Go thru these..
    Enhancement
    SDVFX009 Billing doc. processing KIDONO (payment reference numbe
    SDVFX010 User exit item table for the customer lines
    SDVFX011 Userexit for the komkcv- and kompcv-structures
    V05I0001 User exits for billing index
    V05N0001 User Exits for Printing Billing Docs. using POR Procedu
    V60A0001 Customer functions in the billing document
    V60P0001 Data provision for additional fields for display in lis
    V61A0001 Customer enhancement: Pricing
    SDVFX001 User exit header line in delivery to accounting
    SDVFX002 User exit for A/R line (transfer to accounting)
    SDVFX003 User exit: Cash clearing (transfer to accounting)
    SDVFX004 User exit: G/L line (transfer to accounting)
    SDVFX008 User exit: Processing of transfer structures SD-FI
    SDVFX007 User exit: Billing plan during transfer to Accounting
    SDVFX006 User exit: Tax line (transfer to accounting)
    SDVFX005 User exit: Reserves (transfer to accounting)
    Business Add-in
    SD_CIN_LV60AU02 BADI for billing
    If it is helpful rewards points
    Regards
    Pratap.M

  • Customer Exit for VF01 at Saving of Document

    Hi friends,
    I need a customer exit which will execute just after saving the Billing document number in T-code VF01 and have the data of VBRK and VBRP tables. I am having a list of Exits but which exit should I use, I am not confident.
    The list is as follow.
    Enhancement
    J_3RSINV
    V61A0001                                Customer enhancement: Pricing
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    SDVFX010                                User exit item table for the customer lines
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    Business Add-in
    VOR_WA_FAKTURA                          Billing before Goods Issue
    SD_CIN_LV60AU02                         BADI for billing
    Please suggest any suitable way for the solution.
    Thanks in advance.
    Krishan

    hi ,
    keeep break point like break <username> in exit and check ur transaction.
    u will get the exit that is triggered during saving of transaction.
    reward points if hlpful.

  • To Stop Automatic exicse invoice generation in billing for one billing type

    Hi All,
       My Requirement is as follow:
    The requirement is for SEZ sales they want to create ARE1 Form. Basicaly
    ARE1 form is created for Export sales but SEZ sales they will do with in India. So system wont allow us to create ARE1 form.
    So a small user exit need to be written to over come this process.
    In our process we have enabled background delivery for excise group. When ever they create a SEZ sale automaticaly system is taking as local excise type. But we want it to take as Deemed export. Then we can proceed wit
    ARE1 Creation.
    FUNCTION Module : j_1i4a_create_sd_invoice.
    If my docuent type is ZSEO you have to make v_excise_in_bkgrnd as 'N' so that it wont create excise invoice in background. and it will create a billing document. For remaining all other cases it will create excis einvoice invoice in background.
    Then with reference to that we can create excise invoice in fourground that time we can chage manual local excis etype to Deemed export.
        Can AnyOne tell me as to if any userexit available for the same??
    Regards
    Amit

    Amith,
    SD_CIN_LV60AU02 badi is available.
    Implementation name : CIN_SD_CIN_LV60AU02
    Method : EXCISE_INVOICE_CREATE
    if sy-tcode is VF01 then it creates the excise invoice. here you can add you condition.
    METHOD if_ex_sd_cin_lv60au02~excise_invoice_create.
      DATA: wa_vbrk TYPE vbrk,
            land1 TYPE t001-land1,
            vbrk TYPE TABLE OF  vbrkvb,
            vbrp TYPE TABLE OF  vbrpvb,
            komv TYPE TABLE OF  komv.
      vbrk = xvbrk[].
      vbrp = xvbrp[].
      komv  = xkomv[].
      READ TABLE vbrk INTO wa_vbrk INDEX 1.
      CALL FUNCTION 'J_1BSA_COMPONENT_ACTIVE'
           EXPORTING
                bukrs                = wa_vbrk-bukrs
                component            = 'IN'
           exceptions
                component_not_active = 1
                OTHERS               = 2.
      IF sy-subrc = 0.
    You can add condition here.
        IF sy-tcode = 'VF01'.
          CALL FUNCTION 'J_1I4A_CREATE_SD_INVOICE'
               TABLES
                    yvbrk = vbrk
                    yvbrp = vbrp
                    ykomv = komv.
        ENDIF.
      ENDIF.
    ENDMETHOD.
    Thanks & Regards
    Siromani

  • Enhancement VA01 VL01n VF01

    Hi Experts,
    I have added three custom fields ( pack size, No of Packs, Packing type)
    into Order Creation ie VA01. data is also updating.
    Now i need to update the same fieds in VL01N & VF01 (Delevery and Billing)
    but the data should come automaticaly display from sales orded data which is stored in table VBAP
    So plz tell me the Screen Exits for both and the Exit to display the data on it by default.
    Or is there any BADI for these please suggest me.
    Thanks,
    D Tarun Kumar
    Edited by: Devalla T Kumar on Apr 4, 2009 7:44 AM

    BADI for VL01n ...
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing
    BADI for VF01..
    SD_CIN_LV60AU02                         BADI for billing
    VOR_WA_FAKTURA                          Billing before Goods Issue

  • What are the User Exit Available after saving a Billing Documents

    Hi,
    What are the User Exit Available after saving a Billing Documents
    Regrds,
    Binayak

    Hi
    Check the following Exits for VF01 Tcode
    V61A0001                                Customer enhancement: Pricing
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    SDVFX010                                User exit item table for the customer lines
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    Business Add-in
    SD_CIN_LV60AU02                         BADI for billing
    VOR_WA_FAKTURA                          Billing before Goods Issue
    Reward points if useful
    Regards
    Anji

  • VF01 user exits

    I want to make a VF01 the transection for create Billing document
    When user clicks on save button automatic clearing entry shold be done
    that all the logic i understood
    but the probel is when i debug the vf01 when to execute my user exits and i dont know the exact user exit
    i m new to it
    how to do it..
    pls help me on this ....

    Hi,
    Go thru these..
    Enhancement
    SDVFX009                                Billing doc. processing KIDONO (payment reference numbe
    SDVFX010                                User exit item table for the customer lines
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    V05I0001                                User exits for billing index
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedu
    V60A0001                                Customer functions in the billing document
    V60P0001                                Data provision for additional fields for display in lis
    V61A0001                                Customer enhancement: Pricing
    SDVFX001                                User exit header line in delivery to accounting
    SDVFX002                                User exit for A/R line (transfer to accounting)
    SDVFX003                                User exit: Cash clearing (transfer to accounting)
    SDVFX004                                User exit: G/L line (transfer to accounting)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit: Tax line (transfer to accounting)
    SDVFX005                                User exit: Reserves (transfer to accounting)
    Business Add-in
    SD_CIN_LV60AU02                         BADI for billing

  • Screen-exit for VF01 version 4.6C

    Hi
    Is there any screen-exit available for VF01 in version 4.6C.
    Regards,
    Sam.

    Hi,
    I am not sure, whether exists aScreen exit for Billing.
    Other user Exits for billing are:
    V61A0001                     Customer enhancement: Pricing
    V60P0001                     Data provision for additional fields for display in lists
    V60A0001                     Customer functions in the billing document
    V05N0001                    User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                      User exits for billing index
    SDVFX011                    Userexit for the komkcv- and kompcv-structures
    SDVFX010                     User exit item table for the customer lines
    SDVFX009              Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007             User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    Business Add-in
    SD_CIN_LV60AU02                         BADI for billing
    VOR_WA_FAKTURA                       Billing before Goods Issue
    regards,
    Anji

Maybe you are looking for

  • Premiere Elements 12- Can't open the application

    When I attempt to open the newl;y installed Adobe Premiere Elements 12 I get the following error message "The application was unable to start correctly (0xc000007b).  Click OK to close the application"

  • Configurin​g 1126/1327 in DAQmx

    Hi All, I'm having some difficulty findin the right combination of settings, hardware and software, to configure an SCXI-1327 to work with a SCXI-1126 for making frequency measurements of a speed sensor signal. The sensor's signal is a high going low

  • ?? Cannot Fill Form

    I received a form from Shell USA for compensation. The form is fillable: the security setting tells me that it is allowable to fill. The pointer can be directed to fillable fields, but I cannot type anything.I tried many diffeernt methods in vain. I

  • Run-time error '13':  Type mismatch

    There are A and B excel files. And two different POV-dimension in two excel files VBA code below: Dim vtGrid As Variant Dim vtDimNames As Variant Dim vtPOVNames As Variant x = HypRetrieve("sheet1") x = HypUseLinkMacro(True) Range("b10").Select x = Hy

  • Purchase in-App

    Hi.        I have meet some problem when I tried to buy an in-App purchase on my Ipad. It always said that:"your purchase cannot be completed". I'm sure that my credit card information and the billing address are all correct, and I don't konw why it