Skip to Content
0
Former Member
Feb 11, 2011 at 12:49 PM

UDF to comapre all the value in Context and send a single Output Value

512 Views

Hi,

I get a response structure from an RFC and needs to send the status from the Response to target structure.

Response

RETURN

Row 0.....unbounded

Status 0.....1

Target

STATUS 0.....1

The Row value repeats to unbounded where the Status field gets the Value E or S.If all the values in the Repeated Rows are S then i need to send the status in a target field File Transfer Success .If all the values or E or some rows have Status E and some have S i need to send the status as File Transfer Failed.

The Output should be a single Value comparing all the Values in the Input and should return a single value FileTransferSuccess or FileTransfer OK.

How to write UDF for the above requirement

Thanks and Regards,

Rajesh