SAP Function SMB_UIE_FIN_CREDIT_MEMO_VEND - Credit Memo for Vendors - Open Items

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_VEND SMB_UIE_CREDIT_MEMO_BAL_TT h 43 Credit Memos for Open Items

Functionality
This function module displays the credit memo amount for Vendors. Itdisplays the Amount in either the display currency or the PlanningCurrency, based on the User Input. The display currency is the currencyin which the user wants to view the amount. Planning currency is thecurrency with which the amount has already been stored in the Database.The total amount is calculated by adding the existing amounts.UserInputs are - company code and the currency value. The Output indicatesthe amount which is the Credit Memo for the Vendor.

Example
INPUT:
IV_COMPCODE - 1000
IV_DISPCURR (OPTIONAL) -
IV_PLANCURR (OPTIONAL) - EUR
OUPUT:
ET_CUST
BUKR ,, BNKKO,, GRUPP EB ,, DISPW,,DMSHB,, DISPC
1000,,,, -,,,, A1,, DI,, EUR1,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.