Problem in report .if i run the report it is not display the quantity,price

This program is an AP Standard Price  Variance Report. For each Material it details all invoices created  for  that  material including  the  quantity  invoiced, the  actual Unit Cost for invoiced quantity and the  actual   amount invoiced. For each material/Vendor combination,  it totals and compares the actual quantity, Unit Cost,  and the amount with  standard quantity, Unit Cost  and  amount.  The  amount  difference   equals  the   total   deviation.        
problem in if run the report under material have items but one of the item not displaying quantity and cost  but it is calcualting
displaying the total invoice cost ..but under material number it is showing 0...
if it_bkpf-blart eq 'WE' or
       ( it_bkpf-blart eq 'WA' and
     ( it_bseg-werks = '09'  or it_bseg-werks = '99' ) and "DV2K927836
         ( it_bseg-hkont = '0001701010' or
         it_bseg-hkont = '0001720010' ) ).
      it_detail-menge      = it_bseg-menge.
    endif.
    it_detail-werks      = it_bseg-werks.
    it_detail-hkont      = it_bseg-hkont.
    it_detail-hkont_desc = ws_hkont_desc.
    it_detail-belnr      = it_bkpf-belnr.
    it_detail-blart      = it_bkpf-blart.
    it_detail-lifnr      = ws_lifnr.
    it_detail-lifnr_desc = ws_lifnr_desc.
    if it_bkpf-blart eq 'RN'
       or it_bkpf-blart eq 'RI'
       or it_bkpf-blart eq 'RF'
       or it_bkpf-blart eq 'RC'
         or it_bkpf-blart eq 'RD'
           or it_bkpf-blart eq 'ER'.
      if it_bseg-menge ne 0.
        it_detail-inv_ucost = it_bseg-wrbtr / it_bseg-menge.
      else.
        it_detail-inv_ucost = it_bseg-wrbtr.
      endif.
      if it_bseg-shkzg = 'H'.          "Credit Indicator
        it_bseg-wrbtr = 0 - it_bseg-wrbtr.
      endif.
      it_detail-inv_cost = it_bseg-wrbtr.
    endif.
    if it_bkpf-blart = 'WE' or it_bkpf-blart = 'WA'.
      if it_bseg-hkont = '0001701010' or
         it_bseg-hkont = '0001720010'.
        if  ( it_bkpf-blart eq 'WA' and
        ( it_bseg-werks = '09'  or it_bseg-werks = '99' ) ). "DV2K927836
          clear ws_awkey.
          ws_awkey = it_bkpf-awkey.
clear ws_mseg_werks.

This program is an AP Standard Price  Variance Report. For each Material it details all invoices created  for  that  material including  the  quantity  invoiced, the  actual Unit Cost for invoiced quantity and the  actual   amount invoiced. For each material/Vendor combination,  it totals and compares the actual quantity, Unit Cost,  and the amount with  standard quantity, Unit Cost  and  amount.  The  amount  difference   equals  the   total   deviation.        
problem in if run the report under material have items but one of the item not displaying quantity and cost  but it is calcualting
displaying the total invoice cost ..but under material number it is showing 0...
if it_bkpf-blart eq 'WE' or
       ( it_bkpf-blart eq 'WA' and
     ( it_bseg-werks = '09'  or it_bseg-werks = '99' ) and "DV2K927836
         ( it_bseg-hkont = '0001701010' or
         it_bseg-hkont = '0001720010' ) ).
      it_detail-menge      = it_bseg-menge.
    endif.
    it_detail-werks      = it_bseg-werks.
    it_detail-hkont      = it_bseg-hkont.
    it_detail-hkont_desc = ws_hkont_desc.
    it_detail-belnr      = it_bkpf-belnr.
    it_detail-blart      = it_bkpf-blart.
    it_detail-lifnr      = ws_lifnr.
    it_detail-lifnr_desc = ws_lifnr_desc.
    if it_bkpf-blart eq 'RN'
       or it_bkpf-blart eq 'RI'
       or it_bkpf-blart eq 'RF'
       or it_bkpf-blart eq 'RC'
         or it_bkpf-blart eq 'RD'
           or it_bkpf-blart eq 'ER'.
      if it_bseg-menge ne 0.
        it_detail-inv_ucost = it_bseg-wrbtr / it_bseg-menge.
      else.
        it_detail-inv_ucost = it_bseg-wrbtr.
      endif.
      if it_bseg-shkzg = 'H'.          "Credit Indicator
        it_bseg-wrbtr = 0 - it_bseg-wrbtr.
      endif.
      it_detail-inv_cost = it_bseg-wrbtr.
    endif.
    if it_bkpf-blart = 'WE' or it_bkpf-blart = 'WA'.
      if it_bseg-hkont = '0001701010' or
         it_bseg-hkont = '0001720010'.
        if  ( it_bkpf-blart eq 'WA' and
        ( it_bseg-werks = '09'  or it_bseg-werks = '99' ) ). "DV2K927836
          clear ws_awkey.
          ws_awkey = it_bkpf-awkey.
clear ws_mseg_werks.

Similar Messages

  • The Sequence in Premiere not display the video channels

    I have this problema: The Sequence panel NOT display the video channels, only the audio cannel.  This occur in an old Project. When I start a new Project there is no problem, the sequence show all video and audio channels. How can I fix it ?  Muchas gracias por su cooperación!!

    Maybe try importing the old project into a new one, instead of just opening the old project.

  • From the Web application does not display the report...

    Hello,
    I have a Web application in VS 2010 (NET 4.0) running reports in VS 2003 (NET 1.1) and CR XI. What should I consider for the reports to run well? When setting up the basics of the folder where the reports are in IIS 7.5, item I keep in the Application Pool: NET 1.1, but when in the same IIS server I click on Browse *: 80, I generated the following error: HTTP Error 500.19 - Internal Server Error
    The requested page can not be accessed Because the related configuration data for the page is invalid.
    I can do, thanks.

    Reports are made in VS 2003 (. NET 1.1) and CR XI using a framework. This framework is placed in the web server (Windows 2008 Server R2) and called from VS 2010.
    Sorry, I'm still having problem understanding this.
    Only CRVS2010 will work with VS2010. The reports can be created in any version of CR you want, but to load the reports in VS2010, you need CRVS2010, create a project in VS2010, then deploy the project and the CRVS2010 runtime(?).
    E.g.;
    1) Create report using CR XI
    2) Install CRVS2010 on a computer that has VS2010
    3) Create a project using CRVS2010 in VS 2010 - can use any framework you want
    4) Deploy VS2010 project
    5) Install CRVS2010 runtime
    - Ludek

  • The address bar is not displaying the URL of the page

    When I open a tab, I cannot see the URL of the opened page in it. If I enter a new address and press enter, I go to the page. The URL displays the entered URL, but doesn't change for the new pages that load.
    Also, the back/forward buttons do not work. I'm guessing it's related to the address bar issue.

    Found it! The "Redirect Remover" extension was causing the problem! Thanks for your help :)

  • When I drag and drop an icon from the address bar to the desktop is does creat the shortcut but will not display the website icon, only the firefox icon, how can I display website icons?

    When I drag and drop a website icon from the Forefox address bar to the desk top, the short cut is created but the icon that appears is the firefox Icon. I want to disply the icon from the website that the short cut refers to. I have checked all I can think of in my computer to no avail.

    You have to assign the favicon yourself to the desktop shortcut (right-click the shortcut: Properties) after you have dragged the link to the desktop.
    You can usually find the favicon in Tools >Page Info > Media and save the icon there.
    Otherwise use the main domain of the website and add favicon.ico (e.g. mozilla.com/favicon.ico ) to display the favicon in a tab and save that image to a folder.

  • My "Home" is a GIF file on my C: drive, but the Home button will not display the file anymore.

    I am now on Firefox 6.0.2. Prior to this upgrade when I clicked the Home button I would see a GIF file from my hard drive displayed. This is how it was coded in my Options:
    file:///C|/$USER/OTHER/BITMAPS/THINK.GIF
    This file is also a Bookmark of mine and clicking that entry in the Bookmark bar works perfectly fine.
    But now in 6.0.2 when I click Home it opens a new tab and then I get an error message saying:
    Server not found.
    Firefox can't find the server at www.$user.com.
    and in the address bar it says:
    http://www.$user.com/OTHER/BITMAPS/THINK.GIF
    So my question is, why is it changing the "file:" specification to an invalid "http:" specification?

    Thank you for the clue which solved the problem! I changed the "C|" to "C:" and it now works. But I am still mystified about what changed because my Home page has been set to file:///C|/$USER/OTHER/BITMAPS/THINK.GIF since my Netscape days, and like I said, it worked fine with the previous versions of Firefox, it only broke when I went to V6.0.2. The other mysterious thing is that my bookmark with the "|" instead of the ":" still works just fine, it only was broken with Home button, nowhere else. But now it works so I'm happy, thanks again.

  • On my Windows 7 PC, the iTunes Store will not display the Home Page or search anything

    My iTunes Store does not work on my Windows 7 PC. The progress bar shows accessing Store for a few seconds, but then just a blank screen where the Home Page should be.

    Try working through TS1717: iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues to start with.
    Otherwise, for general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Why does AI Read(Async​hronous).v​i cause the waveform chart to not display any history ?

    I trying to create a strip chart for 16 channels that will require displaying 10-20 minutes of data.It also starts a separate vi to set gains and offsets while displaying the data. Using AI Read.vi uses 100% of the CPU so the second vi does not run. But using AI Read (async).vi allows the second vi to run, but causes the waveform chart to not display the history? I'm using LabView version 6.0.2.

    Hi Waynes World,
    I have a couple of questions that may help us solve this issue...
    1) If you are modifying one of our example programs, which one did you start with?
    2) What kind of analog input are you doing? Buffered? Finite or continuous?
    3) Have you tried increasing the buffer size of the strip chart? This will allow the chart to store more data in it.
    4) When you use the Async VI, and when you are using the other, can you describe how the strip chart is showing the data... does the data in the chart keep growing and growing... or does it clear itself and start over when the pine reaches the end?
    I think this issue is rooted in how the buffer is being used with the two different AI Reads and how it returns data to the chart.
    On a side note, have you considered upgrading to a newer version of LabVIEW? Our latest versions of LabVIEW come with many new features and it is signifigantly easier to use.

  • Why teststand can not display the ASCII character which number up to 128?

    Hello All,
            I have encountered a problem on an application for ASCII character,why teststand can not display the ASCII character which number up to 128?
           For example:an expression  Local.xx=Chr(164),
           xx-->string,I can not get the correct string.
           Have any idea for this?
    OS:WinXP,Teststand2012 SP1.
           Thanks a lot.
    Solved!
    Go to Solution.

    dug9000 wrote:
    [...]On Windows 7 at least, the code page setting for the operating system is located in the "Region and Language" control panel in the "Administrative" tab where it says "Language for non-Unicode programs".
    Hope this helps,
    -Doug
    Ah, that explains why i see "European Set"....
    One question, Doug: Obviously, you can select only the localization there. Is this PostScript Characters for all languages? Or is it possible to switch to something like true types, e.g. "Wingdings"? (I know, bad example, but i hope you get the point)
    thanks,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Printer preview do not display the newest PO form

    Hi experts,
    I have encountered a problem in SRM EBP. When I changed a PO form's delivery address, and then print
    the preview button, the pdf outputer do not display the newest PO form with the updated address, instead
    with the old address. While if I wait for about 1 hour or just reenter the display po menu, the preview
    displays the newest PO form. So my question is does it because the program which calls the smartforms
    read data from cache? And when a smartform is used in a web application, can I just set some attributes
    of the form to avoid the problem? Thanks in advance.

    Hi Michael,
    Thank you for your answer.  I have debuged the calling form process, the actual situation is wired.
    When I changed the ship-to-address on the web, the adrc is updated immediately. But the connection
    between the po and the ship-to-address is not updated. So the output preview just do what it should do,
    read data from the database then display it.  My question is why when the adrc is updated, then
    connection between the po and the ship-to-address is not updated immediately, and when is the exactly
    time that the connection can be updated.

  • App Store shows update available but will not display the update or tell me that there are no updates...

    There is a badge with the number 1 on my "App Store" icon, but when I go to see what needs to be updated, the App Store does not display the app that has an update nor does it say that there are no updates available.  Basically the place that tells me these things, is completely blank.  I have the word "Updates" at the top of the screen and I can see an icon on the bottom right corner area that has the cirlce with a down arrow and the word "Updates" with a badge with the number 1 in it. 
    The iPad 2 has 6.1.2 for the iOS.  I have already closed the app out completely by closing the app in the multitasking section and then restarting it.  This does not correct the issue.  I have also restarted the iPad 2, however this did not correct the issue either.
    If anyone has seen this and knows it is a glitch in the software, and that Apple is aware of it, please let me know.  If anyone knows how to correct this, please let me know.  Thanks.

    The update server is down; try this temporary workaround
    App Store>Purchased>Select "All"
    Note: Look out for apps that have the word "Update"
    http://i1224.photobucket.com/albums/ee374/Diavonex/9c256282736869f322d4b3071bbb2 a82_zps51a6f546.jpg

  • My IPhone 4's mailing feature does not display the toolbar at the bottom for deleting, moving, or writing emails. What is wrong with it?

    My work recently decided to buy every full time employee an IPhone 4 to be used for work purposes. (I do suspect these are refurbished, but I don't think that matters) I have had no trouble with it, except for on occasion the mailing feature does not display the toolbar at the bottom for deleting, moving, or writing emails. You know what I'm talking about...that bar at the bottom of the mailbox when you open an email that you use to delete, respond, forward, move, etc. It just goes away for no reason, and then reappears for a day or two, and goes away again. It is quite annoying since I can't respond to any of my emails without getting on my work computer. If you have any suggestions, please help!

    Hi there,
    You may need to force close the Mail application when this happens. The next time this happens, use the steps in the article below to coles out of the mail application.
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Hope that helps,
    - Griff W.

  • Ipod nano does not display the picture covers

    Hello, I have a 2nd generation nano. I used to "associate" a picture (the album cover) with the song files in itunes and they were displayed in the Nano.
    Suddenly the nano stopped to display the pics. I deleted all the songs and put them again and I reseted the nano and now even the old files are not displaying the pictures, although itunes displays them correctly.
    I hope I didn't mess too much with the explanation. sorry.
    Does anybody know how can I see the covers again?
    Thank you.

    If you are using iTunes from version 7 onwards, then when you connect the iPod the summary screen should automatically open.
    If you click on the 'music' tab, you will see the option to:
    "display album artwork on your iPod".
    Make sure it's still selected.

  • Reports MB5W / MB5L are not displaying the individual material lines

    Hi All,
    We are encountering a problem in MB5W/MB5L reports. When we are executing these report with the option checked "Display Indiv. Material Lines", system is not displaying the details material wise.
    It is just showing the GL wise value of Material ccy and Stock account ccy. It was running fine when we ran the same reports in Feb for Jan 2014.
    Do you have any idea why system is behaving like this please?
    Thanks,

    Hi Narasimhulu,
           In report MB5W/MB5L, click the "Current display variant icon" in the next pop-up screen click the position tab and check whether all the material related fields are added or not. If not, move the fields into display list and then check.
    Thanks

  • Approved by Me -Report is not displaying the Shopping Basket

    Hi SRM Gurus,
    We  have Implemented  N Step BADI for a client by getting the approvers from the TABLE DRIVEN.
    In the standard report in the Shopping Basket in Check status while selecting the APPROVED BY ME
    and  ALL , it is not displaying the Shoppingbasket approved by me
    What could be the reason .Earlier before our implemention of this  N step BADI it is working
    Can you give some suggestions in which functions module to check or any other clue
    Regards
    G.Ganesh Kumar

    This problem is resolved.

  • "Setup encountered a problem while validating the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run se

    Team,
    I am trying to Install Exchange on my Lab, getting below error
    message.
    The Schema Role is installed on Root Domain and trying to install
    exchange on Child domain.
    1 Root Domain - 1 Child domain. both are located on single site.
    “Setup encountered a problem while validating
    the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run setup with the /prepareAD parameter and wait for
    replication to complete.”
    Followed below articles:
    http://support.risualblogs.com/blog/2012/02/21/exchange-2010-sp2-upgrade-issue-exchange-organization-level-objects-have-not-been-created-and-setup-cannot-create-them-because-the-local-computer-is-not-in-the-same-domain-and-site-as-the-sche/
    http://www.petenetlive.com/KB/Article/0000793.htm
    transferred the schema roles to different server on root domain, still no luck.
    can someone please help me.
    regards
    Srinivasa k
    Srinivasa K

    Hi Srinivasa,
    I guess, you didn't completed the initial setup schemaprep and adprep before starting the installation. You can do it as follows:
    1. Open command Prompt as administrator and browse to the root of installation cd and run Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
    After finishing this,
    2. Setup.exe /PrepareAD /OrganizationName:"<organization name>" /IAcceptExchangeServerLicenseTerms
    3. To prepare all domains within the forest run Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms. If you want to prepare a specific domain run Setup.exe /PrepareDomain:<FQDN of the domain you want to prepare> /IAcceptExchangeServerLicenseTerms
    4. Once you complete all of the 3 steps, install the pre-requisities for Exchange 2013
    5. Finally, run the setup program
    Hope this will help you
    Regards from Visit ExchangeOnline |
    Visit WindowsAdmin

Maybe you are looking for

  • System Preferences silently fails on relaunch

    hi all.. I just installed a utility on 10.7.5 called Orbicule Witness. It adds a pane to System Preferences. On reboot following install of the utility I tried to access System Preferences and see the following in a Console App window: 13-04-01 12:09

  • Need to change the date format in Bex

    HI All In SAP BI I have created a BEx Query. We can see BEx reports in MS Excel. Date format in the report is DD/MM/YYYY and i want it to be displayed like YYYYMMDD. but only for one date column in the report the rest stay the same. Please help.

  • Power & Steam Mapping in PP

    Hi, I am having a query regarding POWER and STEAM. We have just upgraded from 4.6c to ECC6. They have a in-house Power and Steam Generation which is so far not mapped. At present POWER and STEAM is being added as a Activity in Routing. But now they w

  • Transfer Orders visible in LRF1 -Why , can they be removed from there

    HI SAP Experts , A Couple of Transfer Orders are Vsible in LRF1, some of them are in Open State . Some of them are in Comfirmed State Can we remove them in such a way that they won't be visible in any Queue couple of users have generated them Visible

  • Problem deleting rows using JDBC

    Hi, I have a problem with the following code listed below. I am attempting to delete a user's details from a SQLServer db based on the user selected from a combobox. The code given below is just a section and relates to a JButton I have on the applic