Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

unknown type in include generated by the function library?

Former Member
0 Likes
912

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!

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
597

Call SE37 with the function module name Z_SHIP_STATUS_PLANNED, clinck on the Import tab and edit parameters definitions.

Regards

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
598

Call SE37 with the function module name Z_SHIP_STATUS_PLANNED, clinck on the Import tab and edit parameters definitions.

Regards

Read only

Former Member
0 Likes
597

go To SE37 : Z_SHIP_STATUS_PLANNED.

go to Export Parameters Tab and Chnage Types reference there with desired one instead of DO_LOCK.