Formulas : Help for coding

Hi experts,
I face a problem I do not find any solution with my lack of coding development background.
Here is my case :
I have inserted a cross tab in my report. It looks like this :
- Column : 3 following objects :
Table.Period1
Table.Period2
Table.Period3
- Line : Table.SIG containing th e following :
1 Revenus
2 Expenses
3 Margin
4 Other external expenses
5 Added value
=> Lines 3 & 5 have been inserted to receive specifics formulas, subject of my thread.
For example, I'd like to put a simple operation like:
3 = 1- 2 (numbers, referred to above lines of my cross tab)
But, in Crystal Report, it seems to be not possible to easily cross objects.
Someone can help ? Have any idea ?
Thanks for you time,
Olivia

Debi Herbert wrote:
> You may need to do a manual crosstab which is to say group on your "lines" and using formulas create the columns in the group footer for each "line" and suppress the header and the detail lines.
Hi Debi, thanks for your reply,
I've created a report using "manual cross tab"; and also using automatic/manualformulas.
The thing is a resultat like that :
Detail   :                     xx
Detail   :                     xx
Group Footer 1 : 1 Revenus                                     >> Automatic formula which sumaryze the detail above
Detail   :                     xx
Detail   :                     xx
Group Footer 1 : 2 Expenses                                   >> Automatic formula which sumaryze the detail above
Group Footer 2 : 3 Margin                                         >> FORMULA that need to sum. the both group footer 1 above. but fail.
Detail   :                     xx
Detail   :                     xx
+Group Footer 1 : 4 Other external expenses            >> Automatic formula which sumaryze the detail above
Group Footer 2 : 5 Added value                               >> FORMULA that need to sum. Margin + Other external expenses. but fail.
I do not succed to create a formula that can sumarize objects from different group footer.
If someone have any idea, i'll much appreciate your help
Thanks,
Olivia

Similar Messages

  • Need help for coding and designing

    Hi All,
    Problem Statement
    A financial institution is in the verge of automating their existing “customer data management” system. Currently they are maintaining their
    customer data in a comma separated file (CSV) format. You, as a software consultant have been requested to create a system that is flexible,
    extensible and maintainable. Your proposed system should also take care of moving the data from the old system to the new one.
    Customer has following specific requirements
    1.This is an internal offline application and need not be a web based solution
    2.The new application should be cost effective
    3.The application should have good response time as compared to the ones suggested by other vendors
    4.Phase 1 work should concentrate mainly on building a simple system which moves the data from CSV to the new one and display the
    moved data on the screen.
    Sample CSV file containing customer data
    <first name>, <age>, <pan number>, <date of registration>
    Ramesh, 28, JWSLP1987, 30/01/2006
    Rajesh, 32, POCVT2087, 23/10/2005
    Shankar, 39, TRYUP3945, 24/7/2003
    Shyam, 45 BLIWP5612, 15/3/2004
    Requirements for coding DOJO
    •Ensure that your solution is built around open source frameworks and tools to avoid licensing issues. (Ex: Eclipse, MySQL, etc)
    •Please give me any idea to write code for this issue.
    Thank you.
    Edited by: user636482 on Oct 28, 2008 2:03 AM

    The first requirement is to NOT use software like "Oracle".
    The specifications are to use a CSV file as the "data source". The case asks you to "move" the data from CSV to "the new one" and display the moved data.
    So this sounds more like a data load routine -- but not to load into Oracle.
    You are in the wrong forum.

  • Need formula help for searching sheet

    Hi
    I have a numbers document that contains
    Sheet 10-1
    Sheet 10-2
    Sheet 10-3
    Sheet 10-4
    Each of these sheets contains three columns.
    Column one has a clientnumber and column two has a projectnum.
    Column three contains a reference to a particular place.
    I would like to have a specific sheet that where one can search the other sheets for a projectnumber and return the reference in the third column for that particular projectnum.
    I can do this in one sheet but I am unable to figure out how to search mutliple sheets.
    Thanks for any input

    Hi c'
    You wrote:
    I have used the following formula to search from Searchsheet in sheet 1111-1
    =LOOKFOR(A1;'Låda 1111-1' :: Uppdragsnr;'Låda 1111-1' :: Låda nr)
    (its called LETAUPP in Swedish, som I'm guessing the english equivalent is LOOKFOR).
    From the syntax, the English equivalent appears to be LOOKUP(search-for;search-where;result-values)
    Numbers supports three similar LOOKUP functions, LOOKUP, VLOOKUP and HLOOKUP.
    I'm guessing the Swedish function names for the other two are going to be VLETAUPP and HLETAUPP.
    VLOOKUP and HLOOKUP are able to find a "close match", or can be set to accept only an "exact match". LOOKUP cannot be set to demand an exact match, and will accept "the largest value less than or equal to the search value"
    "exact-match" is useful in that it can generate an error message which can be used to pass the search on to the next table.
    Here's an example of the difference in results of LOOKUP and VLOOKUP, using your project numbers. Description below.
    Data table at the left. Search tables in the center and at right.
    B2 of the center table contains =LOOKUP(A2,Table 1 :: B,Table 1 :: C)
    - filled down to B6.
    Note the result for 934, a value not included on the data table.
    'Can't find' errors are returned for the empty cells in rows 5 and 6.
    B7 and below contain a revised formula: =IFERROR(LOOKUP(A7,Table 1 :: B,Table 1 :: C),"not found")
    This traps the error in row 10, but does nothing to intercept the wrong result in row 8 (934).
    The second result table uses VLOOKUP, set to require an exact match.
    B2, filled down to B6: =VLOOKUP(A2,Table 1 :: B:C,2,FALSE)  -"FALSE" is the argument to force an exact match.
    934 now correctly returns a "can't find" error, as do the empty search for values in rows 5 and 6.
    B7 and below use IFERROR to trap the errors:
    =IFERROR(VLOOKUP(A7,Table 1 :: B:C,2,FALSE),"not found")
    In my earlier post, the "can't find" error trap was used to trigger a search of the next table (and in the last search, was used to produce the "not found" message.
    Because I also didn't want a "not found" message to appear when no search value had been entered, I added an IF statement:
    IF(search-for has an entry,do the search,show a 'blank' cell).
    Regards,
    Barry

  • Formula help for 2 tables

    I use Mint.com. Every month I export from mint as a .csv file and import into Numbers.
    I'd like to create a formula. That adds up, say, all my coffee purchases in table 2 on the left. Currently I am Command + clicking to select multiples and dragging from the SUM Quck formula. I'd like it to be more automatic.
    Possible?

    Optic,
    Yes, possible. Where your circle is in the screen shot, use the expression:
    =SUMIF(Table 1 :: A, A, Table 1 :: B)
    Your result will look like this:
    Jerry

  • Match code help and coding for save menu for PF STATUS and BDC programming

    hi,
    pl guide me step by step i'm new to abap.
    1)   i need search help for field V_TVAG-BEZEI..this is field is there in my table control to select the values from the line of list for reason to reject.
    2) i need code for SAVE button which i've created in PF STATUS.
    3) do i need to to BDC programming for save and update the table control in return order as well as in sales order?...if yes how can i do that?

    hi,
    pl guide me step by step i'm new to abap.
    1)   i need search help for field V_TVAG-BEZEI..this is field is there in my table control to select the values from the line of list for reason to reject.
    2) i need code for SAVE button which i've created in PF STATUS.
    3) do i need to to BDC programming for save and update the table control in return order as well as in sales order?...if yes how can i do that?

  • Search help for SKAT-SAKNR OR SKAT-SAKNR is not working

    Hi All,
    I have created a Search Help for F4 in a dialog program for SKAT-SAKNR OR SKAT-SAKNR. While i click F4 on that field, it displays blank values.
    Here is the module:
    module HELP_FOR_SAPGL_ACC input.
      CLEAR t_SAPGL.
      SELECT  SAKNR TXT20
        FROM  SKAT
        INTO  CORRESPONDING FIELDS OF TABLE t_SAPGL UP TO 1000 ROWS
        WHERE SPRAS = SY-LANGU.
       WHERE L_GL_ACC = v_FIELD_VALUE-FIELDVALUE.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          RETFIELD               = 'SAKNR'
        PVALKEY                = ' '
         DYNPPROG               = PROGNAME
         DYNPNR                 = DYNNUM
         DYNPROFIELD            = 'SKA1-SKANR'
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
         VALUE_ORG              = 'S'
        MULTIPLE_CHOICE        = ' '
        DISPLAY                = ' '
        CALLBACK_PROGRAM       = ' '
        CALLBACK_FORM          = ' '
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
        TABLES
          VALUE_TAB              = t_SAPGL
        FIELD_TAB              =
        RETURN_TAB             =
        DYNPFLD_MAPPING        =
      EXCEPTIONS
        PARAMETER_ERROR        = 1
        NO_VALUES_FOUND        = 2
        OTHERS                 = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endmodule.   
    In the above code I am selecting 1000 rows from SKAT table and in the Search Help Popup it is also displaying 1000 rows but all are blank.
    Please help me.
    Regards,
    Avaneet

    Hi check my weblog on search help exit codeing..
    https://wiki.sdn.sap.com/wiki/x/du0
    \* Prepare for output
    CALL FUNCTION 'F4UT_RESULTS_MAP'
    TABLES
    shlp_tab = shlp_tab
    record_tab = record_tab
    source_tab = lt_result
    CHANGING
    shlp = shlp
    callcontrol = callcontrol
    EXCEPTIONS
    illegal_structure = 1
    OTHERS = 2.
    IF rc = 0.
    callcontrol-step = 'DISP'.
    ELSE.

  • Where can I find detailed, systematic HELP for advanced topics relating to Thunderbird?

    In moving from XP to Windows 7, I opted for Thunderbird as email client in order to bypass Microsoft's hyper-intrusive Windows Live Mail (I used Outlook Express for years).
    I have a very complicated email structure, and it's taken me weeks (seriously) to learn how to replicate it in TBird. Now I'm trying to customize TBird further, but none of the TBird articles/forum Q&A's/Google searches address my questions.
    There is no live tech support for TBird, and I'm just about ready to leave it for good. However -- one last effort: where can I find detailed, systematic HELP for advanced topics relating to Thunderbird?
    Thanks.

    I am no expert, but I don't know of any authoritative reference as to what elements of HTML and CSS are supported in Thunderbird. However, as I believe you appreciate, it's more than just what Thunderbird supports, but one must also think about what is likely to work in other email clients. Keep it simple. Avoid ancient deprecated tags that other email clients may not support, and for similar reasons, avoid cutting edge technology. Remember that recipients using tablets or smartphones won't appreciate large fancy email documents.
    The only thing ''guaranteed'' to work in email is plain text. ;-)
    If you haven't already discovered it, the Stationery add-on is designed specifically to support OE stationery in Thunderbird. Your existing stationery may "just work" in this add-on. It makes switching between various stationery templates much easier, but I'm not confident that it will affect interpretation of your CSS or HTML coding.
    Your code is at least clean and minimal. Most times my involvement with troublesome templates and signatures centres on the horrible bloat and mso custom code generated by Word or Outlook.
    Having said that, you and I are mortal enemies, as I don't have much patience with what you aspire to achieve. I specifically don't like background images, nor being obliged to suffer other folks' bizarre choice of typefaces and colours (but your simple 12pt black Tahoma is quite inoffensive. ;-) ) I'm of an age where my tolerance and eyesight are easily offended.
    Nonetheless, I'm intrigued by how to parse the tag for the background image, as it doesn't look like a legitimate pathname to a graphics file. Does the background image actually appear as required?

  • Issue with Member Formula written for Balance Type

    Folks,
    I am facing an issue with a member formula written for a balance type dimension,
    The code says
    IIF( IsUda([Accounts].CurrentMember, "BalanceSheet"),
    CASE
    *WHEN IS([Time].currentmember,[YearTotal]) THEN MISSING*
    WHEN IsLevel([Time].CurrentMember, 0) THEN (BALTYPE.[EndOfPeriod])
    WHEN IS([Time].currentmember,[Q1]) THEN (BALTYPE.[EndOfPeriod],Time.[MAR])
    WHEN IS([Time].currentmember,[Q2]) THEN (BALTYPE.[EndOfPeriod],Time.[JUN])
    WHEN IS([Time].currentmember,[Q3]) THEN (BALTYPE.[EndOfPeriod],Time.[SEP])
    WHEN IS([Time].currentmember,[Q4]) THEN (BALTYPE.[EndOfPeriod],Time.[DEC])
    END
    ,MISSING)
    Outline Structure for Time dimension looks like below
    +Time
    --|+YearTotal
    ------|+Q1
    ----------|+Jan
    ----------|+Feb
    ----------|+Mar
    The highlighted Part of the code works good for all the Measures which is With the UDA tag BalanceSheet, Except if the Measure with BalanceSheet UDA is a Parent Member.
    Parent Level Measures are populated with Data(populating Dec Data) instead of showing #MISSING.
    Any help on this issue will be appreciated.
    Thanks
    Sathish

    Hello Gurus,
    I raised an SR with Oracle support and they have replied by saying that, In EPM 11.1.2.4, the IE11 is only supported for interactive reporting and we will have to use IE 10 & 9 for workspace.
    Yes. It works fine in IE 10 & 9.
    Thanks,
    Siva

  • Dynamic value help for a table field to fill two fields, how to?

    Hi all gurus,
    In SRM 7 I defined a dynamic value help for a single field (ZZ_PROLE_R3) of my header custom table.
    That's the code from WDDOMODIFYVIEW in the webdynpro /SAPSRM/WDC_DODC_CT, view V_DODC_CT:
    DATA: lo_tabnode        TYPE REF TO IF_WD_CONTEXT_NODE.
          DATA: lo_tabnode_info   TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
          DATA: tab_value         TYPE WDR_CONTEXT_ATTR_VALUE_LIST,
                wa_value          TYPE WDR_CONTEXT_ATTR_VALUE.
          lo_tabnode = wd_context->GET_CHILD_NODE( name = 'THCUS' ). "the custom table node
          lo_tabnode_info = lo_tabnode->get_node_info( ).
          wd_this->GET_VALHELP_ZZ_PROLE_R3( EXPORTING iv_guid = lv_guid
                                            IMPORTING ZZ_PROLE_R3_VALHELP = tab_value ). "this method returns the dyn value table
          lo_tabnode_info->set_attribute_value_set( name = 'ZZ_PROLE_R3'
                                                     value_set = tab_value ).
    The method GET_VALHELP_ZZ_PROLE_R3 dynamically builds the value help table tab_value; such table is made up by two fields:
    value : contains the value of the field
    text   : contains a description of the value
    The above solution works; now I'd like to enhance it. The custom table THCUS contains also a field called ZZ_PROLE_R3_DESC, which represents the description of ZZ_PROLE_R3. It is, exactly, the TEXT field in tab_value.
    So I'd like to do as follows:
    - the user clicks on the search help for ZZ_PROLE_R3 field of the table;
    - the above described value help appears;
    - after the selection, both ZZ_PROLE_R3 and ZZ_PROLE_R3_DESC are filled with the selected couple value - text chosen from the value help.
    Could anyone help me achieving such a behaviour?
    Again, a little request... when I open the above value help dialog box, the window itself has a label "Floorplan Manager application for OIF.." that obviously I'd like to redefine (e.g. "Role selection value help"). Is there any way to do that?
    Thanks in advance

    Chris Paine wrote:
    It seems to me - given that your code is in wddomodifyview that you are trying to have different dropdowns per row
    - I'm not sure where you are populating lv_guid - but I'd guess it is an attribute of the row selected? If it isn't then I can't see any reason that you would do this code in wddomodifyview and not wddoinit.
    Hi Chris and thanks for your help,
    lv_guid is the GUID of the document's header; I need to pass it to the method that populates my value help table because the values in it are derived from some fields on the document. (the situation actually is more complex; there's an RFC call on the backend for which the document is intended for to retrieve the data that populate the value help...).
    I'm quite unexperienced on webdynpro and terminology; if dropdown menus are fixed selection option that appears on a field, I guess this is not my case. I did a pair of screenshot to provide an idea of what the solution by now is, and what "I would like to have":
    [Pre-selection (F4 icon on the field in table)|http://imagebin.ca/view/npIsaqF.html]
    [Value Help popup for the field ZZ_PROLE_R3|http://imagebin.ca/view/8fZUh3T.html]
    [Result by now |http://imagebin.ca/view/3PaqdvE.html]
    [Result I'd like to have.|http://imagebin.ca/view/dExR0J.html]
    Chris Paine wrote:
    However - by your comment on the "value help dialog box" I am guessing you are using an input field? If this is the case then I would strongly suggest that you change/enhance the structure of the context node THCUS (btw, better coding practise to refer to it as wd_this->wdctx_thcus when using the get child node construct) so that you refer to an actual SAP ddic search help, if you then associate in the structure the value and text fields then populating the text field should happen automatically. Also you'd have the nice side effect that your value help dialog would be named after the associated ddic search help.
    Thanks for the code suggestion, I'll apply that. For what concerns the context node THCUS... It is, by standard, a node which I can't explictly find in the context for the view V_DODC_CT. The problem is that ZZ_PROLE_R3 and the corresponding description field ZZ_PROLE_R3_DESC of the table must be filled with data retrieved dynamically @ runtime from the backend. So I guess I can't populate a val help referring to a dictionary table/field; I'd rather do as follows:
    - retrieve what's the target backend for the document (to do so, I have to process the document .. that's why the header guid passed to my method);
    - RFC call to a custom method that extracts possible values for the specific backend;
    - bind the ammissible values to the value help.
    Chris Paine wrote:
    I realise that this is rather a lot - so if you have any specific question please do respond - hopefully I or someone else will be able to clarify.
    Thanks again for your help; additional info as well as code examples would be highly appreciated

  • Change Search Help for Payment Terms Field

    Hi,
    I would like to change the Search Help for Payment Terms Field, in Customer Master (KNVV-ZTERM). and in Sales Document. I believe it is the same.
    Default is From Table T052 / T052U
    ZTERM  and TEXT1  Fields
    I would like to have
    From Table TVZBT
    ZTERM and VTEXT
    PayT    Own Explanation Field.
    Can we change the Search Help.

    Hi,
      The search help for the payment terms is not coming from the DDIC search help..
      It is coded in the process on value-request event...
      The function module FI_F4_ZTERM is called for this..you have to change this function module in case if you want the values from a different table..
      OR do implicit enhancement in the subroutine FORM HELP_ZTERM in the include MF02DFH0 to call your search help instead of the function module FI_F4_ZTERM ..And do the same for the sales order also..
    Thanks
    Naren

  • Need help for setFilterPredicate

    Hello community,
    beeing quite new with the fascinating Xcode environment, I need your help for a simple thing of NSPredicate.
    ( Well, only simple for those who know...)
    I like to display a set of values in a tableview (tblView), and to filter it with the nice search field (searchField).
    What I tried:
    1.) creating an array with objects defined in MyData.h with a property named mytext
    2.) creating a NSArrayController, contens is the array of 1.
    3.) creating an NSPredicate filter in MyModel.m (see below)
    4.) Binding the filter to the ArrayController in the "filter predicate"-section : bind to MyModel, model Key Path = myPredicate
    Everything looks fine when the app starts. But when I try to change the filter in my search field, I get the message:
    [<MyModel 0x100141660> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key myPredicate.
    Here are the codes of interest, all in the implementation section of MyModel.
    Whats wrong with it ?
    -(id)myPredicate {
              NSString *theString    = [searchField stringValue ];
              NSPredicate *theResult = [NSPredicate predicateWithFormat:@"mytext like %@",theString];
              NSArray *hasFound      = [theData filteredArrayUsingPredicate:theResult];
              printf("Items found : %d\n",(int)[hasFound count]);
              return theResult;
    -(IBAction)updateFilter:(id)sender
              NSString *theString    = [searchField stringValue ];
      printf(".. recognize search changes \n");
              NSPredicate *theResult = [NSPredicate predicateWithFormat:@"mytext like %@",theString];
              [arrayCtrl setFilterPredicate:theResult];
              [tblView reloadData];
    Thanks for helping me out of the mess !

    Here is the manual for the HP Business Consultant II (HP-19B Financial Calculator)

  • The connection string for coded UI Data driven test using excel data source is not working

    Hello,
    I am using the visual studio 2012 coded UI test, i added the following connection strings to connect to an excel data source:
    [DataSource("System.Data.Odbc", "Dsn=Excel Files;Driver={Microsoft Excel Driver (*.xls)};dbq=C:\\Users\\shaza.said.ITWORX\\Desktop\\Automation\\On-track Automation Framework\\On-track_Automation\\Automation data file.xls;defaultdir=.;driverid=790;maxbuffersize=2048;pagetimeout=5;readonly=true",
    "Sheet1$", DataAccessMethod.Sequential), TestMethod]
    [DataSource("System.Data.Odbc", "Dsn=Excel Files;dbq=|DataDirectory|\\Automation data file.xls;defaultdir=C:\\Users\\shaza.said.ITWORX\\Desktop\\Automation\\On-track Automation Framework\\On-track_Automation\\Automation data file.xls;driverid=1046;maxbuffersize=2048;pagetimeout=5",
    "Sheet1$", DataAccessMethod.Sequential), TestMethod]
    But i get the following error:
    "The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library.
    Error details: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
    Thanks,
    Shaza

    Thanks for Adrian's help.
    Hi shaza,
    From the error message, I suggest you can refer the Adrian's suggestion to check the date source connection string correctly.
    In addition, you can refer the following about how to Create a Data-Driven Coded UI Test to check your issue:
    http://msdn.microsoft.com/en-us/library/ee624082.aspx
    Or you can also try to use a Configuration File to Define a Data Source for coded UI test.
    For example:
    <?xml
    version="1.0"
    encoding="utf-8"
    ?>
    <configuration>
    <configSections>
    <section
    name="microsoft.visualstudio.testtools"
    type="Microsoft.VisualStudio.TestTools.UnitTesting.TestConfigurationSection,
    Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </configSections>
    <connectionStrings>
    <add
    name="ExcelConn"
    connectionString="Dsn=Excel Files;dbq=E:\Unit Test\AddClass\AddUnitTest\add.xlsx;defaultdir=.;
    driverid=790; maxbuffersize=2048; pagetimeout=60;"
    providerName="System.Data.Odbc"/>
    <add
    name="ExcelConn1"
    connectionString="Dsn=Excel Files;dbq=E:\Unit Test\AddClass\AddUnitTest\sum.xlsx;defaultdir=.;
    driverid=790;maxbuffersize=2048;pagetimeout=60"
    providerName="System.Data.Odbc"/>
    </connectionStrings>
    <microsoft.visualstudio.testtools>
    <dataSources>
    <add
    name="ExcelDS_Addition"
    connectionString="ExcelConn"
    dataTableName="Addition$"
    dataAccessMethod="Sequential"/>
    <add
    name="ExcelDS_Multiply"
    connectionString="ExcelConn1"
    dataTableName="Multiply$"
    dataAccessMethod="Sequential"/>
    </dataSources>
    </microsoft.visualstudio.testtools>
    </configuration>
    For more information, please see:https://msdn.microsoft.com/en-us/library/ms243192.aspx
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Need help for writing extract program

    hi
    i need help for writing extract program to retriew data from legacy system.
    i already developed bdc programs for me31k and me21.
    my requirement is to write extract program s for those t.codes.
    to retriew data from legacy system and stored in flat file.

    i need help with a java program. it is a program that allows the user to enter a student's GPA, number of extracurricular activities, and number of service activities. The user can not enter a gpa above 4.0 or below 0. The user can not enter a negative number for the number of both activities. If the student meets the following criteria: 1) GPA of 3.8 or above and at least one extracurricular activity and one service activity, 2) GPA below 3.8 but at least 3.4 and a total of at least three extracurricular and service activities, 3) GPA below 3.4 but at least 3.0 and at least two extracurricular activities and three service activities, the message "Scholarship candidate" should display. If the student does not meet the criteria above, then the message"not a candidate" should display. Can you help me, please?
    You haven't posted ANY 'java program' for us to help with.
    The forum is NOT a coding service. It is to help you with YOUR code.
    Post the code you have written and SHOW us (don't just tell us) how you compile it and execute it and the results you get. Then we can help you with any problems you are are having.
    If you need help understanding just what the program should be doing you need to ask your instructor to clarify the assignment.

  • Maintain Subscreen for Coding Block

    Dear Guys
    I have a requirement to create a subscreen for a FI transaction. I know that this can be done using OXK1. I have already created a subscreen. But I want to know that how can I link that subscreen with a particular Transaction.
    e.g I have made a subscreen in Maintain Subscreen for Coding Block. Now how can I guess which transaction will call this sucscreen.
    As a ABAPER I think there would some user exit or enhancement through which we call these subscreens for a particular Transaction.
    Pls give a detailed answer, I have created a subscreen but dont know how to link it with a particular T-Code in FI
    . Thnx

    Will any body tell me from where I can find out a complete documentation on FI Coding Block. Documentation is sap.help.com is not helping me.
    Will any body explain what is the coding block and how it can be used.
    Thnx

  • F4 help for pop up window

    Hi guys,
                 for pop up window i need f4 help..... actually wt the task is if i  give the program name, that program contents have to save in a text file... for that i need to specify the path ie., where i have to save the text file...
                i have done some coding on it i dont weather the function module i used is correct? and for that i need f4 help....
             so plx tell me how to use f4 help for the function module and also wt is the exact function module for pop up window....
    here is the code.............
    REPORT  ZTEST_DOWNLOAD.
    PARAMETERS :  P_PROG(30) TYPE c.
    DATA: ITAB TYPE TABLE OF STRING.
    READ REPORT P_PROG INTO ITAB.
    CALL FUNCTION 'RSO_DIRECTORY_POP_UP'
    IMPORTING
      E_DIRECTORY       =
    EXCEPTIONS
       FAILED            = 1
       CANCELLED         = 2
       OTHERS            = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    START-OF-SELECTION.
    data: progname type string.
    progname = P_PROG.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        FILENAME                        =   PROGNAME
        FILETYPE                        = 'ASC'
      TABLES
        DATA_TAB                        = ITAB
      FIELDNAMES                      =
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks in advance..............

    Use this code.. F4 help for both Application as well as Presentation Server..
    *                      Form  FILE_F4_APP
    *      Help on Selection-screen for file on Application Server
    form file_f4_app .
      call function '/SAPDMC/LSM_F4_SERVER_FILE'
        exporting
          filemask         = space
        importing
          serverfile       = p_name
        exceptions
          canceled_by_user = 1
          others           = 2.
      if sy-subrc is not initial.
        p_name = space.
      endif.
    endform.                    " FILE_F4_APP
    *                      Form  FILE_F4_PRE
    *           Filename F4 help for Presentation Server
    form file_f4_pre .
    * Local Constant
      constants: l_c_p type c length 1 value 'P'.
    * Local Data
      data: l_path type c length 255.
      call function 'F4_DXFILENAME_TOPRECURSION'
        exporting
          i_location_flag = l_c_p
          i_path          = l_path
        importing
          o_path          = l_path
        exceptions
          rfc_error       = 1
          error_with_gui  = 2
          others          = 3.
      if sy-subrc eq 0.
        p_name = l_path.
      endif.
    endform.                    " FILE_F4_PRE
    Please award points..
    Thanks,
    Rahul

Maybe you are looking for