Creating Debit memo with running sequence

HI ,
I am creating steel surch debit memo from my report (VA01 Transaction order type zdr1),there is one condition if net value GE selection screen  value only that time i should commit the sales order,Now if condition is not matching BAPI_SALESDOCU_CREATEFROMDATA generating salesdocument and i am  skipping  BAPI_TRANSACTION_COMMIT ,now if i run my report again and this time condition satisfied it is generating sales document with other number in a running sequence(Ex 123 sales document not satisfied the condition i didi'nt do the transaction commit,next time again i run bapi it is creating sales documnet 124,but it should create with 123 because i have not done commit),else
is there any way  that i can  calculate the net value with respect to all billing documentd with condition type and condition value before calling the BAPI_SALESDOCU_CREATEFROMDATA

Hi,
V will populate the fields from the Customer master data, but I want to populate from the original document that our Debit memo is created with reference to.
Thanks a lot for your answer.
Desimira

Similar Messages

  • How to create Debit Memo in SAP.

    Hi Experts !
    We wanted to create a debit memo even after closing a purchase order i.e. payment is made to vendor.These debit memos are mainly related with pricing differences and overshooted logistics cost. We can make use of Subsequent cr/dr function, but it requires an invoice/credit memo from vendor and we can enter this as subsequent credit/debit. But in our case we need to send a debit note to the vendor. Remember it has to affect A/P and Cost accounts in this transaction.  I request  you to kindly help me in this regard.

    hai chalam,
    you can create a debit memo to the vendor after closing the po also.
    Under Financial Management --> you will find create credit memo in that you will find document type for debit memo, enter document type,  like that u can create debit memo
    if vendor is one time vendor he will returns the amount as per debit memo,  or if he is a regular vendor it will be converted as down payments or amount will be reduced in the next invoice.
    hope this will help You.
    with regards
    srinivas

  • Facing issues while creating Debit memo using FM SD_SALESDOCUMENT_CREATE.

    Hello,
               While  trying to create a debit memo with reference to a Billing document with help of Fm SD_SALESDOCUMENT_CREATE I'm facing two issues.
    1. While the Debit memo is succesfully created - and VBELN of VBAK is getting updated- the doc flow table VBFA is not getting updated with the debit memo number.
    2. The condition price values that're being displayed in the Debit memo are completely different from the ones that I'm passing in the FM.
    My FM i/p is as follows:
    SALES_HEADER_IN- REFOBJTYPE -ZSB1
                                     REFOBJKEY - billing doc num
                                    DOC_TYPE - ZDRM
    LOGIC_SWITCH-COND_HANDL
    SALES_ITEMS_IN - Item details like material, quantity, UoM, etc.
    SALES_CONDITIONS_IN-ITM_NUMBER - Condition item no ( taked from T-code V/08)
                                            COND_COUNT - Cond count (  " )
                                            COND_TYPE - Condition type
                                            COND_VALUE - value
                                            CURRENCY - currency
                                            CONDVALUE - value
                                            CURRENCY_2 - currency
    SALES_CONDITIONS_INX -ITM_NUMBER - Cond item number ( same as above)
                                               COND_ST_NO      same as above
                                               COND_COUNT     same as above
                                               COND_TYPE       same as above
                                               COND_VALUE - X
                                               CURRENCY - X
    Please help me overcome this issue.

    Hello,
               While  trying to create a debit memo with reference to a Billing document with help of Fm SD_SALESDOCUMENT_CREATE I'm facing two issues.
    1. While the Debit memo is succesfully created - and VBELN of VBAK is getting updated- the doc flow table VBFA is not getting updated with the debit memo number.
    2. The condition price values that're being displayed in the Debit memo are completely different from the ones that I'm passing in the FM.
    My FM i/p is as follows:
    SALES_HEADER_IN- REFOBJTYPE -ZSB1
                                     REFOBJKEY - billing doc num
                                    DOC_TYPE - ZDRM
    LOGIC_SWITCH-COND_HANDL
    SALES_ITEMS_IN - Item details like material, quantity, UoM, etc.
    SALES_CONDITIONS_IN-ITM_NUMBER - Condition item no ( taked from T-code V/08)
                                            COND_COUNT - Cond count (  " )
                                            COND_TYPE - Condition type
                                            COND_VALUE - value
                                            CURRENCY - currency
                                            CONDVALUE - value
                                            CURRENCY_2 - currency
    SALES_CONDITIONS_INX -ITM_NUMBER - Cond item number ( same as above)
                                               COND_ST_NO      same as above
                                               COND_COUNT     same as above
                                               COND_TYPE       same as above
                                               COND_VALUE - X
                                               CURRENCY - X
    Please help me overcome this issue.

  • Creation of  debit memo with reference to an old debit or credit memo

    Hello all
    can you please let me know how can we create a debit memo with reference to an old debit or credit memo.
    If there is any other way to handle this type of transaction with out a sales order also provide me the transaction code also
    Regards
    RS
    Edited by: ravi shankar on Jan 22, 2008 2:00 PM

    Hi,
    You cannot create a new debit/credit. memo with reference to an old debit/credit memo. You can create a new one with reference only with the invoice.
    what you can do is cancel the old deibit/credit memo by VF11 & create a new one with reference to invoice.
    Regards,
    Amol

  • Report to view SO-Invoice-Credit Memo-Debit Memo-with/ without reference

    Hello Gurus,
    Can any one help me for viewing the report where i can see Sales Order Invoice ,Credit Memo & Debit Memo with/without reference .
    We are creating Credit Memo & Debit Memo without reference but uses the same Purchase Order Nos .
    Please guide me on this...
    Thanks.
    Sameer S Barde

    hi
    u can use the standard t-code vf05n to see the list with reference to the document type...
    do revert if question is not answered..
    regards
    Chander

  • Debit memo with invoice reference

    Hi dear all,
    Please help me with the following situation. I am creating a billing document - Debit memo- with reference to an other docuemnt - Invoice. However, in the accounting document the nvoice reference is not filled and all the data are not copied - terms of payment and baseline date.
    This isn't the case for the Credit memo, when I create a Billing docuemnt - Credit memo- with reference, the invoice reference in the accounting document is filled and all the data are copied - terms of payment and baseline date.
    Please help me with advice how can I activate the invoice reference to be copied also for Debit memo.
    Thank you,
    Desimira

    Hi,
    V will populate the fields from the Customer master data, but I want to populate from the original document that our Debit memo is created with reference to.
    Thanks a lot for your answer.
    Desimira

  • Creating Debit Memo before return of goods

    Hello,
    Is it possible to create debit memo for the goods first and then return goods to the supplier?
    Regards,
    Rashita Pitafi

    Sorry but I was on vacation
    I know is too late for this reply but the answer is No, the maximum synchronization occurred when self billing (payment on receipt) is turned on; with this setup, once store person receive the supplier shipment, the system generate invoice in payables, and in case of return, you will be able to check the "Create Debit Memo" checkbox in return form to auto create DM upon completing the return to supplier (RTS) transaction.
    Please notice that even with self billing is enabled, DM is only created after/at RTS transaction and this is sound practice; since you should not reduce your liability to supplier as long as his goods are still owned by you
    Regards

  • Create Debit Memo using ORDERS05

    Hello
    I need to create debit memo using ORDERS05 & INPUT_IDOC_ORDERS. I was able to post a debit memo but was not able to send all the needed data through ORDERS05. Is there another basic type/function module that anyone knows through which debit memos gets created?

    Hell all,
    I am having the exact same problem. I have to populate vbkd-sdabw ( special processing indicators )in the sales order via orders05 Idoc. And I have checked all the Idoc segments. None of the segments are working to hold the value for this particular field. Please let me know if this should be a user exit. But this seems pretty standard and I think all the companies use this field. I was wondering why sap will not have a segment for that in the Idoc.

  • Rebate Agreements: Create Debit memo.

    Hi All,
    Is it possible to create a debit memo using the rebate agreement functionality (transaction VBO2)?
    We are only able to create manual payments that generates credit memos, but we need to post a debit memo due to an overpayment made to the customer.
    Can you guys let me know if this is possible?
    Thanks in advance to all.
    Regards,
    Pedro Sousa

    Hi Pedro,
    In the standard R/3 functionality it is not foreseen to create debit memo requests for rebate agreements. In the standard rebate
    process credit memos will be created !
    The document type used in final settlement is customized in the field 'Order type for final settlement credit memo request'
    T6B1-AUART_B1 which can be changed via VB(2, no matter whether the value positive or negative is.
    Also refer subdivision of note-75778.
    Thanks,
    Alex

  • Is there any BAPI for creating Debit memo request

    Hi all,
    I used BAPI_ACC_BILLING_POST ,but it does not seems to help me.Is there any other BAPI for creating Debit memo request which takes.
    Thanks and regards,
    Meena.

    hi,
    I could find the following
    Exit Name           Description
    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 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
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Regards,
    Manish

  • 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

  • How to create debit memo in SAP R/3

    Hi Experts !
    We wanted to create a debit memo even after closing a purchase order i.e. payment is made to vendor.These debit memos are mainly related with pricing differences and overshooted logistics cost. We can make use of Subsequent cr/dr function, but it requires an invoice/credit memo from vendor and we can enter this as subsequent credit/debit. But in our case we need to send a debit note to the vendor. Remember it has to affect A/P and Cost accounts in this transaction.  I request  you to kindly help me in this regard.

    Hi,
    I am trying to understand your requirement; You want to pay the vendor after the PO is closed(Del Comp;Inv recieved & Payment done). The payment has to be done because of Pricing diff/overshooted logistics.Did you receive a revised invoice for this? How this is reflected in the system?
    Warm Regards
    Anup Varghese

  • Short Dump in VF01 while creating debit memo

    Hi,
    we are trying to create the debit memo in tcode VF01,while saving the doc it is giving dump.
    i went to  ST22 for error analysis,details are "COMMIT_IN_POSTING" error in FM RV_INVOICE_REFRESH.
    Short text
        Invalid COMMIT WORK in an update function module.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLV60A" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    the above text copied from ST22.
    before putting this thread, i have done complete analysis in SDN .
    i have searched for SAP notes.i did't got the proper one.
    KIindly can u provide any solution.
    <removed by moderator>
    Regards,
    Manjunath
    Edited by: Thomas Zloch on Dec 2, 2011 2:39 PM

    Is the debit memo triggering an output type?
    I saw similar thing long back and I remember it was caused by a output type with a print program that was doing an illegal COMMIT WORK. Actually sometimes there may be a function call inside the program attached with the output type that may be doing a COMMIT which is not directly apparent.
    COMMIT WORK causes runtime error when it occurs in functions called in UPDATE TASK or forms called with ON COMMIT.
    Try disabling / deleting the output type (Vf01 -> Goto -> Header -> Output) proposed and then save the debit memo and see if this error goes away. You can also try select the output type and click further data and set dispatch time to '1' (send with periodically scheduled job to avoid this issue.
    Check threads with people facing similar issues because of commit in output type programs
    Send Immeditely causes COMMIT_IN_POSTING
    Need input for error caused while trggering a output type
    COMMIT_IN_POSTING
    COMMIT_WORK in FM, SO_DOCUMENT_SEND_API1

  • Create debit memo from Contract w/ DP91

    Hi everyone,
    In the process I use, I create a sales contract with an item containing a DIP profile. I use the pricing type PR00 with the price I want.
    I don't have any price condition for PR00 for the material I use since the price will change every time I create a new contract.
    The copy control in SD \ Sales \ Maintain Copy Control for Sales document in the customizing specifies that between the contract and the debit memo, the pricing type is G (Copy pricing elements unchanged and redetermine taxes).
    But when I use TCode DP90/DP91, the price types are NOT copied to the debit memo.
    Does anyone know what I can do so that the price conditions can be copied from the contract to the debit memo when I use DP90/DP91 ?
    Any help appreciated !
    Olivier

    Hi,
    DIP settings you have to choose actual costs and line items 100%  in sources segment (Usage billing and result analysis).
    In copy controls, maintain 251-conditions in FPLA field (item).
    Regards,
    Chandra

  • How can we create credit memo with reference to INV

    Hi,
    Pls tell how can we post credit memo with reference to Invoice which is posted through SD.
    Is there any use with reference to field in T.Code FB75.
    Thanks in advance,
    Padmaja

    Hi Vijay,
    I could not found any field for Inv. reference in the Payment Tab of T.Code FB75.
    Is there any facility in SAP to create Credit Memo for a particular customer with reference to Invoice. All the details of that Invoice should get updated in the credit memo automatically.
    Thanks in advance,
    Padmaja

Maybe you are looking for

  • ITunes won't detect my iPhone 4

    I currently use a MacBook Pro with the 12.0.1 version of iTunes, however I also have an iPhone 4 and recently got an iPhone 5. In order to backup my iPhone 4 and put it onto the 5 i need to be able to sync, but iTunes won't detect my device (iPhone 4

  • How to import one Event from iPhoto?

    I discovered an Event that did not import. In Aperture Import, there is an option to show the iPhoto Browser, that allows you to select an Event or individual photos. But then what? How do you initiate the import? There seems to be no button or anyth

  • Callable statement with oracle stored procedure error

    i'm calling a stored procedure in java with the following code. However i constantly recieve this error so what is going on please HELP Parameter Type Conflict: sqlType=2006 my call statement would be this: call Statement = {call getUserByLogin(?,?,?

  • Is there any way to monitor CPU temp without Dual Core Center

    I hate Dual Core Center it has done nothing but lock my system up is there any alteranative to monitor CPU temp/Fan speed

  • Email Signature in iPhone4

    Dear All, I have an inquiry concerning mail in iPhone4. if i have more than email in my iPhone4, Is there a way to have more than one signature? so i can have a signature for every email in my iPhone. Thanks for your help, Best Regards, Boudy,,,