Credit Memo using BAPI_SLSTRANSACT_CREATEMULTI

Hi All,
Is it possible to create a credit memo using FM BAPI_SLSTRANSACT_CREATEMULTI? If possible, please let me know which of the table parameters need to be populated.
Regards,
Vinny

Hi Vinay,
It is possible create a Credit memo using BAPI_SLSTRANSACT_CREATEMULTI.
Pleae look at the FM CMS_1O_CREATE_SINGLE_GEN which as used the above bapi to create a Credit Memo and also you can see which all paramters are required.
Best Regards,
Kiran

Similar Messages

  • How to change the Quantity in the Credit Memo using BAPI

    Hi All,
    I have a requirement in which i need to change the Quantity Value field available in the Credit Memo using BAPI.
    Can anyone help me out to get any available BAPI to perform this action or any Solution to change the Quantity in the Credit Memo ?.
    Regards,
    Muruganand.K

    Hi,
    Try using BAPI_SALESORDER_CHANGE.
    DATA: s_order_header_in LIKE bapisdh1.
    DATA: s_order_header_inx LIKE bapisdh1x.
    DATA: BEGIN OF i_order_item_in OCCURS 0.
    INCLUDE STRUCTURE bapisditm.
    DATA: END OF i_order_item_in.
    DATA: BEGIN OF i_order_item_inx OCCURS 0.
    INCLUDE STRUCTURE bapisditmx.
    DATA: END OF i_order_item_inx.
    DATA: BEGIN OF it_return OCCURS 0.
    INCLUDE STRUCTURE bapiret2.
    DATA: END OF it_return.
    DATA: BEGIN OF i_sched OCCURS 10.
    INCLUDE STRUCTURE bapischdl.
    DATA: END OF i_sched.
    DATA: BEGIN OF i_schedx OCCURS 10.
    INCLUDE STRUCTURE bapischdlx.
    DATA: END OF i_schedx.
    s_order_header_inx-updateflag = 'U'.
    i_order_item_in-itm_number = vbap-posnr.
    i_order_item_in-TARGET_QTY = rv45a-zzqty.
    i_order_item_inx-updateflag = 'U'.
    i_order_item_inx-itm_number = vbap-posnr.
    i_order_item_inx-TARGET_QTY = 'X'.
    APPEND: i_order_item_in, i_order_item_inx.
    i_sched-itm_number = vbap-posnr.
    i_sched-sched_line = '0002'.
    i_sched-req_qty = rv45a-zzqty.
    APPEND i_sched.
    i_schedx-itm_number = vbap-posnr.
    i_schedx-sched_line = '0002'.
    i_schedx-updateflag = 'U'.
    i_schedx-req_qty = 'X'.
    APPEND i_schedx.
    IF sy-subrc = 0.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = xvbap-vbeln
    order_header_in = s_order_header_in
    order_header_inx = s_order_header_inx
    behave_when_error = 'P'
    TABLES
    return = it_return
    order_item_in = i_order_item_in
    order_item_inx = i_order_item_inx
    schedule_lines = i_sched
    schedule_linesx = i_schedx.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.
    Change the fields as per your logic before populating orders item and schedule line data.
    You have to pass the quantity in schedule line items as well in case you want to change quanity in order.
    KR Jaideep,
    Edited by: Jaideep Sharma on Jun 22, 2009 7:35 PM

  • Create Credit Memo using B1if

    Hello Experts,
    Have anyone tried to create service Credit Memo using B1if when an AP Invoice is posted by a user for a specific vendor? or Any similar scenario?
    I am new to B1if , looking into the recordings now. Can anyone advise steps or process to acheive this ?

    Hi,
    Please refer below link where PO2SO is generate, same manner you can use CM2AP.
    [https://sap.emea.pgiconnect.com/p26689556/]
    Thanks
    Kevin

  • Creating Vendor Credit Memo Using BAPI  BAPI_ACC_DOCUMENT_POST

    Hi,
    I want to create a vendor credit memo using the bapi BAPI_ACC_DOCUMENT_POST but with posting keys as 21 and 50.Is it possible to do so.I tested the bapi passing the data to the accountgl table.Do i have to pass data to another table ?

    hi Eric,
    I even tried passing the data to the accounts receivable and accounts payable tables passing the GL account no in these tables.Still teh document get posted with keys 40 and 50.Also the credit entries should be assigned to COPA segment of sales order/item.
    The vendor credit memo should look as follows look as follows:
    Dr Vendor (PK = 21) $ 35,000
    Cr Freight expense account (PK = 50) $ 10,000……….assigned to COPA segment of sales order/ item 20000397/10
    Cr Freight expense account (PK = 50) $ 5,000……….assigned to COPA segment of sales order/ item 20000397/20
    Cr Freight expense account (PK = 50) $ 20,000……….assigned to COPA segment of sales order/ item 20000398/10

  • Create Credit Memo using BAPI

    Dear All,
    I have to create credit memo using XL file.In XL file there are following fields:
    1.order type
    2.sales organization/division/distribution
    3.sold to party
    4.order refrence
    5.Material code
    6.Quantity
    7.Price.
    Is it possible to create Credit memo using BAPI?If yes then please reccomend any BAPI.
    Regards,
    AMAR

    Hi,
    { Changing the Object Status to Approve
        CALL FUNCTION 'I_CHANGE_STATUS'
          EXPORTING
            objnr          = is_vbakch-objnr
            estat_inactive = c_e0001
            estat_active   = c_e0002
          EXCEPTIONS
            cannot_update  = 1
            OTHERS         = 2.
        IF sy-subrc EQ 0.
          is_billing-salesorg = is_vbakch-vkorg.
          is_billing-distr_chan = is_vbakch-vtweg.
          is_billing-division = is_vbakch-spart.
          is_billing-doc_type = is_vbakch-auart.
          is_billing-ref_doc = is_vbakch-vbeln.
          is_billing-bill_date = sy-datum.
          is_billing-sold_to = is_vbakch-kunnr.
          is_billing-ref_doc_ca = c_x.
          APPEND is_billing TO it_billing.
        ENDIF.
      ENDLOOP.
    BAPI To create Billing for the Credit Memo.
      CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
        TABLES
          billingdatain = it_billing
          return        = it_returncg
          success       = it_bilsuccess.
    Please use these for Credit memo creation using upload .. If u want i can send the coding also ..
    Regards,
    Srinivas.

  • Credit memo using MIRO

    Hi
    My organization is doing credit memo using MIRO for both stock and non stock materials.But P&L G/L account is not getting credited with this entry.
    <b>Following are the flow of entries as per my knowledge-------</b>
    <b>1.When we receive materials(MIGO)</b>
    <b>Debit</b> -Stock(in case of stock materials) OR consumption account in case of non stock material
    <b>Credit-</b>  GR/IR Account
    <b>2.When inv verification done(MIRO)</b>
    <b>Debit</b> GR/IR Account
    <b>Credi</b>t Vendor
    <b>3.If I want to give normal credit memo I can use FV60 or MIRO</b>.
    MIRO is used in case of quantity reduction .
    If I used MIRO following is the entry happening.
    <b>Debit</b>-Vendor
    <b>Credit</b>-GR/IR Account
    During the third step G/L consumption account or stock account is not getting credited.This is resulting with unnecessary credit in GR/IR account and G/L account is not getting reversed.
    Can any one please advise whether this is the right procedure?If so why G/L account is not getting reversed?
    OR
    Do we need to post additional entry again debiting GR/IR account and crediting Stock or consumption account????
    Please advise ASAP.
    thanks
    Henfi<b></b>

    Hi,
    During credit memo, the G/L or consumption accont will not credited.
    The concerned material doc has to be reversed through migo also in MM.
    the steps is as under.
    1.  MIRO - Credit Memo
    Entries
    Dr. Vendor
    Cr. GR/IR Clearing account
    2.  MIGO - Select return delivery.
    Entries
    Dr. GR/IR Clearing account
    Cr. Inventory / consumption account.
    The GR/IR account gets nullified and the inventory or consumption account will get reduced.
    For any further queries, contact me on 9963233322
    Regards,
    Vinod S

  • AR Credit Memo using DTW

    Is there a way to import AR credit memos using DTW?  I can't find any templates in DTW for it.

    Hi,
    U will find the template in oCreditNotes>>Document and Document_Line template for importing AR credit note .
    swap

  • TO CREATE A CREDIT MEMO USING CREDIT MEMO REQUEST

    Hi,
          I have a credit memo request 60000150 and I need to create a credit memo using the above credit memo request.Can anyone suggest a BAPI or some other method to do this and also the parameters to be passed

    Hi,
          I have a credit memo request 60000150 and I need to create a credit memo using the above credit memo request.Can anyone suggest a BAPI or some other method to do this and also the parameters to be passed

  • Credit memo using BAPI

    Hi,
    In transaction VA01 we are able to create credit memo request (ZRCR order type) with order category K (credit memo). Is this possible to create this order using "BAPI_SALESORDER_CREATEFROMDAT2" and BAPI_SALESORDER_CREATEFROMDAT1 function module.?
    If we try to excute using this function module, following return message is appearing. "Unpermitted combination of business object BUS2032 and sales doc. category K". Any one please give me solution.
    Thanks in advance,
    Murali

    Hi,
    Using below FM we can create SD.
    BAPI_SALESDOCU_CREATEFROMDATA
    BAPI_SALESORDER_CREATEFROMDAT1
    BAPI_SALESORDER_CREATEFROMDAT2
    BAPI_SALESORDER_CREATEFROMDATA
    Regards
    Md.MahaboobKhan

  • Credit memo uses base document total and not balance due?

    Using SBO 2007 sp00 pl42 i have the problem that, having an AR invoice with a partial incoming payment, leaves an open balance of the invoice.
    Later i use the "copy to" function, to the credit memo, but it uses the whole original amount, and not only the balance due, leaving the credit memo with an open balance equal to that payment value, and closing only the invoice and payment.
    In SBO 2005 A sp01 the credit memo was copied with the original amount but it generated a discount matching the partial payment value, and this way automatically reconcile the 3 documents.
    you can see the details in this document:
    Thanks a lot for your help!
    http://rapidshare.com/files/189998866/credit_memo_dont_use_the_balance_due_as_total.doc.html

    Dear Carlos,
    Please check note no 1301233 to get more information on this issue.
    Regards
    Vikas Rastogi
    SAP Business One Forums Team

  • Error in Credit Memo Creation using BAPI

    Hi,
    While creating a Credit memo using the BAPI "BAPI_SALESDOCU_CREATEFROMDATA" , the following message is returned: "EVP 113Processing customer 9012041 terminated"
    This occurs only for a particular customer, while for others the BAPI works fine.
    I tried to create a Credit Memo using VA01 for the above customer. The Credit Memo got created there.
    I am not able to find out a reason for the above. Can anyone help me with this.
    Thanks in advance,
    Amit

    Hi,
    Check the dump in SM14 and see where exactly it is throiwng error..Put a break-point before that and then debug the bapi and see if ur missing anything for this customer and what is the difference between this customer and other customer data.
    Regards,
    Nagaraj

  • Creating credit memo with two positions using Bapi

    Hi all, i are creating a credit memo using BAPI_BILLINGDOC_CREATEMULTIPLE with manual price condition for each position and have a problem.
    All the positions use the last condition value of the CONDITIONDATAIN table.
    Thes is an example code used.
    t_billing-salesorg    = 'SI01'.
    t_billing-DISTR_CHAN  = '05'.       
    t_billing-DIVISION    = '01'.
    t_billing-DOC_TYPE    = p_dtype.             " ZC07 o TA
    t_billing-ORDBILLTYP  = 'ZC06'.              " ZC06 o FX
    t_billing-SOLD_TO     = p_clie.              "'0000200002'.
    t_billing-ITEM_CATEG  = 'ZG2N'.              " ZG2N o TAN
    t_billing-PLANT       = '1100'.
    t_billing-BILL_TO     = p_clie.              "'0000200002'.
    t_billing-PAYER       = p_clie.              "'0000200002'.
    t_billing-SHIP_TO     = p_clie.              "'0000200002'.
    t_billing-MATERIAL    = '0000000000300003'.
    t_billing-REQ_QTY     = p_cant.              "'1.000'.
    t_billing-item        = '1'.
    APPEND t_billing.
    t_conditions-DATA_INDEX = '1'.
    t_conditions-COND_TYPE  = 'ZCON'.
    t_conditions-COND_VALUE =  '12.0000'.
    append t_conditions.
    t_billing-salesorg    = 'SI01'.
    t_billing-DISTR_CHAN  = '05'.               
    t_billing-DIVISION    = '01'.
    t_billing-DOC_TYPE    = p_dtype.             " ZC07 o TA
    t_billing-ORDBILLTYP  = 'ZC06'.              " ZC06 o FX
    t_billing-SOLD_TO     = p_clie.              "'0000200002'.
    t_billing-ITEM_CATEG  = 'ZG2N'.              " ZG2N o TAN
    t_billing-PLANT       = '1100'.
    t_billing-BILL_TO     = p_clie.              "'0000200002'.
    t_billing-PAYER       = p_clie.              "'0000200002'.
    t_billing-SHIP_TO     = p_clie.              "'0000200002'.
    t_billing-MATERIAL    = '0000000000300004'.
    t_billing-REQ_QTY     = p_cant.              "'1.000'.
    t_billing-item        = '2'.
    APPEND t_billing.
    t_conditions-DATA_INDEX = '2'.
    t_conditions-COND_TYPE  = 'ZCON'.
    t_conditions-COND_VALUE =  '24.0000'.
    append t_conditions.
    CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
      EXPORTING
        CREATORDATAIN         = t_creator
      TABLES
        billingdatain   = t_billing
        CONDITIONDATAIN = t_conditions
        return          = t_return
        success         = t_success.
    In these example, the first position have a value of 12 and the seccond a value of 24.
    The generated document have a value of 24 for the two positions.
    Do you helpme??
    Regards
    Adrián Callejón
    Message was edited by:
            Adrian Callejon

    Thank you Jack. That's exactly what I needed to know.
    Now it works. As an example I attach some code that also uses the credit card functionality
    pos-salesorg  = 'EESP'.
    pos-distr_chan = 'ES'.
    pos-division  = 'TI'.
    pos-ref_doc    = '1'.
    pos-material  = mat10.
    pos-req_qty    = 1.
    pos-itm_number = 1.
    pos-ref_item  = 1.
    APPEND pos TO billdata.
    pos-material  = mat11.
    pos-req_qty    = 1.
    pos-itm_number = 2.
    pos-ref_item  = 2.
    APPEND pos TO billdata.
    lincond-data_index = '1'.
    lincond-cond_type  = 'PR01'.
    lincond-cond_value = '1.85'.
    lincond-cond_curr  = 'EUR'.
    APPEND lincond TO conddata.
    lincond-data_index = '2'.
    lincond-cond_type  = 'PR01'.
    lincond-cond_value = '1.70'.
    lincond-cond_curr  = 'EUR'.
    APPEND lincond TO conddata.
    lincard-cc_type    = 'VISA'.
    lincard-cc_number  = '4560000000000038'.
    lincard-cc_valid_t = sy-datum + 90.
    lincard-cc_name    = 'Pedro Pérez'.
    lincard-authamount = '1.85'.
    lincard-currency  = 'EUR'.
    lincard-auth_flag  = 'X'.
    lincard-auth_date  = sy-datum.
    lincard-cc_auth_no = 'autno10'.
    lincard-bill_value = '1.85'.
    APPEND lincard TO carddata.
    CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
    * EXPORTING
    *    CREATORDATAIN        =
    *    TESTRUN              =
    *    POSTING              =
      TABLES
        BILLINGDATAIN    = billdata
        CONDITIONDATAIN  = conddata
        CCARDDATAIN      = carddata
    *    TEXTDATAIN        =
        ERRORS            = t_errores
        RETURN            = t_bapiret
        SUCCESS          = t_success.

  • How to change Net Due Date in case of Credit Memo..

    Hi Experts,
    In our system currently when we create credit memo using tcode FB75 system makes the invoive due immediately.
    We wanted to make this net due date dependent on payment terms given by us. Please let me know how can I achieve this..
    Please let me know if there is any user exit there or the configration path to achieve this...
    Regards,
    Vidya

    This is a standard SAP functionality. Usually a credit memo is referenced to an invoice and if you don't have a reference to an invoice SAP would consider that credit memo as due immediatly.
    If you have an invoice to be referenced to this credit memo enter the invoice number in the invoice reference field in FB75 > payment tab and then enter the payment term. If you don't have an invoice reference enter V  in the invoice reference field and then the payment term, system will calculate net due date based on payment term.

  • AP-Credit Memo-Clear Vendor/Credit Memo

    Hi all, I am facing Problem during Vendor Credit memo, Clear it (F-44), and Manual Check using F-58
    Can I have different Due date For Vendor Credit memo , as I can see we have different Payment terms in Master data but whenever I post it gives the Due date as Immediate but if I see Open item report it says not Due and shows the Payment terms and the net due dates. Is this Normal?
    I would like to clear the credit memo using the F-44 with reference to another open line item but system says Difference is too large for clearing.
    The third thing I am trying to issue manual check I gave details, as per "J03_AP_CreditMemo_BPP_EN_US", when I hit Process open Items "system is not allowing to post document getting error "Select a valid function"".
    Any Ideas How to deal with the above 3 situations?
    Sandhya.

    Hi,
    To answer few queries,
    Data can be entered in the field for the terms of payment key in various ways as you enter a business transaction:
    In most business transactions, the system defaults the key specified in the master record of the customer/vendor in question.
    In some transactions (for example, credit memos), however, the system does not default the key from the master record. Despite this, you can use the key from the customer/vendor master record by entering "*" in the field.
    Regardless of whether or not a key is defaulted from the master record, you can manually enter a key during document entry at:
    item level in sales orders header level in purchase orders and invoices
    F-44--clearing problem
    If the amount of open item is not equal to clearing amount you enter and the difference is not with in the tolerance limit you specify in the configuration, you will face this error. If the whole amount of open item need not be cleared, then try partial payment/residual payment  options.
    The third situation I am not clear.
    Thanks
    Aravind

  • Tax in a/p credit memo is missing?

    I create a/p credit memo by DI API. This document is reference to a/p invoice[BaseRef property] with partial quantity and tax code in document line.  Adding document was completed but total tax amount is missing.
    how to create a/p credit memo use BaseRef and partial Quantity with correct tax amount?

    Dear Buntareno,
    Could you put out your code for checking?
    Best Regards
    Jane Jing
    SAP Business One Forums team

Maybe you are looking for

  • Setting events in iCal?

    I am trying to use iCal in 10.9 in the same manner as I did in the previous operating systems.  ICal does not work the same way.  Either the new iteration of iCal has some hidden feature that I have not yet found, or it is indeed badly designed. My p

  • Facing problem to Checkin and checkout file from starteam using vba

    Hi, Im trying to checkin and checkout file in starteam through vba. I have imported the StarTeamSDK104.dll in reference in vba project and tried to accomplish my task. I am able to locate the file, but not able to checkout/checkin the file. I am not

  • Windows 8 and premiere elements 10

    I have premiere elements 10 on disk. Will not load on my new computer with windows 8. Anyone know what I can do about this. Spent hours looking for an answer, came up empty.

  • Full pallet discount

    hi, there is a standard pricing condition type KP00 for full pallet discount. I need to know where the system checks for full pallett ? how the full pallet is calculated  by system in sales order ? regds pamela

  • Applets on a tripod page

    I'm trying to get a really simple Applet to work on my lycos / tripod homepage. It doesn't seem to work. I haven't published any Applets before, so I might be missing something obvious. Can someone give me some pointers. Info: Its a single class JApp