Skip to Content
author's profile photo
Former Member

Function Module calling in transfer rule

Hi All,

I have a situation where we are calling a function module in our transfer rules. The function module has 4 export parameters and it works fine.

But now we have a requirement where if this function module returns a blank value meaning, if there is an instance that does not supply all that is needed for the function module to work, we want to abort the load. Does anyone have any idea as to how I should proceed in this case?

Thanks for your time

SRD

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Aug 04, 2004 at 07:11 AM

    assign a non zero value to ABORT and the whole data load will be aborter. where as if you assign a non zero value to RETURNCODE only those records will not be loaded.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      In a start routine, there is standard RETURNCODE and ABORT. There is no specific command that lets you select the field that you want to restrict.I dont know of any thing like this. Moreover from a performance point of view even if you achieve this, it doesnt make a difference. So why dont you use BEX to for this purpose