Skip to Content
avatar image
Former Member

how to log only error messages

Hi Folks

my scneario is

d/b --> rfc --> file (I am using BPM )

currently i am logging all the messages that i get from rfc

if i have to log only the errors , wht changes need to be done

Thanks

Amit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 21, 2006 at 04:21 AM

    Hi amit,

    If you want to log only the errors, just create the coreresponding mapping program where only the error messages are sent to the destination file data type.

    Regards,

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 21, 2006 at 04:36 AM

    Hi,

    One of the ways to log only error messages returned by RFC could be as follows:

    Most of the standard SAP RFCs and BAPIs return messages (Success as well as error) in the form of an internal table ( of type BAPIRET2).

    You can use this internal table in the XPATH of the receiver determination to log the error messages with or without using mapping depending on the requirement.

    Hope this helps.

    Thx n Rgds

    Amulya

    Add comment
    10|10000 characters needed characters exceeded