Help me to write a program?

hi
i want to write a program which shows me the latest posts of a special site or shows  posts of specific date, 
but i don't know how to start it. 
can you help me,please?
thanks 

Hi ,
We will not support to write a program. If you can't find some similar samples in MSDN develop sample. Please
submit a sample request to
https://code.msdn.microsoft.com/windowsapps/site/requests
Please open new thread for each specific issue. when you
encountered any develop issue.
Best regards,
Kristin
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.

Similar Messages

  • Need your help, How to write a program such as drag the objects to the front panel like using the LabVIEW Front Platte

    Dear all:
    Sorry for so long title.
    I need your help with how to drag the objects and drop onto the front panel.
    Like the LabVIEW front platte, i can choose the objects i can drop onto every where of the front panel.
    Could drag and drop function can satify?
    Any idea?
    Thank you
    Attachments:
    Image00000.jpg ‏75 KB

    What you want to do is relatively complicated and it seems that your knowledge of LabVIEW is relatively basic. I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • Please  Help me How write the BDC program for the MIGO inbound Delivery

    Please help me how to write bdc program for the MIGO Inbound Delivery in 4.7EE Version. Please help me.
    Not in LSMW.  Required call transaction or Session Method. Please help me.
    Mohan

    Run transaction BAPI . Select Logistics Execution/Shipping/InboundDelivery/SaveReplica.. You can use function module BAPI_INB_DELIVERY_SAVEREPLICA in your ABAP program.

  • Really need help on how to write this program some 1 plz help me out here.

    i am new to java and i confused on how to be writing this program.
    i have completed the Part 1 but i am stuck on Part 2 & 3 so it would would be really great if any 1 could help me out on how to write the program.
    Part I
    An algorithm describes how a problem is solved in terms of the actions to be executed, and it specifies the order in which the actions should be executed. An algorithm must be detailed enough so that you can "walk" through the algorithm with test data. This means the algorithm must include all the necessary calculations.
    Here is an algorithm that calculates the cost of a rectangular window. The
    total cost of a window is based on two prices; the cost of the glass plus the cost of the metal frame around the glass. The glass is 50 cents per
    square inch (area) and the metal frame is 75 cents per inch (perimeter).
    The length and width of the window will be entered by the user. The
    output of the program should be the length and width (entered by the user)
    and the total cost of the window.
    FORMULAS:
    area = length times width perimeter = 2 times (length plus width)
    Here is the corresponding algorithm:
    read in the length of the window in inches
    read in the width of the window in inches
    compute the area
    compute the cost of the glass (area times 50 cents)
    compute the perimeter
    compute the cost of the frame (perimeter times 75 cents)
    compute the total cost of the window (cost of glass plus cost of frame)
    display the length, width and total cost
    The next step would be to "desk check" the algorithm. First you would need to make up the "test data". For this algorithm, the test data would involve making up a length and a width, and then calculating the cost of the window based on those values. The results are computing by hand or using a calculator. The results of your test data are always calculated before translating your algorithm into a programming language. Here is an example of the test data for the problem given:
    length = 10
    width = 20
    area = 200, glass cost= 100.00 (area times 50 cents)
    perimeter = 60, frame cost = 45.00 (perimeter times 75 cents)
    total cost =145.00
    Once the test data is chosen, you should "walk" through the algorithm using the test data to see if the algorithm produces the same answers that you obtained from your calculations.
    If the results are the same, then you would begin translating your algorithm into a programming language. If the results are not the same, then you would attempt to find out what part of the algorithm is incorrect and correct it. It is also
    necessary to re-check your hand calculations.
    Each time you revise your algorithm, you should walk through it with your test data again. You keep revising your algorithm until it produces the same answers as your test data.
    ?Now write and submit a Java program that will calculate the cost of a rectangular window according to the algorithm explained. Be sure to prompt for input and label your output.?
    Part II
    Write, compile and execute a Java program that displays the following prompts:
    Enter an integer.
    Enter a second integer
    Enter a third integer.
    Enter a fourth integer.
    After each prompt is displayed, your program should use the nextint method of the Scanner class to accept a number from the keyboard for the displayed
    prompt. After the fourth integer has been entered, your program should calculate and display the average of the four integers and the value of the first integer entered raised to the power of the second integer entered. The average and result of raising to a power should be included in an appropriate messages
    (labels).
    Sample Test Data:
    Set 1: 100 100 100 100
    Set 2: 100 0 100 0
    Be sure to write an algorithm first before attempting to write the Java code. Walk through your algorithm with test data to be sure it works as anticipated.
    Part III
    Repeat Part lI but only calculate the average, not the power. This time, make sure to use the same variable name, number, for each of the four numbers input. Also use the variable sum for the sum of the numbers. (Hint: To do this, you may use the statement sum = sum + number after each number is read.)
    For Part 1 this is what i got
    import java.util.Scanner;
    public class Window
         public static void main(String[] args)
              double length, width, glass_cost, perimeter, frame_cost, area, total;
              Scanner keyboard = new Scanner (System.in);
              System.out.println("Enter the length of the window in inches");
              length = keyboard.nextInt();
              System.out.println("Enter the width of the window in inches");
              width = keyboard.nextInt();
              area = length * width;
              glass_cost = area * .5;
              perimeter = 2 * (length + width);
              frame_cost = perimeter * .75;
              total = glass_cost + frame_cost;
                   System.out.println("The Length of the window is " + length + "inches");
                   System.out.println("The Width of the window is " + length + "inches");
                   System.out.println("The total cost of the window is $ " + total);
         Enter the length of the window in inches
         5
         Enter the width of the window in inches
         8
         The Length of the window is 5.0inches
         The Width of the window is 5.0inches
         The total cost of the window is $ 39.5
    Press any key to continue . . .
    Edited by: Adhi on Feb 24, 2008 10:33 AM

    Adhi wrote:
    i am new to java and i confused on how to be writing this program.
    i have completed the Part 1 but i am stuck on Part 2 & 3 so it would would be really great if any 1 could help me out on how to write the program.Looks like homework to me.
    What have you written so far? Post it.
    Part I
    An algorithm describes how a problem is solved in terms of the actions to be executed, and it specifies the order in which the actions should be executed. An algorithm must be detailed enough so that you can "walk" through the algorithm with test data. This means the algorithm must include all the necessary calculations.
    Here is an algorithm that calculates the cost of a rectangular window. The
    total cost of a window is based on two prices; the cost of the glass plus the cost of the metal frame around the glass. The glass is 50 cents per
    square inch (area) and the metal frame is 75 cents per inch (perimeter).
    The length and width of the window will be entered by the user. The
    output of the program should be the length and width (entered by the user)
    and the total cost of the window.
    FORMULAS:
    area = length times width perimeter = 2 times (length plus width)
    Here is the corresponding algorithm:
    read in the length of the window in inches
    read in the width of the window in inches
    compute the area
    compute the cost of the glass (area times 50 cents)
    compute the perimeter
    compute the cost of the frame (perimeter times 75 cents)
    compute the total cost of the window (cost of glass plus cost of frame)
    display the length, width and total cost
    The next step would be to "desk check" the algorithm. First you would need to make up the "test data". For this algorithm, the test data would involve making up a length and a width, and then calculating the cost of the window based on those values. The results are computing by hand or using a calculator. The results of your test data are always calculated before translating your algorithm into a programming language. Here is an example of the test data for the problem given:
    length = 10
    width = 20
    area = 200, glass cost= 100.00 (area times 50 cents)
    perimeter = 60, frame cost = 45.00 (perimeter times 75 cents)
    total cost =145.00
    Once the test data is chosen, you should "walk" through the algorithm using the test data to see if the algorithm produces the same answers that you obtained from your calculations.
    If the results are the same, then you would begin translating your algorithm into a programming language. If the results are not the same, then you would attempt to find out what part of the algorithm is incorrect and correct it. It is also
    necessary to re-check your hand calculations.
    Each time you revise your algorithm, you should walk through it with your test data again. You keep revising your algorithm until it produces the same answers as your test data.
    “Now write and submit a Java program that will calculate the cost of a rectangular window according to the algorithm explained. Be sure to prompt for input and label your output.”
    Part II
    Write, compile and execute a Java program that displays the following prompts:
    Enter an integer.
    Enter a second integer
    Enter a third integer.
    Enter a fourth integer.
    After each prompt is displayed, your program should use the nextint method of the Scanner class to accept a number from the keyboard for the displayed
    prompt. After the fourth integer has been entered, your program should calculate and display the average of the four integers and the value of the first integer entered raised to the power of the second integer entered. The average and result of raising to a power should be included in an appropriate messages
    (labels).
    Sample Test Data:
    Set 1: 100 100 100 100
    Set 2: 100 0 100 0
    Be sure to write an algorithm first before attempting to write the Java code. Walk through your algorithm with test data to be sure it works as anticipated.So this is where you actually have to do something. My guess is that you've done nothing so far.
    Part III
    Repeat Part lI but only calculate the average, not the power. This time, make sure to use the same variable name, number, for each of the four numbers input. Also use the variable sum for the sum of the numbers. (Hint: To do this, you may use the statement sum = sum + number after each number is read.)Man, this specification writes itself. Sit down and start coding.
    One bit of advice: Nobody here takes kindly to lazy, stupid students who are just trying to con somebody into doing their homework for them. If that's you, better have your asbestos underpants on.
    %

  • Help needed to write a dialog program

    Hello ABAP Gurus,
    I am very much new to ABAP Programming.
    Can anybody help me to write a simple Dialog Program ??
    I have a database table.
    I have created a screen with screen painter, and kept some input fields & a push button in it.
    I want to fill the database table with the data entered into the fields on the screen.
    When the user enters the data and  presses  the PUSH BUTTON then that data record should be stored into the Database table.
    So what kinda code I have to write in PAI (Process After Input),  to achieve this functionality ??
    The help will be greatly appreciated.
    Thanks in advance
    Best regards
    Ravi
    Edited by: Ravi Kiran on Oct 28, 2009 2:17 PM

    It's easy:
    In PAI you have do an insert into a database table, following the steps:
    1.on PAI  create a module: for exemple Zwrite_table.
    2. inside Zwrite_table code as follow:
    move var1 to wa_table-var1.
    move var2 to wa_table-var2.
    move var3 to wa_table-var3. etc etc
    insert table ztable from wa_table.
    P.s. ztable is a database table.
    wa_table is a structure that have the same structure of ztable.
    var1 var2 var3 etc is a variable inside your dynpro.
    regards,
    Roberto.

  • I need help writing a dive scoring program in C#, Help Please?

    The state diving commission wants to computerize the scoring at its diving competitions. I have to write a program to automate the scoring of dives. Requirements:
    After each dive, the user will be prompted to enter the:
    diver's name;                    
    diver's city;                    
    degree of difficulty (ranges from 1.00 to 1.67); and                     
    scores from five judges (scores can range from 0 to 10).
    If an invalid score is entered, an error message will be displayed. The user will be prompted for the score repeatedly until a valid score is entered.
    The program will then display the following information:
    Diver's name                    
    Diver's city                    
    Dive final score: This is calculated by dropping the highest and lowest of the five judges' scores. The remaining three scores are added together, and the result is divided by 3 and then multiplied by the degree of difficulty.
    The program will then prompt the user if she/he wants to process another dive. The user can type "Y" or "y" to continue, and "N" or "n" to quit.

    Hi,
    The forum supports VS setup and installation. I think your issue is not about the forum.
    Please clarify your project type. Is it webform or winform?
    If it is webform, please post your issue to ASP.NET forum.
    If it is winform, please post it to
    winform forum.
    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.

  • How I can write a program with pythagoras?

    I have a problem. I�m a 14-kears old Java-beginner and I�ll write a program for school ( I will get a better mark when i write the program). This programm should multiply 3 letters 30-times. But how I can write the damn thing? I habe no idea, please help me!
    Thnax a lot Devproger
    (Sorry for the bad English but I am a German Student who is still learning this language)

    I will only have a better mark in Maths... and wirte this Programm...Yes, you'll get a better grade by writing that program. Start programming then!
    If you run into problems, post the code that's not working here, and tell us what it is that's not working.
    When posting code, read this: http://forum.java.sun.com/help.jspa?sec=formatting
    Good luck.

  • I want to write ABAP Program in web dynpro Using se80 tra.code

    hi
    I want to write ABAP Program in web dynpro Using se80 tra.code and to Create URL for the same.
    Please let me know the steps to do.
    Thanks

    Hi Shiva,
    I understood ,  you want to create a Webdynpro Applicaiton and run it.
    this will help you
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cb243c45-0801-0010-eb9c-88669007f130
    Regards
    Abhimanyu

  • Need urgent help with a new Z program please

    I have to write a program that finds files matching some pattern, for example I have files test1,test2,test3 in a directory then if I pass test* as parameter it should find all the files i.e, test1,2,3. I have to then store the files in internal table, loop through it and have to call some other program zzz that has a selection screen with default parameters.
    1) Is there any function that I can call that gives all the files by passing wild card (ex:test*) and store the files in internal table?
    2) How do I call some other program ZZZ from my program?
    3) How do I pass values from my program to other program's selection screen?
    Your help would be greatly appreciated.
    Thanks.
    Mithun

    Hi,
    1) data: FILE_TABLE TYPE STANDARD TABLE OF FILE_INFO.
    data: wa_file type file_info.
    data: count type i.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES
                EXPORTING
                    DIRECTORY = 'C:\'
                    FILTER    = 'test.*'
                    files_only = 'X'
                changing
                    FILE_TABLE = file_table[]
                    count      = count.
    loop at file_table into wa_file.
      write: / wa_file-filename.
    endloop.
    2) You can use SUBMIT statement to call another program..
    3) In the SUBMIT statement you can use the WITH addition to pass the values to the program.
    Thanks,
    Naren

  • What do you use to write Java programs?

    Hi. Do you mind if I ask you what do you use to write your programs in Java? I am a student and we are using NetBeans IDE 3.6. I know it is a bit old but the tutor says we must stick to that one. What is best for writing Java programs?
    Thanks.

    Do you think those things will make things easier or is it more complex?If you're learning on your own, you'd better use something more up to date (most probably better interface, childhood bugs fixed, and better support on the Internet).
    If you're in a classroom, or a training room, you'd better use what the instructor tells, or at least what other students/trainees use. Easier to get help and share tips if everyone has the same setup.
    Good luck learning Java.

  • How to Write C Program in Eclipse

    Hi,
    I write a Java Program in MyEclipse 5.0.in that i wrote System.load("");to load a dll file of C program.But i dont no How to write a C program in Eclipse 5.0 verson.Can any one Pleace Help me to Write a C program in Eclipse 5.0.

    RaghuChowdary_kolikineni wrote:
    I have MyEclipse 5.0 version on my System.i want to write a java Program.in that i want to access the C functionality Using System.load("");so i write another program for C.So i want to write both Java and C programs are Same Eclipse version.how to write and which version is supported for that purpose.pleace spcify the steps to write the programs in that version u will toldTry asking in an Eclipse forum or in a MyEclipse forum.

  • In sap XI when i want to write proxi program it is asking ABAP key...

    Hello all,
            This is sateesh...I had installed sap xi in my own P.C and In sap XI when i want to write proxies program it is asking ABAP key...
            But i am not having the market place i.d...so any one can help me out in solving the problem...
            If any one can give me the access key so that i can access ABAP from the sap xi....
    Thanking all.
    Sateesh.J

    Jakkampudi,
    You need to write the code in the application system ie., in R3 or BW or SRM etc. Also you need to have the developer key access to do it. If you dont have then try to create as a local object so that it will not ask for the key. If it is local object you will not able to transport to QA. But if you are practising you can take this option.
    Regards,
    ---Satish

  • Urgent  : can help me in my search program( mofication of my program)

    Requirements:
    <u>Selection-Screen</u>:
    Parameter: String field to enter a text
    Select-option: to enter program names (value help shall be available)
    <u>Program</u>:
    The user shall enter a text and select one or serveral program names. (Search help for the pro-gram names.)
    The coding of the selected programs than are searched for the entered string (text).
    (nice to have, but not necessary: if the user makes a double click on a line of the result list (see below) it is jump into the ABAP editor an the coding is displayed in display mode).
    Output:
    Display in a ABAP list OR in a ALV list the program name, the line number and the coding / text auf the line, where the search term as found.
    <u>My Program coding</u>
    TABLES: trdir,rs38m.
    PARAMETER      : pa_text(30) type c.
    SELECT-OPTIONS : so_name FOR trdir-name MATCHCODE OBJECT ZSH_EXAMPLE.
    data:   begin of jtab occurs 0,
            line(300),
            end of jtab.
    data  : wa like jtab.
    DATA : rata LIKE trdir OCCURS 0 WITH HEADER LINE.
    DATA : repid type sy-repid.
    DATA : fval type trdir-name.
    DATA : cnt type n.
    DATA : off type n.
    SELECT name FROM trdir INTO rata WHERE name IN so_name.
    append rata.
    ENDSELECT.
    WRITE: /02 'PrgName', 53 'Text',95 'Line No'.
    uline.
    LOOP AT rata.
    read report rata-name into jtab.
    jtab-line = rata-name.
      append jtab.
      search jtab for pa_text.
      if sy-subrc = 0.
      WRITE : /02  rata-name, 50 pa_text,90 sy-tabix.
      endif.
    ENDLOOP.
    *LOOP AT jtab.
    *ENDLOOP.
    AT LINE-SELECTION ******************
    AT LINE-SELECTION.
    get cursor value fval.
    Set parameter id 'RID' field  rata-name.
    EDITOR-CALL FOR REPORT fval DISPLAY-MODE.
    *read
    *find
    *search
    The problem is that i can display the list of program which contains the given string....
    but when I double click on the program name... its not displaying  the code of particular particular program .
    so anyone help me to modify my program or send me a new code

    REPORT  ZSEARCH_HELP
    DATADEKLARATION *****
    TYPE-POOLS: slis.
    TABLES: tadir.
    Tables
    DATA: gt_output TYPE TABLE OF zstruct_output.  (here create a search help in se11)
    Structures
    DATA: gs_output TYPE zstruct_output.
    Fields
    DATA: gv_mess TYPE text60.
    Constants
    CONSTANTS: gc_s TYPE msgty VALUE 'S',
               gc_r3tr TYPE pgmid VALUE 'R3TR',
               gc_prog TYPE trobjtype VALUE 'PROG'.
    SELECTION SCREEN *****
    SELECTION-SCREEN: BEGIN OF BLOCK sel WITH FRAME TITLE sel_txt.
    SELECT-OPTIONS: s_repid FOR tadir-obj_name.
    PARAMETERS: p_seatxt TYPE string.
    SELECTION-SCREEN: END OF BLOCK sel.
    SELECTION SCREEN VALUE HELP *****
    REPID_LOW
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_repid-low.
    call search help
      PERFORM prog_search_help CHANGING s_repid-low.
    REPID_HIGH
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_repid-high.
    call search help
      PERFORM prog_search_help CHANGING s_repid-high.
    AT LINE-SELECTION *****
    AT LINE-SELECTION.
    line selection -> double click functionality
      PERFORM jump_into_coding USING gs_output-prog gs_output-line.
    INITIALIZATION ******
    INITIALIZATION.
      sel_txt = 'Date selection'(001).
    s_repid-sign = 'I'.
    s_repid-option = 'CP'.
    s_repid-low = 'Z*'.
    APPEND s_repid.
    START-OF-SELECTION ******
    START-OF-SELECTION.
      CLEAR: gt_output[],
             gs_output,
             gv_mess.
    select data and determine where search string is used
      PERFORM select_progs CHANGING gt_output.
    END-OF-SELECTION.
      IF NOT gt_output[] IS INITIAL.  "found data
    display the found data
        PERFORM display_data CHANGING gt_output.
      ELSE. "no data was found
        gv_mess = 'No data was found'(003).
        MESSAGE gv_mess TYPE gc_s.
      ENDIF.
    SUB-ROUTINES *****
    *&      Form  select_progs
          Determine programs where the search string is used
    -->  pt_output   Output data
    FORM select_progs CHANGING pt_output LIKE gt_output.
      DATA: BEGIN OF ls_progs,
             prog TYPE programm,
            END OF ls_progs.
      DATA: lt_progs LIKE TABLE OF ls_progs.
    select all progams into a internal table
      SELECT obj_name
        FROM tadir
        INTO TABLE lt_progs
        WHERE pgmid = gc_r3tr AND
              object = gc_prog AND
              obj_name IN s_repid.
      IF sy-subrc = 0.  "selection was successful
        LOOP AT lt_progs INTO ls_progs.
    search coding of the programms for the search string
          PERFORM search_coding USING ls_progs-prog
                                CHANGING pt_output.
        ENDLOOP.
      ELSE.   "selection was not successful -> error message
        gv_mess = 'Search string not found in selected programs'(002).
        MESSAGE gv_mess TYPE gc_s.
      ENDIF.
    ENDFORM.                    " select_progs
    *&      Form  search_coding
          search every selected program for the search string
         -->PS_PROGS   Program name
         <--PT_OUTPUT  output data
    FORM search_coding  USING    pv_prog TYPE any
                        CHANGING pt_output LIKE gt_output.
      DATA: lt_coding TYPE TABLE OF string,
            lv_coding TYPE string.
      CLEAR gs_output.
    read coding into internal table
      READ REPORT pv_prog INTO lt_coding.
      IF sy-subrc = 0.  "Coding was read
    move program name
        gs_output-prog = pv_prog.
    search for search text
        LOOP AT lt_coding INTO lv_coding.
          SEARCH lv_coding FOR p_seatxt.
          IF sy-subrc = 0.
    move found line
            gs_output-line = sy-tabix.
            gs_output-text = lv_coding.
            APPEND gs_output TO pt_output.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " search_coding
    *&      Form  display_data
          display the result data
         <--PT_OUTPUT  result data
    FORM display_data CHANGING pt_output LIKE gt_output.
      LOOP AT pt_output INTO gs_output.
        WRITE: / gs_output-prog LEFT-JUSTIFIED NO-GAP,
                 gs_output-line,
                 gs_output-text.
        HIDE: gs_output-prog, gs_output-line.
      ENDLOOP.
    DATA: lt_fieldcat TYPE TABLE OF slis_fieldcat_alv.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
      EXPORTING
        i_program_name               = sy-repid
        i_internal_tabname           = 'GT_OUTPUT'
       I_STRUCTURE_NAME             = 'ZSTMP_SEARCH_PROG'
       I_CLIENT_NEVER_DISPLAY       = 'X'
       I_INCLNAME                   =
       I_BYPASSING_BUFFER           =
       I_BUFFER_ACTIVE              =
       CHANGING
         ct_fieldcat                  = lt_fieldcat
    EXCEPTIONS
       inconsistent_interface       = 1
       program_error                = 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.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
       I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
         it_fieldcat                       = lt_fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
       TABLES
         t_outtab                          = pt_output
      EXCEPTIONS
        program_error                     = 1
        OTHERS                            = 2
    IF sy-subrc <> 0.
       MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM.                    " display_data
    *&      Form  prog_search_help
          search help for program field
    -->  pv_repid  program name
    <--  p2        text
    FORM prog_search_help CHANGING pv_repid TYPE any.
    use standard function module
      CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4'
        EXPORTING
          object_type                     = 'PROG'
          object_name                     = pv_repid
        ENCLOSING_OBJECT                =
        SUPPRESS_SELECTION              = 'X'
        VARIANT                         = ' '
        LIST_VARIANT                    = ' '
        DISPLAY_FIELD                   =
        MULTIPLE_SELECTION              =
        SELECT_ALL_FIELDS               = ' '
         WITHOUT_PERSONAL_LIST           = ' '
        PACKAGE                         = ' '
          use_alv_grid                    = ' '
       IMPORTING
         object_name_selected            = pv_repid
        ENCLOSING_OBJECT_SELECTED       =
        STRUCINF                        =
      TABLES
        OBJECTS_SELECTED                =
        RECORD_TAB                      =
       EXCEPTIONS
         cancel                          = 1
         wrong_type                      = 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.
    ENDFORM.                    " prog_search_help
    *&      Form  jump_into_coding
          jump into the coding
         -->P_GS_OUTPUT_PROG  text
         -->P_GS_OUTPUT_LINE  text
    FORM jump_into_coding USING pv_prog TYPE program
                                pv_line TYPE any.
      EDITOR-CALL FOR REPORT pv_prog DISPLAY-MODE.
    ENDFORM.                    " jump_into_coding

  • Need urgent help in a simple java program that adds up even numbers and..

    The task is to write a program that allows the user to enter 8 integers and then displays the sum of the odd integers and the product of the even integers
    what i did so far is
    public class Computation
    private int n;
    private int even;
    private int odd;
    public Computation()
    even =0;
    odd = 1;
    public Computation(int num1, int num2, int num3,int num4,int num5,int num6,int num7, int num8)
    n = num1;
    n = num2;
    n = num3;
    n = num4;
    n = num5;
    n = num6;
    n = num7;
    n = num8;
    for(int i=0; i<=n; i++)
    if(n%2 == 0)
    even += n;
    else
    odd *=n;
    public int getEven(int n)
    return even;
    public int getOdd()
    return odd;
    import java.util.*;
    public class Tester
    public static void main(String [] args)
    System.out.println("Enter any three words");
    Scanner input = new Scanner(System.in);
    int num1 = input.nextInt();
    int num2 = input.nextInt();
    int num3 = input.nextInt();
    int num4 = input.nextInt();
    int num5 = input.nextInt();
    int num6 = input.nextInt();
    int num7 = input.nextInt();
    int num8 = input.nextInt();
    Computation compute = new Computation(num1, num2, num3, num4, num5, num6, num7, num8);
    System.out.println("The Summation of the even numbers is: " + compute.getEven( ) + "\n" +"The product of the odd numbers is: " + compute.getOdd());
    }The result i get is always zero.. however, i think the problem lies in the first class when i constructed the numbers and sat them all to one object "n",
    i need help in fixing this bug,,
    thanks

    7uSamx wrote:
    Can you illustrate by a small example please ?Any small example would already contain pretty much the entire code.
    You know how to declare a method, right? You have several in your code, so I assume you do.
    You already know how to check if a given variable is even or odd. You already showed that code, so I assume you do.
    Now put those two together and you'll have a method that decides if the value passed to it is even or odd.
    Now put the desired action in each of the branches of the if-statement and you're almost done.
    Now call the method with each method from your constructor and you're done.

  • How to write applications(programs)?

    Hi, Im using java studio enterprise 8, could any tell me how to make it fast, like its takes nearly 30-50 mins to open the studio8. Also i dont know how to begin the application. I have tried using first going to file then new project but after that im unable to write the program.
    Thanx in adv.

    The Java Studio Enterprise 8 tool is built on top of Netbeans 4.1 product. You can find a lot of quickstarts and tutorials on the Netbeans site: http://www.netbeans.org/kb/41/
    You can use all information available there to start developing various applications in Java Studio Enterprise.
    Hope this helps.

Maybe you are looking for