Skip to Content
avatar image
Former Member

Problems when creating a transfer order for moving storage units

Hi,

When creating a TO for moving storage units with FM FU L_TO_CREATE_MOVE_SU i got problems when the storage unit consist of 2 items. The message 'Warehouse number does not exist (new selection required)'

is displayed. When i use the FM again after this message then the TO is created correctly.

When i debug the FM for 2 items is see that LEIN-LGNUM is empy en when performing:

PERFORM T300_LESEN(SAPML03T) USING LEIN-LGNUM. and the message E080 is raised.

The perform before this is determining the lein-lgnum (PERFORM LENUM_EINL_CHECK(SAPML03T) USING I_LENUM) but this value isnt passed to the calling program the first time (memory or something????)

Does anyone have a solution for this problem?

Thx in advance.

Kind regards,

John Nijburg

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 12, 2007 at 11:16 PM

    We too have the same issue. Any luck on this one?

    Thanks & Regards,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello,

      I had the same problem today and I've fixed it by calling the FM in a different task (asychronous) .. this way the fugr/internal variables will be loaded again and you won't get this stupid error anymore. 

      CALL FUNCTION 'L_TO_CREATE_MOVE_SU' STARTING NEW TASK lv_task

      In case you need it syncronous use PERFORMING clause together with WAIT UNITL

      Hope this helps!

      Cristian