‎2008 Feb 20 4:10 PM
Hi,
I've a dump when I use 'BAPI_ALM_ORDER_MAINTAIN' in a program when i create an operation...
The dump description is:
Err. run-time RAISE_EXCEPTION
"NOT_FOUND"
Programma SAPLCOBO
Include LCOBOU41
Riga 60
Tipo modulo (FUNCTION)
Nome modulo CO_BT_AFVG_READ_WITH_LOGKEY
Thanx in advance.
CV
‎2008 Feb 20 5:33 PM
There are a number of notes. You can start by looking at 599388.
And maybe 705126.
Rob
Edited by: Rob Burbank on Feb 20, 2008 12:33 PM
‎2008 Feb 21 2:15 PM
This note is already present in sap version 7.0
I don't find an util sap note for this problem...
CV
‎2008 Mar 27 8:49 AM
I resolve the problem. I modify standard pgm because there is not a sap note.
‎2008 Mar 27 8:50 AM
‎2012 Jun 18 3:01 PM
Hi, can you explain how you solved it, because I have the same issue.
Thanx
‎2012 Jun 18 3:49 PM
I've modified standard fm 'CO_ZF_OPR_STAT_ADD'.
At the points where is executed fm 'CO_BT_AFVG_READ_WITH_LOGKEY' you have to manage the exceptions:
IF ls_afvgd IS INITIAL.
* Vorgang nachlesen
CALL FUNCTION 'CO_BT_AFVG_READ_WITH_LOGKEY'
EXPORTING
aplfl = opr_aplfl
aufnr_act = ord_aufnr
vornr = opr_vornr
IMPORTING
afvgd_exp = ls_afvgd".
*[ init modify standard
EXCEPTIONS
not_found = 1
OTHERS = 2.
* end modify]
ENDIF.
There are two points with call function '''CO_BT_AFVG_READ_WITH_LOGKEY'!!!
More over you have to manage the 2 points with call function 'CO_ZR_OPERATION_RELEASE_WB':
*[
if sy-subrc = 0.
* ]
CALL FUNCTION 'CO_ZR_OPERATION_RELEASE_WB'
EXPORTING
afvgd_imp = ls_afvgd
caufvd_imp = ls_caufvd
EXCEPTIONS
free_failed = 1
OTHERS = 2.
*[
endif.
*]
Th fm 'CO_ZR_OPERATION_RELEASE_WB' must be executed only if sy-subrc = 0!!!
You can try this solution only if you don't find a sap-note.
Ciao