cancel
Showing results for 
Search instead for 
Did you mean: 

Hit Error Screen output without connection to user.

Former Member
0 Kudos

Hi all,

I am working on ABAP ess screen currently and I hit the above error.

The situation is when i try to create the OBJID using FM 'RH_OBJECT_CREATE', it hits error.

The error also include cx_sy_send_dynpro_no_receiver.

The error occurred on the application server ACEDEC01_DE0_10 and in the work process 3 .

The termination type was: RABAX_STATE.

The below is my FM.

data: asd type hrp1000-objid.

CALL FUNCTION 'RH_OBJECT_CREATE'

EXPORTING

LANGU = SY-LANGU

plvar = '01'

otype = 'E'

  • EXT_NUMBER = '00000000'

  • SHORT = ' '

stext = 'test creating objid'

BEGDA = SY-DATUM

ENDDA = '99991231'

OSTAT = '1'

VTASK = 'D'

  • GUID = asd

  • KEEP_LUPD = ' '

IMPORTING

OBJID = asd

EXCEPTIONS

TEXT_REQUIRED = 1

INVALID_OTYPE = 2

INVALID_DATE = 3

ERROR_DURING_INSERT = 4

ERROR_EXT_NUMBER = 5

UNDEFINED = 6

OTHERS = 7

.

thanks for help.

Accepted Solutions (0)

Answers (2)

Answers (2)

hyun-soo_kim
Explorer
0 Kudos

In that case, I wrap the logic with function module.

And Call the function module in webdynpro like below:

CALL FUNCTION 'Function Name' DESTINATION 'NONE'.

But it makes one more session, so you have to use this carefully.

If there are no solutions(ex, bapi, other service) for this problem, it can be a solution.

Soo.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Give the error message you state, I would have to assume that function module 'RH_OBJECT_CREATE' is not safe for usage within Web Dynpro ABAP. Remember that in WDA you have connection to the SAPGUI and you can not issue CALL SCREEN, MESSAGE, or other such Classic Dynpro specific statements. It would appear that this function module has one of these disallowed statements within it. Try to find a BAPI or Enterprise Service to perform your action as these types of objects must meet the criteria for running "Dark" (without SAPGUI connection).