cancel
Showing results for 
Search instead for 
Did you mean: 

offline approval not working

Former Member
0 Kudos

Hi Srm gurus,

Please help! We have copied Prod to qas. We are currently testing email notification which includes approval via email.

Problem:

We have tried to approved via email, but the status is not updating. We have copied the whole Prod system to QAS. Please help us.

We are using SRM 5.0

Thanks in advance!

Chrisell

Accepted Solutions (1)

Accepted Solutions (1)

franz_feichtenschlager
Active Participant
0 Kudos

Hello Chrisel,

Points to check:

1) Check, if you received the the offline approval mail in your SRM QA system (transaction SCOT --> Utilities --> Inbox overview). You should have an incoming mail with title "#EBP_GEN_REPLY#Approval of the work item".

2) Check the 'Inbound processing' parameters (SCOT --> Settings --> Inbound processing). You should have an entry with exit name "CL_BBP_SMTP_INBOUND_OFFAPP".

3) In the inbound processing the 'Recipient address' should be the email address of your 'background user'. FM "CL_BBP_SMTP_INBOUND_OFFAPP" will put your incoming mail to the SAP Inbox of that background user (e.g. WF-BATCH)

4) Check, if there is a mail in the SAP Inbox of that background user (in our case WF-BATCH)

5) Schedule job with report RBBP_OFFLINE_EVAL for background user (WF-BATCH). This report is processing the incoming emails with the workflow items.

We did have a problem with the incoming emails. The mails came into our SRM system, but not into the SAP inbox of the WF-BATCH user. Try to send manually a SAP message to your background user (e.g. WF-BATCH).

You can check with function modules SO_USER_READ_API1 and SO_FOLDER_READ_API1 the contents of the background user inbox in SAP SRM.

Good luck.

Franz

Former Member
0 Kudos

Thank you franz. I will check your recommendation. Please always check my site. Will give you update today!

Thanks!

Chrisell

laurent_burtaire
Active Contributor
0 Kudos

Hello Chrisell,

One more thing you can check (if previous ones are not useful) is if you set or not parameter "CH_SENDER" in report RBBP_OFFLINE_EVAL.

If yes, be sure that e-mail address at whom approval mail is sent by SAP is the same that sending e-mail address when approving or rejecting Shopping Cart or Purchase Order.

Regards.

Laurent.

Former Member
0 Kudos

Hi to all,

Thanks for your reply

btw, here's the so50 screen:

(there are two rows)

1st row

communication type: internet mail

Recipient Address : *

Document Class: ICS

exit name: CL_APPOINTMENT_REPLY

call sequence: 1

2nd row

communication type: internet mail

Recipient Address : emailqa2.company.com (QAS email address)

Document Class: ICS

exit name: CL_BBP_SMTP_INBOUND_OFFAPP

call sequence: 2

Please help.

Thanks!

chrisell

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I think the Inbound Processing customizing is wrong.

>Recipient Address : emailqa2.company.com (QAS email address)

>Document Class: ICS

It should be like

Recipient Address : wf-batch"at-mark"emailqa2.company.com (QAS email address)

Document Class: *

Please compare the setting with your production server.

Regards,

Masa

Former Member
0 Kudos

Hi Franz,

Please see the results of the check list:

1) done I have checked inbox of SBWP the emails are in the inbox, but no message.

2) yes i have exit name

3) check please see my other post.

+"FM "CL_BBP_SMTP_INBOUND_OFFAPP" will put your incoming mail to the SAP Inbox of that background user (e.g. WF-BATCH)+- i did not get this. Please help me, explain more, how can i do this.

4) same with number 1, i have check inbox through tcode SBWP

5) I have schedules job every 30 mins.

Please help!!!

so50 screen:

(there are two rows)

1st row

communication type: internet mail

Recipient Address : *

Document Class: ICS

exit name: CL_APPOINTMENT_REPLY

call sequence: 1

2nd row

communication type: internet mail

Recipient Address : emailqa2.company.com (QAS email address)

Document Class: ICS

exit name: CL_BBP_SMTP_INBOUND_OFFAPP

call sequence: 2

Thanks!!!

Edited by: chrisell agoot on Jul 8, 2009 4:12 AM

Former Member
0 Kudos

HI Laurent,

Thank you for your reply. How can I check "CH_SENDER"?

Should it be set or not?

Thanks!

Regards,

Chrisell

Former Member
0 Kudos

Thanks Masa!!!

Email address is correct because I have checked tcode: SBWP and able to received the email approval.

I already changed the ICS to * sign. I Will give you update. Thanks!!

Reagrds,

Chrisell

franz_feichtenschlager
Active Participant
0 Kudos

Hello Chrisell,

So you can confirm that there is a mail in the inbox of the user, that the report RBBP_OFFLINE_EVAL is scheduled for. Please check in the job log (SM37) for that job.

You can see the 'Check sender' flag in the background job definition:

SM37 --> job --> Job details

--> Step --> Go to --> Variants

If there is still an entry in SBWP after report RBBP_OFFLINE_EVAL was run there should be an error message as to why the item could not be processed.

Last resort might be debugging the report and 'simulating' you're the WF-BATCH user. (or whoever user you use).

Again, good luck.

Franz

Former Member
0 Kudos

Hi Franz,

Thanks for your input.

Again i Have another issue.

Please help.

Upon sending the approval email I have received this mail:

franz_feichtenschlager
Active Participant
0 Kudos

Chrisell,

You might have forgotten to attach the mail or error message.

Franz

franz_feichtenschlager
Active Participant
0 Kudos

Chrisell,

Forget my earlier posting. I saw your new thread.

Franz

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Please check the Inbound Processing entry in the SCOT transaction.

Also check your email routing in the email gateway, it should point to production server.

Have you changed the email address? Maybe the email is returned to the QAS server.

Regards,

Masa

Former Member
0 Kudos

Hi Masa,

I have check SCOT transaction.

Where I can check email gateway and email routing?

Prod is working perfectly, QAS is the wone not working.

Please help!