Skip to Content
avatar image
Former Member

Check some fields before to save Shipment Document

Hello,

I need to check some fields before to save de shipment document (VT01N / VT02N ).

The messaje error must stop the saving process and send the error mesagge by screen.

Where and how can I do this ??

For example: IF VTTK-ADD01 <> "01" -> send error mesagge.

THANKS,

JEOS.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jun 23, 2010 at 11:57 PM

    Hello Jorge

    Try

    1) SD_SHIPMENTS_CHECK_COMPLETE

    2) and especially SD_SHIPMENTS_CHECK_COMPLETE which is called from 1.

    Hope this helps.

    PS: To get a list of all User Exits in Transportation, use transaction SMOD. Here You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Forgot to mention that they (1 and 2) are Function Modules (SE37).

      Item 2 should read

      and especially EXIT_SAPLV56U_002 which is called from 1 EXIT_SAPLV56U_002.

      Cut and Paste error!!!