cancel
Showing results for 
Search instead for 
Did you mean: 

hi xi gurus

Former Member
0 Kudos

hi

i just want some information.

i got one spec like i hav to transfer some file data to sap-isu using SAP-XI

IN ADDITON TO THAT i have to check file data.

to check no of records in filebody with trailer count.

and if any of filed missing in file i have to raise error and send back the error file to sender.

iam not using BPM's

one more thing is.

i have to map fields of file to BAPI fields and transfer file.

if the whole process is sucess.

i have to send that succes file to ONE specified directory in sap-isu side.

is it possible in BPM.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can check the count in mapping itself using standard function for details , if the details count is equal to the trailer value then continue else raise an exception.

And this exception can be handled in Determination to terminate or to continue ...

Regards

Chilla

Former Member
0 Kudos

you can use adapter module on sender side to check the data and update your payload with the validation result say for example a new tag in the structure like

<VALIDATIONRESULT>FAILED</VALIDATIONRESULT>

of

<VALIDATIONRESULT>SUCCESS</VALIDATIONRESULT>

and have your reciever determination conditional on this field and then route your payload accordingly..