2011 Mar 14 11:51 AM
Hi gurus,
when i am trying to generate a pdf from phap_admin (appraisal document ) i am getting an error that "error while generating pdf".
the dump in st22 is
ERROR ANALYSIS:
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_SEND_DYNPRO_NO_RECEIVER', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
During background processing, the system attempted to send a
screen to a user.
Current screen: " " " ".
SOURCE CODE:
screen to enter order-number ***************************************
IF w_suppress_dialog EQ space.
set popup to the foreground.
CALL FUNCTION 'SAPGUI_SET_PROPERTY'
DESTINATION 'SAPGUI'
EXPORTING
property = 'ACTIVATE'
value = 'X'
EXCEPTIONS
OTHERS = 1.
CALL SCREEN 300 STARTING AT lv_start_column lv_start_row.
>>>> ELSE.
process the same forms which are processed on screen 0300.
ATTENTION: Whenever functionality of screen 0300 is extended,
make sure that necessary calls are also made here!
PERFORM d0300_read_data.
PERFORM d0300_comline.
ENDIF.
CASE w_next_action.
WHEN 'ATTR'.
PERFORM show_object_attributes USING wt_e071[].
CAN ANY ONE HELP TO SOLVE THIS???
Hi gurus,
when i am trying to generate a pdf from phap_admin (appraisal document ) i am getting an error that "error while generating pdf".
the dump in st22 is
ERROR ANALYSIS:
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_SEND_DYNPRO_NO_RECEIVER', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
During background processing, the system attempted to send a
screen to a user.
Current screen: " " " ".
SOURCE CODE:
screen to enter order-number ***************************************
IF w_suppress_dialog EQ space.
set popup to the foreground.
CALL FUNCTION 'SAPGUI_SET_PROPERTY'
DESTINATION 'SAPGUI'
EXPORTING
property = 'ACTIVATE'
value = 'X'
EXCEPTIONS
OTHERS = 1.
CALL SCREEN 300 STARTING AT lv_start_column lv_start_row.
>>>> ELSE.
process the same forms which are processed on screen 0300.
ATTENTION: Whenever functionality of screen 0300 is extended,
make sure that necessary calls are also made here!
PERFORM d0300_read_data.
PERFORM d0300_comline.
ENDIF.
CASE w_next_action.
WHEN 'ATTR'.
PERFORM show_object_attributes USING wt_e071[].
CAN ANY ONE HELP TO SOLVE THIS???
2011 Mar 14 12:54 PM
you were running in bacground and your process called a screen....there's no gui/presentation layer for a background job, therefore a call to a screen will produce an abend if not caught and handled.
2011 Mar 14 1:04 PM
Hi,
field w_suppress_dialog should be set to 'X'. Please check, where you can fill it (maybe a fm parameter, a customitzing setting or something like that!
Regards,
Klaus
2011 Mar 16 4:24 AM
The issue is when trying to download the appraisal template from PHAP_ADMIN (admin functions) using the standard DOWNLOAD option. Error message is "Error when generating PDF file".
the field w_suppress_dailog is alredy set to 'X'.
Hi Break point,
What I have to do? Can you explain it clearly because I am new to this. How the screen is missing in standard function?
2011 Mar 16 5:44 AM
Hi,
the dump says:
CALL SCREEN 300 STARTING AT lv_start_column lv_start_row.
>>>> ELSE.This means, the raise of the exception comes from the command before ELSE and this is CALL SCREEN.
CALL SCREEN is only reachable. if w_suppress_dialog is SPACE. It can't be 'X'.
You have to find a way to set it to 'X'.
Regards,
Klaus
2011 Mar 19 8:48 AM
Hi ,
The problem is solved. It is occured due to improper installation of Adobe forms , they ve to maintain some credentials whenever to install. this lead to such an error. Thanks Pros for responding my queries.
2011 Mar 14 1:11 PM
Deleted; unintentional double post.
Edited by: BreakPoint on Mar 14, 2011 2:11 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |