Skip to Content
0
Former Member
Oct 23, 2008 at 02:19 PM

function module to determine the credit balance or if there is an open ite

657 Views

Hi All ,

Can anyone please let me is there any function module to determine the credit balance orr if there is an open standing request / open standing request /paid but not yet refunded security deposit .

Requirement :

Purpose -This report shows a list of u201Cinactiveu201D contract accounts and the amounts to be refunded (credit balance, paid security deposit) to customers. This report also shows any open standing requests in customersu2019 contract accounts.

Note: SAP does not have a concept of u201Cinactiveu201D contract accounts. All contract accounts are active in SAP.

We do have customers who pay several months in advance (when they are out of town and donu2019t want to have their services disconnected).

Logic to retrieve the u201Cinactiveu201D accounts:

The inactive accounts can be identified by the Move-In/Out dunning procedure. If the mov-in/out dunning procedure is not empty, that means this account has moved out and the account is inactive.

Business Logic and Flow

For each contract account

{

Go through each installation and check if it is disconnected

{

If (one is active)

{

move to the next contract account

}

else (all is disconnected)

{

check to see if there is a credit balance or if there is an open standing request

{

If (credit balance)

{Display contract account, customer number and information, and credit balance for refund}

If (open standing request)

{Display contract account, customer number and information, standing request number to be closed}

If (paid but not yet refunded security deposit)

{Display contract account, customer number and information, current balance and security deposit amount}

}

}

}

}

Thanks in advance

Rahul