How can we make the status of the Idoc based on some response Text
I have developed Idoc--SOAP Sync Process Scenario Using BPM and Works Perfectly.
I have used STATUS.SYSTAT01 Idoc to capture the Response that is comming from the Webservice.
I have mapped the response Text( Success or Fail) to one of the field in the Response Idoc, this is perfect.
1) If the Response Idoc Field receives Success Text means the Idoc Status shld be in Green Status.
2) If the Respnse Idoc Field Receives FAIL means the Idoc Status shld be in RED Status.
Another Option is
1) Let us Assume that If i trigger one Idoc MATMAS to Webservice, if they receive that properly means the Idoc STATUS.SYSTAT01 shld show the success in WE05 of R/3.
Else it shld show Error status.
How can i Do this. please suggest me......