Need one more field based on comparision of other fields

Report Builder 6.0.8.11.3
ORACLE Server Release 8.0.6.0.0
Oracle Procedure Builder 6.0.8.11.0
Oracle ORACLE PL/SQL V8.0.6.0.0 - Production
Oracle CORE Version 4.0.6.0.0 - Production
Oracle Tools Integration Services 6.0.8.10.2
Oracle Tools Common Area 6.0.5.32.1
Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
Resource Object Store 6.0.5.0.1
Oracle Help 6.0.5.35.0
Oracle Sqlmgr 6.0.8.11.3
Oracle Query Builder 6.0.7.0.0 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle ZRC 6.0.8.11.3
Oracle Express 6.0.8.3.5
Oracle XML Parser     1.0.2.1.0     Production
Oracle Virtual Graphics System 6.0.5.35.0
Oracle Image 6.0.5.34.0
Oracle Multimedia Widget 6.0.5.34.0
Oracle Tools GUI Utilities 6.0.5.35.0
Iam having report layout as below
-- M_6
   -- M_10
      -- B_13
      -- F_94
   -- M_FOR_REP1
      -- R_SALESMAN
         -- M_39
            -- B_74
            -- F_113
         -- M_7
            -- B_33
            -- F_2
         -- M_CUSTOMER
            -- R_CUSTOMER
               -- F_98
               -- M_GNAME
                  -- R_5
                     -- M_12
                        -- F_41Above is my full layout of my report how it look like
(B_33) Sales Men : F_2
F_2 lists out the all the salesmen.(david, george .... so on)
F_98 Lists out all the categories of products (Furniture , Automobiles .... so on)
F_41 Lists out amount of particular category
F_113 lists out the sum of F_41.
Parameters that i pass is :
From Date : 01-AUG-11
To Date : 31-AUG-11
Company Code : 110
Orgn Name : Cytrex OU
Sales Type :
Salesmen From : DAVID FOO
Salesmen To : DAVID FOO
Customer From :
Customer To :
Year From Date : 01-JUN-11
Year To Date : 31-AUG-11
Report Detail : Yes
And the output for my report is
Item Type                      ProductFamily                  Quantity            Sales
(MYR)
Sales Men : DAVID FOO
01FN
01FN
FNDM
FNUM
NEW CASA [BROWN (CS5839)]
CELLINI LEATHER [BEIGE FL35A]
CELLINI LEATHER [BLACK FL 10B]
21,585.50i need one more field and the result should like to compare F_2, F-98, F_41
For every salesman(F-2) there will be different category (F_98), i need to add the amount (F_41) for all the same category.
like
Customer :  David
         Sales men :     Thomas
Furniture                100
Automotives               50
Textiles                  20
Mobiles                   10
         Sales men :    Daniel
Furniture                 30
Textiles                  10
Ship                      20
Customer : George
         Sales men :      Thomas
Furniture                 20
Mobiles                   50
         Sales men :    Daniel
Furniture                 10
Mobiles                   20
{code }
result Salesmen : Thomas Daniel
Furniture 120 40
Automotives 50
Textiles 20 10
Mobiles 60 20
Ship 20
means all the based on the category for each salesman for different customers should be added.Please explain me how to place the extra field and write the logic for that. i am trying for this from past one month nobody is giving proper feedback, if you want to know anything more regarding this let me know i will provide you with the full fledge information.
Edited by: user9093700 on Mar 12, 2012 1:08 AM

your break is nt the better for this
i think you can create a temporary table
the fields salesman category and quantity
insert and update for each record with a formula or create a new sql query and maybe use a matrix to show as you want

Similar Messages

  • Populate f4 values of a field based on value of other field

    Hi,
    I have created select options using WDR_SELECT_OPTIONS.For one of the fields ,f4 values should be based on value of another field in the screen.
    How will i achceive this requirement.
    I got a link about the same but that is not using WDR_SELECT_OPTIONS
    http://www.sdn.sap.com/irj/scn/logon?redirect=/irj/scn/wiki?path=/display/WDABAP/Using%20Search%20help%20attachments%20for%20WebDynpro%20ABAP
    I got another link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    which I am going to try
    Thanks
    Bala Duvvuri
    Edited by: Bala Duvvuri on Jun 22, 2011 6:49 AM

    Hi,
    Using OVS you can achieve this.,  In OVS Event Handler read the value based on which you  want to display F4 for other field and populate the values based on the first field.
    this link is fine., go through this: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Need to hide the field based on input to other field on screen

    Hi All,
    I enhanced the std. infotype 1029.Now I need to display one custom field only if another custom field (check box) is enabled, otherwise no.
    I tried writtinf code in PBO of ZP102900 in subscreen 0200.
      loop at screen.
      if screen-name = 'fld1'.
        if 'fld1' = 'X'.                      -
    >if chk box is selected then it shud display the fld2 on the screen along with fld1
          screen-name = 'fld2'.
        endif.
      endif.
      endloop.
    But no results:-(
    Can you please help me out in this ASAP.
    Thanks in advance.
    Regards,
    Ashwini

    Hi All,
    Finally I got the results:-)
    Solution:
    in PBO module:
      LOOP AT SCREEN.
        if SCREEN-NAME = 'P1029-<FLD2>'.
          IF P1029-FLD1 = 'X'.
            SCREEN-ACTIVE = 1.
            MODIFY SCREEN.
          ELSE.
            SCREEN-ACTIVE = 0.
            MODIFY SCREEN.
          ENDIF.
        endif.
      ENDLOOP.
    in PAI module:
    LOOP AT SCREEN.
      if SCREEN-NAME = 'P1029-<FLD2>'.
          IF P1029-<FLD1> = 'X'.
            SCREEN-ACTIVE = 1.
             MODIFY SCREEN.
          ELSE.
            SCREEN-ACTIVE = 0.
          ENDIF.
      endif.
    ENDLOOP.
    Thanks for your valuable time.
    Regards,
    Ashwini

  • Seeking Pdf form help - javascript formula to auto-populate fields based on data from other fields.

    Hi there, I am new to PDF form work, and am wondering if someone could help me with a javascript formula.
    I want to auto-populate the EXPIRYDATE field, as the same date as the entered AUTHORIZATIONDATE field, but 4 years later.
    So, I want to be able to enter 11/14/2014 in the AUTHORIZATIONDATE date, and have 11/14/2018 auto populate in the EXPIRYDATE field.
    Seems simple I know, but I've messed around quite a bit and can't seem to make it work. Is this possible??
    Any help would be very much appreciated!!

    And what have you done?
    This can only be done with custom JavaScript programing.
    The value of date type fields are text field and not numeric data. The first task is to convert the dates to a number on some type of number sequence that is a mapping to dates.
    Have you looked at the Acrobat JavaScript API Reference, the MDN JavaScript reference?
    I would use the Acrobat JavaScript util.scand to covert the date string to the number of milliseconds from January 1, 1970 midnight. and then use the getFullYear method of the date object for the year value and add 4 years to that value and then use the setFullYear method to set the year for the date object. Now you can use the util.printd method to format the date object as a date string with a specific format.
    // get the date value, format of date string and years to add;
    var cDate = "11/14/2014"; // date value;
    var cFormat = "mm/dd/yyyy"; // date format;
    var nYears = 4; // years to add;
    // convert date string to date object;
    var oDate = util.scand(cFormat, cDate);
    if(oDate == null) {
    app.alert("Error converting " + cDate + " using format " + cFormat, 0, 1);
    // add years to date object;
    oDate.setFullYear(oDate.getFullYear() + nYears);
    // display result;
    var cExpireyDate = util.printd(cFormat, oDate);
    app.alert("Authorization Date: " + cDate + "." +
    "\nExpire Date: " + cExpireyDate, 3, 0);

  • It says I need one more gb of memory to upgrade my 2007IMAC intel to Mt lion then eventually to mavericks. can I download that memory

    It says I need one more gb of memory to upgrade my 2007IMAC intel to Mt lion then eventually to mavericks. can I download that memory

    Memory = RAM
    TheGroz wrote:
    . can I download that memory
    That is not how it works...
    Macs can be very Fussy about RAM...
    You can use these Links to check which RAM is suitable for your Mac...
    http://eshop.macsales.com/shop/apple/memory/
    http://www.crucial.com
    It is Important to get the Correct and Matching RAM
    Those sites also have videos on how to Install RAM should you need it....
    TheGroz wrote:
    It says I need one more gb of memory to upgrade my 2007IMAC intel to Mt lion then eventually to mavericks.
    Get as much RAM as your Mac can take. You will need it.

  • Need one more field in standard solman iview

    Hi All,
    I need to add one more field in my standard solman iview which gives only 4 fields and 1 radio button. I require 5 fields and one radio button.
    How can I add an additional field in standard iview?
    Is there any other solman iview which I can use?
    Please Advise.
    Thanks & Regards,

    Shreya,
    you should have system administrator role to work with par file.
    go to system administration -support-portal runtimeBrowse deployment-look for something com.sap.portalepsolman.par.bak and download it.
    you can import that into NWDS and start modifying the jsp files.
    When you import par files into NWDS jar file will be missing in the directory strucuture so you need to add it manually.once you do the changes deploy the par file from NWDS and upload it Portal using system administration-support-portal runtime-administration console-upload
    check these links for more info
    https://forums.sdn.sap.com/click.jspa?searchID=16632942&messageID=6128753
    https://forums.sdn.sap.com/click.jspa?searchID=16632942&messageID=6169428
    If any issue revert to me
    Thanks
    Bala Duvvuri

  • Need one more field in PO search help ..

    Hi,
    In ME22N, I try to search for a PO, press F4  and use the fields in the tab "Purchasing documents per collective number". Here I want to add one more field, i.e. document date. Existing input fields are ; Collective Number, Purch Org, Purch Doc.
    How to do this ?
    thnks

    Yes Alex. I verified all that and its perfect.
    But I found that when I tested MEKK_T from se12 (menu search help-> test) I was able to see the Document date !!!  This MEKK_T has my new Z_MEKKS search help, so that means my custom search help is working fine in test mode.
    So the assignments are as follows:
    EBELN has MEKK_C as the search help assigned.
    MEKK_C has MEKK_T in its included search help.
    MEKK_T has Z_MEKKS (my custom help) in included search helps list.
    What else could be wrong ?
    thnks

  • Need one more streaming option

    Hello, I want to give a suggestion or ti say request one more streaming option. As I myself don't have a good Internet speed as well as unlimited data. So just want you to add Atlest one more option in audio streaming low quality. I want this to be there in next version. I love Spotify music service.

    Updated: 2015-07-29Hello and thanks for the feedback!
    A similar idea has also been suggested here:
    https://community.spotify.com/t5/Live-Ideas/Android-Music-Low-Quality-Streaming/idi-p/1153844
    Add your kudos and comments there please! ;)

  • Fill in fields based on response in another field.

    Is there a way to use one field to automatically fill in another field?  For example, I have two fields (Project Name & Project Address).  Project Name is a pull down menu.  Can I have Project Address automatically fill in based on their choice of Project Name?
    Thanks,
    Mike

    Check the following link , you may get an idea to solve your problem
    mapping an EO to a view ?
    -Krishnamurthy

  • Displaying one field in first page and other field in last page (header)

    Hi
    We are using following way to print headers but we need one field (WO START) to display in first page and another field (WO END) to display in last page
    If output is only 1 page then both needs to be printed on same page
    <?for-each@section:G_WORK_ORDER?>
    WO START This needs to be printed on first page only
    WO END This needs to be printed on last page only
    <?for-each:G_OPERATION?> <?end for-each?>
    <?end for-each?>
    Let us know if any fix for this
    Thanks
    Kamalakar.G
    Edited by: kamalakarg on Sep 21, 2012 4:53 PM

    Hi Kamalakar,
    Send me sample XML data and RTF template i will try on my side. email me [email protected]
    Thanks,
    Omkar Deshpande.

  • Using Javascript to show/unshow a field based on input in another field

    I want to display/not display a field in a JSP depending on what is selected in another field.
    I am using <div></div> element currently which is displayed/not displayed using a Javascript invoked by the first field.
    the problem with div is that I have to put it inside a <tr><td> otherwise it doesn't work. This makes the field look aloof from the rest of the page, and is also not aligned with the other fields.
    Is there anything other than <div> that can be used? or is there a way to correct the look of the field inside a div?
    Thanks

    You shouldn't have to put it inside a <tr><td> to get it to work. I've done what you are trying to do with <span></span> and it worked fine. I haven't tried it with a <div> but I can't image why that wouldn't work. Maybe you could post your code.

  • Require field be filled out when other field values change

    I tried to search on something I need to do but couldn't come up with a combination of words to find much.
    I have a situation where, when certain field values on a form are changed, I need a comment field filled in. So if one of the designated field values change and the comment field is NOT filled in, I would like some kind of message indicating that the comment field must be filled in when that field is changed. This would preferably happen when the 'Update' button is pushed on the form. And this would need to happen before the data is submitted.
    This seems to be somewhere between a validation and a Dynamic Action. I'm not sure how to go about creating what I need. Any help would be greatly appreciated! Hopefully I have described the scenario well enough.
    Thanks!
    John

    This did the trick! I created the hidden item, then created a dynamic action that would set the value of the hidden item to 1 if the field changed (action = 'change'). Then I created a validation on my 'comments' field to check if it was NOT NULL when the 'Apply Changes' button was pushed, with a condition of the hidden item = 1.
    One thing extra - I had to set the dynamic action so that it did NOT fire on page load. Otherwise it would set the hidden item to 1 when the page loaded after clicking the "Apply Changes' button.
    So, thanks!
    One other question - I have a lot fields on this form. All of them have this requirement except for a few buttons. Is there any way to list the fields NOT to look for a change. In other words, in the Dynamic Action section, in the WHEN section, is there a way to designate items NOT to look for a change?
    Thanks for the help!
    John

  • Need one more field in VENDOR Master.

    Dear Gurus
    I need to Change  the  vendor name, But old name should be existed in system.
    For this i need to add  text field to enter the New name and date of change, Is there any option in Vendor master.
    Request you to suggest.  and what is the path for vendor screen control.
    Best regards
    srinivas.

    Hi
    Go to OMSG > select your account grp> go to general data details here you can fin Name 1,2,3 & 4.
    Check anything is hidden and make it optional entry.
    if it is not sufficient then use table LFA1 to add a custom field for your requirement.Get the help from ABAP
    Hope it helps
    Thanks/karthik

  • I need to finish a presentation asap! i have to add one more document (already created) to two others. the problem is orientation. 2 are already in portrait. The one I have to add is landscape. Is there a way to fix this?

     

    When you create a form with Adobe Designer, and you need mixed page orientation (i.e. some portrait and some landscape) you can achieve this using multiple Master pages.
    I took your two forms and created a sample (see attached) with mixed orientation.
    Here is what you do to get mixed orientation...
    Create a new form
    Add a Master Page (with the Master Page tab active, select Insert > New Master Page
    Select the second Master Page and set the orientation to landscape (Object > Master Page tab)
    Select the Design View tab
    Add a new page Page (with the Design View tab active, select Insert > New Page)
    To associate the new page with the second (landscape) Master Page...
    Select the new page (from the Heirarchy palette)
    In the Object > Pagination palette set the "place" property by browsing where you want it (i.e. On Page "insert name of your landscape master page here")
    Note:  you will need to resize the content are of the page to match the landscape orientation.
    Hope this helps.
    Regards
    Steve

  • Unable to default DFF segment based on selection of other field value.

    Hi Gurus,
    *I have a requirement on 'Create Work Request' page (Oracle EAM), where during creating complaint, when user selects Asset Number, based on this selection, a DFF enabled to capture Tenant Info must be populated. [For testing now, I'm writing my code in PR and not in PFR to populate some thing while page loads.]*
    I have extended my CO and tried many ways (from simple to little complex) but to no success.
    Simpler way:
    *=======*
    OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);
    OAViewObject vo = (OAViewObject)am.findViewObject("RequestDetailsVO");
    Row row = vo.first();
    row.setAttribute("Attribute1","Attribute1"); //Attribute1 is the View attribute in above VO. But this doesn't work.
    row.setAttribute("DepartmentCode","CRC MAINT"); //DepartmentCode is a view attribute as well. And this works.
    This code doesn't work.
    Understanding that, DFF segments can't be set as simple bean, I have done below:
    *===================================================*
    OADescriptiveFlexBean oadescriptiveflexbean = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("WorkRequestDesc");//("WorkRequestDFF_p13n");
    oadescriptiveflexbean.processFlex(oapagecontext);
    if (oadescriptiveflexbean != null){
    ContextMap contextmap = oadescriptiveflexbean.getNamedChildMap();
    if(contextmap != null){
    Enumeration enumeration = contextmap.keys(oapagecontext.getRenderingContext());
    if(enumeration != null){
    do
    if(!enumeration.hasMoreElements())
    break;
    Object obj = enumeration.nextElement();
    OAWebBean oawebbean1 = (OAWebBean)contextmap.get(oapagecontext.getRenderingContext(), obj);
    oapagecontext.getParameter("WorkRequestDesc1")
    //String str = (String)oapagecontext.getNamedDataObject("WorkRequestDesc1")
    if(oawebbean1 != null)
    if(oawebbean1 instanceof OAMessageTextInputBean)
    OAMessageTextInputBean oamessagetextinputbean = (OAMessageTextInputBean)oawebbean1;//.findIndexedChildRecursive("WorkRequestDesc1__xc_");
    //oamessagetextinputbean.setReadOnly(true);
    oamessagetextinputbean.setText("Jawad");
    } while(true);
    Now the issue with above code is, during the page load, all the segments are populated with value 'Jawad'. I want to populate only the first segment.
    More info:
    *======*
    VO: RequestDetailsVO
    DFF Regions ID: WorkRequestDesc
    Attribute1 (DFF segment1) ID: WorkRequestDesc1
    Appreciate your responses,
    Jawad

    Dear Guys,
    I found out a workaround for this case (If this helps others): :)
    *1. Create a Message Text Input type field (representing each DFF segment) and map them to View Attribute (over which DFF was created) and VO instance.*
    *2. In the extended CO, in PFR, get the handle of these created fields.*
    *3. Set the values as required.*
    Since these fields are mapped onto the same view attributes as DFF was, the data goes in fine.
    But I still am hunting for the possibility of setting a single segment.
    Thanks and Regards,
    Jawad
    Edited by: Jawad on Apr 19, 2012 3:36 AM
    Edited by: Jawad on Apr 19, 2012 3:38 AM

Maybe you are looking for

  • Menu bar in ALV OOPS

    HI All , I am using the method SET_TABLE_FOR_FIRST_DISPLAY of class CL_GUI_ALV_GRID  for a report program . In the Menu bar I have  SYSTEM and HELP  by default But in  REUSE_ALV_GRID_DISPLAY  in Menu bar we have LIST  EDIT GOTO SETTINGS other than SY

  • Error in smartform calling in a report

    Moved from General to Form Printing.  Please take care to post in the correct forum. Hi All, I'm working on standard Smartform 'EBPP_DEBIT_CREDIT_MEMO'(biller Notification) calling in a report.In report smartform generating function module successful

  • Use of expressions or field aliases in GROUP BY clauses

    I've seen numerous references, even BNF syntax diagrams, that suggest that Oracle's parser will accept an expression in a GROUP BY clause; however, I've had no success whatsoever in getting this to work. Here's an example of something I had hoped wou

  • HT201359 What can I buy ¥15, basically nothing how do you expect me to spend to chance  region ?

    I like Japanese music ,so I switch to iTunes Japan and get some music with gift card that I both from Japan before I turn to U.S. I have ¥15 left I want to switch to region but there is this notification that I must spent ¥15 to switch to I tunes U.S

  • Time based memory leak?

    Greetings All..     Some strangeness seen in the last few days.  I have a machine that is pretty much dedicated to editing images (mac pro, 8g ram, 8cores,raid, etc). Previous versions of LR I would edit in over several days; not bothering to exit th