Skip to Content
avatar image
Former Member

Message from EXIT_SAPLVMDE_003

Hi

In the user-exit EXIT_SAPLVMDE_003 I have done some coding for the idoc processing.

My issue is, that I can't get a message back to the idoc, for what happend in the user-exit.

The FM: EXIT_SAPLVMDE_003

is called from the FM: SD_IDOC_INPUT_PICKING in FM: CALL CUSTOMER-FUNCTION '003'

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 16, 2008 at 11:05 AM

    Hi,

    Use like;

    CALL FUNCTION 'POPUP_TO_DECIDE_INFO'

    EXPORTING

    defaultoption = 'N'

    textline1 = text-001

    textline2 = text-002

    titel = text-003

    start_column = 45

    start_row = 9

    IMPORTING

    answer = answer.

    IF answer EQ 'J'.

    MESSAGE ID 'YMM' TYPE 'E' NUMBER '033' WITH TEXT-029.

    SET SCREEN 0.

    LEAVE SCREEN.

    ENDIF.

    Add comment
    10|10000 characters needed characters exceeded

    • you can try this in the include.

      data: var(25).
      field-symbols: <fs> type standard table.
      
      var = '(SAPLVMDE)IDOC_STATUS[]'.
      
      assign (var) to <fs>.
      if sy-subrc eq 0.
      " now append your messages here to the <fS> if you need to add any
      
      endif.