cancel
Showing results for 
Search instead for 
Did you mean: 

Offline inbound requests are not getting processed in SRM

Former Member
0 Kudos

Dear Experts,

We are on SRM 7.0 SP05

We are able to receive the offline inbound approval request to SRM. But, it is not getting processed in. We are facing this issue from yesterday.

I had checked the settings and batch jobs related this. All seems fine.

Please advice.

Appreciate your help!!!

BR

Siva

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member183819
Active Contributor
0 Kudos

Hi

Are you saying that in the mail box the work item was APPROVED and this approved not updated in the shopping cart .

OUTBOUND - > workitem to MAIL BOX server --> works fine

but

INBOULD --> APPROVED workitem was not updated in SRM? -- Is issue with only INBOUND TO SRM?

---

Check points

Step 5. Define Exit Rules for Inbound Processing (Transaction SO50).Inbound processing should be defined so that incoming messages can be routed appropriately.

Note: - In order to implement successfully and fully offline approvals, there are other functional Network related steps and configuration that are necessary, as example, Setup of following jobs which retrieves messages.

􀃆 CREATE BID INVITATIONS

􀃆 RBBP_NOTIFICATION_OFFAPP

􀃆 RBBP_OFFLINE_EVALStep 6. Defining Routing Rules on E-mail Server.Settings on the mail server (SAP-external configuration) To be able to receive mails in the SAP system, you need to set your mail server so that certain mail addresses are forwarded to one or several SAP systems or clients. For this purpose, you need to define routing rules that assign a mail host and/or port to address areas (generic address parts, usually the domain), for example: *@crm-prod.company.com --> SAPWASHost:25000 *@crm-test.company.com --> SAPWASHost:25001

You can define routing rules, example in Proof-point which diverts the messages on a particular port to email address that you would choose to create.

SAP

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10dfad5a-5398-2b10-568b-d3d999d49...

Former Member
0 Kudos

Muthu,

Thanks for your reply.

The issue is only with inbound request. We are getting the offline request to SAP (in SOIN) but not getting processed. Means approvals have not been performed.

I have checked the settings and parameters in RZ10. It looks fine.

Please advice.

BR,

Siva

former_member183819
Active Contributor
0 Kudos

any change log recently WF-BATCH user.

Note 1444767 - Offline approval: No action with approval notes

Note 1442161 - /SAPSRM/CL_OFFLINEAPP_INBOUND: Approval problems

Symptom

After offline approvals, you notice that approvals have not been performed. If you use transaction SOIN to process the relevant e-mail again manually, the corresponding approval occurs without any problems.

Other terms

Offline approval, incorrect in background, /SAPSRM/CL_OFFLINEAPP_INBOUND

Reason and Prerequisites

This problem is caused by a program error.

--

Is quality box work fine? can you recreate the same in quality or dev box

--

Note 1502282 - /SAPSRM/OFFLINEAPPROVALSEND in Federated Portal Network

--

Inbound Processing

You use SAPconnect for inbound processing. For more information on SAPconnect, see SAP Help Portal at http://help.sap.com SAP NetWeaver Library SAP NetWeaver by Key Capabilities Application Platform by Key Capabilities Platform-Wide Services Connectivity Communication Interfaces for Mail and Telephony SAPconnect (BC-SRV-COM) .

To activate inbound processing, go to transaction SO50 and create an entry with the following data:

Communication Type: Internet Mail

Recipient Address: valid e-mail address to which reply e-mails from approvers are to be delivered

Exit Name: /SAPSRM/CL_OFFLINEAPP_INBOUND

Note

The following roles must be given to the SAPconnect user for offline approval:

/SAPSRM/EMPLOYEE

/SAPSRM/OP_PURCHASER

End of the note.

When the system receives a reply e-mail from an approver, the specified class (Exit Name entered in transaction SO50) is used for processing. The work item ID, status, and the decision of the approver are evaluated. The system only processes reply e-mails from a sender that is identical to the recipient of the corresponding notification e-mail. If the document is locked when the e-mail is received, or if immediate processing fails for any other reason, the reply e-mail is forwarded to the SAP Business Workplace inbox of the user who is assigned to the specified address.

Note

The processing parameters in inbound processing can be overridden using the BAdI Customer Enhancement of Offline Approval (BBP_OFFLINE_APP_BADI), method RECIPIENTS_GET CHK_SENDER_IND_SET.

End of the note.

Former Member
0 Kudos

Ricardo / Muthu,

After inbound request reached SAP (request shown in SOIN), immediately user get the bounds back email.

Please advice.

BR,

Siva

former_member183819
Active Contributor
0 Kudos

eventuallly check it up

http://wiki.sdn.sap.com/wiki/display/SRM/Offlineapproval-generalconfiguration

see Melisa last comments

please check at SOIN transaction , menu Utilities--> MIME SETTINGS AND SET "always save" for incoming mails . if the MIME file is missing , inbound emails are not processed.

Muthu

Former Member
0 Kudos

Muthu,

Thanks for the wiki link. I had checked the settings. It seems fine.

BR,

Siva

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

Usually the following note is helpful for this issue:

1442161 - /SAPSRM/CL_OFFLINEAPP_INBOUND: Approval problems

Also, the roles that you have assigned to WF-BATCH user need to be assigned to sapconnect user as well.

There are a couple of notes related to synchronous class of inbound e-mail /SAPSRM/CL_OFFLINEAPP_INBOUND.

1409253 - No Inbound Processing due to wrong e-mail address check

1401531 - Multilanguage inbound processing of Offline approval

You can perform a quick test in your system.

Make sure that you send the desicions from emails addresses which are known in the SRM system and regards to the user ID of the current approver.

You can check if a address is fine with the FM

CALL FUNCTION 'BBP_PDH_WFL_USER_FROM_ADDRESS'

EXPORTING

iv_comm_type = 'INT'

iv_search_string = lv_sender_email

TABLES

et_user = lt_user

If the address in lv_sender_email is fine, then the regarding users will be filled in lt_user.

Please, check how the offline works after checking this information.

Regards,

Ricardo

Former Member
0 Kudos

Ricardo,

Thanks for your reply.

We have already implemented these notes before golive.

1442161 - /SAPSRM/CL_OFFLINEAPP_INBOUND: Approval problems

1416234 - /SAPSRM/OFFLINEAPPROVALGET not working

1401531 - Multilanguage inbound processing of Offline approval

And user WF-BATCH and SYSTEM has been assgined with the below roles

/SAPSRM/ADMINISTRATOR

/SAPSRM/EMPLOYEE

/SAPSRM/MAMAGER

/SAPSRM/OP_PURCHASER

And FM 'BBP_PDH_WFL_USER_FROM_ADDRESS' having the below codes

CALL FUNCTION 'ADDR_COMM_FIND_KEY'

EXPORTING

COMM_TYPE = IV_COMM_TYPE

SEARCH_STRING = IV_SEARCH_STRING

ET_USER [ ] = LT_USER [ ]

Please advice.

BR,

Siva

Former Member
0 Kudos

Hi,

Please refer the below OSS notes and hopfully that should work.

1507969

1488351

1486676

1482125

1479228

1471764

1464418

1457629

1442161

1431167

1416234

1115158

Thanks

Iftekhar Alam