Владимир Донецк написал(а):
Кто может объяснить где нужно поправить?
SUBMIT SAPLCPDI VIA SELECTION-SCREEN AND RETURN.
Вылетает в дамп:
Что произошло?
Error in the ABAP Application Program
The current ABAP program "SAPLCPDI" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
You attempted to start a program not intended for this purpose.
Анализ ошибки
You attempted to start the ABAP/4 program "SAPLCPDI" with SUBMIT, but the
attributes specify this program as type "F" instead of "1". You can
only start programs of type 1 with SUBMIT.
Хотя в точно таком же REPORTе
SUBMIT riaufk20 VIA SELECTION-SCREEN
USING SELECTION-SET 'MEH_DOB01'
WITH datuv = cur_date
WITH datub = cur_date
AND RETURN.
тут все проходит отлично.
SAPLCPDI это не отчет, а пул функций, его нельзя заустить при помощи SUBMIT.