Skip to Content
avatar image
Former Member

MESSAGES

i have 20000 records,i need to check authorization for that.while i am passing each record to a specific function module,when sy-subrc <> 0,i want to through message.

i am calling this function module in loop,for every failure it throughs message,but i want to put all messages at a time,how can i do this.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 14, 2008 at 08:15 AM

    Hi,

    Instead of using MESSAGE command... use APPEND command to append the messages to an internal table.

    Finally loop over the internal table of messages & write the messages to screen.

    Best regards,

    Prashant

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 14, 2008 at 08:15 AM

    Hi Shekhar,

    What you can do is if first create one FM module which will retunrn message as an internal table.

    inside that FM call the actual FM which returns the FM.

    Hope you understood the error.

    Thanks,

    Chidanand

    Add comment
    10|10000 characters needed characters exceeded