UoM field in A/P Credit Memo

Hello Gurus,
I'm currently using SP01 PL04.  Programmatically saved a A/P Credit Memo in draft with Base Unit=tYes, the quantity is fine but the UOM is still the purchase UoM.  Please Help...

Hello Gilbert,
Yes it is shown the UoM is still the purchase UoM you defined, but actually the UoM does not work any longer since you have chosen Base Unit=Yes.
That means when the document is submitted, the quantity in stock would decrease by 1 (if you input quantity=1), rather than decrease by 1*items/unit. You can find that from the total price in the row, or after submission from the item master data -> (find the item) -> inventory data -> in stork.
Hope that helps.
Nick

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

  • Withholding Tax all Condtion table not appearing in Rebate Credit memo

    Hi
    I am finding issue in rebate credit memo.
    Issue: In Acces sequence I have table 397 and extended 397 with additional fields.
    In normel credit memo I am able to find all these table in sales order Pricing Analysis tab.
    But in rebate credit memo, I am not able to find all table. Credit memo is showing 397 table but not showing ztable.
    Please check below screen shot for details
    1. 397 and 988 are identical and its appearing in rebate credit memo.
    I created 988 just to verify if any thing wrong in ztable generation or any thing missing to map.
    987 is extended table with addtional field sales doc. Type, Item category and its not appearing in Rebate credit memo.
    2. Rebate credit memo showing 988 and 397 table
    3. Normel credit memo showing all three table
    Question : How to get all three table in Rebate Credit memo?
    If 988 is appearing than why 987 is not populating.
    Both are Ztable and created together.
    I tried many combination but extended ztable not coming in rebate credit memo
    Regards
    Neeraj

    Hi JP,
    Thanks
    Routine 923 created as per SAP note 178824. And I am finding this issue only for rebate credit memo request.
    This condtion type (withholding tax ) is not part of rebate condtion. It is part of standard pricing procedure same like MWST.
    In Normel credit Memo (CR) all access assigned to this access sequnce is visible in sales order pricing analysis.
    But rebate credit memo request (B3) not showing all access (as in above screen shot). It shows only 2 access out of 3 access.
    One more addition
    If I am maintaining condtion record for visible access in rebate Credt memo request i.e. country / Tax relevant classifcation.
    SAP disble it in rebate credit memo request order.
    But normel Tax (MWST) is appearing in rebate credim memo request.
    I am not sure if this is due to standard sap.
    For Thailand we require withholding tax for Rebate credit memo.
    Please advice if any one can give some input on this.
    Regads
    Neeraj

  • Ref.2 field of JE not updated through A/P Credit Memo

    Hi Experts,
    I am using SBO 8.81 PL 07.
    I have observed that when I create A/P Credit Memo, SAP doesnot save the Vendor Ref. (NumAtCard) field in the corresponding JE's ref.2 or any other field.
    It happens when we create A/P Invoice.
    I believe it is important for Accounts person to have that details.
    Is it a bug or it is correct functionality ?
    Best Regards,
    Samir Gandhi

    Hi Samir,
    I am not mentioning copying credit not to JE.
    I just told you regarding document settings option for credit note and invoice.
    E,g if you open document settings window and check for per document tab, select AP invoice- you will find option i.e., Allow copying supplier reference number to target documemts .
    similar option is not available for credit note.
    Thanks,
    neetu

  • Credit Memo Creation - Sold-to-party / Ship-to-party fields

    I am trying to create a SD Credit memo document.
    From the thread Credit Memo Creation I understand that  the BAPI BAPI_SALESORDER_CREATEFROMDAT2  cant be used and instead I gotta use the FM SD_SALESDOCUMENT_CREATE for this purpose.
    On this backdrop, I am trying to pass sold-to-party / ship-to-party values into this FM.
    But, in the structure SALES_HEADER_IN type BAPISDHD1, I couldnt find the fields to pass these values.
    Please advise the name of the fileds/structure where I should pass shiptoparty and soldtoparty values.
    In VA01 screen, you could see these fields.
    Thanks,
    Message was edited by:
            Jay
    Message was edited by:
            Jay

    jay,
    check the below link for couple of sample codes...
    Re: BAPI_SALESDOCU_CREATEFROMDATA, create credit memo request
    May be helpful for you
    ~~Guduri

  • Partner bank field in Credit memo thru MIRO

    Hi
    I am trying to post credit memo related to MM invoice in transaction MIRO. I am getting error
    select partner bank out of multiple partner bank
    but the field is not available for selection. The same is avaialable for input in invoice though. Not coming for credits only.
    And if I put invoice reference, should not it take from the original invoice ?
    Help
    Pushkaraj
    I have checked field status, its not suppressed

    Hi
    I have checked field status for reco account of the concerned vendor. Its optional entry for bank partner. In posting key also its optional.
    And Document type for invoice and credit memo is the same one. So just wondering how it is available for input in invoice and not in credit memo.
    How did you get that in credit memo as well ? in MIRO transaction ?
    Raj
    will assign full points

  • Credit memo and mandatory fields in Sales order

    Dear all,
    I have 2 problems, hoping these are not too basic questions I'm asking here.
    1). I have created a sales order for credit memo's and I'm using the standard billing type G2.
    The amounts are negative in the order & in the billing document, however, when transferring to FI, it is posted as a normal invoice (Debit customer) instead of credit memo.
    Where are the posting keys defined or where do you determine which kind of posting will happen in FI based on the billing document?
    2). When creation a sales order (VA01), the sales office and sales group should be mandatory fields. What is the best way to do this? Or is the only option to go via the document completeness check?
    Many thanks!
    Best regards.

    Hi There,
    > 1). I have created a sales order for credit memo's and I'm using the standard billing type G2.
    > The amounts are negative in the order & in the billing document, however, when transferring to FI, it is posted as a normal invoice (Debit customer) instead of credit memo.
    >
    > Where are the posting keys defined or where do you determine which kind of posting will happen in FI based on the billing document?
    This is the standard SAP behavior. Simple thing, All the values are negative so when it will post to FI
    It will be like
    Dr  Customer Invoice amount ( which is negative ) so end result is +ve. ( as Debit is -)
    I hope its understandable.
    For example:
    While creation of simple invoice say of 1000 $
    Entries were Dr Customer 1000 $
                         Cr Revenue    1000$
    Now After Credit memo
                        Dr Customer    -1000 $
                         Cr Revenue    -1000 $
    Which will nullify each other.
    > 2). When creation a sales order (VA01), the sales office and sales group should be mandatory fields. What is the best way to do this? Or is the only option to go via the document completeness check?
    The best way is to include these two fields in the Sales order incomplete procedure in OVA2. Put Error/warning as required by you.
    Thanks,
    Raja

  • Assignment field being automatically populated in Vendor Credit Memo

    Dears,
    While posting Vendor Credit Memo with Reference Invoice (field Inv.Ref under Payment tab) the Assignment field (field Assign. under Details tab) is being automatically populated with assignment value from the referenced invoice.
    Is there a way to disable automatic Assignment field population?
    Thanks in advance,
    Robert

    Dears,
    No sorting keys exist for GL Master Vendor reconciliation account and still assignment is being copied (Data was copied
    Message no. F5343)
    Substitution is not an option as it's being done when posting, and not at the moment of invoice creation.
    Thank you for any ideas.
    Best regards,
    Robert

  • Remove dafault value for field BSEG-REBZG "V" in ERS for credit memo

    Hi Gurus,
    I'm running ERS for Returns PO and I noticed that when the credit memo is posted, the invoice reference field has the value "V" which would then take into account the default payement terms for the vendor.
    I want the system to NOT default that value "V" because I want my credit memos to have a due date the same as the baseline date.
    If you create the credit memo online via MIRO, you'll notice the default due date is equal to the baseline date since, by standard it ignores the payment terms.
    Any ideas how to solve this? Thanks in advance!
    Regards,
    Marvin

    can u tell me wich user exit you used?
    thanks,
    Michael

  • Create Credit Memo (VA01) - Problem of checking a field before saving

    Hello!
    In tcode VA01, why a field (ex. Customer Group) is checked to be filled before saving in case of a Standard order (type OR, or for us is ZOR), but not in case of a Credit Memo (type CR, or for us is ZCR) ? Is this Config problem? If yes, do you know how to config? If not, do you know any User-Exits I should use? I've tried some but didn't work.
    Please help if you can. Thanks!!

    Hi Timmy,
    Please go to include MV45AFZZ and try the user exits
    USEREXIT_SAVR_DOCUMENT
    in here VBAK values are present in XVBAK and VBAP values in table XVBAP....
    Write the required code here and see if it solves our problem
    Every time user clicks the 'SAVE' button it has to go through this exit
    Regards
    Byju

  • Populate customer reference field for credit memo from RMA order

    There is requirement to populate customer reference field  for credit memo generated for RMA order..
    In RMA order which filed i need to populate which will come as customer reference in credit memo.
    Please help me  to populate customer reference field from RMA orderes

    Hi Javier,
    Please check following site:
    http://help.sap.com/saphelp_crm60/helpdata/en/2e/b0da18dbe84ed9bdff9a5d6d91f531/frameset.htm
    Cheers,
    Gun.

  • Value dated credit memo field

    Hello Gurus,
           there is a paragraph following, please tell me what does it mean? what is "reconcile" and "concile"?
        " If the Value dated credit memo field is set in the billing type, then the referenced billing document is
    not reconciled if the baseline payment date for the originating billing document comes after the
    billing date in the credit memo: then the field VALDT (value date) in the credit memo request is
    filled with the baseline payment date from the originating billing document."
    thanks very much!

    hi friend ,,
    you can use this when you are giving the goods to the customer which is based on some agreement .
    eg. you will bill the customer @10% no matter what is the present trend in the market .
    hence the bill will be calculated at 10% .
    these condition totally depends upon companies need and you can configure them according to you need .
    reward if it helps
    regards
    Aditya.

  • MIRO - Credit Memo - Duplicate Check - Reference Field

    Hi
    I have created a credit memo in MIRO against an invoice with reference as 10000. Then I create one more credit memo with the same reference thru MIRO, system is allowing to post to the credit memo.
    There is no warning against the duplication.
    Any configuration is there to control the duplication in credit memo, please guide.
    Thanks
    Aras

    Hi,
    Make "Reference number" mandatory in 'Required during document entry segment' in "RE" document type in  OBA7 t.code
    Set Error  for message M8-471,M8-108 & M8-462 in t.code: OMRM .
    Regards,
    Biju K

  • Standard credit memo g2  has document type field as blank?

    Hi All,
    When we create a credit memo with billing type G2 and release the billing document to Accounting.
    how does system understand which accounting document type needs to be created.
    Credit memo G2.
    Genral control data.
    Document type [  ] is Blank.
    Regards,
    RKMACC

    Thanks all of you.
    What is the relevance of refrence number and allocation number in copy control.
    VTFL/VTFA.
    i think this also plays an important role in copying the document number from invoice to accounting.
    So my question is in order to have accounting document number same as billing document number.
    What are the controls?
    Regards,
    Rajneesh

  • SmartForms field : How to print "PO number" on CREDIT MEMO

    If i create a CREDIT MEMO REQUEST ( VA01 - Order Type: CR )
    on the first screen, i have "PO Number"
    ( that is below "Sold-to party" "Ship-to party" )
    How can i modify the CREDIT MEMO form in SMARTFORMS  in order to print "PO Number" ?

    hi,
    CALL FUNCTION 'ME_READ_PO_FOR_PRINTING'
    EXPORTING
    ix_nast = nast
    ix_screen = ent_screen
    IMPORTING
    ex_retco = ent_retco
    ex_nast = v_nast
    doc = v_doc
    CHANGING
    cx_druvo = v_druvo
    cx_from_memory = l_from_memory.
    How can i get PO partner functions using FM ME_READ_PO_FOR_PRINTING
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/tcode-me9f-user-exit-exit_saplmedruck_001-617362
    thanks.

Maybe you are looking for

  • White screen at start, eMac

    I have an older eMac (probably about 7-9 years old, I bought it used). It was working fine this morning, but when I shut it down to take a nap and restartd it this afternoon I got a plain white screen and no action. I got the usual welcome sound, but

  • Decimal Places in Deal - FTR_CREATE.

    Mates , I have a concern , while creating the deal through FTR_CREATE , where in the calculation of the interest is in decimals where as when i look in to the cash flow tab it shows it as rounded off . For Eg. the interest amount is lets say 100.70 ,

  • Firefox does not log out of Gmail/Facebook when window is closed

    I have set each page to not 'keep signed in' for both Gmail and Facebook (have not tried others) and yet when I close firefox and re-open, my pages are still fully logged in. I have taken steps to clear cookies and history, close browser, open browse

  • Problem during startup

    hi gems.. I have installed oracle 11gR2 in my windows machine in noarchivelog mode... Then i shutdown and mounted the database to run it in archivelog mode... alter database archivelog; (its successful) Now when i tried to open the database by "alter

  • Controller SNMP management

    We faced one recent issue with WLC configuration behavior and explaining our observation and workaround we did. If there is an alternate better approach, please suggest. Requirement Requirement is to manage the WLC (5508 with 7.4 code) using two SNMP