Skip to Content
0

RHALEINI PFAL, Userexit RHALE001, Include ZXHALU04 ist not processed - RH_CONVERT_PNNNN_TO_SDATA

Jul 04, 2017 at 12:14 PM

100

avatar image
Former Member

Hello out there,
I need to implement userexit RHALE001 -> EXIT_SAPLRHAL_003 and depending Include ZXHALU04 because we Need to submit customerspecific (z-fields) from Standard infotype. Userexit is activatet and ist is processed...but wenn it runs into

EXIT_SAPLRHAL_003

I'm not able to debug in depending include

ZXHALU04

so it is NOT processed. (the other includes are working properly. note 1005257 is facing exactly my Problem...but it is implemented in our system)...any idea?

 RH_CONVERT_PNNNN_TO_SDATA
 ...
* IF NOT converted IS INITIAL. "1005257
 CALL CUSTOMER-FUNCTION '003'
 EXPORTING
 pnnnn_name = pnnnn_name
 sdata_name = sdata_name
 infty_name = infty_name
 pnnnn_data = pnnnn_data
 convert_pad = convert_pad
 TABLES
 error_message = error_message
 CHANGING
 sdata_data = sdata_data
 converted = converted
 subrc = subrc
 EXCEPTIONS
 OTHERS = 0.
* ENDIF. "1005257

function exit_saplrhal_003.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(PNNNN_NAME) LIKE DCOBJDEF-NAME
*" VALUE(SDATA_NAME) LIKE DCOBJDEF-NAME
*" VALUE(INFTY_NAME) LIKE WPLOG-INFTY
*" VALUE(PNNNN_DATA) TYPE ANY
*" VALUE(CONVERT_PAD) TYPE C
*" TABLES
*" ERROR_MESSAGE STRUCTURE HRALE_ERR
*" CHANGING
*" VALUE(SDATA_DATA) TYPE ANY
*" VALUE(CONVERTED) TYPE C
*" VALUE(SUBRC) LIKE SY-SUBRC
*"--------------------------------------------------------------------
include zxhalu04.
endfunction.

Include ZXHALU04
constants: c_0001(4) type c value '0001'.
break MYUSERNAME.
if infty_name = c_0001.

 call function 'Z_EH_CONVERT_P0001_TO_Z1P0001'
 exporting
 pnnnn_data = pnnnn_data
 importing
 converted = converted
 subrc = subrc
 tables
 error_tab = error_message
 changing
 sdata_data = sdata_data
 exceptions
 others = 0.

endif.
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers