SAP Virtual/Onsite Trainings

Document Categories:

What's New?

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials 


Join the Mailing List
Enter name and email address below:
Name:
Email:
Subscribe  Unsubscribe 

Offline Workflow Approval in ECC R/3 without SAP Logon from E-Mail (Outlook)

...Previous

I am now clicking on SEND. I am not changing the SUBJECT or TO Field in this e-mail. This is crucial. I can see the e-mail is in the SENT ITEMS in OUTLOOK Web-Mailè

Now I am running the transaction SOIN for Inbound Send Requests (SMTP). This can also be substituted by Report RSBCSINè

I can see the e-mail has been received at SAP J. If you can see this, that your Inbound E-mail Configuration is correct. You have crossed a big hurdle here.

Display the trace of this e-mail (Note: I have activated TRACE in SCOT, this is mandatory to know what has happened in system)

The trace can be displayed from the SOIN screen. Notice the toolbar in that screen shot, the trace button is shownè  

The trace screen opens as shown below (If trace is not active in SCOT, this screen will show no entries)è

Now the moment the e-mail was received by the system, our Inbound Exit should have triggered and processed the work item.

We can verify this from the trace. If we double click on the trace entry, it will show us all the details, our exit was instantiated and triggered as shown in the highlighted entries below. Also we can see that the RETURN Code was “0” which indicates that the method PROCESS_INBOUND was called correctlyè

So now we will check in SOST. We should see a reply from the Workflow System that the work item has been approved. This was processed in the method PROCESS_INBOUND coded in the Inbound Exit Class ZZZCL_PROCESS_INBOUND_WORKFLOWè

This e-mail was triggered by the Inbound Exit Class (notifying the processing). Displaying the e-mail bodyè

Checking the workflow log, the work item should have been processed as approvedè

BEFORE – Status IN PROCESS

AFTER – Status COMPLETED and action outcome is APPROVED

(Note the work item was not processed manually in Business Workplace SBWP, but was processed in the Inbound Exit Class via function module SAP_WAPI_DECISION_COMPLETE. Please study the code in method PROCESS_INBOUND in class ZZZCL_PROCESS_INBOUND_WORKFLOW. So you can process any code, transaction, etc offline via e-mail using this concept. Simply create specific SUBJECT line in the auto e-mail and model your code on that)

Above work item is also removed from SBWP (Business Workplace)è

Checking in OUTLOOK, we should have received the e-mailè

Click here to continue..

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image