cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Approving a SC through Offline Approval

Former Member
0 Kudos

Hello Experts,

We are in implementing SRM 7.13 and using the standard offline Approval process of approving the SC.We are able to trigger a mail containing the item details and can open the mail in web browser.When we select "Approve by email" option, we get Internet explorer has stopper working and it stop the process in that step.

Moreover it creates a new mail in my outlook and if i send that email , it comes to the inbound mail but does not process the approval request and SC remains in Awaiting approval status.

Please find the below screen shots for more details and help me with your suggestions.

Thanks,

Ankur Goyal

Accepted Solutions (0)

Answers (3)

Answers (3)

laurent_burtaire
Active Contributor
0 Kudos

Hello Ankur,

you wrote "We are able to trigger a mail containing the item details and can open the mail in web browser".

This means you use buttons to generate approval/rejection mail as explained in below OSS note?

1247911 - Offline Approval: Buttons not available in mails office 2007

If yes, see with Outlook and Web experts to know how to trace what's happened

Regarding the non processing of inbound mail, i advise you to debug in order to understand what's happened.

1) for synchronous approval, populate field DEBUG_ON from BBPD_IMD_DEBUG table with 'X' value.

A select is done on this table in IF_INBOUND_EXIT_BCS~PROCESS_INBOUND method from /SAPSRM/CL_OFFLINEAPP_INBOUND class.

If the 'X' is filled-in, an endless loop is triggered to allow you to debug process in SM50.

2) for asynchronous approval, put a brek-point in /SAPSRM/OFFLINEAPPROVALGET report.

Check also OSS notes for offline approval inbound.

Problem could come from inappropriate sapconnect setting (SCOT transaction): 1754379 - Offline Approval Inbound processing fails

Regards.

Laurent.

Former Member
0 Kudos

Hi Laurent,

We have changed our approach for inbound processing from synchronous to asynchronous . But for asynchronous inbound processing it is getting the below error:

Work Item 000000000000 / Obj. Type: / Object ID:

Work Item 000000000000 Cannot read content of e-mail<html dir="ltr">##

<head>##<!

Work Item 000000016084 / Obj. Type: BUS2121 / Object ID: 1000000561

Work Item 000000016084 Error with sender evaluation

Work Item 000000016098 / Obj. Type: BUS2121 / Object ID: 1000000562

Work Item 000000016098 Error with sender evaluation

Work Item 000000016142 / Obj. Type: BUS2121 / Object ID: 1000000564

Work Item 000000016142 Error with sender evaluation

Work Item 000000016142 / Obj. Type: BUS2121 / Object ID: 1000000564

Work Item 000000016142 Error with sender evaluation

Work Item 000000016156 / Obj. Type: BUS2121 / Object ID: 1000000566

Work Item 000000016156 Error with sender evaluation

Work Item 000000016156 / Obj. Type: BUS2121 / Object ID: 1000000566

Work Item 000000016156 Error with sender evaluation

No work item found for processing


Please provide your help.


Thanks,

Ankur

laurent_burtaire
Active Contributor
0 Kudos

Hello,


Ankur Goyal wrote:

(...)

Work Item 000000016084 / Obj. Type: BUS2121 / Object ID: 1000000561

Work Item 000000016084 Error with sender evaluation

(...)

Error message from /SAPSRM/OFFLINEAPPROVALGET is not understandable?

And from where a log error message can come from? Maybe from the report text symbols?

Could it be symbol 031?

Regards.

Laurent.

vinita_kasliwal
Active Contributor
0 Kudos

Hi ankur ,

Check al these settings again :

1. attribute FORWARD_WI to 'X' for all users

2. user Maintenance transaction (SU01), you have entered the following:

    The e-mail address of the system user WF-BATCH &The e-mail addresses of all users that are to use the offline approval function

3.You can use report /SAPSRM/OFFLINEAPPROVALSEND to define settings for the e-mails

4. cHECK oUTBOUND PROCESSING Settings

5. Check inbound processing settings

6. Check the settings in SCOT as well Page 45 in Basic setting documents of SRM

Check the below References and it should be helpful . 

OSS note [455140 - Configuration of e-mail, fax, paging or SMS using SMTP|

http://help.sap.com/saphelp_srm70/helpdata/en/31/47c6cb8e9249f2bc29444212e4704a/frameset.htm

http://wiki.scn.sap.com/wiki/display/SRM/Debugging+hints+for+sending+email+in+offline+approval

Let me know your comments . Also this could be an issue with the browser as well try with different systems and different user Id to elimiate the issue being system /user specific .

Former Member
0 Kudos

Hi Ankur,

For offline approval functionality you need to perform the corresponding configuration for incoming emails in the SRM server. Once the SRM Server is able to receive emails it will process the automatic generated email and change the status of the SC.

Hope this help.

Best regards,
Martin

Former Member
0 Kudos

Hi Martin,

Firstly, let me thank you for your reply.

I have mainatined all the outbound and inbound settings in accordance with the below link and using synchrous approach :

http://wiki.scn.sap.com/wiki/display/SRM/Offline+approval+-+general+configuration

Can you please let me know if there is anyother settings required other than memtioned in above link.

Thanks,

Ankur Goyal

Former Member
0 Kudos

Dear Ankur,

I have not too much experience configuring SAP Connect but I think the configuration described in the link is ok. Please check with your basis consultant in order to determine if something is missing.

Also you can enhance the exit /SAPSRM/CL_OFFLINEAPP_INBOUND and put an endless loop there. Once the approval email is sent to the SRM server you could debug the exit method in TX SM50. If you dont get an entry in the SM50 Tx. there is something missing for inbound processing emails.

Regards,

Martin