Retention as the word indicates is the ability to keep back something. In SAP business process depending on the contracts between purchaser and vendor the purchaser has the authority to retain a portion of the payment for the vendor until the end of warranty period or any other condition agreed upon by purchaser and vendor. This is done in order to mitigate the risk to the purchaser.
Configuration Part One
Activate business
function LOG_MMFI_P2P
T Code SFW5 (Business function activation)
T Code SFW5 (Business function activation)
Configuration Part Two
For the retentions a new field is offered to define a new document type for the retention document.
T Code OMR4
Configuration Part Three
Retention parameter set
T Code OLMR
>> Logistics Invoice Verification >> Incoming Invoice >> Retentions

Configuration Part Four
Define the Transaction Key EGX
SPRO > MM > Purchasing > Conditions > Define Price Determination Process > Define Transaction/Event Keys
Configuration Part Five
OBYC setup for Transaction Key EGX
Configuration Part Six
Special GL setup T Code FBKP

Step One - PO Creation T Code ME21N
Step Two - PO Release ME29N
Step Three - GR Done - MIGO
Step Four - Vendor invoice Creation - T Code MIRO
Two accounting document will create
One for original vendor invoice
Second for retention amount
Step Six - Payment of Retention amount T Code F-53 (After specific period)
Note : For setting up the retention due date you need to go through some configuration process.
The value of retention Due Date depends on several elements as the below logic:
a.MM-IV doesn’t receive any proposed due date information for retention from purchase order.
b.But user can define a default due date value via the customizing view V_T169RETTIME
As shown in the above picture, user can customize how long retention can be retained based on each material group, for that material of purchase order has been assigned.
After that, the system will check whether any implementation of BAdI MRM_RETENTIONS is available. If it exists, this BAdI implementation shall be performed, whereby the retention due date can be overwritten by the method mrm_retentions->change_proposal ().
Coding Tips:-
1.Check for Due date
Include LMRMCF24
CALL METHOD cl_mrm_retention =>due_date
After that, the system will check whether any implementation of BAdI MRM_RETENTIONS is available. If it exists, this BAdI implementation shall be performed, whereby the retention due date can be overwritten by the method mrm_retentions->change_proposal ().
Coding Tips:-
1.Check for Due date
Include LMRMCF24
CALL METHOD cl_mrm_retention =>due_date
Hi Tarekh,
ReplyDeleteI am facing a error while trying to assign and save the GL's for the transaction key EGX in OBYC. Could you kindly advice me the correction also please mention the special GL indicator catgeory to be created or used (noted item with others or down payment request/downpayment) for the Vendor Retention Scenario.
Thanks in advance.
Hi Karthik
Deletein FBKP - Click Down payment/Down payment request - option
in FBKP - Click Commitments warning - option
Regards
Tarek
Hi Tarek,
ReplyDeleteThanks for the reply,
I have created a new SPL GL indicator from FBKP as you suggested, below is the error that I am encountering. Could you please look in to this and assist me If i am missing any pre-requisite.
Also I want to understand from your document, was there any particular prereq for this scenario other than the routine setup which I need to look in to.
Error
Special G/L indicator not defined or incorrect
Message no. F5838
Diagnosis
Posting key "29" (account type "K") has been programmed for special G/L transactions. However, either no attributes have been defined for special G/L transaction "", or the classification is incomplete (down payment, bill of exchange, other).
System Response
Incorrect definition in FI customizing tables.
Procedure
Maintain the entry for account type "K" and special G/L transaction "" using the FI customizing functions.
Thanks in Advance
T Code FS00
DeleteCreate GL as special GL (Recon Account for acct type - Vendor)
ReplyDeleteHi Tarek,
Thanks a lot for your reply, I have already done as so stated. Could you kindly assist me further on this.
Many Thanks
Hamsini Technologies is provide Best SAP FICO Training by TOP Industry Experts in Hyderabad with 100% Job Oriented & Placement Record.we teach all SAP Modules.and
ReplyDeletewe can provide recorded sessions also.
Free 1st Demo Class,
Contact us : info@hamsinitechnologies.com
SAP FICO Online training
Hi I need to update invoice no in ref field of retention accounting doc no, similar to invoice accounting document. How it can be updated
ReplyDeleteIf you familiar with sap, then could you please sagests module for b.com student.
ReplyDeletesap abap training in hyderabad
ReplyDeleteThank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
Core Global is an authorized training center in India and offers comprehensive training to SAP consultants of the future using internationally renowned business software that courses have global consistency in the quality of training and certification.
I really appreciate the work you have done, you explained everything in such an amazing and simple way.
ReplyDeleteSAP fico training in Bangalore Marathahalli
It is really a great work and the way in which you are sharing the knowledge is excellent.Thanks for your informative article
ReplyDeleteInvoices Apps
https://www.linkedin.com/posts/tarek-hossain-chowdhury-b192a341_vendor-retention-process-in-sap-activity-6739550932083859456-vZ1L
Deletehttps://www.linkedin.com/posts/tarek-hossain-chowdhury-b192a341_alternative-reconciliation-gl-entry-process-activity-6745282676078583808-xlsP
Deletefor your information