Dump ABAP ejecucióRAISE_EXCEPTION

Colapsar
X
 
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes
  • Guillo16
    Junior Member
    • sep
    • 7

    #1

    Dump ABAP ejecucióRAISE_EXCEPTION

    buenas tardes,

    Acudo al foro pues no se mucho de abap y me gustaria tener un poco de ayuda.

    De antemano gracias por su atención.


    Exception condition "NO_BATCH" raised.

    Anál.errores


    A RAISE statement in the program "SAPLGRAP" raised the exception
    condition "NO_BATCH".
    Since the exception was not intercepted by a superior program
    in the hierarchy, processing was terminated.

    Short description of exception condition:

    Front-End Function Cannot Be Executed in Backgrnd

    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.

    Notas para corregir errores

    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "RAISE_EXCEPTION" C
    "SAPLGRAP" or "LGRAPU08"
    "WS_DOWNLOAD"
    or
    "SAPLGRAP" "NO_BATCH"
    or
    "ZJAPON_EMBAR2 " "NO_BATCH"
    Info posición de cancelación

    The termination occurred in the ABAP program "SAPLGRAP" in "WS_DOWNLOAD".
    The main program was "ZJAPON_EMBAR2 ".

    The termination occurred in line 45 of the source code of the (Include)
    program "LGRAPU08"
    of the source code of program "LGRAPU08" (when calling the editor 450).
    The program "SAPLGRAP" was started as a background job.

    Detalle código fuente

    000150 *" VALUE(COL_SELECTMASK) DEFAULT SPACE
    000160 *" VALUE(NO_AUTH_CHECK) TYPE C DEFAULT SPACE
    000170 *" EXPORTING
    000180 *" VALUE(FILELENGTH)
    000190 *" TABLES
    000200 *" DATA_TAB
    000210 *" FIELDNAMES OPTIONAL
    000220 *" EXCEPTIONS
    000230 *" FILE_OPEN_ERROR
    000240 *" FILE_WRITE_ERROR
    000250 *" INVALID_FILESIZE
    000260 *" INVALID_TYPE
    000270 *" NO_BATCH
    000280 *" UNKNOWN_ERROR
    000290 *" INVALID_TABLE_WIDTH
    000300 *" GUI_REFUSE_FILETRANSFER
    000310 *" CUSTOMER_ERROR
    000320 *" NO_AUTHORITY
    000330 *"----------------------------------------------------------------------
    000340
    000350 * Check DIAG_NOGRAPH
    000360 * GL 19.07.96
    000370 data: loop type i.
    000380 data: winsystem(4).
    000390 data: typ, is_bin.
    000400 data: binfilesize_int type i.
    000410 field-symbols: <f4>.
    000420
    000430 * Darf nicht im Batch ausgeführt werden
    000440 IF SY-BATCH NE SPACE.
    -----> RAISE NO_BATCH.
    000460 ENDIF.
    000470
    000480 * filetype parameter gültig ?
    000490 CASE FILETYPE.
    000500 WHEN 'BIN' OR 'DAT' OR 'ASC' OR 'VSS' OR 'IBM' OR 'WK1' OR 'DBF'
    000510 OR 'HQX'.
    000520 WHEN OTHERS.
    000530 MESSAGE I132 RAISING INVALID_TYPE.
    000540 ENDCASE.
    000550
    000560 * SECURITY-Stuff
    000570 * GL 9.1.95
    000580
    000590 DATA: RESULT.
    000600 CLEAR RESULT.
    000610
    000620 if no_auth_check = ' '.
    000630 authority-check object 'S_GUI'
    000640 ID 'ACTVT'
    Editado por última vez por Guillo16; 10/06/2010, 00:08:37.
    Gracias por su atención
  • bisonye
    Senior Member
    • ago
    • 635

    #2
    Guillo16 no dices lo que estás haciendo, así es dificil contestarte. Parece que el programa está intentando descargar un fichero pero la ejecución es es fondo y eso no es posible.

    Saludos
    http://sapymas.blogspot.com/

    Comentario

    Trabajando...