Criticality in recording Credit memo and debit memo using SAPGUI -ECATT

Hi all,
The challenging task for you all guys once again.
Whenever I am recording credit memo or debit memo using SAPGUI(ECATT) driver,I am facing the following troubles.I need all your suggestions to over come it.
1.Depending on the invoice number the number of lineitems in the items-overview will differ.My situation is like,I have to select the lineitem which is editable[All are not editable,only few are editable] among the items available and I have to change values and I have to record those values.
2.Since,the number of lineitems is varying depending upon invoice,I am not able to detect which one is editable or not.Everytime the position of the lineitem  will change,as the number of lineitems is changing everytime.
[Please note that SAPGUI is more sensitive to location].
So,I need help how to overcome this situation by SAPGUI
recording (or) Is there anyway of controlling the recording or identifying the item which is editable through ABAP code.
Please suggest on this.

Hi!
Are you sure you are making a testcase, not an interface? Then a BAPI or IDOC would be more suitable.
If you are really interested in a flexible recording, then you have to split this into multiple recordings.
Make one recording for memo creation.
Make one for line editing. Use button 'item on top' to place desired line into first screen line.
Between the two executions you can place some abap for identifying changeable lines - ask your consultants for rules.
Second recording can be used (in a loop) for all line changes.
Maybe there are other ways, would be nice to know.
Regards,
Christian

Similar Messages

  • 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

  • Credit notes and debit notes

    What is the difference between credit notes and debit notes???

    Hi Friend,
    1. A transaction that reduces Amounts Receivable from a customer is a credit memo. For eg. The customer could return damaged goods.  A debit memo is a transaction that reduces Amounts Payable  to a vendor because, you send damaged goods back to your vendor.
    2. Credit memo request is a sales document used in complaints processing to request a credit memo for a customer. If the price calculated for the customer is too high, for example, because the wrong scale prices were used or a discount was forgotten, you can create a credit memo request. The credit memo request is blocked for further processing so that it can be checked. If the request is approved, you can remove the block. The system uses the credit memo request to create a credit memo.
    You can use credit memos in Sales and Distribution (SD) for assigning credit memo requests to the open invoices and in Financial Accounting (FI) for assigning  credit memos and payments to the open invoices and carry out clearing with them.  If you use both Financial Accounting (FI) and Sales and Distribution (SD),  there is a 1:1 relationship between the credit memo request and the credit memo item posted in Financial Accounting (FI). As soon as you bill the credit memo request together with other sales orders, or distribute the items of one credit memo request to several billing documents, the assignment is no longer valid and the system will not process it.
    For  credit memos, credit memo requests, and payments, you have the following assignment options:
    - Assignment to a single invoice
    - Assignment of a partial amount to an invoice
    - Assignment to several invoices
    When you post  credit memos, the payment programme processes them automatically. If the credit memo is specifically related to a particular open invoice item, the payment program automatically attempts to offset the credit memo against the open item. If it is not possible to completely offset the credit memo against an invoice, you can post a debit memo to the vendor, who is to reimburse the amount.  Then you can apply a multilevel dunning program. 
    3.  Debit memo request is a sales document used in complaints processing to request a debit memo for a customer. If the prices calculated for the customer were too low, for example, calculated with the wrong scaled prices, you can create a debit memo request. The debit memo request can be blocked so that it can be checked. When it has been approved, you can remove the block. It is  like a standard order. The system uses the debit memo request to create a debit memo.
    4.  As mentioned above, creating a credit or debit memo request enables you to create credit or debit memos based on a complaint. For this first create a sales document with the order type for a credit or debit memo  request. You can create the debit  or credit memo requests in the following ways: 
    – Without reference to an order
    – With reference to an existing order
    Here you enter which order the complaint refers to.
    – With reference to an invoice
    Here you enter which invoice the complaint refers to.
    In all cases, you specify the value or quantity that should be in the credit or debit memo
    5. You can block the credit or debit memo  request from being billed in Customizing. Go to Sales -> Sales Documents -> Sales document header -> Define sales document type and select the billing block field in the billing section.  This request can later be reviewed along with similar ones, - if necessary, by another department. The request for a credit or debit memo  can then be approved or rejected.

  • 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

  • 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

  • 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_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

  • 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

  • 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 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

  • 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

  • How do I record my voice and other sounds using the microphone in my HP TouchSmart 15?

    I just recently got an HP TouchSmart 15 notebook PC and know very little about how to use it.  I'd like to use the onboard microphone to record my voice and other sounds, ending up with sound files that I can save and use in creating multi-media presentations.  Thanks for helping me learn how to do that!

    Hi,
    You can use Windows "Sound Recorder'
    Start Sound Recocrder
    Speak, Sing or may noises
    And stop when finish
    Save file
    To start Sound Recorder
    Windows 7: Click Start > All Programs > Accessories > Sound Recorder
    Windows 8 & 8.1: Hold down Win key then press Q > Type Sound R in Search box
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • COPA:  Credit Note and Debit Nore Quantity should not flow to COPA

    Hello Everyone,
    As per the client requirement we don't want quantity should flow to COPA report for raising debit note/Credit note ( DR/ CR note is raised by SD Cycle).  We are raising debit or Credit note for the price difference but not the quantity difference.  Please do let me know is there any way to stop flow of Quantity value to COPA report by raising Debit or Credit note.
    Thanks,
    sneha

    Hi Sneha
    1. Go to KE4W...
    2. Assign your Billing Type for Dr Note and ABMSG Qty field and check RESET
    3. Similarly, assign bill type for Cr Memo and ABSMG Qty Field and check RESET
    4. Not only for Qty, you need to do this for COGS value fields also... During Dr and Cr memo, the COGS is also adjusted by the system along with Qty....
    So, Mention your COGS value fields also in KE4W and check RESET
    Regards
    Ajay M

  • Report on Credit Notes and Debit Notes

    Hi Experts
    Please assist, I need to run a report showing Credit Notes(Subsequent Credits) and Debits Notes(Subsequent Debits) created over a specified period including date, amount, reference etc.
    Thanks
    CN

    Hi,
    Please check MIR6 & MIR5 reports.
    Put document type of your credit note & debit note and enter date duration then click on execute button.
    Regards,
    Mahesh Wagh

Maybe you are looking for

  • GE60 2PE Don't boot to BIOS, notebook bricked.

    Hello, Yesterday night I was watching a youtube show on my netbook, running without power supply only with the battery (I only done this for 3 times in 7 months so I'm not worried about battery being discharged) and I fall sleep. This morning when I

  • RD Gateway issue from Mac Remote Desktop client - 503 RPC Error: c0021012

    I have an employee who is able to use the Mac Remote Desktop client to connect to her office PC via RD Gateway, but after a short time she consistently has her connection dropped with a 503 RPC Error: c0021012.  I've researched this a little and appa

  • My iPad messaging feature is not working even though wifi Internet access is strong--what's wrong?

    I've been using messaging on my iPad as I travel internationally to chat with my family who have Apple products back in the U.S. but here in France, although I have strong wifi service, my messages won't send.  The sending bar across the top stops ab

  • Multiple Httpservice requests

    Hi, I have a requirement where i have to load two components on one click. And each component has httpservice request. function onclick is the following public function onclick(event:MouseEvent):void{ this.loadComponentOne(); this.loadComponentTwo();

  • Help: ItemAttachmentGetCurrentIndex returns always -1

    HI Since our customer upgraded GroupWise from 6.0.4 to 6.5.1 the function ItemAttachmentGetCurrentIndex() seams not to work anymore. When I debug to the specific code line I found that no matter what item is selected in the attachment view of an open