SAP Function SMB_UIE_FIN_CREDIT_MEMO_CUST - Credit Memo for Customers

Parameter Reference Type Length Default Optional Text
IV_COMPCODE BUKRS C 4 Company Code
IV_DISPCURR DISPW C 5 X Planned currency for cash management and forecast
IV_PLANCURR DISPW C 5 X Planned currency for cash management and forecast

Parameter Reference Type Length Text
ET_CUST SMB_UIE_CREDIT_MEMO_BAL_TT h 43 Credit Memos for Open Items

Functionality
This function module displays the credit memo amount for customers. Itdisplays the Amount in either the display currency or the PlanningCurrency, based on the User Input. The display currency is the currencyin the user wants to view the amount. Planning currency is the currencywith which the amount has already been stored in the Database. The totalamount is calculated by adding the existing amounts. User Inputs are -company code and the currency value. The Output indicates the amountwhich is the Credit Memo for the Customer.

Example
INPUT:
IV_COMPCODE - 1000
IV_DISPCURR (OPTIONAL) -
IV_PLANCURR (OPTIONAL) - EUR
OUPUT:
ET_CUST
BUKR BNKKO GRUPP EB DISPWDMSHB DISPC
1000 - A1 DIEUR 1,000.00 - ,,

Notes
If wrong input is given like a non existing company code, then itdisplays "no data available".
If only company code is given as input without mentioning the display orplanning currency then the output will be zero.