Sales return -vat G/L account

hai gurus,
Iam here discusing about a sales return process. I have a scenario like the client sells 1000 nos of goods
,among that 10 comes as returns. i will refeer to billing document and create a sales return order now quality says among 10 nos of returns 8 can be reused again but 2 nos is fully damaged during transit.
Now i do PGR and after that when credit memo comes i will do for 8 nos and 2 nos i will do another credit memo.during the 2nos i claim to insurance account .here the price,Bed,Schess,Ecess goes to insurance claim account and the client wants the vat which he took from his client also to be gng to the insurance claim account.
As vat reverses back to the same vat g/l account.
now can any suggest me is there any way to transfer the vat amunt to another insurance claim G/L account
as per standard SAP it reverses the same vat G/L account.
tax ink is been used and vat g/l account are triggered through tax code and if necessary through table entry t030k with respect to business place
with regards

We too have same req from the client & we did in below method.
we have created new condition table in VKOA - with sales org - dist channel- item cateogry(eg:REN) -
assign this table to resp access seq - make sure , it should be in first line , out of all the other tables. ( the reason is, if system finds one condition record with any resp table, it will stop searching for other condition records).
maintian return GL account  against the above combinaiton created with this new table.
its working fine for us, ( if you dont find , Item category field, in field catelog, add this field by selecting , New entries- )
revert

Similar Messages

  • SALES RETURN WITH REFERENCE GL accounts

    Hello SAP Gurus
    when we do salesreturn with reference it will pick the same pricing procedure in returns and the accounting document in credit memo will be a reverse to same gl as in normal pricing procedure
    eg customer dr    123
         sales ac                 cr   222
         bed                        cr   333
         ecess                    cr    444
         sheces                  cr    555
         vat                         cr    666
    In returns with refernce the same entry will get reversed
    eg customer cr   123
         sales ac                 dr   222
         bed                        dr   333
         ecess                    dr    444
         sheces                  dr    555
         vat                         dr    666
    But my client requremnt is instead of sales ac 222  he wants a new sale return ac to be debited with new GL 232 but in scenario sales return with refernce its looking impossible to me
    Can any one guide me on this is there ne other way out HERE I AM ONLY ADDRESSING SALES RETURN WITH REFERENCE

    Hi - try this out -
    copy your existing pricing procedure to new one
    (eg pric proc zvva01 to zvret01)
    for zvret01, assign new gl account determination as required
    assign zret01 to billing type for returns
    try it out and see if yoiu can make it work
    cheers
    nandu

  • Accounting documents not cleared - sales return being procced

    Dear Experts,
    In sales return process, material was received by Movt.651, credit memo raised, while seeing the document flow the sales return document showing as "being processed" and Accounting documents showing as "not cleared". how to clear the  accouting document.
    J.Francis

    Hi experts,
    Withholding tax was deducted, challan was prepared by j1inchln, bank challan was updated by j1inbank, checked all details are flowing in j1inmis. while printing the tds certificate  tds-basic and ecess amounts are not appearing in the certificate. Can you suggest what could be the reason.
    J.Francis

  • Sales Return Account GL Determination

    Hi Expert,
    I cannot find any use for Sales retun Account in the GL determination.
    During AR Sales Return, only  the Inventory and OCst of Goods Sold is needed to be reverse.
    Can anyone tell me the purposed of this GL Account.
    I'm Usng 2007A.
    Regards,
    Amy

    Hi Amy,
    1.With out Sales Return account you cannot add the AR Credit memo document.
    2.Usually Sales Return account are mapped the same in Inventory account are mapped in GL Detremination.
    3.At the time of Book AR Invoice Document Inventory Account are Credited.
    4.AR credit memo booked based on the AR invoice Sales Return account are Debited.
    You map the same in Inventory Account and Sales Return Account this can be knock off.
    In some cases customer asking i want to separate GL for  the Sales Return Amount
    that time we map the sales return account in different account not Inventory account.
    *Close the thread if issue solved.
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Jul 8, 2009 8:28 AM

  • Sales Return GL account update

    Hi Gurus,
    I am using ecc 6.0. ides. I am not authorized to access OSS notes. I have searched a lot for solution. But i could not find any soluton.
    I created sales return in VA01 and sales return deliviry in VL01N. So in VL01N transaction 651 movement type is being used and no any accounting document created. I have to use 453 movement type in MB1B t.c. in order to uptade (namely reverse of cost of good sold posting) cost of good sold and materialgl accounts. In that t.c. accounting document is created but the value that is being is posted is not correct.
    How can i configure 453 movement type in order to update gl account with the material cost which is in material master in accounting segment?
    Or how can i make configurations in order to directly update cost of good sold and materials gl accounts in VL01N t.c.?
    Please with tc code reference.
    Thanks in advance.

    Hi,
    In case of Std. Sales Return the movement type which is triggered is 653.
    Please check whether your are using the standard Item category REN incase of Returns. Also check whether your Schedule line category is DN ?
    The mov.type in delivery is picked up based on your schedule line settings in VOV6 transaction.
    Please change the mov.type to 653 in the above settings & check for the corresponding scheduleline category.
    Thanks & Regards,

  • Sales Return Account Determination

    Hi,
    I have a query on revenue account determination for Sales returns.
    Is there a seperate process for the sales return revenue account determination (other than VKOA).
    I want to have a seperate revenue account for Sales return. How can this be acheived.
    Please advise.
    Thanks in Advance,
    Safi

    How you want revenue account deteminaton ?
    Seperate revenue account means what?
    you want to maintain separate G/L account for sales returns?
    if yes, then maintain the different pricing procedure with diff Acct keys, maintian the account determination will solve.
    plz clarify

  • Excise duty adjustment in case of customer sales return

    Hi Frnds,
    While my customer return the finished goods I am making sales return order ,done the PGR & make the credit note.
    Now I want to adjust the excise duty through J1IH
    In j1ih which option I have to choose <other adjustemnet> or <add. excise>
    In Add. Excise tab.  the Gl account detremine are :
    C   0013113920     115.00               CENVAT clearing
    D   0024822000     5.00               CENVAT Input SECess
    D   0024820000     100.00               CENVAT Input BED
    D   0024821000     10.00               CENVAT Input ECess
    Whereas In case of Other adjustment tab GL account determine are
    C  0024822000     5.00               CENVAT Input SECess
    C  0024820000     100.00               CENVAT Input BED
    C  0024821000     10.00               CENVAT Input ECess
    D  0013113920     115.00               CENVAT clearing
    Please suggest me which option is correct.......Other adj or Add excise tab.
    In my opinion it should be Add. Excise where Clearing account is credited.
    Please Give me the solution & logic.
    Regards
    Sunil

    Please help me

  • Sales Return from Legacy System

    Dear Expert,
    How to return back stock from sales return where those items were Customer Return that sold using legacy system before  using SAP. Now we need to put back those stock as unrestricted stock, however, we have problem here that we do not have reference documents to perform sales return in SAP.
    Best regards,
    Mahnansa

    If your intension is to take only the stock into SAP, then you can take the returned stocks directly via MB1A with movement type 292 where you can maintain the original sale order reference in the field "Doc.Header Text" which will be passed on to FI table BKPF.   Parallelly, an FI entry can also be passed to make a credit entry against that customer account.
    On the other hand, if you want to capture via a return order, then create a return order without referencing the parent billing document and follow the SD process.
    thanks
    G. Lakshmipathi

  • Incorrect SALE RETURN A/C in GL A/C Determination

    Hello All,
    We recently detected, that the Sales Return A/C has been incorrectly defined in the GL A/C Determination.
    As a result all Sales credit notes (although thankfully very few in number) have been incorrectly posted.
    After correcting the account settings, how to fix the previously posted transactions ?
    Please advise suitably.
    Regards,
    Gautam

    hi ganguly,
    Using General Ledger Report,Tick Account,Detick BP,Enter wrong sales return gl in from & to,
    Enter posting date range,In expaned selection creteria,Select Orginal Journal A/R credit memo.
    Click Ok.
    Jeyakanthan

  • Excise Entries in case of sales return

    Dear sap mites
    Can any one guide me during sales return how excise gets reversed as we would have already paid to the govt during sales how do we take input credit back
    please do explain with  GL account entries and an example if possible will be very grateful to you
    Its of high priority as i have a presentation in front of my client

    Ideal way of Excise Entries incase of return may not be cancelling Excise Invoice through J1IIN, as it may be possible that through Excise Invoice, say 10 Quantity was despatched & Return is only 2 quantity.
    The Option widely used is as under:
    Incase of Return Sales Order:
    T.Code for copy control: VTAF
    Source Document: F2
    Target Document: RE
    Item category REN
    Considering the above settings are done:
    Create return sales order RE (with Reference to Billing Document) & the data will be copied as it is in Return Sales Order - RE. For Eg: here you require to change to quantity from 10 to 2, as you want to take back into Inventory of only 2.
    Incase of Return Delivery:
    T.Code for copy control: VTLA
    Source Document: RE
    Target Document: LR
    Item category REN
    Considering the above settings are done:
    Create Return Delivery through T.Code VL01N & do PGR (Post Goods Receipt). This will add the stock to blocked stock. This will take care of Inventory.
    To address the issue of how to take Credit for Excise, use T.Code: J1IH --> other Adjustment & based on the credit to be taken, make the necessary entry.
    Incase of Credit Memo:
    T.Code for copy control: VTFA
    Source Document: RE
    Target Document: Credit Memo
    Item category G2N (Check in System)
    First in VA02, remove the Billing Block in Return Sales Order - RE & save the document. Now in T.Code: VF01, enter Return Sales Order Number & select the appropriate Billing Type (Credit Memo) & Enter& Save. This will create Credit Memo.
    Hope this helps you.
    Regards,
    Rajesh Banka
    Reward suitable points.

  • Excise duty credit in custmore sales return

    Hi Experts
    When we receive the sale return from customer we follow the below process.
    Create sales order with order type sales return
    Create return delivery. It create stock for return material.
    VF01 Accounting entry pass in customer account.
    J1IH for cenvat credit.
    My question is that can we take this cenvat with reference to VF01 document  or any other document. I don't want to do J1IH. I I get cenvat by J1IH it show excise invoice due list.
    Regards
    Parkash

    Hi Parkash,
    Please go through the below links there are lot of threads on sales returns excise capturing.
    Go through the forum rules of engagement.
    Excise duties not flowing while creating return excise invoice
    SALES RETURN J1IH
    Excise Returns
    Sales return excise invoice
    Regards,
    S.Himavanth.

  • How the sales returns will effect after rebate settlement in sap

    Dear SD Experts,
    I have a query that the Rebate settlement is done (Material Rebate) after that the sales returns has taken place and again in the credit memo the system is showing the rebate accruals.
    Can any one please suggest me how the actual postings will takes place? what changes need to be done to reverse the rebate accrual already posted.
    Thanks in advance.
    Anjan kumar

    Hi Imran
    1. The first entry should ideally happen along with the invoice posting or when you run VBOF.
    Dr. Rebate Discount
    Cr. Rebate Accrual
    This means that rebate accruals are happening. This means you are keeping a provision to pay. You are booking a liability in your books.
    2. The second entry is when you pay out to the customer.
    Dr. Rebate Accrual
    Cr. Customer
    This means you are reducing the customer balance by adjusting against the liability. Ideally this entry is passed when you do a partial settlement. If a final settlement is executed then the additional accruals if any in the account will get reversed.
    3. While taking returns the entry that you say that is happening is
    Dr. Customer
    Cr. Rebate Accrual
    This is also correct since he has returned the good, we ideally should not pass on the benefit to him. Additionally if this is happening that means the rebate is still active. When you finally settle the rebate if there is any balance in the rebate account it will get reversed. This means liability will be reversed in your books of accounts.
    Thanks
    Indranil

  • 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

  • Sales Returns

    Dear Experts,
    In one of the scenarios of Sales Return, customers raises debit memo while returning the goods, so my client makes the payment for that, in the next step if the material can be rectified he does the needed rectification and again delivers the material to the same customer with a new invoice, please suggest how to Map this.
    Regards,
    Rais Ahmed

    Hi,
    I think your client dont control returned material in the system. So u don't use return process.
    You can control returned material without system, and after rectifition you use MB1C to goods receipt rectifited material.
    Then use standard process to sell rectifited material (SO-DO-Bill)
    This is the simplest.
    In other case, u can use return processing
    All returns against sales order are effected against sales order type RE.
    1. Create a return request. (Using Sales Order in SD)
    2. Create outbound delivery according to return request.
    3. If the setting is correct in the outbound delivery screen SAP will automatically switch post goods issue button into post goods receipt. The setting is in sales order item category and delivery type.
    4. In the standard system the movement type used is 651.
    5. After post goods issues receipt is done using outbound delivery, the quantity is placed in blocked stock without value updating.
    6. You will then decide if the return quantity are indeed bad stock or not.
    7. Transfer Posting from block stock to unrestricted stock (mvt type 453), this will have accounting effect (Debit Inventory, Credit COGS)
    8. SO-DO-Bill for Sales standard process
    Rgds

  • Sales return process

    hai Gurus,
    I have a scenario of Sales return. The customer returns goods with challan.The return sales order is created for 100 nos as per the challan.
    But by physical verifcation only 90nos are there.
    90 nos are sent to QA for Inspection no QA module interface here in this scenario.
    QA will inspect and sents a manual document which  contains Ok quantity and not ok quantity(damaged).
    80 ok and 10 not ok ( for example)
    Now For 80 ok the client will do pgr and for the remaining 10nos which is not ok he will use MB1C and dump in Scrap storage location.
    Now credit memo.Here with respect to return sales order he will select manually 80 nos whre the return order conatins 100 nos and prepare a credit memo.
    Remaining 10 nos they have a scenario of claiming to insurance so he will select 10 manually l from the selection list and prepare credit memo for the customer but the price excise duties all will be claimed to insurance account.
    Now the user says that to select manually the Ok and notok quantity from the open sales return order will be difficult so he wants some information message when user does the credit memo the system should say for return order 80 nos is ok.
    The client feels that sometimes the user will wrongly select the quantities eventhough details regarding the QA information is in front of his desk.
    So please give me any suggestions hw to block the user he wrongly enter the ok quantity nos.
    Any user exit or anything please mention
    With regards

    Self Answered
    Better try to develop the habit of updating the forum as to how your issue is solved; else just click the "Answered" button.  By adding such unwanted text, it is only  bringing all your old threads to top of the forum which could have been avoided
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • I cannot print to postscript or print at all in Illustrator CS4.

    Using CS4 Illustrator and I cannot print a 388 MB file. Computer freezes or sometimes the program crashes all together. Can anyone tell me how to fix this issue? 

  • User Exit for MIR7 Simulate

    Hi all,         I need to implement a user exit for MIR7 similation . requirment is when user click on button simulate at the time of MIR7 the total amount of all line items should be displayed in popup or any small window. therefore any user is ther

  • How to add Google Search box on sharepoint master page

    SharePoint master page already has a form.  Google search box need to add another form. how to make it work. Google search box code <form action="http://..." method="GET" name="gs"> <input maxlength="256" name="q" size="25" type="text"/> <input name=

  • Is it possible to set a custom tag attribute from a TagExtraInfo?

    Hi Everyone, I'm developing my own tags and I need to set some optional attributes of my custom tag if the user doesn't do it. Is is possible to do that on the IsValid method of a TagExtraInfo class? The code is running without exceptions but is not

  • Varrays in Warehouse Builder?

    Our staging table, stored in designer, has a column which is of type varray. When we attempt to import this meta-data from designer, warehouse builder ignores those columns of type varray. Does warehouse builder support varrays? If so, how? Thank you