SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict security deposit release during final bill

Former Member
0 Kudos

Hello,

As per our business requirement security deposit need not to be adjusted

with final bill. We have done the configuration as per following

screen shot.But security deposit still get adjusted during final bill

generation , please specify this configuration is correct or any

other configuration is required to achieve this requirement.

Configuration path:

SPRO->SAP utilities->Invoicing->Invoice Processing->Item selection in account maintenance/Define sub-item

And done the changes in both clearing type R42 & R43 as per below image

4 REPLIES 4

ivor_martin
Active Contributor
0 Kudos

Hi,

You should check the configuration in Open Item Management for "Specifications for Invoicing".

Make sure the Clearing Variant that is used doesn't have any explicit Clearing sequence for Main/Sub 0020/0010.

If theres no such explicit configuration, make an ABAP change in the FI-CA Event ISU_EVENT_R401 to explicitly exclude the held Security Deposit . Heres the documentation for this event:

ISU_EVENT_R401 

____________________________________________________

Short Text

Event R401:Select CA Items for Account Maintenance/Credit Transfer Posting

Functionality

Event R401 in IS-U invoicing selects the open items for account maintenance and transfer posting of credit. It is started in invoicing before the account maintenance modules are called.

Tasks

    1. Selection (or preselection) of open items for account maintenance.
    The open items made available in this function module are already made available in field XAKTP_401 (table TY_R401_FKKCL) with a propsal in accordance with the entries in table TE514 table TY_R401_FKKCL. You can overwrite this proposal.
    2. Activation of open items for transfer posting in credit/receivable consumption billing.
    This enables, for example, items with a clearing restriction in invoicing to be repaid. The items made available in this function module already have a proposal in field XGUMB_401. This proposal is based on the specifications in table TE529 and can be overwritten.
    3. Deactivation of a statistical receivable without subsequent posting.
    If you set the indicator XCLON_401, a statistical receivable can be cleared without subsequent posting, so that it is not longer requested. The items made available in this function module already have a proposal in the field XCLON_401 based on the specifications in table TE529. You can overwrite this proposal.

Example

    1. In periodic invoicing the cash security deposit payments are to be released for settlement after a given period. If this period has not expired, you must set the indicator XAKTP_401 = ' ' in the relevant item.
    2. In periodic invoicing the cash security deposit payments are to be repaid after a given period (if applicable, the credit remaining after settlement). In this case you must set the indicator XGUMB_401 = 'X' in the relevant item. If the credit is not to be reposted, you leave this indicator blank.
    3. In final invoicing the open request for a cash security deposit is to be deactivated (cleared without subsequent posting). In this case you must set the indicator XCLON_401 = 'X' in the relevant item.

Further information

Programming Restrictions

To avoid jeopardizing the consistency of the system, note that you may not use the following language elements in events:

  • COMMIT WORK
  • ROLLBACK WORK
  • CALL FUNCTION 'DEQUEUE ALL'
  • Delete all locks that you have not set yourself.

Parameters

X_VERART
X_BLDAT
X_BUDAT
X_BUPA
X_FKKVKP
X_SIMU
X_INVOICE_UNIT
YWA_CHG_SERVICE_OBJ
TY_R401_FKKCL
T_CONTRCL

Former Member
0 Kudos

Hi Ivor,

For the above requirement what shold be the indicator flag.

If indicator XGUMB_401=' ' & XCLON_401= ' ' then its fine or not?

please suggest.

0 Kudos

Hi Ibrarul,

There are two standard ways by which a Security Deposit doesn't gets released during invoicing automatically-

(a) Non-maintenance of Return date in the SD master-If you don't maintain the return date, there is check in event R401, which will not release the SD during invoicing.

(b) Maintain the max.creditworthiness fields in the following SPRO config-

     IMG-->Financial Accounting-->Contract Accounts Receivable and Payable-->Business Transactions-->Security Deposits-->Create Special Definitions for Security Deposits

In invoicing, a cash security deposit is not automatically cleared if the return date has been reached and the creditworthiness is greater that the limit value specified in the above config.

Hope it helps...

Thanks,

Amlan

0 Kudos

Hi Ibrarul.


You should be OK with If indicator XGUMB_401=' ', i.e. overriding the proposal for clearing.

Regards,

Ivor