Unknown type in include generated by the function library?

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!

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

Similar Messages

  • How to delete lock entries generated by the function module "BAPI_OBJCL_CHANGE"

    Hi experts,
    I'm now trying to make an add-on program
    which updates material master information by the background job.
    To update the "Classification" view of material master,
    the program calls the function module "BAPI_OBJCL_CHANGE".
    If the "RETURN" information is valid,
    then the program calls "BAPI_TRANSACTION_COMMIT" (with the "wait" parameter 'X').
    Contrary to my intention,
    lock entries generated by the function module "BAPI_OBJCL_CHANGE" remains after "BAPI_TRANSACTION_COMMIT".
    As a result, the material updated remains locked until the add-on processing ends.
    To shoot this trouble, I read some SCN discussions below:
    <<lock unlock record>>
    ⇒ As I wrote above, I checked the parameter for "BAPI_TRANSACTION_COMMIT".
    <<BAPI_OBJCL_CHANGE Lock Error !>>
    ⇒ I cannot call the function module "BAPI_OBJCL_CHANGE" with "IN UPDATE TASK" option
    because of "BAPI_OBJCL_CHANGE" attributes.
    ("BAPI_OBJCL_CHANGE" is not a "Update Module".)
    How can I delete lock entries generated by the function module "BAPI_OBJCL_CHANGE" ?
    Thanks in advance.
    Tom

    I quess/hope you want to remove locks in you caller program and not locks required by the update task processing to insure database consistencies...
    Did you use the WAIT option in the commit FM, else if there are no other locks in your called program a call of FM DEQUEUE_ALL could solve your problem.
    Regards,
    Raymond

  • How can i find all included pictures in the Online-Library which are not in a album?

    Hi
    I use Adobe Photoshop Elements 13 with (Revel). My question ist how can i find all included pictures in the Online-Library which are not in a album? I would like only to have pictures in Library which are included in a online album.

    Hi there,
    I'm afraid I don't quite understand your question. All images are in your Library and only those you specifically select from that Library would be in an Album. What platform are you using? Revel Mac, Elements, web browser, etc?
    Here is a link with some helpful information:
    FAQ: File Basics: How do I Upload, Download, Share, and Delete files in Revel?
    Thank you,
    Glenyse

  • Unknown Type of Request please check the url

    Hi All,
    I am using iis4.0 with iplanet sp4 on win nt 4.0 with sp6. I am getting the error: unknown type of request check the url with iplanet sample applications..
    Any one know any work around or any solution for this problem????
    Thanks,
    Prashant Dalal

    What browser are you using to access the sample applications. This seems like the web server is not parsing the request properly. Can you snoop the request/response and post that? I dont have the compatibility guide in front of me, are you confident that iis4.0 is compatible with iAS 6.0 SP4? Does this problem occur with all deployed applications or only the sample applications (does fortune fail to function?).

  • Distribution Type in Numbers generated by Random function

    Hello,
    I am using the built-in Random() function in TestStand for generating random numbers with seed value of 0.
    I was wondering about it's distribution. Does the built-in function use Normal or Uniform distribution?
    Thanks

    Uniform.

  • Reg include generated in function library

    Hi Experts,
    I have three include generated while creating maintanance view
      THIS FILE IS GENERATED BY THE FUNCTION LIBRARY.             *
      NEVER CHANGE IT MANUALLY, PLEASE!                           *
    INCLUDE LZZMEDRUCK_SPU01.
                        "ZUS_ME_PRINT_PO_SP1
    INCLUDE LZZMEDRUCK_SPU02.
                        "TABLEFRAME_ZZMEDRUCK_SP
    INCLUDE LZZMEDRUCK_SPU03.
                        "TABLEPROC_ZZMEDRUCK_SP
    All these includes are created in function group zzmedruck_sp.
    I need to delete these includes.
    Thanks in Advance,
    Sashti

    Those include programs for Function modules but these function modules can be used by Table maintenance
    JUST open  function group check if there any function module exists.
    ZZMEDRUCK_SPU01/2/3 or any other that is using the same includes
    try to delete those function module from SE37 but check the dependencies
    of function module.
    INCLUDE LZZMEDRUCK_SPU01-----Just comment it in the main include
             I think there are dependencies for that reason you cannot delete it
            Create a new one and use it
    Regards,
    Gurpreet

  • Change of data type in Include

    Hi,
    all I found out that there is an include program in which all the Data type for that Function module is present, However it states that
    THIS FILE IS GENERATED BY THE FUNCTION LIBRARY**
    NEVER CHANGE IT MANUALLY, PLEASE!**
    DATA ORG_XY TYPE CHAR30.
    Then how to go about Changing it,I want to make it char65 Its a Remote Function Call.

    Hi Sanjay,
    This include program is generated by the library, so do not change the contents of the include manually. Instead you create a new data type from SE11 of CHAR65. The changes would be automatically applied in this include.
    Naveen.

  • Getting error in the function module

    Hi everybody.
    I have created one function module in se37 and i am calling that function module in the se38 report, when i am executing the report it is throwing me an error.
    here in my report i am having the select option fields ex matnr, in the function module importing i have given the parameter matnr over there and when i am running the report it is through an error that 
    "The function module interface allows you to specify only 
    fields of a particular type under "MATNR".               
    The field "S_MATNR" specified here is a different        
    field type                                                "
    IF i am giving the parameter instead of select-options in the report and executing, then the function module is getting triggered and receiving the data what ever the code is available in the source code.
    can anyone help me out in this issue so that i can get the data while using the select-option instead of parameter.
    Thanks in advance

    Hi,
    Actually, I wouldn't recommend the use of that tables parameter...
    From sap help:
    Table parameters are obsolete CHANGING parameters that are typed as standard tables with a header line. If an internal table without a header line or a table body is passed as an actual parameter to a formal parameter of this type, an empty local header line is generated in the function module. If an internal table with a header line is used as an actual parameter, both the table body and the header line are passed to the function module. Pass by value is not possible in formal parameters defined using TABLES. Formal parameters defined with TABLES can be replaced by formal parameters defined with CHANGING. A local work area can be created for the internal table in the function module by using the addition LIKE LINE OF itab of the DATA statement.
    Exceptions
    So i definitely would go with either importing or changing parameter...
    Cheers,
    m.

  • Regarding the function module Number_Get_Next

    Hi All,
          We have created one custom transaction. We need to generate one number when we save. The number will be generated using the function module NUMBER_GET_NEXT. How can i capture the number which will be generated.
    When we create Sales Order, the sales order number gets generated and that number will go to the DB Table right.
    Similarly i need to save the number in one custom table which gets generated for my transaction.
    Thanks,
    Ibrahim

    Hi
    The code should be like this:
    IF RANGE_OPEN IS INITIAL.
          CALL FUNCTION 'NUMBER_GET_INFO'
               EXPORTING
                    NR_RANGE_NR        = <Nr range>
                    OBJECT             = <Object range>
               EXCEPTIONS
                    INTERVAL_NOT_FOUND = 1
                    OBJECT_NOT_FOUND   = 2
                    OTHERS             = 3.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          RANGE_OPEN = 'X'.
        ENDIF.
        CHECK RANGE_OPEN = 'X'..
        CALL FUNCTION 'NUMBER_GET_NEXT'
             EXPORTING
                  NR_RANGE_NR             = <Nr range>
                  OBJECT                  = <Object range>
             IMPORTING
                  NUMBER                  = _NUMBER
             EXCEPTIONS
                  INTERVAL_NOT_FOUND      = 1
                  NUMBER_RANGE_NOT_INTERN = 2
                  OBJECT_NOT_FOUND        = 3
                  QUANTITY_IS_0           = 4
                  QUANTITY_IS_NOT_1       = 5
                  INTERVAL_OVERFLOW       = 6
                  BUFFER_OVERFLOW         = 7
                  OTHERS                  = 8.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    But I don't understand if you need an your own number or the number used for the sales order.
    Max

  • Function library in PI 7.1 - retrieval of filename

    Hi,
    I am trying to use the function library functionality in PI 7.1 but struggling a bit.
    Basically, I want a function for the retrieval of the filename - pretty easy in goold old UDF days but not so easy now everything has moved to the function library world in PI 7.1
    I have defined the following code in the "init"  Function and Java Areas:
    DynamicConfiguration conf = (DynamicConfiguration) container.getParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //For getting filename
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    //For getting directory
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    // Retrieve the filename
    String FileName = conf.get(key1);
    // Retrieve the directory
    String Directory = conf.get(key2);
    This is working ok - but I want to return these values so they can be used in mapping.
    when I try to add the statement return FileName; , the compiler then complains with the following error:
    cannot return a value from method whose result type is void return FileName;
    But where do you define the result type for a method ????? I guess it has something to do with the signature variables but I am a bit lost.
    Any help greatly appreciated.
    Thanks
    Colin.

    Hi
    Function type Void is not going to return value. It has be String type to return value. Check the function again
    Also this documents provides good info on mapping in PI 7.1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f06d11f2-e7c2-2a10-04a9-f2f6f374cd29
    Thanks
    Gaurav

  • Unable to edit Function Library

    Hi all,
    I am unable to edit a function library I created. I always get a NullPointerException:
    There is no syntax error in the included functions. The Library is activated, but it is also not found by the runtime. When I send a test message I get an error that the used functions were not found.
    I have already tried to create another function library. I am able to create and activate it, but get the same error when I try to edit it.
    I am working on a Java single-stack.
    Any suggestions?

    I already tried this.
    But the main problem ist: When I am in ESR in the function library and klick the Edit-Button, I get the error message shown above. So I am not able to edit any function library.
    What could be the problem? I already tried:
    - To remove all special characters from the name and description of the function library
    - To create a new namespace with a new function library

  • HT1751 Hi, I tried to restore my itunes library from an external drive and did everything that's written here step by step.when I chose the itunes library to import itunes just said that its accessing the itunes store but nothung happened. I'm working on

    Hi, I tried to restore my itunes library from an external drive and did everything that's written here step by step. when I chose the itunes library to import itunes just said that its accessing the itunes store but nothing happened. Does anyone know how to do this so that all my playlists are also imported and not just the music itself?

    When I have done this, all I did was network the two machines and copy the contents of the iTunes folder to the other machine, and that's it.
    My understanding (which may not be 100% correct) is that the one file that is absolutely necessary is iTunes Library, and that the XML file is actually a copy auto-generated from the iTunes Library, appearing in a different format only for non-iTunes apps that take advantage of the iTunes Library data.
    As far as I know, if you simply have the Library (database) file and all your original music files, iTunes on that computer should operate as it did on your old computer. I believe that the Album Artwork, Genius Data, and XML files can be regenerated from the Library file. Not sure about the Extras file.

  • Do I need to save in my music iTunes library the previous library, iTunes 3 or 4 libraries?

    Do I need to save the "previous library", or iTunes 3 or 4 Music Libraries, or the iTunes 4 Music Library (old) in my music/iTunes folder?
    Trying to declutter my library.
    Currently using iTunes 10.5.3; therefore, is the old stuff necessary?

    From http://support.apple.com/kb/HT1660
    "New versions of iTunes sometimes include enhancements to the iTunes library. When you open the new version of iTunes, iTunes upgrades your existing library to the new format and places a copy of the old library in the Previous Libraries folder. If everything goes fine during your upgrade to the latest version of iTunes, you can delete the older iTunes Library files."

  • I want to use the Function Generator VI to send command signals through the NI 7344 motion controller. This will be a closed loop servo valve system. I want to be able to change from say a square wave to a sine wave on the fly. Idea's?

    I am going to run tests that require an actuator to move using various types of arbitrary waveforms such as sine or square. The NI 7344 is hooked to the UMI that is going through a driver for a servo valve. The loop is analog and it is closed. I have played with some of the examples but can't get it to work. I have used the function generator VI to generate a signal but I think I am using the wrong input VI to the motion control board. When I use what I have it moves the servo and then stops. It doesn't continually generate the signal.
    I would love to use the controls on the function generator vi to control frequency and amplitude ect. Any help or pointer would be helpful. Thank you in advance.

    Hello,
    I'm not clear on exactly how you want to use the generated data but I'm assuming they will be used as your target points.
    There's a built-in example for motion called 'One-Axis Contour Move.vi'. This example demonstrates how to provide your target points as 1-D array. All you need to do is to replace the input array with the output of the function generator. In order to have it run continuously, use a while loop. You can further program your application so that it'll change the waveform on the fly by monitoring the user interface but this might be little little tricky as you will need to reset the move and load the new generated points while keeping track of your current position.
    I hope this helps. Let me know if you have further questions regarding this
    application.
    Best regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • How do I get the function browser to appear when I types an = sign in a cell-The fn browser was working OK and then quit appearing---

    How do I get the function browser to appear when I type an = sign in a cell-The fn browser was working OK and then quit appearing---

    I just stumbled onto the answer---The format sidebar must be selected before the function sidebar will appear--Did not see this in the help section--maybe  just overlooked it--

Maybe you are looking for