KeyEvent...Please Very Urgent!!!!!!

Hi All,
I have a problem when enter the value to the textbox..let see my sceneris. i have a dialog with 10 text box. while enter the value in the text box then press the "ENTER" key, focus transfer to the next component and accepting data. if we do it slowly no problem. it is transfering focus and accepting data whatever we enter. but if we do it faster, it is not happening. i can able to see focus transfer but data is not displaying properly..some field data is missing..some field take someother field value also...
I am waiting for ur suggestyion and hint for that
Best Regards,
Muthu

hi,
the problem seems to be due to focus getting to the next textfield before the key is released. What you could try is in the keyReleased event of the KeyListener, add the code for setting the focus to the next textfield.
for eg
public class keyValidator implements KeyListener
public void keyTyped(KeyEvent e)
public void keyPressed(KeyEvent e)
public void keyReleased(KeyEvent e)
//some code here
//code to set focus to the next textfield.
hope that helpz.
cheerz
ynkrish

Similar Messages

  • Update Routine ... Help me Please--VERY URGENT

    Hi All ,
    I Moving data from Cube to ODS . Let me explain abt the records in the cube .
    There are 6 key figures in the cube as well as dimensions, UNIQKEY TRANSACTION is One Dimension and ARTICLE is another dimension which is having an Navigational attribute called CORE ELEMENT.
    I am showing the data with those two dimension and the key figures which are to be used in the routine.
    Charc----
    Key Figures
    UNIQKEY-ARTICLE-Coreelement--
    billqty     
    in base unit
    A00N----1006330--1--
    10.5
    A00M -
    1006320----2--
    2.5
    A00P-----1006330--1--
    10.5  
    A00P-----1006320--2--
    2.5
    A00Q-----1006320--2--
    2.5
    A00Q-----1006340--3--
    10.5
    Now Lets see what the core element numbers mean,
    core element 1 means -- fuel .
    Core elemnet other 1 -- food .   
    I need to move these data into ODS Which will have an extra field called No of items in the transaction --ITEMS.For this i need to write  a routine .
    The Logic is ...
    1.if Materail is of type 1(Means if the core element - 1)
    I need to Populate the No of items in tnx = 1 .--ITEMS.
    2.If Material is of type(Means if the core element)2or 3 I need to populate the billing quantity to the no of transcations.--ITEMS
    3. If the Uniqkey tanscation contains two line items as  suppose that you have 20 litres of fuel and 2 cans of coke, then No of Items in the transaction should be 3 and Billing Quantity in BUoM 22
    billing quantity in BUoM = 20 litres for the first line item and 2 for the second line item...
    then as the first line item is fuel, field No OF Items in the Transcation should be 1 (replacing the 20) + 2 = 3
    so the final result in the ODS should be billing quantity in BUoM = 22 and The Items in the Transcation= 3
    So the ODS Data should look like this.
    UNIQKEY--billqty--
    ITEMS
    in base unit 
    A00N--10.5--
    1
    A00M--2.5--
    2.5
    A00P--13--
    3.5
    A00Q--13--
    12.5  
    NOTE : IN the ODS only the UNIQKEY IS THE KEY FIELD and the rest are DATA FIELDS.
    I Posted this one before also. But didnt get proper responses.
    I am Pasting the piece of code which I have written . This code will work for the first two records in the cube , But it is failing for the UNIQKEY Transcation having Line items.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: /BI0/PMATERIAL.
    DATA: TITEMS LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS,
           CORE_ELEMENT like /BI0/PMATERIAL-RPA_WGH1.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS8ZPOCTUS04
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS
               RETURNCODE LIKE SY-SUBRC "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    check not COMM_STRUCTURE-material is initial.
      select SINGLE RPA_WGH1
            INTO CORE_ELEMENT
            from /BI0/PMATERIAL
            where
            material = COMM_STRUCTURE-material
            and  OBJVERS <>'D'.
       IF CORE_ELEMENT EQ '1'.
       TITEMS = '1'.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
             input         = titems
          IMPORTING
            OUTPUT        = titems
       ELSE.
       TITEMS = COMM_STRUCTURE-BILL_QTY.
       ENDIF.
    result value of the routine
      RESULT = TITEMS..
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    PLease give me ideas on how to acheive this . As I am not Aware of ABAP very well.. PLease try to give me the code. I hope one of you may got the same requirement before.
    Its very urgent and I need to deliver it today itself.
    Thanks in advance , you can mail me to [email protected]. If anybody intersted to discuss this Issue they can reach at +91 9845922955.

    Hi ,
    While I am moving the data from cube to ods . I need to create the update rules with cube -- 8cube . WHen i am doing this the billqty is a key figure in cube so that is not a problem but the ITEMS is not there in the cube ,SO for that I need to write a routine to populate that one.
    Its strange but the user what to analyse with the UNIQKEY transaction. And these objects will be added as navigational attributes to the Characteristic. as it acts as another dimension.
    He wants to laod these from ODS to Master data -Characteristic.
    to say for each transcation hpw many items are getting sold.
    Message was edited by: Nagarjuna Reddy
    ONce again thanks for the qucik replies
    Message was edited by: Nagarjuna Reddy

  • Need info on Staging Error Tables ( Please Very urgent)

    Hi Friends,
    I am new to ERP. I need Information on Staging Error Tables in ERP. Please Let me know if anybody have an idea on this.
    Thanks

    I am new to ERP. I need Information on Staging Error Tables in ERP. Please Let me know if anybody have an idea on this.https://forums.oracle.com/forums/search.jspa?threadID=&q=Staging+AND+Tables&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Smod object or not Please very urgent .. I want to find exits ..

    How can I distinguish smod user exits or others ?. I want to get only activable exits by catching smod linked or not .
    Edited by: carlos eduardo on Dec 17, 2007 10:34 AM

    *& Report ZMS_ACTIVE_EXITS
    *& This report displays all the active customer enhancements in the
    *& system and also displays whether they are active or implemented
    REPORT ZMS_ACTIVE_EXITS.
    Data decleration
    TYPES: BEGIN OF S_FUNCTION,
    FNAME LIKE MOD0-FUNCNAME,
    FTEXT LIKE TFTIT-STEXT,
    IMPL,
    ACTIVE,
    EXAMPLE,
    END OF S_FUNCTION.
    TYPES : BEGIN OF DISPLAY_STR,
    PROJECT TYPE MODACT-NAME,
    ENHANCEMENT TYPE MODACT-MEMBER,
    FM TYPE MODSAP-MEMBER,
    STATUS TYPE CHAR20,
    END OF DISPLAY_STR.
    DATA : LT_MEMBER TYPE TABLE OF MODACT-MEMBER,
    LS_MEMBER LIKE LINE OF LT_MEMBER,
    LT_FM TYPE TABLE OF MODSAP-MEMBER,
    LS_FM LIKE LINE OF LT_FM,
    LT_MODNAME TYPE TABLE OF MODACT-NAME,
    LS_MODNAME LIKE LINE OF LT_MODNAME,
    LT_DISPLAY TYPE TABLE OF DISPLAY_STR,
    LS_DISPLAY LIKE LINE OF LT_DISPLAY,
    LS_FUNCTION TYPE S_FUNCTION,
    FIELD1(30).
    START-OF-SELECTION.
    Select active customer enhancement.
      SELECT NAME FROM MODATTR INTO LS_MODNAME
      WHERE STATUS = 'A'.
        APPEND LS_MODNAME TO LT_MODNAME.
        CLEAR LS_MODNAME.
      ENDSELECT.
      IF LT_MODNAME IS INITIAL.
        WRITE / 'no active enhancements'.
      ENDIF.
    Determine the details about the customer enhancement.
      LOOP AT LT_MODNAME INTO LS_MODNAME.
        CLEAR : LS_DISPLAY.
        SELECT MEMBER FROM MODACT INTO LS_MEMBER WHERE NAME = LS_MODNAME.
          SELECT MEMBER FROM MODSAP INTO LS_FM WHERE NAME = LS_MEMBER AND TYP =
          'E'.
            LS_DISPLAY-PROJECT = LS_MODNAME.
            LS_DISPLAY-ENHANCEMENT = LS_MEMBER.
            LS_DISPLAY-FM = LS_FM.
            CLEAR : LS_FUNCTION.
            LS_FUNCTION-FNAME = LS_FM.
            PERFORM GET_IMPL_STATUS USING LS_FUNCTION.
            IF LS_FUNCTION-IMPL = 'X'.
              LS_DISPLAY-STATUS = 'Implemented'.
            ELSE.
              LS_DISPLAY-STATUS = 'Active'.
            ENDIF.
            APPEND LS_DISPLAY TO LT_DISPLAY.
          ENDSELECT.
        ENDSELECT.
      ENDLOOP.
    Displaying results
      FORMAT COLOR = 1.
      WRITE : 'Please double-click on the object for follow-on action'.
      NEW-LINE. ULINE.
    WRITE : 'Customer Project', AT 30 'SAP Enhancement',
    AT 60 'Exit Function Module', AT 100 'Active/Implemented'.
      ULINE.
      FORMAT COLOR = 0.
      LOOP AT LT_DISPLAY INTO LS_DISPLAY.
        NEW-LINE.
        WRITE : LS_DISPLAY-PROJECT, AT 30 LS_DISPLAY-ENHANCEMENT,
        AT 60  LS_FM,
        AT 100 LS_DISPLAY-STATUS.
      ENDLOOP.
    For calling transaction CMOD / SMOD / SE37.
    AT LINE-SELECTION.
      GET CURSOR FIELD FIELD1.
      CASE FIELD1.
        WHEN 'LS_DISPLAY-PROJECT'.
          SET PARAMETER ID 'MON_KUN' FIELD SY-LISEL(10).
          CALL TRANSACTION 'CMOD' AND SKIP FIRST SCREEN.
        WHEN 'LS_DISPLAY-ENHANCEMENT'.
          SET PARAMETER ID 'MON' FIELD SY-LISEL+29(10).
          CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
        WHEN 'LS_DISPLAY-FM'.
          SET PARAMETER ID 'LIB' FIELD SY-LISEL+59(30).
          CALL TRANSACTION 'SE37' AND SKIP FIRST SCREEN.
        WHEN OTHERS.
          MESSAGE 'Click on the right place.' TYPE 'I'.
      ENDCASE.
    *& Form get_impl_status
    This FORM checks whether an EXIT FM is implemented or not
    FORM GET_IMPL_STATUS USING P_FUNCTION TYPE S_FUNCTION.
      DATA : L_MAND LIKE TFDIR-MAND,
      L_INCL_NAMES TYPE SMOD_NAMES OCCURS 1 WITH HEADER LINE.
      L_INCL_NAMES-ITYPE = 'C'.
      APPEND L_INCL_NAMES.
      CLEAR L_MAND.
      SELECT SINGLE MAND FROM TFDIR INTO L_MAND WHERE FUNCNAME =
      P_FUNCTION-FNAME.
      IF SY-SUBRC = 0 AND L_MAND(1) = 'C'.
        P_FUNCTION-ACTIVE = 'X'.
    l_status-active = c_true.
      ELSE.
        P_FUNCTION-ACTIVE = ' '.
    l_status-inactive = c_true.
      ENDIF.
      CALL FUNCTION 'MOD_FUNCTION_INCLUDE'
        EXPORTING
          FUNCNAME   = P_FUNCTION-FNAME
        TABLES
          INCL_NAMES = L_INCL_NAMES
        EXCEPTIONS
          OTHERS     = 4.
      IF SY-SUBRC = 0.
        LOOP AT L_INCL_NAMES.
          SELECT SINGLE NAME FROM TRDIR INTO L_INCL_NAMES-INAME
          WHERE NAME = L_INCL_NAMES-INAME.
          IF SY-SUBRC = 0.
            P_FUNCTION-IMPL = 'X'.
          ELSE.
            P_FUNCTION-IMPL = ' '.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM. "get_impl_status
    <b> check this code </b>
    reward if useful
    santhosh reddy

  • PARSING HTML ELEMNETS IN XML FILE?,Help please very urgent

    I am getting the input in this form
    <ul>
    <li>Strategies</li>
    <li>Planning</li>
    <li>Value</li>
    <li>Total Investment</li>
    </ul>
    I want to convert it into below format so that ContentHandler parse the HTML tages.The HTML elements are dynamic,
    contentHandler.startElement("", "ul", "ul", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.characters(value.toCharArray(), 0, value.length());
    contentHandler.startElement("", "li", "li", attrs);
    contentHandler.endElement("", "ul", "ul");
    Is their any library through which we can convert HTML tags into ContentHandler elements.
    Thanks in Advance
    Thanks
    Lakhi

    Actually i am parsing XML file,but i have HTML elements inside XML elements:
    <section id='2'><header><line>Agenda( Slide2 )</line></header>
    <line>
    <h3>Agenda</h3>
    <ol>
    <li>Overview of ABC Company inc.</li>
    <li>Defining and Measuring Employee Engagement</li>
    <li>Foresight's Survey Methodology</li>
    <li>Online Tools</li>
    <li>Standard and Custom Reporting Capabilities</li>
    <li>Action Planning and Best Practices</li>
    </ol></line></section>
    And i am using Contenthandler interface to parse,
              attrs.addCDATAAttribute("id",""+i);
                   contentHandler.startElement("", "section", "section", attrs);
                   attrs.clear();
                   contentHandler.startElement("", "header", "header", attrs);
                   contentHandler.startElement("", "line", "line", attrs);
                   contentHandler.characters(key.toCharArray(), 0, key.length());
                   contentHandler.endElement("", "line", "line");
                   contentHandler.endElement("", "header", "header");
                   contentHandler.startElement("", "line", "line", attrs);
    /*HERE I need to Generate java instruction for HTML elements as i mailed before.for elements like <li>Overview of ABC Company inc.</li>
    <li>Defining and Measuring Employee Engagement</li>...................</ol>
                   contentHandler.characters(value.toCharArray(), 0, value.length());
                   contentHandler.endElement("", "line", "line");
                   contentHandler.endElement("", "section", "section");

  • Please very urgent How can i call focus event for dynamic created txtbox

    Hi,
    I create a one texbox using javascript .now i want to call onFocus event that textbox.How is it

    Hi,
    I create a one texbox using javascript .now i want to
    call onFocus event that textbox.How is itJust for you, slowly, so you can understand:
    Javascript was invented by Netscape and is a scri�ting language for browsers.
    Java is a programming language invented by Sun.
    Compare:
    Netscape. Sun.
    Notice a difference?

  • Please very urgent........

    hi i am new to ABAP.
    my requirement is :
    create a ALV report to display material number and sales order using tables MARA and VBAP
    using REUSE_ALV_GRID_DISPLAY.
    points will be rewarded.

    hi nani,
    try this code,this is for displaying billing document number and other relevant details.you can put your required fields and check for help.
    TABLES: vbrp,vbrk.
    Global data definitions
    DATA: ok_code LIKE sy-ucomm,
          it_tab TYPE TABLE OF zstruct1,
    Name of the custom control added to the screen
          g_container TYPE scrfname VALUE 'CUSTOM_SCREEN',
    ALV Grid instance reference
           grid TYPE REF TO cl_gui_alv_grid,
    Custom container instance referance
          g_custom_container TYPE REF TO cl_gui_custom_container.
    To display the billing document no and customer no at the selection screen.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE t001.
    SELECT-OPTIONS  s_vbeln FOR vbrk-vbeln OBLIGATORY.
    SELECT-OPTIONS s_kunrg FOR vbrk-kunrg OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1.
    Validating the entries in the selection screen.
    AT SELECTION-SCREEN.
      SELECT SINGLE vbeln FROM vbrk INTO vbrk WHERE vbeln IN s_vbeln.
      IF sy-subrc <> 0.
        MESSAGE e000.
      ENDIF.
      SELECT SINGLE kunrg FROM vbrk INTO vbrk WHERE kunrg IN s_kunrg.
      IF sy-subrc <> 0.
        MESSAGE e001.
      ENDIF.
    Start-Of-Selection Event
    START-OF-SELECTION.
      PERFORM fetch.
    END-OF-SELECTION.
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS100'.
    *SET TITLEBAR 'xxx'.
      PERFORM display_alv_billing.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'EXIT'(001).
          PERFORM exit.
        WHEN OTHERS.
          CALL SCREEN 100.
      ENDCASE.
      CLEAR ok_code.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  EXIT
          text
    -->  p1        text
    <--  p2        text
    FORM exit .
      LEAVE PROGRAM.
    ENDFORM.                    " EXIT
    *&      Form  fetch
          text
    -->  p1        text
    <--  p2        text
    FORM fetch .
      SELECT kvbeln kkunrg pposnr pfkimg p~matnr INTO CORRESPONDING FIELDS OF TABLE it_tab
      FROM vbrk AS k JOIN vbrp AS p ON kvbeln = pvbeln WHERE k~vbeln IN s_vbeln AND
                                                               k~kunrg IN s_kunrg.
    ENDFORM.                    " fetch
    *&      Form  DISPLAY_ALV_BILLING
          text
    -->  p1        text
    <--  p2        text
    FORM display_alv_billing .
      IF grid IS INITIAL .
    Creating custom container instance
        CREATE OBJECT g_custom_container
        EXPORTING
             container_name = g_container
        EXCEPTIONS
             cntl_error = 1
             cntl_system_error = 2
             create_error = 3
             lifetime_error = 4
             lifetime_dynpro_dynpro_link = 5
             OTHERS = 6 .
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
    *----Creating ALV Grid instance
        CREATE OBJECT grid
           EXPORTING
                i_parent = g_custom_container
           EXCEPTIONS
                error_cntl_create = 1
                error_cntl_init = 2
                error_cntl_link = 3
                error_dp_create = 4
                OTHERS = 5 .
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
    *----Here will be additional preparations
    *--e.g. initial sorting criteria, initial filtering criteria, excluding
    *--functions
        CALL METHOD grid->set_table_for_first_display
             EXPORTING
         I_BUFFER_ACTIVE =
         I_CONSISTENCY_CHECK =
               i_structure_name = 'ZSTRUCT1'
         IS_VARIANT =
         I_SAVE =
         I_DEFAULT = 'X'
              is_layout = g_layout
         IS_PRINT =
         IT_SPECIAL_GROUPS =
         IT_TOOLBAR_EXCLUDING =
         IT_HYPERLINK =
             CHANGING
                it_outtab        = it_tab
               it_fieldcatalog = g_fieldcat
          IT_SORT =
          IT_FILTER =
             EXCEPTIONS
                invalid_parameter_combination = 1
                program_error = 2
                too_many_lines = 3
                OTHERS = 4 .
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
      ELSE .
        CALL METHOD grid->refresh_table_display
      EXPORTING
         IS_STABLE =
         I_SOFT_REFRESH =
            EXCEPTIONS
               finished = 1
               OTHERS = 2 .
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
      ENDIF .
    ENDFORM.                    " DISPLAY_ALV_BILLING
    reward if helpful.
    regards,
    sravanthi

  • Program for conversion please very urgent

    program to convert numberic to string like 356 to thre hundred and fifty six...and 1020 to to one thousand and twenty

    This one works for upto 4 digits
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    public class DigitsToWords {
         public static void main(String[] args) throws IOException {
               BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
               String inDigits ;
               System.out.print("Enter some number: ") ;
               inDigits = in.readLine();
               String inWords = parseToWords(inDigits);
               System.out.println(inWords);
               in.close();
         public static String reverseString(String str) {
              String reverse = "";
              int length = str.length();
              for (int i = length-1; i >= 0; i--) {
                   reverse+= str.charAt(i);
              return reverse;
         public static String parseToWords(String inDigits) {
              String inWords = "";
              String reversed;
              String word = "";
              reversed = reverseString(inDigits);
              for (int i = 0; i < reversed.length(); i++) {
                   char digit = reversed.charAt(i);
                   if(i == 1) {
                        switch(digit) {
                             case '1':
                                  switch (reversed.charAt(i-1)) {
                                       case '0':
                                            word = "ten";
                                            break;
                                       case '1':
                                            word = "eleven";
                                            break;
                                       case '2':
                                            word = "twelve";
                                            break;
                                       case '3':
                                            word = "thirteen";
                                            break;
                                       case '4':
                                            word = "fourteen";
                                            break;
                                       case '5':
                                            word = "fifteen";
                                            break;
                                       case '6':
                                            word = "sixteen";
                                            break;
                                       case '7':
                                            word = "seventeen";
                                            break;
                                       case '8':
                                            word = "eighteen";
                                            break;
                                       case '9':
                                            word = "nineteen";
                                            break;
                                  break;
                             case '2':
                                  word = "twenty";
                                  break;
                             case '3':
                                  word = "thrity";
                                  break;
                             case '4':
                                  word = "fourty";
                                  break;
                             case '5':
                                  word = "fifty";
                                  break;
                             case '6':
                                  word = "sixty";
                                  break;
                             case '7':
                                  word = "seventy";
                                  break;
                             case '8':
                                  word = "eighty";
                                  break;
                             case '9':
                                  word = "ninty";
                                  break;
                   else {
                        switch(digit) {
                             case '1':
                                  word = "one";
                                  break;
                             case '2':
                                  word = "two";
                                  break;
                             case '3':
                                  word = "three";
                                  break;
                             case '4':
                                  word = "four";
                                  break;
                             case '5':
                                  word = "five";
                                  break;
                             case '6':
                                  word = "six";
                                  break;
                             case '7':
                                  word = "seven";
                                  break;
                             case '8':
                                  word = "eight";
                                  break;
                             case '9':
                                  word = "nine";
                                  break;
                   switch (i) {
                   case 2:
                        word += " hundred"     ;
                        break;
                   case 3:
                        word += " thousand"     ;
                        break;
                   default:
                        break;
                        inWords = word + " " + inWords;
              return inWords;
    }

  • How use class file in jsp(very urgent)

    i have class file called birds (birds is actually a xslt file transformed to java class file) now this class file i have to use in my jsp file. how can i use them. if possible can any one give me sample code please very urgent
    can any one help me

    java files
    import org.w3c.dom.*;
    import javax.servlet.http.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import java.io.*;
    public class XmlParser
         public String XmlParser()
              try
    String strXML= "employee.xml";
                   String xslFile = "employeeId.xsl";
                   TransformerFactory tFactory = TransformerFactory.newInstance();
                   StreamResult theTransformationResult = new StreamResult( new ByteArrayOutputStream() );
                   Transformer transformer = tFactory.newTransformer(new StreamSource(xslFile));
                   transformer.transform(new StreamSource(new StringReader(strXML)), theTransformationResult);
                   String output = theTransformationResult.getOutputStream().toString()
              catch(Exception e)
                   System.out.println(" ***** XmlParser.XmlParser ERROR ***** " + e);
    return output;
    using class files in jsp
    <%@ page import="com.qqqq.aaaa.XmlParser"%>
    <%
         XmlParser xmlParser          =     new XmlParser();
    out.println(xmlParser.XmlParser());
    %>
    i think it will help you.

  • Kernel panics, message saying "You need to restart your computer.Hold down the Power..." I am in the middle of HSC very URGENT please help!! Mac keeps needing to restart!!

    Kernel panics, message saying "You need to restart your computer.Hold down the Power..." I am in the middle of HSC very URGENT please help!! Mac keeps needing to restart!!
    I looked in console and its saying that it may be because of Sophos Anti-Virus, i deleted and uninstalled all traces of Sophos but looked in console and this is some of the lines coming up:
    26/09/13 10:11:17.945 PM com.apple.launchd: (com.sophos.intercheck[6460]) posix_spawn("/Library/Sophos Anti-Virus/InterCheck.app/Contents/MacOS/InterCheck", ...): No such file or directory
    26/09/13 10:11:17.945 PM com.apple.launchd: (com.sophos.autoupdate[6461]) posix_spawn("/Library/Sophos Anti-Virus/SophosAutoUpdate.app/Contents/MacOS/SophosAutoUpdate", ...): No such file or directory
    26/09/13 10:11:17.945 PM com.apple.launchd: (com.sophos.notification[6462]) posix_spawn("/Library/Sophos Anti-Virus/SophosAntiVirus.app/Contents/MacOS/SophosAntiVirus", ...): No such file or directory
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.intercheck[6460]) Exited with code: 1
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.intercheck) Throttling respawn: Will start in 10 seconds
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.autoupdate[6461]) Exited with code: 1
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.autoupdate) Throttling respawn: Will start in 10 seconds
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.notification[6462]) Exited with code: 1
    26/09/13 10:11:17.946 PM com.apple.launchd: (com.sophos.notification) Throttling respawn: Will start in 10 seconds
    26/09/13 10:11:18.291 PM Safari: self <TabContentView: 0x7f8d5dd1aa50>
    26/09/13 10:11:22.617 PM Safari: self <TabContentView: 0x7f8d5db7bb00>
    26/09/13 10:11:27.866 PM Safari: self <TabContentView: 0x7f8d5c331a70>
    26/09/13 10:12:19.939 PM com.apple.launchd.peruser.501: (com.sophos.uiserver[6487]) posix_spawn("/Library/Sophos Anti-Virus/SophosUIServer.app/Contents/MacOS/SophosUIServer", ...): No such file or directory
    26/09/13 10:12:19.939 PM com.apple.launchd.peruser.501: (com.sophos.uiserver[6487]) Exited with code: 1
    26/09/13 10:12:19.939 PM com.apple.launchd.peruser.501: (com.sophos.uiserver) Throttling respawn: Will start in 10 seconds"
    Looked all over computer and cant find anything of Sophos please help very urgent!

    That was all that there was in the most recent one, how long do you think it could take to fix?
    Here is the second most recent:
    Wed Sep 25 15:39:39 2013
    panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff7f81757965, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0xffffff81acc397fe, CR3: 0x000000001e2b5025, CR4: 0x00000000000606e0
    RAX: 0x000000001d31a000, RBX: 0x0000000000000000, RCX: 0x0000000000000000, RDX: 0x0000000000000000
    RSP: 0xffffff80b0dbb710, RBP: 0xffffff80b0dbb820, RSI: 0x0000000000000000, RDI: 0x0000000000000001
    R8:  0x000000000000000a, R9:  0x0000000000000378, R10: 0x0000000000000128, R11: 0x0000000000000378
    R12: 0xffffff800c626400, R13: 0x0000000000000000, R14: 0x0000000000000000, R15: 0xffffff81acc39802
    RFL: 0x0000000000010246, RIP: 0xffffff7f81757965, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0xffffff81acc397fe, Error code: 0x0000000000000000, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80b0dbb3c0 : 0xffffff8000220792
    0xffffff80b0dbb440 : 0xffffff80002c4794
    0xffffff80b0dbb5f0 : 0xffffff80002da55d
    0xffffff80b0dbb610 : 0xffffff7f81757965
    0xffffff80b0dbb820 : 0xffffff7f817667a0
    0xffffff80b0dbb840 : 0xffffff7f8173a58e
    0xffffff80b0dbb870 : 0xffffff7f8177fb6f
    0xffffff80b0dbb8a0 : 0xffffff7f81779632
    0xffffff80b0dbb8d0 : 0xffffff7f8177d7d5
    0xffffff80b0dbb900 : 0xffffff7f8177c6db
    0xffffff80b0dbb9e0 : 0xffffff7f817412b8
    0xffffff80b0dbba10 : 0xffffff7f81778684
    0xffffff80b0dbba30 : 0xffffff7f817449ce
    0xffffff80b0dbbb60 : 0xffffff7f81741a4c
    0xffffff80b0dbbbc0 : 0xffffff8000655f3e
    0xffffff80b0dbbbe0 : 0xffffff800065681a
    0xffffff80b0dbbc40 : 0xffffff8000656fbb
    0xffffff80b0dbbd80 : 0xffffff80002a3f08
    0xffffff80b0dbbe80 : 0xffffff8000223096
    0xffffff80b0dbbeb0 : 0xffffff80002148a9
    0xffffff80b0dbbf10 : 0xffffff800021bbd8
    0xffffff80b0dbbf70 : 0xffffff80002aef10
    0xffffff80b0dbbfb0 : 0xffffff80002daec3
          Kernel Extensions in backtrace:
             com.apple.driver.AppleIntelHD3000Graphics(7.3.2)[A2328231-E577-32FF-B20F-D08BDC FE9C51]@0xffffff7f81738000->0xffffff7f8179bfff
                dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f80889000
                dependency: com.apple.iokit.IONDRVSupport(2.3.4)[7C8672C4-8B0D-3CCF-A79A-23C62E90F895]@0xff ffff7f80d2e000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f80cf5000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    11G63b
    Kernel version:
    Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
    Kernel UUID: FF3BB088-60A4-349C-92EA-CA649C698CE5
    System model name: MacBookPro8,1 (Mac-94245B3640C91C81)
    System uptime in nanoseconds: 1866666823698
    last loaded kext at 480357661446: com.apple.filesystems.smbfs          1.7.2 (addr 0xffffff7f80795000, size 241664)
    last unloaded kext at 303348424187: com.apple.driver.AppleUSBUHCI          5.1.0 (addr 0xffffff7f80af7000, size 65536)
    loaded kexts:
    com.sophos.kext.sav          8.0.14
    org.virtualbox.kext.VBoxNetAdp          4.2.16
    org.virtualbox.kext.VBoxNetFlt          4.2.16
    org.virtualbox.kext.VBoxUSB          4.2.16
    org.virtualbox.kext.VBoxDrv          4.2.16
    com.logmein.driver.LogMeInSoundDriver          1.0.2
    com.Greatdy.driver.SystemAudioCapture          1.0.0
    com.apple.filesystems.smbfs          1.7.2
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.iokit.IOBluetoothSerialManager          4.0.8f17
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleHDA          2.2.5a5
    com.apple.driver.AppleMikeyDriver          2.2.5a5
    com.apple.driver.AGPM          100.12.75
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.SMCMotionSensor          3.0.2d6
    com.apple.driver.AppleSMCPDRC          5.0.0d8
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.3
    com.apple.driver.AppleSMCLMU          2.0.1d2
    com.apple.driver.ApplePolicyControl          3.1.33
    com.apple.driver.ACPI_SMC_PlatformPlugin          5.0.0d8
    com.apple.driver.AppleIntelHD3000Graphics          7.3.2
    com.apple.driver.AppleBacklight          170.2.2
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleUSBTCButtons          227.6
    com.apple.driver.BroadcomUSBBluetoothHCIController          4.0.8f17
    com.apple.driver.AppleUSBTCKeyboard          227.6
    com.apple.driver.AppleIRController          312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          33
    com.apple.iokit.SCSITaskUserClient          3.2.1
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCISerialATAPI          2.0.3
    com.apple.iokit.IOAHCIBlockStorage          2.1.0
    com.apple.driver.AppleUSBHub          5.1.0
    com.apple.driver.AppleFWOHCI          4.9.0
    com.apple.driver.AirPort.Brcm4331          561.7.22
    com.apple.driver.AppleSDXC          1.2.2
    com.apple.iokit.AppleBCM5701Ethernet          3.2.4b8
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleAHCIPort          2.3.1
    com.apple.driver.AppleUSBEHCI          5.1.0
    com.apple.driver.AppleACPIButtons          1.5
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.5
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          195.0.0
    com.apple.nke.applicationfirewall          3.2.30
    com.apple.security.quarantine          1.4
    com.apple.security.TMSafetyNet          8
    com.apple.driver.AppleIntelCPUPowerManagement          195.0.0
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.driver.DspFuncLib          2.2.5a5
    com.apple.iokit.IOSurface          80.0.2
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.AppleHDAController          2.2.5a5
    com.apple.iokit.IOHDAFamily          2.2.5a5
    com.apple.iokit.IOAudioFamily          1.8.6fc18
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleGraphicsControl          3.1.33
    com.apple.driver.AppleSMC          3.1.3d10
    com.apple.driver.IOPlatformPluginLegacy          5.0.0d8
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.IOPlatformPluginFamily          5.1.1d6
    com.apple.iokit.IONDRVSupport          2.3.4
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.driver.AppleIntelSNBGraphicsFB          7.3.2
    com.apple.iokit.IOGraphicsFamily          2.3.4
    com.apple.kext.triggers          1.0
    com.apple.driver.AppleUSBBluetoothHCIController          4.0.8f17
    com.apple.iokit.IOBluetoothFamily          4.0.8f17
    com.apple.driver.AppleThunderboltDPInAdapter          1.8.5
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.8.5
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.5
    com.apple.driver.AppleUSBMultitouch          230.5
    com.apple.iokit.IOUSBHIDDriver          5.0.0
    com.apple.driver.AppleUSBMergeNub          5.1.0
    com.apple.driver.AppleUSBComposite          5.0.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.2.1
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.2.1
    com.apple.driver.AppleThunderboltNHI          1.6.0
    com.apple.iokit.IOThunderboltFamily          2.0.3
    com.apple.iokit.IOUSBUserClient          5.0.0
    com.apple.iokit.IOFireWireFamily          4.4.8
    com.apple.iokit.IO80211Family          420.3
    com.apple.iokit.IOEthernetAVBController          1.0.1b1
    com.apple.iokit.IONetworkingFamily          2.1
    com.apple.iokit.IOAHCIFamily          2.0.8
    com.apple.iokit.IOUSBFamily          5.1.0
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.7.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          177.11
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.driver.DiskImages          331.7
    com.apple.iokit.IOStorageFamily          1.7.2
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.5
    com.apple.iokit.IOPCIFamily          2.7
    com.apple.iokit.IOACPIFamily          1.4

  • Please help me with the following two questions, very urgent

    Hi All,
    Please help me with some scenerios about what are the common problems when modifying a standard script such a standard Invoice script and how can we overcome them.
    What are the common problems encountered when working with SAP SMARTFORMS and how to overcome them?
    Please help me with these questions, its very urgent.
    Thanks in advance.
    MD.

    hi
    hope it will help you.
    reward if ehlp.
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Here is the procedure
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Smartform
    you can check this link here you can see the steps and you can do it the same by looking at it..
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SMARTFORMS STEPS.
    1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
    2. Create Table type(t_struct) of stracture in se11.
    3. In your program declare Internal table(Itab) type table of structure(struct).
    4. Define work area(wa) like line of internal table.
    5. Open Tcode Smartforms
    6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
    7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
    8. In form pages and window, create Page node by default Page1 is available.
    9. In page node you can create numbers of secondary window. But in form there is only one Main window.
    10. By right click on page you can create windows or Go to Edit, Node, Create.
    11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
    12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
    13. In table there are three areas Header, Main Area, Footer.
    14. Right click on the Main area create table line by default line type1 is there select it.
    15. Divide line into cells according to your need then for each cell create Text node.
    16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
    17. Save form and activate it.
    18. Then go to Environment, function module name, there you get the name of function module copy it.
    19. In your program call the function module that you have copied from your form.
    20. In your program in exporting parameter of function pass the internal table(itab).
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
    configure forms with data from an SAP System for the relevant business processes.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    What Transaction to start SAP Smart Forms?
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
    You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
    These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
    For Web publishing, the system provides a generated XML output of the processed form.
    Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    SmartForms System Fields
    Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
    System fields of Smart Forms
    &SFSY-DATE&
    Displays the date. You determine the display format in the user master record.
    &SFSY-TIME&
    Displays the time of day in the form HH:MM:SS.
    &SFSY-PAGE&
    Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
    &SFSY-FORMPAGES&
    Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
    &SFSY-JOBPAGES&
    Contains the total page number of all forms in the currently processed print request.
    &SFSY-WINDOWNAME&
    Contains the name of the current window (string in the Window field)
    &SFSY-PAGENAME&
    Contains the name of the current page (string in the Page field)
    &SFSY-PAGEBREAK&
    Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
    &SFSY-MAINEND&
    Is set as soon as processing of the main window on the current page ends
    &SFSY-EXCEPTION&
    Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
    Example Forms Available in Standard SAP R/3
    SF_EXAMPLE_01
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
    Advantages of SAP Smart Forms
    SAP Smart Forms have the following advantages:
    1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
    2. Displaying table structures (dynamic framing of texts)
    3. Output of background graphics, for form design in particular the use of templates which were scanned.
    4. Colored output of texts
    5. User-friendly and integrated Form Painter for the graphical design of forms
    6. Graphical Table Painter for drawing tables
    7. Reusing Font and paragraph formats in forms (Smart Styles)
    8. Data interface in XML format (XML for Smart Forms, in short XSF)
    9. Form translation is supported by standard translation tools
    10. Flexible reuse of text modules
    11. HTML output of forms (Basis release 6.10)
    12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)

  • How to enable RFC and how to use it in Report..please tell its very urgent

    Dear Techie's,
    Please tell its very urgent..
    How to enable RFC and how to use it in Report. ??
    Virendra

    hi,
    pls chk any of these links.
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    rgds
    Anver

  • SQL SELECT Query Help   ..Please its very Urgent!!

    Hi All,
    I am having Oracle Database whice is storing 1000's of records daily.
    I need to select some information based on date and time.
    I am having two coloumns for Date and time. The first column(testDate) of type Date stores date as MM/DD/YY format and the second column(testTime)of type Numeric stores the time in seconds.
    The Example data is :
    testDate ------=-- testTime
    11/12/2002 --- 35000
    11/12/2002 --- 43000
    11/12/2002 --- 45000
    11/12/2002 --- 75000
    11/13/2002 --- 2000
    11/13/2002 --- 3500
    11/13/2002 --- 4300
    11/13/2002 --- 9800
    11/13/2002 --- 23000
    11/14/2002 --- 5000
    11/14/2002 --- 10000
    11/14/2002 --- 15000
    How can i write a SELECT Query to get the records of specific date and seconds to next day specific date and seconds.I mean i want all the records between 11/12/2002 --- 43000 seconds to 11/14/2002 --- 1000 seconds.
    If any one helps me in this regard iam very thank full to them.Its very urgent for me.
    Thanks

    Hi m7nra,
    I used the query as
    SELECT * FROM table
    WHERE testDate + (testTime/(24*60*60)) BETWEEN TO_DATE('MM/DD/YYYY','12.11.2002') AND TO_DATE('MM/DD/YYYY','14.11.2002')
    its giving DATE FORMAT NOT RECOGNIZED error.
    The Example data is :
    testDate ------=-- testTime
    11/12/2002 --- 35000
    11/12/2002 --- 43000
    11/12/2002 --- 45000
    11/12/2002 --- 75000
    11/13/2002 --- 2000
    11/13/2002 --- 3500
    11/13/2002 --- 4300
    11/13/2002 --- 9800
    11/13/2002 --- 23000
    11/14/2002 --- 5000
    11/14/2002 --- 10000
    11/14/2002 --- 15000
    infact i need all the records between 11/12/2002 --- 43000 seconds to 11/14/2002 --- 1000 seconds.
    Please help me to find a full query beacuse iam very new to Oracle.
    Thanks,
    S R Mannava

  • How to implement drop down list in WDP Abap....very urgent...please help me

    Hi Gurus,
    I wanted to implement the drop down list button in the WDP Abap interactive form. Once the users clicks on the drop down button, an RFC should be called and display the details under the drop down button. Please give me the logic with code. Its very urgent...please help me. Please note that it is in WDP Abap interactive forms. We are using NW2004S, ECC6.0.

    Hello,
    you have to use ZCI form to use DDLB in WD-ABA. The content of the DDLB has to be present at rendering time, there is no dinamic call when you click the "dropdown".
    The attribut you map to the DDLB has to be an element with a value-set, and the value set has to contain the text / value pairs.
    >> this will be displayed when you click the dropdown.
    Best regards,
    Dezso

  • TS1702 I just bought a new iphone 5S and once turned on and pushed the button restore from Icloud, I'm stil stuck in this section i can't do anything plus i turned it off and on again and still not working, please provide me with a solution very urgently!

    I just bought a new iphone 5S and once turned on and pushed the button restore from Icloud, I'm stil stuck in this section i can't do anything plus i turned it off and on again and still not working, please provide me with a solution very urgently!!
    Kindly note also that i did not work on this iphone before, i just turned it on and i cannot connect it to the itune and restore it as the itune cannot read the device since i'm not able to reach my home screen, I am stuck in my restoring screen.
    Please help!!!!

    You dont have any data on your phone yet right?
    If you dont connect your device to the computer and
    Press and hold the Sleep/Wake button and the Home button together for at least 15 seconds, until the Apple logo appears.
    after that click okay when it says itunes has detected an iphone in recovery mode. Then click restore
    after that try again

Maybe you are looking for

  • DW CS5, Sending contact form results to email with page redirection using php script

    I am currently building a site from scratch with Dreamweaver, with the intent of replacing my current website layout that was designed using Intuit's website builder. My dreamweaver site is not online, but i have setup a local test server on my compu

  • Substitution for portion of SQL string

    This is from a media library that's actually a sandbox for some items I'm using in a real world application. I have a query going into an interactive report with a bit of ugliness in one column like so: select MEDIATYPE, m.ID, NVL2(m.COVER_THUMBNAIL_

  • Adding HTML content in Planning Webform Instruction box

    Hi, I am working on Planning 9.3.1, we are migrating the application from planning 3.5. One point i noticed todays is "Adding Instruction to Webform". In my Old system- i can add HTML content to set the instruction more user friendly or even i can ad

  • Computer not reconizing IPod

    When you plug in usb itunes will not come up like it use to. I go to my computer but it is not reconizing the usb port. I tried all 3 of them but none of them are reconized. Library is there,nano works but I can't update my nano if the computer wont

  • $f_CheckFirstColumn(this) is not working in theme 42 apex 5.

    $f_CheckFirstColumn(this) is not working in theme 42 apex 5. it does not tick or untick the check boxes.