To display in desc orrder through amount

Hi all,
How to write condition in QAD if overall amount result is negative , then dispaly the amount in descending order with respect to Bpartner in report.
thanks
veer

Hi all,
How to write condition in QAD if overall amount result is negative , then dispaly the amount in descending order with respect to Bpartner in report.
thanks
veer

Similar Messages

  • Error when trying to display a Webi report through the Folder iView

    Hi all
    I am getting the following error when Im trying to display a Webi report through the SAP Portal. We have installed the SAP Integration Kit and are able to see the content of the Infoview. However when we click on a Webi report, we receive the following error:
    Could not get page number. (Error: RWI 00223) (Error: INF)
    Have anyone else encountered this problem? Please assist! Any help will be rewarded.
    (We are running XI Rel 2).
    Addition from trace file (tomcat):
    com.businessobjects.rebean.wi.CommunicationException: Could not get page number. (Error: RWI 00223)
         at com.businessobjects.rebean.wi.occa.OccaReportComAdapter.setBlobKey(OccaReportComAdapter.java:542)
         at com.businessobjects.rebean.wi.occa.OccaReportComAdapter.getView(OccaReportComAdapter.java:376)
         at com.businessobjects.rebean.wi.occa.OccaReportComAdapter.getView(OccaReportComAdapter.java:297)
         at com.businessobjects.rebean.wi.ReportImpl.getView(ReportImpl.java:384)
         at com.businessobjects.rebean.wi.ReportImpl.getView(ReportImpl.java:407)
         at org.apache.jsp.viewers.cdz_005fadv.viewReport_jsp._jspService(viewReport_jsp.java:1182)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
         at org.apache.jsp.viewers.cdz_005fadv.report_jsp._jspService(report_jsp.java:325)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    Furthermore I'd like to see an example of the cms_name entry. The documentation states: In addition, specify the Application Parameter for each iView. For this property, enter cms_name=[cms] for the fully qualified server name., but I have doubts as to what format to use.
    Kind regards,
    Martin Søgaard

    Hi Jim Ji
    The report can be displayed from the java infoview, no doubt, so the report itself works.
    But the report cannot be seen from the "SAP Infoview" (:/businessobjects/enterprise115/sap) which is the infoview, I reference from the Folder iView (through the system in the SAP portal). And since the SAP Portal Integration Kit seems very old - the Folder iView was created 12-08-2004 by Ingo Hilgefort - there might be an old version of the jar-files somewhere in the installation.
    I guess I should check the version of the jar-files in WEB-INF/lib of our web application (Tomcat) folder, and see if they have been overwritten by the SAP Portal Integration Installation or are an older version of the files in Program FilesBusiness Objectscommon3.5javalib? And also check if somewhere in the .../sap installation there are some old jar-files?
    Kind regards,
    Martin Søgaard

  • In scripts i want to display the total puchage order amount in text format

    Hi to all,
    Here my requirement is to display puchage order number,date,amount for individual order and total purchage order amount in same window in decimal format and i want to display this purchage order total amount in text format in another window ,is it possible or not
    please give solution asap urgent.
    regards,
    surya.

    Hi Surya
    It is possible ....jst call the routine in script..
    /:PERFORM SPELL_AMOUNT IN PROGRAM ZXYZ
    /:USING &REGUD-SWNES&
    /:USING &REGUD-WAERS&
    /:CHANGING &WORDS&
    /:CHANGING &DECIMAL&
    /:CHANGING &WAERS&
    /:ENDPERFORM
    P1 <C1>&WORDS& AND &DECIMAL&
    ....and write the code in  tht routine program....
    data: it_spell like spell.
    data: swnes type regud-swnes,
          waers type regud-waers,
          var1(20) type c,
          var2(20) type c.
    *&      form  spell_amount
          text
         -->input      text
         -->output     text
    form SPELL_AMOUNT  tables  input structure itcsy
                               output structure itcsy.
      read table input index 1.
    input = swnes.
      replace all occurrences of '*' in input-value with space.
      shift input-value left deleting leading space.
      translate input-value using ', '.
      condense input-value no-gaps.
      split input-value at '.' into var1 var2.
      condense: var1, var2.
      swnes = input-value.
      read table input index 2.
      waers = input-value.
      call function 'SPELL_AMOUNT'
       exporting
         amount          = swnes
         currency        = waers
      filler          = ' '
         language        = sy-langu
       importing
         in_words        = it_spell
       exceptions
         not_found       = 1
         too_large       = 2
         others          = 3
      if sy-subrc eq 0.
        refresh: output.
        output-name = 'WORDS'.
        condense waers.
        case waers.
          when 'USD'.
            concatenate it_spell-word 'DOLLARS' into
             it_spell-word separated by space.
          when 'EUR'.
            concatenate it_spell-word '' into
             it_spell-word separated by space.
           concatenate var2 'euros' into var2 separated by space.
          when others.
        endcase.
        output-value = it_spell-word.
        append output.
        output-name = 'WAERS'.
        output-value = waers.
        append output.
        condense waers.
        case waers.
          when 'USD'.
            concatenate var2 'CENTS***' into var2 separated by space.
          when 'EUR'.
            concatenate var2 'EUROS' into var2 separated by space.
          when others.
        endcase.
        output-name = 'DECIMAL'.
        output-value = var2.
        append output.
      endif.
    endform.                    "spell_amount
    this will give output as TEN DOLLARS & 20 CENTS....
    u can change the code as per ur requrement...
    Reward if Helpful....
    thnx
    Rohit

  • BI query not properly displaying in Consumer Portal - Through FPN - RRA

    Hi Everyone,
    we have implemented FPN between EP 7.0 and BI 7.0 . A role with BI reports (iview created using Bex7.0 template) are working fine in BI Portal.
    When its RRA to a users in EP-consumer portal, its not coming properly. I mean it shows some default header/Menu (like New Analysis Open, Save As, Information, Send etc..) in EP but not displaying the details of the report. Other URL iviews are working fine in RRA, just BI query is not coming properly. All pre-requisite for FPN is done properly and SSO configured.
    Appreciate if some one can provide a solution
    Thanks

    Dear Guru,
    I am also facing the same problem.  What you had faced earlier.  Can you explain the detailed solution to resolve this
    problem. BI query not properly displaying in Consumer Portal - Through FPN - RRA.
    If you can explain the solution that will be great.
    With Thanks and Regards,
    Anil Kumar.

  • BeX Analyzer Aggregation - display line item and header amounts in same row

    Hi Experts,
    I've a requirement in which I'm looking for help.
    Consider that I've one DSO with line item detail and I wish to display on a report for each line item (in the same row) the value of the header which has to be the sum of all line items for each header.
    Here's an output of what should be displayed:
    PO || Hdr  || PO item Item Amount || PO Amount (Sum All Items/Header)
    1    ||  1    ||  10 u20AC                          || 15 u20AC
    1    ||  2    ||  5 u20AC                            ||15 u20AC
    I've already tried to create a formula/calc key figure, using the KF "Item Amount" aggregated with exception of the "PO Hdr" Char, but it doesn't work.
    I know that i can built this on the data model but I just want to be sure before that there's no way to achieve this requirement through query designer.
    All help will be welcomed!
    Thank you.
    Nuno

    Hi Lakshmipathi Sir,
    Thanks for your reply. Could you please let me know how exactly i need to mention the logic to ABAPer.
    I can see two fields are giving from VBKD table with line item wise it is displaying.
    1. BSTKD
    2. BSTKD_M
    thanks,

  • Report to display a wage type and amount

    hi friends,
           From selection screen i have to pick a wage type and for that wage type i have to display a related
    amount . how can i write a report for this?
    its urgent, thanks........
    Moderator message: please search for information and try yourself before asking, do not use terms like "urgent" when posting.
    Edited by: Thomas Zloch on Nov 9, 2011 10:24 AM

    Aarti
    Thanks for your answers,this was the report I was  looking for .
    Full points awarded to you .we can also use this transaction code directly
    PC00_M99_DKON
    regards
    krishna

  • How to display photo in jsp through blob from oracle

    i am struggling here to retrieve an image which is stored in oracle-blob data type through jdbc-type-1.and i am unable to display that in jsp.i had a rich code library for this problem.but nothing gave me the exact solution.
    please give me exact the solution..
    pls ...

    What have you tried?
    What happened?

  • Displaying a page directly through ahyperlink

    HI ,
    I have an application that should notify a user that some event has happened and provide the user with a hyperlink that the user will use to display the details of the corresponding page. Let's say I have a list of applications for something that need to be approved. If the user goes through the login page it is OK, first a page with all applications waiting approval. In each row of the table displaying all applications to be approved there is a button "Details" that is used to display details of a particular application. For this I save the application number (a unique key) in the session and this key is used by the prerender method to display the right application.
    If I send a message through Outlook to the user with a hyperlink to be used to display a particular application with a particular application number, how do I pass the application number as a parameter?
    Hope I was clear enough.
    Thanks,
    Pete

    For others who would like to know the answer to this question, see this tutorial:
    http://developers.sun.com/jscreator/learning/tutorials/2/bookmarks.html
    It shows a few options on how to do this.

  • Can we display on the screen for  amount without decimals

    Dear Freinds,
               I have scenario they wanted to give the amount field with decimals......actually the field is standad field
    it is betrg ( i.e amount field ) data type of this field is PAD_AMT7S.
    Is it possible that on screen can i display without decimals.
    Regards
    Madhuri.

    Dear Freinds,
           Thanks for replying to my question , i want to modify the value in the input field of the stnadard selection screen.
    i.e in infotype 0014 i have the amount field ........( data element is PAD_AMT7S) ...........The user is saying when
    iam updating th e value into infotype 0014 for the AMount field BETRG (data type : PAD_AMT7S) he dont want the
    decimals coming
    ie. actually it is getting uploaded as 20.14 ..........he wants only 20 . My question how can we modify amount field without
    decimals points at all ? ......as per my knowledge i can only based on currency code i can either give 2 decimals or 3 decimals
    but without decimals can i store on the screen ...........?
    During the testing they are saying even if it goes into the data base with decimals doesnt matter but on the screen they wants
    only the amount withou decimals. i.e they want to save on the screen field of infotype 0014 betrg amount field as without decimals.
    Could any one let me know is it possilble.
    regards
    madhuri

  • Displaying all application windows through Hot Corners is no longer working.

    I have my MacBook Pro and my iMac setup to display APPLICATION WINDOWS through the upper right HOT CORNER.   It is no longer working on my iMac.  Instead, the system only displays the top/recent used window.  The display separates and shows the most recent window floating, but, no longer does it arrange windows of each application on the desktop.  There are no other options, it's either set in HOT CORNERS or not.   What changed?   It still works on my MacBook.  Version update = 10.10.2 (14C1514)

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • "Variable applied"display  after query execution  through WAD incorrect

    Hi ,
    In my queries i provide varible entries for  0FISCPER, 0FISCVARNT along with other variables.In the query i dispplay the values for the variables applied.When i run these queries through 2004s WAD  if i were to select 0FISCPER = 01/08/2007 and 0FISCVARNT = AK after query execution the variable applied displays - 
    <b>0FISCPER = AK/01/08/2007
    0FISCVARNT = #</b>.
    It works fine on 3.5 templates.We are on SP9.We have a sandbox also and i tested it out in sandbox  and have no problem there.
    Is anyone facing the same issue?
    Regards,
    Shiva

    Not much experience in WAD but I think there should be a query in BEx Query Designer.
    There you can choose that characteristics which takes time. Select "Advanced" tab from right hand side.
    Under "Filter Value Selection During Query Execution"  you will get 4 options.
    BTW if you have a query on DSO then creating index ( secondary) on the affected characteristics would also resolve your problem
    Regards
    Anindya

  • Website not displaying what i uploaded through Muse

    Hi there,
    I have a serious problem and I hope someone can help me
    I have just registered a domain via my web-host and wanted to build a quick "under construction" banner on that website
    if I upload the website to the ftp server through Muse it shows only the "under construction" text although there should be a logo and an image as well
    the text and logo get displayed on my iPhone but not the image though (logo is .png, image is.jpeg)
    After the ftp upload is done, Muse automatically opens the website and shows only the text (as mentioned above).
    But if I type in the URL like a normal person I just land on the ugly standard "under development" - splash screen .
    all files should be in the public.html folder but I'm not sure.
    I have no idea what I did wrong ?
    Someone please help me ?

    Hi
    Can you check with multiple browsers and verify if you still get start page without image and logo ? Browser cookie can be the reason here.
    Secondly , Do you see any difference in page url that is opened after upload to ftp finishes and then one that shows "under development" ?
    If the url is not same , then login to your host account and remove the page associated with the content you dont want to show up and assign start page the one which includes the images and logo.
    Thanks,
    Sanjit

  • I am in trouble to display Emp_code and Emp_name through Smart form .

    HI All Experts .
    I am very stuck up in Smart-form .
    What i need to do is just Display Employee NO (I.e. Employee Code)
    and his name through Smart-form .
    I folow the steps suggested by experts , but unable to print it
    May any Expert give the Steps , How to Proceed it ?
    It would be great favor to me ....
    Pa0001 is table for Employee Code (Pernr)
    and Ename(Employee name) Both fiels are in Table pa0001 .
    Please help me out or send Screen Shots , how to proceed in Smart Form .
    Please it is very Urgent Sir .
    Best Regards : Rajneesh

    hi rajneesh,
    follow the steps to disply them:
    1. global definitions -> types -> write:
    data: begin of ty_pa001,
             empno type <fieldname>
             empname type <fieldname>
            end of ty_pa001.
    2. global definitions -> global dat -> write
    it_pa001 type table of ty_pa001
    w_pa001 type ty_pa001
    3. global definitions -> initialization -> write
    input parameter: pa001
    output parameter : it_pa001
    below: select <empno field> <empname field> fron pa001 into it_pa001.
    endselect.
    4. main windoe -> create table
    5. table -> table tab
    right click on the row in which u can view %LTYPE% -> split -> cell
    6. table -> data tab
    at loop give: it_pa001 into w_pa001
    7. table -> main area -> create table line
    now u get 2 cells - cell1,cell2
    8. cell1 -> rightclick -> create text
    in general attributes tab click on txt editor(it will be a button left side to the editor)
    then goto -> change edotor
    there write: &w_pa001-empno&
    9. in the same way write &w_pa001-empname&
    10. save, check n activate
    11. now execute
    12. give lp01, u can have the data u want
    hope this helps you.

  • Display an alert message through javascript when report column item is null

    Hello,
    I have a report column item which is an select list item and now i want to display an alert message when value is null, I mean no value is selected, this alert message should be fired when update button is clicked.
    Can anyone please help me with this issue.
    Thanks,
    Orton

    You could try something like this:
    declare
      x        INTEGER;
      err_ct  INTEGER   := 0;
    begin
      x  := 5;  -- number of rows displayed
      for i in 1 ... x (
        IF wwv_flow.g_f08(i)) IS NULL THEN err_ct  := err_ct + 1;
        END IF;
      end loop;
      IF err_ct = 0 THEN
         RETURN NULL;
      ELSE
        RETURN 'Nice error message: you must supply a value.';
      END IF;This would be used with a PL/SQL validation: Function Returning Error Text.

  • Display Image on report through Field Definitions Only File.

    Hi all,
    I have a report where I work with Field Definitions Only files (ttx).
    These files are mapped to classes in code behind (csharp).
    In code behind I make lists of these classes. Each list is set as the datasource of a subreport.
    This works great!
    My new goal:
    Now I tried adding a picture to my report.
    In the TTX file I added a BLOB field.
    In the code-behind class I added a System.Drawing.Image.
    My actual problem:
    The class gets filled with the image, but the image is NOT displayed on the report
    Does anyone know why this is happening?
    How can I fix this? (should I use another Type in my class for the picture?) (should I format the picture in the report? ....)
    Kind regards,
    Wim

    Hi AG,
    Thanks for your response.
    This is my TTX field:
    Signature     BLOB          
    I can't see the image in the report because I create the image in code-behind.
    I think the problem doesn't occur in CrystalReports but in the conversion from my StrokeCollection (I use an InkCanvas [WPF] to capture a signature) to a ByteArray.
    I am already one step closer to the solution. You can't just assign an object of type Image to the BLOB field of the report but it has to be a Byte-Array.
    The problem I am facing now is that the picture is black after a conversion. (I see this when I export to disk and open the file in MSPaint).
    The good thing is that CR shows me a black image so I guess CR is doing its job!
    Kind regards,
    Wim

Maybe you are looking for

  • Satellite L300-243 to connect to JVC camcorder

    Toshiba Satellite L300-243 was purchased primarily to use with Pinnacle 12 to do video editing. My previous PC had a 4-4 firewall connection but there is no similar connection on laptop. Do I use a 4 - USB lead to make the download from camcorder to

  • Internal order authorization issue

    Dear Sir/Madam We want to restrict the authorization for posting entries into internal order. Our users are authorised to pass entry through T code FB01- where they use the gl account which is internal order mandatory. they are putting the real inter

  • Trouble with star schema

    Hi All, I have a star schema in place with 8 dimension and 1 fact table. But due to some specific requirement, I need to denormalize the schema. I want to copy all fields from all dimension tables to the fact table. I know this sounds bad but I have

  • Delivery confirmation for mutt

    hello everyone, I want for any mail I send a delivery confirmation, using mutt. Searched the web, but didn´t find any interesting things about it. My config is, sendmail, getmail and mutt. Is there a way to realize this? best regards     FM41 Last ed

  • Display picture of contacts in bbm blank/not showing

    Hi guys, am new to this so any help will be highly welcome. Been using my pearl 4 about a year now but of recent, d display picture of 2 contacts always go blank. Don't know wats causin it n I have upgraded to os 6. When I tell contacts to reboot the