BAPI for creation of Credit Note with custom pricing condition

I need to create a Credit Note with reference Invoice via program.  So, I am planning to use BAPI. Could you please suggest appropriate BAPI?  I need to send a pricing condition that is set manually in the credit note as well.  So, I will needto pass pricing condition and value.  Thanks.

Hello,
Why you have to create the credit note using BAPI w.r.t. invoice ? Can you brief the senario .
The simple way is create a credit memo request in VA01 w.r.t. invoice number. It will have the block . Remove the block and Create credit memo in VF01 .
Thanks
RK

Similar Messages

  • Auto-clear  only credit note with  customer invoice (not receipts)

    Hi all,
    I have a query in regards to auto clearing. Program SAPF124.
    Is it possible to run the program that will clear only credit notes against invoices, and not receipts!
    Thanks a million.
    Regards
    Tonia

    If you have different document type and different number ranges for credit notes and payments, restrict the selection by document number ranges  e.g from 1900001 to 1999999.
    Regards,

  • BAPI for creation of Production Order with Ref to sales order

    Hi all,
    we are using BAPI_PRODORD_CREATE  for creating Production Order with ref to sales order.
    As per the Business Scenario, we are not creating any masters like BOM and Routing, instead
    we are creating Routing directly into the Production Order under operation overview screen.
    during creation of routing system is generating a default operation.
    the following is the error results after running the Bapi.
    "No routing selected"
    Best Regards.
    GTNRNR.

    Hi GTNRNR,
    with out creation of BOM you created routing and in routing for the operations which components did you allocated so that can be used to manufacture the final product. Can you be please specific?
    Regards,
    Madhu.G

  • Adding Credit Notes with reference to Invoice

    Hi Experts,
    B1 Version: 2007
    PL: 41
    Im having a difficulty posting a CreditNote with reference to an Invoice. For example I have an Invoice with 3 line items, and this customer returned 1 material. How do I post this Credit Note with only 1 material with reference to this Invoice thru DI API?
    Thanks

    Hi
    Try this
                    Dim oCreditNotes As SAPbobsCOM.Documents
                    Dim RetVal As Integer
                    Dim ErrCode As Long
                    Dim ErrMsg As String = String.Empty
                    Try
                        oInvoices = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
                        oCreditNotes = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oCreditNotes)
                        'Set the document header fields properties
                        oCreditNotes.HandWritten = BoYesNoEnum.tNO
                        oCreditNotes.CardCode = "cardcode"
                        oCreditNotes.CardName = "cardname"
                        oCreditNotes.DocDate = "date"
                        oCreditNotes.Lines.BaseEntry = "oInvoice DocEntry"
                        oCreditNotes.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oInvoices
                        oCreditNotes.Lines.BaseLine = 0 'first line
                        oCreditNotes.Lines.Add()
                        oCreditNotes.Lines.BaseEntry = "oInvoice DocEntry"
                        oCreditNotes.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oInvoices
                        oCreditNotes.Lines.BaseLine = 1 'Second line
                        RetVal = oCreditNotes.Add()
                        If RetVal = 0 Then
                            MsgBox("Credit memo created")
                        Else
                            B1Connections.diCompany.GetLastError(ErrCode, ErrMsg)
                            MsgBox(ErrCode.ToString + ErrMsg)
                        End If
    Hope this helps
    Regards
    Arun

  • Custom Pricing Conditions not working for a PO in SRM

    Hi Experts,
    We are on SRM 5.0, ECC 6.0 , Extended Classic Scenario.
    We configured the pricing conditions in SRM . We defined the our custom pricing condition types as below
    Condition type      ---  Condition Class       ---  Calculation Type
    Frieght(%)            ---       Prices                ---      Percentage
    Frieght Value       ---        Prices                ---  Fixed Amount
    We also defined the Calculation Schema.
    But when we try to define the pricing conditions in SRM during PO creation\change , the standard pricing condition types work but when we input the above defined custom pricing condition type, the value entered gets cleared. Pricing Overview is not calculating the values of the custom Pricing condition types.
    Please assist as where i have gone wrong. Do I need to run any standard report for pricing or do i have to implement any BADI.
    Thanks,
    Addy.

    Hi Sanjeev,
    I have run SM52 and VMC is active with 4 VM's .
    Please suggest.
    Thanks,
    Addy.
    Edited by: Addy1209 on Nov 18, 2010 4:28 PM

  • Automatic clearing of credit note with its billing document

    Hi all,
    I have a problem during the "release to accounting" of an SD credit note.
    The real problem is about the automatic clearing of the credit note with the billing document that it refers.
    I have only one clearing criteria in customizing on the field ZUONR (assignment number), and the credit note have the right value (the number of the billing document).
    The SD billing document and its FI document have the same number, and the credit note too.
    When the credit note is passed to FI (release to accounting automatically), the user wants that it is also cleared.
    How can I do it? Can I do it?
    Thanks in advance
    Alessandra

    Does it work now if you run it?
    If not you need to run the clearing in test mode and see how it proposes to do the clearing?
    Are you saying you have a billing doc for say 100 Euro and a credit for 100 Euro.
    Both the credit and the billing doc have the same value in the assignment field and f.13 for account type "D" is just set to clear against ZUONR.
    If that is the case it should work, however check for small things like discount being due on the billing document and not the credit note and therefore the net amount of the billing document may be less than the credit note.
    Please award points if this is useful.

  • Bapi for creation of a contract against services.

    Hi.
    i just want to know the correct bapi for creation of contracts against services..here i was tried with BAPI_CONTRACT_CREATE but the documentation says that it is not supported for exxternal or internal services.
    so iam not sure if this bapi is the one for contract creation for services.
    any way i was tried to test this function module but i havent got  Contract created.
    wil be waiting for an excellent answer.
    bye.
    reegards.
    seetaram.

    Hi Ram,
    Try the function module
    BAPI_CONTRACT_CREATEFROMDATA.
    Once you create the contract, update the technical objects for the contracts
    using two function modules called one after another.
    IWOL_WV_ADD_OBJECTS
    IWOL_WV_POST_OBJECT_LIST
    Regards,
    Chandra Sekhar

  • Credit note from a credit memo with reference - Pricing

    Hi Gurus,
    I have created a Credit Memo (CR) with reference to an invoice (F2). The pricing procedure in the F2 is copied to CR, following the copy control defined. (what I expected).
    However, when creating the credit note (G2), the pricing procedure selected is the one defined for credit notes, and not the one in the credit memo. (I didn't expect this).
    I have this config. in the system:
    - XD03: Cust.Pricing Proced: "1"
    - VOV8: Docum.Pricing Proced: "P"
    - OVKK: for the combination of Sales ORgDCH"P"+"1" --> pricing procedure is ZPROAC  (this is pricing procedure for G2.
    The pricing procedure in the Credit Memo (CR) is ZNETO1.
    Copy control config is the following:
    - VTFA:  G2 - CR.
    Copy requirements at header level: 001
    At item cat. (G2N): copy requirement: 002 Item/order-related; Data VBRK/VBRP: 002 Ord-rel.credit memo
    Pricing type: G
    Could you provide any comments here?
    Thanks
    Julian

    Dear Julian,
    First of all Copy control does not controls the copying of pricing procedure from one doc to another.
    Pricing procedure will be same as per your pricing procedure determination.
    It controls the copying of values for particular condition types from one doc to another.
    I have created a Credit Memo (CR) with reference to an invoice (F2). The pricing procedure in the F2 is copied to CR, following the copy control defined. (what I expected).
    In this case I think Pricing procedure defined for both doc types F2 and CR is same, thats why all the pricing is copied as it is to CR.
    if they are not same but all the condition types which are there in pricing poc. of F2 are also in pricing proc. of CR then pricing values will be copied without any change. (Still sequence of condition types in pricing proc. can make diff.)
    pricing procedure is ZPROAC (this is pricing procedure for G2.
    The pricing procedure in the Credit Memo (CR) is ZNETO1
    Since the pricing procedure is different for both doc types, There could be some condition type which are there in ZNETO1 but not in ZPROAC.
    Which ever condition types are common will be copied.
    I will suggest you to keep pricing procedure same for both the doc types CR and G2.
    Or atleast all condition types of ZNETO1 should be there in ZPROAC in appropriate sequence. (ZPROAC can have addition condition types as per your requirement.)
    Regards
    Mayank

  • Credit note with invoice reference are not concatenate in F110

    When I create a credit note with invoice reference by VA01, the fields payment term,  Baseline date for due date calculation, Assignment and Payment method are copied correctly from invoice to credit note, but in FI document the field invoice ref.  'BSEG-REBZG' is not filled. So when I run the transaction F110 Automathic Payment (for Italy) the invoice is rigthly payed but the credit not is included into Exceptions with the note 'No pymt possible because items with a credit bal.still exist'. If I put in the field 'BSEG-REBZG'  the reference to  the invoice, the one and credit note are concatenated and I have a rigth parzial payment.
    There is a way to have this link when I post the Fi document by vf01-vf02 without putting it manually using FB03?
    Thank you in advance
    Gianluca.

    hiii
    please refer thi link reconciliation in 2005
    https://websmp208.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000789632007E
    i would suggest you to upgrade your version, as reconciliation is very easy in higher versions
    please refer sap note no 1051038.
    Thanks
    Rizz
    Edited by: Mohammed Riyaz on Apr 24, 2009 4:01 PM

  • BAPI for Creation of inspection lot

    I have two scenario:-
    1.Can any body help to find BAPI for creation of Inspection lot for the material under PO envisaged for PDI.
    2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
    My objective is to creation inspection lot without assigning Inspection type of Z01SI01 or Z01SI02 and so on in the material code under a respective Plant 1004 or 1005 0r 1006 so on.
    In my Z Development for creation of inspection lot BDC is run for QA01 as this code created inspection lot on when material code has inspection type Z01SI01 i.e. location of source inspection and vendr code particular classification under 010 vendor class inspection type Z01SI01. System search both the inspection type for both material and vendor then create inspection lot in QALS table by assiging inspection matching inspection on the lot.
    I want to get rid of assignment of inspection on the materilal. If any BAPI or FM is avalable for creation of inspection without assigning inspection type on material code. I want to create inspection lot in which Inpsection type assignment can be done based on vendor class only.
    YPB

    2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
    I am very sure that this is not possible.You can not create inspection lot without inspection lot origin or inspection type.
    Regards
    Sujit

  • FM/BAPI for creating the credit memo request for Vendor

    Hi Experts,
        I need an RFC/BAPI,  for creating the credit memo request for Vendor.
    Thanks in Advance,
    Kiruba.R

    Hi,
    Use this BAPI 'BAPI_DRMCREDITMEMOREQ_CREATE' - Credit Memo Request Creation
    Regards,
    Jyothi CH.

  • Wrong taxes while issueing credit note to customer

    Hi,
    We are using FB75 to create credit note to customer as we charged excess amount in original service tax bill through oversight.
    Invoice details are as below.
    Basic Cost              1,75,000.00
    Service tax 10.3% -  18,025.00
    Total                        1,93.025.00
    But in credit note service tax is calculated at 16% even though we are using same tax code as per original invoice.
    Kindly help.
    With Best Regards,
    Rajkumar

    Dear Rajkumr,
    This may be caused due to configuration change after the original invoice and before the credit note posting. Please check the configuration (specially tax rate) in FTXP transaction.
    Thanks!!!
    Murlidhar Khatri

  • Creation of credit notes without affecting the stock on FI side.

    Hello,
    We would like to know about the procedure to follow to create credit notes without affecting the stock.
    For instance a credit note has to be made because the invoice pricing was not correct (discount not taken into account,etc...). We want to issue a credit note for the customer in value (not in quantity) refering to this invoice.
    How to process? Is it supposed to be through a FI transaction?
    Thanks and Regards,
    Rajesh Kumar Mantri

    Dear,
    Use transction FB70 and select Credit Memo in transaction and pass the entry and mention the invoice numner in field Inv. Ref. under payment tab..
    Regards,
    Chintan Joshi

  • BAPI for Creation of Maintenance Plan (TCode - IP01)

    Hello
    Kindly help me with the BAPI for Creation of Maintenance Plan (TCode - IP01)
    Thanks and Regards
    Avishek

    Hi
       Check Tcode: IBIP. and LSMW method and below link it may be helpful.
    [link|Re: LSMW for uploading equipment.]
    Thanks,
    Asit Purbey.

  • Find a bapi for Creates a Goods Receipt with correspond to Inbound Delivery

    hi expert!
    exist a bapi for tcode:MIGO_GR ( Goods Receipt with correspond to Inbound Delivery)
    i know one bapI  BAPI_GOODSMVT_CREATE can Creates a Goods Receipt,
      but i can't know to use it to Creates a Goods Receipt with correspond to Inbound Delivery.
    or other bapi exist for MIGO_GR?
    Best Regard!

    Hi Vatcan,
    Chek the Inbound Delivery 1st weather you refer the right PO in it
    You can also chek in  PO i
    1 Me23n Go to confirmation tab here you can see the  Inbound delivery  quantity
    2 Chek  which reference document you recived the goods,  (i.e You recived the goods with reference to PO or  Inbound delivery)
    2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
    And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods

Maybe you are looking for

  • Voice mail on iPhone 4 vs 3GS

    My old iPhone used to show the messages graphically in the VM tab and I could listen and delete them there.  I never had to dial into my carrier (ATT) and punch the buttons.  on my 4 I have to call is there a setting I'm missing somewhere to get the

  • Staticky Patches on screen

    Anyone know what's wrong with my computer? Every once in a while the display will get these patches of distortion and sometimes won't refresh until the cursor moves over the area. Any help is appreciated, thanks!

  • Closing External Window

    Hi, I want to close an external window (an external running application, such as InfoConnect, or NotePad etc) using a simple java program. Is it possible? What is the command to close an external window? And how do I know which window to close? For e

  • Java - USB I/O

    Hello, I have problems with the running of my USB app.  I get a error of "Exception in thread "main" javax.usb.UsbException: Properties file javax.usb.properties not found."... Well, I have killed Google with this error, but still no luck. This is th

  • Remove labview 2009 without using add/remove program

    Hi all, I have problem with removing LabVIEW 2009. I have deleted some folders in C drive, NI folder. Now I can't run my LabVIEW 2009 and it doesn't show up in my add/remove program list. I tried to delete all folder and files in C drive under NI fol