Skip to Content
0
Sep 04, 2009 at 09:20 AM

Getting Runtime errors for smartforms in Quality.

21 Views

| The function module " " is called,

| but cannot be found in the library.

|

| Error in the ABAP Application Program

|

| The current ABAP program "ZMMRFQ_SERVICE" had to be terminated because it has

| come across a statement that unfortunately cannot be executed.


 653|  SELECT SINGLE bedat FROM ekko INTO edate WHERE ebeln = p_ebeln.                           
|  654|ENDFORM.                    " get_data                                                      
          
|  663|FORM smartform .                                                                            |
|  664|  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'                                                  |
|  665|      EXPORTING                                                                             |
|  666|        formname                 = 'ZMM_RFQ_SERVICE'                                        |
|  667|*   VARIANT                  = ' '                                                          |
|  668|*   DIRECT_CALL              = ' '                                                          |
|  669|      IMPORTING                                                                             |
|  670|        fm_name                  = fm_name                                                  |
|  671|      EXCEPTIONS                                                                            |
|  672|        no_form                  = 1                                                        |
|  673|        no_function_module       = 2                                                        |
|  674|        OTHERS                   = 3.                                                       |
|  675|                                                                                |
|  676|  IF sy-subrc <> 0.                                                                         |
|  677|    WRITE: / 'ERROR 1'.                                                                     |
|  678|* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO                                         |
|  679|*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.                                         |
|  680|  ENDIF.                                                                                |
|  681|                                                                                |
|  682|*loop at t_final.                                                                           |
|>>>>>|  CALL FUNCTION fm_name                                                                     |
|  684| EXPORTING                                                                                |
|  685|                                                                                |
|  686|                                                                                |
|  687|  control_parameters         = control                                                      |
|  688|    output_options             = output_options                                             |
|  689|    user_settings              = space  "'X'                                                |
|  690|                                                                                |
|  691|*    sum                    = sum                                                           |
|  692|                                                                                |
|  693|*    bdoc                     = bdoc                                                        |
|  694|                                                                                |
|  695|*     l_tlines1    =   l_tlines1                                                            |
|  696|*      l_tlines2    =   l_tlines2                                                           |
|  697|                                                                                |
|  698|*      l_tlines3    =   l_tlines3                                                           |
|  699|*                                                                                |
|  700|*       l_tlines4    =   l_tlines4                                                          |
|  701|*                                                                                |
|  702|*       l_tlines5    =   l_tlines5                                                          |
----------------------------------------------------------------------------------------------------

Any kind of help or inputs will be appreciated.

Regards,

Abhinab Mishra

Edited by: Abhinab Mishra on Sep 4, 2009 2:52 PM