I have to read a certain file of the type txt. After reading the file I have to call a function rfc. Until this moment, I don't have problems. My problem is that starting from the return of this rfc that I will have to do a series of validations. Example:
I call a rfc to verify if material exists. If the material doesn't exist, I should not call the next rfc. If the material exists, I will have to call the rfc to verify the status of this material. If the material is not with the status of available, I cannot call the rfc to verify the series number. If the material is available, I will have to call the rfc to verify series number.
I don't know as beginning this scenario.
Which the steps that I should use?
What should I use for this scenario? Should I use BPM? Should I use Xpath?
Does some exist Weblog with this scenario type?