on 11-03-2008 3:00 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.