Running Transaction MRIS system don't says amount to be paid

Hello.
When I perform transaction MRIS at Test Mode ON, the system don't says the amount to be paid. 
Basically my client needs to know the amount before paying.  
I appreciate any help.
Thank you.
Hector.

Second Part:
    'Valor Neto a Pagar CLP'
      call function 'CONVERT_TO_LOCAL_CURRENCY'
        exporting
          client           = sy-mandt
          date             = sy-datum
          foreign_amount   = ti_salida-fakwr
          foreign_currency = ti_salida-waers
          local_currency   = 'CLP'
          rate             = 0
          type_of_rate     = 'M'
          read_tcurr       = 'X'
        importing
          local_amount     = v_fakclp.
      v_fakclp = v_fakclp * 100.
      move v_fakclp to ti_salida-fakclp.
      modify ti_salida index v_tabix.
    else.
      ti_salida-netclp = ti_salida-netwr.
      ti_salida-fakclp = ti_salida-fakwr.
      modify ti_salida index v_tabix.
    endif.
  endloop.
endform.                    " OBTENER_DATOS
*&      Form  BUILD_CATALOG
      text
     -->P_ALV_FIELDCAT  text
form build_catalog using p_fieldcat type slis_t_fieldcat_alv.
  data: ls_fieldcat type slis_fieldcat_alv.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'BUKRS'.
  ls_fieldcat-seltext_s = 'Sociedad'.
  ls_fieldcat-seltext_m = 'Sociedad'.
  ls_fieldcat-seltext_l = 'Sociedad'.
  ls_fieldcat-outputlen = 4.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'EBELN'.
  ls_fieldcat-seltext_s = 'Docto.Compras'.
  ls_fieldcat-seltext_m = 'Docto.Compras'.
  ls_fieldcat-seltext_l = 'Docto.Compras'.
  ls_fieldcat-outputlen = 13.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'EBELP'.
  ls_fieldcat-seltext_s = 'Posición'.
  ls_fieldcat-seltext_m = 'Posición'.
  ls_fieldcat-seltext_l = 'Posición'.
  ls_fieldcat-outputlen = 8.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'LIFNR'.
  ls_fieldcat-seltext_s = 'Proveedor'.
  ls_fieldcat-seltext_m = 'Proveedor'.
  ls_fieldcat-seltext_l = 'Proveedor'.
  ls_fieldcat-outputlen = 10.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'NAME1'.
  ls_fieldcat-seltext_s = 'Razón Social'.
  ls_fieldcat-seltext_m = 'Razón Social'.
  ls_fieldcat-seltext_l = 'Razón Social'.
  ls_fieldcat-outputlen = 30.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'TXZ01'.
  ls_fieldcat-seltext_s = 'Material/Servicio'.
  ls_fieldcat-seltext_m = 'Material/Servicio'.
  ls_fieldcat-seltext_l = 'Material/Servicio'.
  ls_fieldcat-outputlen = 30.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'NETWR'.
  ls_fieldcat-seltext_s = 'Valor Neto Cuota'.
  ls_fieldcat-seltext_m = 'Valor Neto Cuota'.
  ls_fieldcat-seltext_l = 'Valor Neto Cuota'.
  ls_fieldcat-outputlen = 14.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'NETCLP'.
  ls_fieldcat-seltext_s = 'Valor Neto Cuota CLP'.
  ls_fieldcat-seltext_m = 'Valor Neto Cuota CLP'.
  ls_fieldcat-seltext_l = 'Valor Neto Cuota CLP'.
  ls_fieldcat-outputlen = 21.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'WAERS'.
  ls_fieldcat-seltext_s = 'Moneda'.
  ls_fieldcat-seltext_m = 'Moneda'.
  ls_fieldcat-seltext_l = 'Moneda'.
  ls_fieldcat-outputlen = 6.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'MWSKZ'.
  ls_fieldcat-seltext_s = 'Ind.Imptos.'.
  ls_fieldcat-seltext_m = 'Ind.Imptos.'.
  ls_fieldcat-seltext_l = 'Ind.Imptos.'.
  ls_fieldcat-outputlen = 12.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'FAKWR'.
  ls_fieldcat-seltext_s = 'Valor Neto Pagar'.
  ls_fieldcat-seltext_m = 'Valor Neto Pagar'.
  ls_fieldcat-seltext_l = 'Valor Neto Pagar'.
  ls_fieldcat-outputlen = 14.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'FAKCLP'.
  ls_fieldcat-seltext_s = 'Valor Neto Pagar CLP'.
  ls_fieldcat-seltext_m = 'Valor Neto Pagar CLP'.
  ls_fieldcat-seltext_l = 'Valor Neto Pagar CLP'.
  ls_fieldcat-outputlen = 21.
  append ls_fieldcat to p_fieldcat.
  clear ls_fieldcat.
  ls_fieldcat-fieldname = 'CUOTAS'.
  ls_fieldcat-seltext_s = 'Cant.Cuotas'.
  ls_fieldcat-seltext_m = 'Cant.Cuotas'.
  ls_fieldcat-seltext_l = 'Cant.Cuotas'.
  ls_fieldcat-outputlen = 11.
  append ls_fieldcat to p_fieldcat.
endform.                    " BUILD_CATALOG
*&      Form  BUILD_EVENTS
      text
     -->P_ALV_EVENTS  text
form build_events using rt_events type slis_t_event.
  data: ls_event type slis_alv_event.
  call function 'REUSE_ALV_EVENTS_GET'
    exporting
      i_list_type = 0
    importing
      et_events   = rt_events.
  read table rt_events with key name = slis_ev_top_of_page
                           into ls_event.
  if sy-subrc = 0.
    move 'TOP_OF_PAGE' to ls_event-form.
    append ls_event to rt_events.
  endif.
endform.                    " BUILD_EVENTS
form top_of_page.
  call function 'REUSE_ALV_COMMENTARY_WRITE'
    exporting
      it_list_commentary = t_listheader[]
    exceptions
      others             = 0.
endform.                    "top_of_page
*&      Form  BUILD_HEADER
      text
-->  p1        text
<--  p2        text
form build_header .
  data:  fecha_head(10)   type c,
         hora_head(8)     type c.
  t_listheader-typ  = 'S'.
  t_listheader-key  = 'Reporte'.
  t_listheader-info = 'Reporte Planes de Facturación'.
  append t_listheader.
  t_listheader-typ  = 'S'.
  t_listheader-key  = 'Fecha'.
  concatenate  sy-datum6(2) '.' sy-datum4(2) '.' sy-datum(4)
               into fecha_head.
  concatenate  sy-uzeit(2) ':' sy-uzeit2(2) ':' sy-uzeit4(2)
               into hora_head.
  concatenate  fecha_head '  -  ' hora_head  into  t_listheader-info.
  append t_listheader.
  t_listheader-typ  = 'S'.
  t_listheader-key  = 'Usuario'.
  t_listheader-info = sy-uname.
  append t_listheader.
  clear t_listheader.
  append t_listheader.
  append t_listheader.
endform.                    " BUILD_HEADER
*&      Form  PRINT_RESULTS
      text
-->  p1        text
<--  p2        text
form print_results .
  data: w_events .
  alv_layout-colwidth_optimize = ' '.
  alv_layout-zebra             = 'X'.
  perform alv_grid_display.
endform.                    " PRINT_RESULTS
*&      Form  ALV_GRID_DISPLAY
      text
-->  p1        text
<--  p2        text
form alv_grid_display .
  data: w_exit type slis_exit_by_user.
  data: fm_grid(30).
  if sy-batch = space.
    fm_grid = 'REUSE_ALV_GRID_DISPLAY'.
  else.
    fm_grid = 'REUSE_ALV_LIST_DISPLAY'.
  endif.
  call function fm_grid
    exporting
      i_callback_program      = sy-repid
      i_callback_user_command = 'USER_COMMAND'
      is_layout               = alv_layout
      it_fieldcat             = alv_fieldcat
      i_save                  = g_save
      is_variant              = g_variant
      it_events               = alv_events
     i_background_id         = 'ALV_BACKGROUND'
    tables
      t_outtab                = ti_salida
    exceptions
      program_error           = 1
      others                  = 2.
  if sy-subrc <> 0.
   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.
endform.                    " ALV_GRID_DISPLAY
*&      Form  user_command
      text
     -->F_UCOMM    text
     -->I_SELFIELD text
form user_command using r_ucomm ls_selfield type slis_selfield.
  data w_idx type i.
  w_idx = ls_selfield-tabindex.
  read table ti_salida index w_idx.
  if sy-subrc = 0.
    set parameter id 'BES' field ti_salida-ebeln.
    call transaction 'ME23N' and skip first screen.
  endif.
endform.                    "user_command

Similar Messages

  • XLS vs XLT on Windows Server 2012 running CF 10 using (don't say it!) IE

    Has anyone else run into a problem with downloading XLT files in this environment that produce a "your file may be corrupted" window when you choose Open, then has Enable Editing button which, if clicked, shows a corrupted file? 
    Yet XLS of the same file (produced from the same XLT) opens up just fine and dandy with no need to enable editing? 
    Were you able to solve this somehow?

    So, I've managed to research this some more since Thursday and I've come to the conclusion that Hyper-V does a horrible job of supporting Qualcomm NIC cards. That's the only thing I can conclude as far as where the issue is originating. I've read many
    post and walkthroughs but nothing that has helped. The issue wasn't with any settings in the domain controller. The issue was that there really is a slow connection originating at the domain controller that is a VM and has network connectivity through the
    virtual switch from Hyper-V. So, next question is, how do I get the DC to have better connectivity through the NIC that Hyper-V won't give it? If hyper-v would allow passthrough, this would be so much simpler. VM-ware is looking really good at this point.
    Im disappointed in MS right now.

  • Rebate issue- amount to be paid is reflecting as positive

    Hi All.. I have got this issue on rebate from client. While settling a rebate of a  customer when end user clicks on 'Pay' Radio Button (in rebate overview screen) in VBO2 some figures are coming as positive which should be negative as per rebate process. I have created replica of original rebate agreement and observed the following things -
    1) Checked condition type of rebate which has minus sign.
    2) Created some dummy orders and invoices and tried to accure and pay manually between the agreement period (before validity expire) to check why positive sign is appearing in Pay button but unable to get any positive sign.
    3) I just explain my research with example-- Say amount to be paid for Material 100 is -$30. When im manually accuring -$15 system is automatically generating credit memo doc. and i have created invoice of this document. But neither order nor billing doc is showing any net value its jus coming as 0 dont know why. when I check VBO2 again in PAY Material 100 is now -$45. Here accured amount is added to total amount to be paid for material. And next step is to pay manually. When im entering -15$ against Material 100 in PAY again system is auto generating credit memo doc and i have created credit memo after removing billing block. This time net value is showing as $15. Now when i check PAY in VBO2 system is showing amount of -$30 for Material 100.
    And the case is jus reverse if I put +$15 in manual accural. Here accured amount is subtracting total amount to be paid for material.
    But in both the cases system is not allowing me to accure more then -$30 or more then +$30. Then why end user has got the positive figure in the amount to be paid to the customer? This means that customer has to pay some amount to the co.  I have even tried creating return orders but it automatically adjusts the rebate amount to be paid to the customer,
    I hope you have understood the whole issue. Please give me ur views to this problem as I have tried everything.
    Thanks in advance
    Mohit

    Hi,
    Next to the strategy it could be you have direct debits in your open items. They show open amount 0 due to the payment method filled in. Or maybe you have a lot of credits.
    It can have multiple causes but as Mark already indicated there is nothing wrong with the system. If you want changes in the amount to be collected calculation there is a badi for that but check your strategy and transactional data first.
    Hope this helps.
    Regards,
    Richard

  • I performed a software update and the system is installing an update but it has been running for over 24hrs and keeps saying "This may take a few minutes, don't shut down your computer" Can anyone help?

    I performed a software update and the system is installing an update but it has been running for over 24hrs and keeps saying "This may take a few minutes, don't shut down your computer" Can anyone help?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • Error message for free trial says that I am running an operating system that Dreamweaver no longer supports.

    Trying to set up Dreamweaver, PhotoShop & Illustrator for free trial and it won't let me past a page that says I am running an operating system that Dreamweaver no longer supports. What are my options?

    upgrade your os.  if your using os x 10.6.8, Apple - Upgrade your Mac to OS X Mavericks.

  • I want to run automation test in multiple device say iphone and ipad or two iphone device Is it possible.I have done automation testing using UIAutomation and get it running from iphone device

    I want to run automation test in multiple device say iphone and ipad or two iphone device Is it possible.I have done automation testing using UIAutomation and get it running from iphone device

    plzzz reply to this question as soon as possible

  • Im trying to install photoshop trial but says im running an operating system photoshop no longer supports how do i fix this?

    i keep receiving an error message that says im running an operating system photoshop no longer supports. how do i fix this asap?

    First check to see if your system meets the requirements or not.  If not then see about getting a new system.
    Photoshop - http://helpx.adobe.com/photoshop/system-requirements.html

  • Unable to download because it says "You are running an operating system that InDesign no longer supports. Refer to the system requirements for a full list of supported platforms." But its updated according to the system requriements

    Unable to download because it says "You are running an operating system that InDesign no longer supports. Refer to the system requirements for a full list of supported platforms." But its updated according to the system requirements. What can I do to fix this?

    Which versions of InDesign are you referring to?  What are the operating system specs for the machine?

  • Why do I get a message saying "You are running an operating system that InDesign no longer supports. Refer to the system requirements for a full list of supported platforms."? What does this mean?

    Why do I get a message saying "You are running an operating system that InDesign no longer supports. Refer to the system requirements for a full list of supported platforms."? What does this mean?

    It means that your machine does not meet the system requirements for InDesign.  Check the system requirements for InDesign against those of your machine to see where your machine comes up short.
    InDesign - http://helpx.adobe.com/indesign/system-requirements.html

  • I keep trying to download the Photoshop free trial on my windows xp but an error message that says "You are running an operating system that Photoshop no longer supports" pops up, any idea why?

    i keep trying to download the Photoshop free trial on my windows xp but an error message that says "You are running an operating system that Photoshop no longer supports" pops up, any idea why?

    Because Photoshop CC requires Windows 7 or above...
    See the System Requirements.

  • Long running transactions.

    Hi all,
    In real world systems, how efficient are long running flat transactions in ejb 2.0 since the transactions tends to lock several tables that are part of the transaction.
    Could any one explain in detail or direct to any websites that share the real time experiences with transactions in ejb enviornment.
    Thanks in advance.

    Long run transaction are real performance killers, avoid them if you can.
    It's actually quite easy (and sensible) to break down long transactions into smaller transactions with a little common-sense.
    For example, funds transfer. Say you want to transfer money from one account to another account from country A (which is only open on Tuesdays) to country B (only open on Fridays).
    Option A: Start a long running transaction on Tuesday, commit it on Friday.
    The resources used to do this are very much wasted - and will cause performance degradation.
    Option B: Transfer the funds from Country A to Country C (which is open Tuesday and Friday) - in one transaction on Tuesday. Transfer funds from Country C to country B in a second transaction on Friday. If C to B fails, transfer the funds back - if it succeeds inform A of the success. It's more complex, but there's no free lunch. (This is how real banks do it - ever got a refund from the bank? Well, no, but you know what I mean; it's also why it takes five days for a cheque to clear etc etc).
    This is only a narrative - but there are very few cases where this cannot work in a real transaction.

  • Since upgrading to LION unable to connect to wifi, in system preferences it says wifi off - cannot override it, what should i do?

    since upgrading to LION unable to connect to wifi, in system preferences it says wifi off - cannot override it, what should i do?

    While we all have MacBooks in this forum most of us don’t run Mountain Lion. There's a Mountain Lion Support Community where everybody has Mountain Lion. You should also post this question there to increase your chances of getting an answer. https://discussions.apple.com/community/mac_os/os_x_mountain_lion

  • You are running an operating system that Photoshop no longer supports. Mine is mac OS X version 10.6.8. I have adobe suite CS4, and I can't get too far with that! I was trying to upgrade. Any advice?

    You are running an operating system that Photoshop no longer supports. Mine is mac OS X version 10.6.8. I have adobe suite CS4, and I can't get too far with that! I was trying to upgrade. Any advice?

    psynikk,
    I went to that link, but to get started downloading the site says...(and I don't have CS6, or else I wouldn't be stuck in this position. Thanks though.)
    Read before you download a CS6 product
    You need your CS6 serial number to complete the installation.

  • System don't have menu Open and Close Posting Periods

    Hi,
    My system don't have menu "open and close posting periods" (full path in below). I search in google say that my system should active Public Sector Management to use this function.
    I need to make sure before active, please help me if you known about this. And what BCSet will I need to active, is it IS-PS-CA ?
    Thank you very much,
    Regards,
    Thanh.
    Full menu path:
    Accounting - Financial Accounting - General Ledger - Environment - Current Settings - Open and Close Posting Periods According to G/L Account Assignment Objects

    Hi,
    You can use this Txn. OB52....
    1. Goto SFW5..
    2. Choose "Enterprise Addons" tab..
    3. Against Business Function EA-PS...Change the Status to On and then activate..
    4. Log off and Login again...now check the menu path.
    Also check this. (for  SAP ECC 6.0 version)
    SPRO>Financial Accounting (New)>Financial Accounting Global Settings (New)>Ledgers>
    Fiscal Year and Posting Periods>Posting Periods>Open and Close Posting Periods
    Regards
    GK.
    Edited by: Gnana Kumar on Nov 19, 2010 9:49 AM

  • This Version of Lenovo ThinkVantage Toolbox is not licensed to run on this system (**bleep**)?

    I have a 3 week old W510, Windows 7 64-bit, i7 Thinkpad. Over the Chritmas holidays I was able to start exploring the software that came loaded on the machine. One of these was the ThinkVantage Toolbox which I accessed at least 2 or 3 times to explore the programs and what they had to offer. It worked fine and I was able to view the different offerings inside the toolbox.
    Two days ago I used the Lenovo ThinkVantage Tools "Update and Drivers" to find updates to the the machine. It found some updates (I'm not sure of each and everyone but they seemed reasonable) and downloaded them all to bring the system up-to-date.
    Today I tried to access the Toolbox and was greeted with a License Authentication Failed message box with this message:
    "This Version of Lenovo ThinkVantage Toolbox is not licensed to run on this system".
    I assume it was something in the recent updates that did this. I have only installed a couple other photo editing pieces of software since then that I doubt would have any effect on this.
    I certainly can do a system restore back to before I did the updates, but I'd rather not since a) the updates for the most part appeared to be needed and were successful, b) I'd rather not have to update those things that have auto-updated (like Norton and Super Anti-Spyware definitions), and c) I'm not sure restoring will help, not to mention re-installing the other pieces of software that successfully installed.
    I have been a good doo-bee poster and searched this forum and other web resources and while there is reference made to some solutions for this, I didn't fully understand them so I figured I would ask here for help before trying anything. I do have Lenovo phone support but trying here before calling them.
    Thoughts anyone? Should I simply download the latest ThinkVantage Toolbox software and install it? If so, should I uninstall the version I have now?
    Looking for any assistance anyone could render.
    Thank you.
    Jim
    Solved!
    Go to Solution.

    Hi again Jim,
    First of all you're welcome!
    I have another suggestion for you, it might successfully help you in updating Toolbox to the current version, but for this I'd suggest that you first create a restore point just in case the advice fails. Once created a restore point, launch ThinkVantage Toolbox, give it a minute to completely load/run quick tests etc, thereafter click the green colored question mark -> check for updates, once it finds the latest version, let it download and install, I'm hopeful you won't run into any issues via this approach.
    Keep us posted.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

Maybe you are looking for

  • Search Help values to Internal table

    Dear Friends, Is it possible to export Search Help values to Internal table? On screen, when user click on Search button, the SAP standard search help will call (Customer Search). After entering values, some result get displayed and this result need

  • How does one link a moto x phone to a mac

    how does one link a moto x phone to an I Mac?

  • Convert single table to unicode

    Hello, Our functional team need to transfert new data from our non-unicode 4.7 system to our 4.7 Unicode system. In short, they want to convert and export single table from a non-unicode system to a unicode system. For our conversions, we usually use

  • Adjusting width anchored item

    Hi, I need to adjust the width of anchored items in Indesign CS3 (MAC). When importing a lot of mathtype eps in an Indesign layout, we find that the box containing the mathtpye formula is a bit wide. We can't figure out if or how to correct this in m

  • Photoshop elements slow to start

    We have a number of staff who are using Photoshop Elements 10 and Photoshop Elements 12. When either of these programs are started we get "Not Responding" error. This only happen when the computer is connected to the LAN. The application is OK to use