‎2009 Mar 13 9:41 AM
Hi,
I have an include LZSHIP$01, that is generated by the function library.
*******************************************************************
* THIS FILE IS GENERATED BY THE FUNCTION LIBRARY. *
* NEVER CHANGE IT MANUALLY, PLEASE! *
*******************************************************************
INCLUDE LZSHIPV01 .
FUNCTION $$UNIT$$ Z_SHIP_STATUS_PLANNED
IMPORTING
VALUE(I_TKNUM) TYPE !VTTK-TKNUM
VALUE(I_COMMIT) TYPE !COMMIT_FLG DEFAULT 'X'
VALUE(I_REVERSE) TYPE !CKML_MODE_REVERSE DEFAULT ' '
VALUE(I_LOCK) TYPE !DO_LOCK DEFAULT 'X'
VALUE(I_VTTK) TYPE !VTTK_ALV
VALUE(I_ZVTTK) TYPE !ZVTTK
EXCEPTIONS
!RV_SHIPMENT_READ
!ENQUEUE_EVVTTKE
!SD_SHIPMENT_HEADER_CHANGE
!SD_SHIPMENTS_SAVE .but I get the error that type do_lock doesn't exist. Now I can't create do_lock, because the name doesn't start with Y or Z, and I can't replace the type do_lock by another type in the include, because the include is generated by the function library, and I can't change it manually.
How do I fix this? thx!
‎2009 Mar 13 10:08 AM
‎2009 Mar 13 10:08 AM
‎2009 Mar 13 10:11 AM
go To SE37 : Z_SHIP_STATUS_PLANNED.
go to Export Parameters Tab and Chnage Types reference there with desired one instead of DO_LOCK.