SAP Function SMB_UIE_FIN_OPEN_ITEMS_VENDORS - To display amt of trans acc to cre/deb for vendors

Parameter Reference Type Length Default Optional Text
IV_COMPCODE BUKRS C 4 Company Code
IV_DISPCURR WAERS C 5 X Currency Key
IV_PLANCURR WAERS C 5 X Currency Key

Parameter Reference Type Length Text
ET_OPEN_ITEM_CUSTOMER_EXPORT SMB_UIE_OPEN_ITEMS_VENDORS_TT h 26 internal tab for structure vendors compcode,fiscyr,trans

Functionality
The web service allows the user to display the total accumulated balanceamount in the "display currency" needed for maintaining the balancebased on debit/credit field with summarizing on the company code, fiscalyear and currency for the company code. It calculates the total balanceby crediting or debiting from the balance accordingly. The user caneither choose display or planning currency or both but company code iscompulsory. If display currency is chosen by the user then balance isdisplayed in the display currency chosen otherwise if planning currencyis mentioned the filter occurs only for those entries with the givenplanning currency.

Example
INPUT,,
Company code - 1000
Display currency - Eur
Planning Currency - ,,
OUTPUT
Comp_code,, Fiscal year,,Trans curr,,Deb/Cre,,Amt of trans,,Disp_curr
1000,, 2010,, EUR,, H45.778,18-,, EUR
1000,, 2010 ,, USD,, H 10.638
,30 ,, EUR

Notes
If wrong input is given as sum non existing company code then itdisplays no data available for it.
If only company code is given as input without mentioning the display orplanning currency it requests for the data.

Further information
Input Parameters: IV_COMPCODE
,,,, IV_DISPCURR , IV_PLANCURR (optional)
Output Parameters: ET_OPEN_ITEM_CUSTOMER_EXPORT (Table with companycode, fiscal year, transaction currency, credit/debit, accumulatedbalance, display currency).