Runtime error in smart forms

hi
   i am getting run time error while running DRIVER PROGRAM of smartform.
       both driver program and smartform running successfully without any error while executing saprately.
       while calling Smart Form  by driver prg. it is giving error as :-
                           <u>  <b> Events are already defined</b>.</u> 
          Description :- <b>You tried to define events for a section, but a section with
                               events is already active. You are not allowed to nest events.</b>
plz guide me

Hi,
  Go to smartforms and check whether you had selected the events in the data tab of complex section or table which you had created which is under the short creteria
or.
check whter you had selected any events in the conditions tab of any of the node whether it maight be text element,table,section,window..etc.
Thanks,
Nethaji.

Similar Messages

  • Error processing Smart Form BBP_PO

    Hi!
    We are using standard smartform BBP_PO but when I click the "Output Preview" we get a error message stating "Error processing Smart Form BBP_PO".
    What have I missed?
    Sincerely
    Anders Öhrling
    Edited by: Anders Öhrling on May 22, 2008 11:23 AM

    Wrong Wrong badi was activated

  • Runtime error in Adobe forms

    Hi,
    I am getting a run time error when i create ADOBE form and try to save. I am using SAP GUI 7.10 and ADOBE livecycle version 7.1. I did tried with ADOBE livecycle version 8.0 and getting same problem.
    NOTE:  This is the first ADOBE form i am trying to create in company.
    Below are the dump details ...Please let me know if any of you  have faced similar problem....Thanks
    Short text
        The current application triggered a termination with a short dump.
    What happened?
        The current application program detected a situation which really
        should not occur. Therefore, a termination with a short dump was
        triggered on purpose by the key word MESSAGE (type X).
    Error analysis
        Short text of error message:
        Control Framework : Error processing control
        Long text of error message:
         Diagnosis
             An error occurred when the system tried to process the commands
             from the Automation Queue on the presentation server.
             There are several possible reasons for this:
             - The installation of the SAP GUI on the presentation server is
             faulty or obsolete.
             - There is an error in the application program
             - There is an error in the SAPGUI or an integrated control
         Procedure
             1. Make sure that you have imported the appropriate Support
             Package, the current kernel, and GUI patch for the release of your
             system
             2. Check whether the error occurs locally on one or a few PCs, or
             generally on all PCs. Note whether the error only occurs for some
             users, for example because of a specific Customizing setting.
             If it only occurs locally, this suggests an installation problem
             with the PC. Check the installation; if necessary, reinstall the
             software. In the dump, search for the SY-MSGLI field, since it may
             point to the cause of the error.
             3. Activate the Automation Trace (in accordance with SAP Note
             158985).
             4.Start the transaction and continue until the screen immediately
             before the dump.
             5. From the System -> Utilities menu, choose Autom. Queue,
             Synchronous Processing.
             The status bar of the GUI displays the text:
                "Automation synchron flush mode on"
             6. If you now proceed with the application, the short dump will
             display the ABAP call that caused the error; the Automation Trace
             will contain the error on the presentation server.
             7. If necessary, load the short dump and trace files on to
             sapservX, so that SAP can analyze them.
        Technical information about the message:
        Message class....... "CNDP"
        Number.............. 006
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    Trigger Location of Runtime Error
        Program                                 SAPLOLEA
        Include                                 LOLEAU02
        Row                                     29
        Module type                             (FUNCTION)
        Module Name                             AC_SYSTEM_FLUSH
    Source Code Extract
    Line  SourceCde
        1 FUNCTION AC_SYSTEM_FLUSH .
        2 *"----
        3 ""Lokale Schnittstelle:
        4 *"  IMPORTING
        5 *"     VALUE(CALLED_BY_SYSTEM) TYPE  C OPTIONAL
        6 *"  EXCEPTIONS
        7 *"      CNTL_SYSTEM_ERROR
        8 *"      CNTL_ERROR
        9 *"----
       10   data: sysubrc like sy-subrc.
       11
       12   CALL FUNCTION 'AC_FLUSH_CALL'
       13        EXPORTING
       14             SYSTEM_FLUSH = 'X'
       15             CALLED_BY_SYSTEM = CALLED_BY_SYSTEM
       16        IMPORTING
       17             MESSAGE_NR   = sysubrc
       18             MESSAGE_TEXT = SY-MSGLI.
       19
    20   sy-subrc = sysubrc.
    21
    22   CASE SY-SUBRC.
    23     WHEN 0.
    24     WHEN 1.
    25 *     system_error
    26       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 007 RAISING CNTL_SYSTEM_ERROR.
    27     WHEN 2.
    28 *     method_call_error
    >>       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
    30     WHEN 3.
    31 *     property_set_error
    32       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
    33     WHEN 4.
    34 *     property_get_error
    35       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
    36     WHEN OTHERS.
    37       RAISE CNTL_ERROR.
    38   ENDCASE.
    39
    40 ENDFUNCTION.

    Hi Chandra,
    you can try following.
    Before saving PDF form, put external breakpoint in FM
    AC_FLUSH_CALL_INTERNAL.
    Save PDF Form, i guess it should go to this FM. Check which exception is setting sy-subrc = 2.
    (There are different checks in this FM for checking ActiveX, javabeen support etc).
    Hope this will help.
    Although, I never encountered the error you mentioned
    Regards,
    Mohaiyuddin

  • Runtime error in XML form

    Hi experts,
    I have created xml form in XML form builder. One of the DataSchema is to browse document from KM Content but i got and error when try to browse the document. The error is:
    Runtime Error
    An exception occured while processing the request.
    Additional information: null
    Exception ID = 709f0fad-331d-2e10-a4b7-9257c0f4c0ed
    Runtime Error
    An exception occured while processing the request.
    Additional information: null
    Exception ID = 719f0fad-331d-2e10-ac94-9257c0f4c0ed
    We are using SAP Netwever Portal 7.01EHP1. Please help me to solve this problem. TQ.
    Rgds,
    Nanie

    we got our problem solved with Note 1534667 - NullPointerException when trying to preview/save an XML Form

  • Output error in smart forms

    I am facing a typical problem in rendering output from smart forms to pdf.
    The program was working fine before , now after some patch application the output is not comming , it shows
    " A Drawing Error Occured"
    Regards

    Hi,
    Thanks for the reply , but what i observerd is that when i reduce the graphic size the program works fine  .
    One more question i wanted to ask you, is there any specific size restriction for bitmap files that we use on the smartforms.
    Regards
    Sam

  • Error in Smart Forms diplay

    Hi All,
    I configured the smart form and given the name of right print program for contract.
    and created the message type ZNEU.
    when I want to print it by using ME9K.I am getting error of Value of spool attribute can not be changed.This same smart form worked in testing client with the same configuration.
    Please help me out.
    Helpful answers will be rewarded
    Thanks in Advance,
    Praveen

    Hi,
    Please talk to your basis person or pl. use this link to know the print controls...
    1. Choose Tools > CCMS > Spool > Spool administration.
    2. Then choose Full administration. Choose Print controls  on the DeviceTypes tab page to display a list of the standard print controls.
    See the print controls in both the systems... they must be different.
    Hope this will help u solve the problem, If yes then give points.
    Darshan

  • Getting the formatting error in  smart forms

    Hi All,
    When I am running the program to display the output for SMARTFORM in development system it is working fine ,But doing the same in the production system gives me the  formatting error
    EXCEPTIONS                      
    FORMATTING_ERROR           = 1   .
    So it is the same code which exsist in 2 different system & still it  works fine in the development system but errors out in the production system .
    Does this mean that any  smart form settings which is system dependent ?
    Any pointers on this regard will be helpful .
    Regards,
    Anurag

    Hello Guys ,
    It was an authority issue
    AUTHORITY-CHECK OBJECT 'S_BDS_DS'                
                     ID  'CLASSNAME' FIELD classname  
                     ID  'CLASSTYPE' FIELD classtype  
                     ID  'ACTVT' FIELD activity.      
    This object was falling .
    Anurag

  • Error in smart form with currency  fields

    while i am using with currency fields in samrt forms error is comming in while i am giving print-preview in se38 "<b>Reference field WA_EKPO-NETPR unknown in form."</b>

    In smart forms if we want to display quantity and currency fields. We cannott directly display currency field and quantity fields.
    To display the mdo like this
    Ex: GLOBAL Definitions
    WA_NETPR LIKE EKPO-NETPR
    For that we have to create an extra variable in global definitions
    Ex: netpr FIELD of EKPO
    CREATE program lines and specify WA_NETWR = itab-netpr.
    Close the thread once your question is answered.
    Regards,
    SaiRam

  • Global definitions error  in Smart Forms

    Hi friends ,
    I'm printing invoices of 3 tables....in this i have to print VBRP net value details field is netwr,for this field already i have assigned waerk in currency/quant fields...even i am getting this below  error..
    "Global Definitions     The data object "IM_FS_VBRK" does not have a component called "WAERK"."
    would u tell me how can i rectify this error.

    Hi,
    How have you defined IM_FS_VBRK in Global definitions of smart forms?
    Regards,
    Jayesh

  • Error in smart form

    Hi Friends,
    I am creating Smart form with Print program for sales order data..
    While executing the print program.. item data is displaying in the out put but header data is not displaying
    Please help me......
    Thanks
    rohini

    Hi Venkat,
    thanks for you reply.
    i have checked all things ........all values are moving to final internal table.
    but in that internal table Header level values are not displaying...
    thanks
    Rohini.

  • Run time error in smart forms

    For Printing out the Delivery chellan we are using the report to get prin out in PDF and Smartform print...we are fetching the values from the table(RG23D register for the depot)  for one particular material document,it is giving the error  tax procedure is invalid....if i try to debug it is going very interiorly,i cant set the break point manuallly in the code since it is in quality and not self devloped...! i found out the window where the error is coming i want to debug the particular window..............Pls suggest me on this
    Dinesh Kumar

    Hi,
    What you can do is,
    It seems that you are debugging a smartform which is not developed by you !! It is not at all difficult to find the source of error. The runtime error should clearly tell you the line number from where the error is occuring. Copy that part of code from where system is throwing a runtime error.
    Goto SE37 and enter the function module corresponding to your smartform and display. Click on Find. Paste that line code and select In Main Program and the search.
    Go to the inline documentation of the subroutine from where this code is written. You should see the following.
    NODE  -- Gives you the node name of Program Lines.
    Regards,
    Danish.

  • Error in smart forms

    Hi all,
    When am working in smartforms i have to add a field(ANLN1) in the report.
    But the following error occurs?
    Hw to solve it?
    The work area name is w_rkpf.
    The data object "W_RKPF" does not have a component called "W_ANLN1".
    Regards,
    Priya

    Hai,
    Confirm the internal or database table contains that field 'W_ANLN1' and also make sure it should not be workarea because you can't create work area using another workarea. why i am asking this, you are trying to add ANLN1 field but the error message indicating, no such component called 'W_ANLN1' in 'W_RKPF' .
    Regards,
    Harish

  • Template size error in smart forms

    Hi experts,
                      i have created a smartform with template for a window, and maintained  small in size(heigh and width) for template compared to window size....the smartform is working fine in the Development server...
                    once it is transported to Quality it is throwing an error stating %template does not fit in window...even though is working fine in Development server...why this is happening...
                 please tell ur valuable sujjestions to solve this issue
    Regards,
    Lokesh Rangappa

    Hi thanks for all ur replies...
            after changing to LOCL device type in the user login (su3) ,it is working fine...
    iam converting my smartform output to PDF and it is displayed in a custom container.... so im passing LOCL to OUTPUT_OPTIONS  parameter of the function module(Smartfrm)... this is making problem i think....
    what is the use of SSF_GET_DEVICE_TYPE.,weather i have to use this in my program before callig the smartform FM...????
    please sujjest me..

  • Smart form Output error

    Hi,
    I am using a standard smart form to get the sales invoice but when I execute transaction  VA01 and some order number and see issue output to print preview then this error is coming " system message 047 from workarea SSFCOMPOSER does not exist."
    Where can be the possible error in smart form.
    Thanks

    hi
    check here .
    may be useful to u [Link|Sytem message 047 from work area SSFCOMPOSER does not exist]

  • Smart forms error

    Hi all,
    When I am trying to use the function module SSF_FUNCTION_MODULE_NAME, it is giving a runtime error that the generated function module is not found.
    please help me resolve this
    This is the code i used:-
    REPORT  ZSSFFUNCTION.
    DATA: fname TYPE rs38l_fnam.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME                 = 'ZTESTINVOICE'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
    IMPORTING
        FM_NAME                  = FNAME
    EXCEPTIONS
       NO_FORM                  = 1
       NO_FUNCTION_MODULE       = 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 FNAME
      EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
        INVOICE                    = '12345'
      SALESORG                   =
      DISTRIBUTION               =
      DIVISION                   =
      DATE                       =
      CUSTNO                     =
      NAME                       =
      CITY                       =
      COUNTRY                    =
      POSTALCODE                 =
        ITEM                       = '12345'
      MATNR                      =
      DESC                       =
        QUANTITY                   = '4'
        NETVAL                     = '1000'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
    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.
    The error is Function Module FNAME is not found.
    Edited by: Kartheek on Mar 3, 2008 8:31 PM

    Hi
    Check this..declaration of l_f_fname
    FORM call_smartform.
      DATA :  l_f_fname   TYPE  tdsfname,
              l_t_control LIKE  ssfctrlop,
              l_t_out     TYPE  ssfcompop.
      l_t_control-no_dialog  =   'X'      .
      l_t_control-device     =   'PRINTER'.
      IF ok_code = 'GPRV'.
        l_t_control-preview  =   'X'      .
      ENDIF.
      l_t_out-tdnewid        =   'X'      .
      l_t_out-tddelete       =   ' '      .
      l_t_out-tdimmed        =   'X'      .
      l_t_out-tddest         =   p_prnter .
      l_t_out-tddataset      =   'SMART'  .
      l_t_out-tdcopies       =   '001'    .
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
           EXPORTING
                formname           = g_c_form
           IMPORTING
                fm_name            = l_f_fname
           EXCEPTIONS
                no_form            = 1
                no_function_module = 2
                OTHERS             = 3.
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN 1.
            MESSAGE e004(ssfcomposer) WITH 'Z90VT_A030_01'.
          WHEN 2.
            MESSAGE e005(ssfcomposer) WITH 'Z90VT_A030_01'.
          WHEN 3.
            MESSAGE e003(ssfcomposer).
        ENDCASE.
      ELSE.
    Passing the selected Data into another Table, Adjacent Duplicates
    Deleted in The Smartform Call
        g_t_formdata1[] = g_t_formdata[] .
        CALL FUNCTION l_f_fname
             EXPORTING
                  control_parameters = l_t_control
                  output_options     = l_t_out
                  user_settings      = ''
                  i_language         = sy-langu
             TABLES
                  g_t_data           = g_t_formdata
             EXCEPTIONS
                  formatting_error   = 1
                  internal_error     = 2
                  send_error         = 3
                  user_canceled      = 4
                  OTHERS             = 5.
        IF sy-subrc <> 0.
          CASE sy-subrc.
            WHEN 1.
              MESSAGE e602(ssfcomposer).
            WHEN 2.
              MESSAGE e001(ssfcomposer) WITH 'Z90VT_A030_01'.
            WHEN 3.
              MESSAGE e001(ssfcomposer) WITH 'Z90VT_A030_01'.
            WHEN 4.
              MESSAGE e012(ssfcomposer).
          ENDCASE.
    ENMDFORM call_smartform.
      Hope it helps.

Maybe you are looking for

  • Send a message to multiple computers(Not users) from win7/xp command/or scirpt

    Hi Team, is there a way to send a message to multiple windows xp/win7 computers from my win7/xp? 3rd party software,commercial or free, command line,batch or script all welcome. I have a few hundreds of computers, ping-them alive,but I don't know the

  • VAT registration number in VD02 is in error

    Hello ALL, I'm seeking your advice on the following error i encountered during a change in the customer master. I have one customer with ES as it's country. The current VAT registration number is ESB0062082C. However, i want to change it into ESW0062

  • Recommandations for upgrading from 46C to ECC 6.0

    Hello Our SAP system landscape is actually in 46c and is only composed of 3 servers with almost 40 users declared (25 actives) on production system. Modules FI/CO HR MM are actually implemented. We plan to upgrade the system to ECC 6.0 between March

  • Keep getting Error -37 when I try to download music

    I recently purchased a $15 dollar iTunes card at Sam Goody, and I put it on my iTunes account and when I tried to buy songs, the song would be in my pending downloads but I'm unable to download it fully because everytime I try I get an error message

  • Safari skipping to previous page

    Within the last couple of months, I have had problems with Safari suddenly skipping back to the previous page. It is as though I clicked the "back" button. It is happening more and more frequently. It is very frustrating when I am in the middle of co