Hi folks, i have a problem, i activated user exit EXIT_SAPLQEEM_001 to evaluate customer defined functions
from inspection characteristics in transaction qe51n (QM), some customer defined functions
need to access values saved previously, i found bapi BAPI_INSPOPER_GETDETAIL to do this task.
In transaction qe51n the valuation of inspection characteristics of an inspection lot work succesfully, thats mean, the customer defined functions works fine, it returns correct values, the problem is, in same transaction, when i trying to save this results, the following error is shown:
CALL_FUNCTION_NOT_FOUND
cx_SY_DYN_CALL_ILLEGAL_FUNC
Function Module " " not found.
--> CALL FUNCTION l_fbname
EXPORTING
QABWR = QABWR
DYNPROCALL = DYNPROCALL
IMPORTING
MBEWERTG = MERKMAL-MBEWERTG
DBEWERTG = MERKMAL-DBEWERTG
FEHLKLAS = MERKMAL-FEHLKLAS
FECODSELE = MERKMAL-FECODSELE
FEGRPSELE = MERKMAL-FEGRPSELE
E_FLG_NO_DIALOG = L_DUNKEL_ERROR_FLAG
TABLES
QASPTAB = QASPTAB
EXCEPTIONS
SYSTEM_ERROR = 1
USER_ERROR = 2
OTHER_ERROR = 3
USER_CANCEL = 4.
The problem is in the include LQEEMF21 of the program SAPLQEEM, i don't know what happening, the field l_fbname
is blank when debugging.
The following is the code of my include, to simple view, this code do not have so much sense, the line 'value = 5' and bapi export parameters are a dummy really, in real life the parameter 'value' is calculated with complex algorithms and the bapi call is done with dynamic values for parameters insplot,inspoper. This code here is for simplicity reasons, howewer the the problem persists even with this code.
If i do not call the bapi, everything works fine, results valuation and saving are done perfect. Is someting wrong with the bapi?
&----
*& Include ZXQEEU02 *
&----
*" IMPORTING
*" VALUE(I_QALS) LIKE QALS STRUCTURE QALS
*" VALUE(I_QAPO) LIKE QAPO STRUCTURE QAPO
*" VALUE(I_QAMKR) LIKE QAMKR STRUCTURE QAMKR
*" VALUE(I_QASPR) LIKE QASPR STRUCTURE QASPR
*" VALUE(I_QASER) LIKE QASER STRUCTURE QASER
*" EXPORTING
*" VALUE(VALUE) LIKE QAMKR-MITTELWERT
*" VALUE(E_UMFANGS_KZ)
*" TABLES
*" T_QAMKTAB STRUCTURE QAMKR
*Aca va el analizador de expresiones
value = 5.
CALL FUNCTION 'BAPI_INSPOPER_GETDETAIL'
EXPORTING
insplot = 890000000136
inspoper = '60'
read_char_results = 'X'
TABLES
char_results = it_char_results.
*----
Thank you for you cooperation, i hope you can help me,and ... sorry for my english language
Leonardo