‎2007 Dec 28 10:45 AM
hello gurus ,
Sir i m generating a program in FI ,I have faceied a problem regarding to get the opening balance
CALL FUNCTION 'Z_GET_OPENING_BALANCE1'
EXPORTING
KUNNR = ITAB-KUNNR
GJAHR = GJAHR
MONTH = MONTH
IMPORTING
OPBAL = OPBAL
EXCEPTIONS
OTHERS = 1.
is there any prdefined function module in sap like above .
plz rply its urjent .
Thanks in advance .
‎2007 Dec 28 10:58 AM
I want to get the opening balance , through function module sap standard for a perticular customer .
‎2007 Dec 28 10:50 AM
Hi
Choose the one which is most relevant for you...
BAPI_AR_ACC_GETCURRENTBALANCE Closing balance of customer account in current fiscal year
BAPI_AR_ACC_GETKEYDATEBALANCE Customer account balance at a key date
BAPI_AR_ACC_GETPERIODBALANCES Posting period totals per customer account in current fiscal year
REgards
Arun
‎2007 Dec 28 10:58 AM
I want to get the opening balance , through function module sap standard for a perticular customer .
‎2007 Dec 28 11:04 AM
Hi
These BAPI's are for getting the customer balance.
Closing balance of the previous period/year is the opening balance for the next period/year when you carry forward balances!!
Please check the above BAPI's in SE37!!
In case you need the GL balances use:
BAPI_GL_ACC_GETBALANCE Closing balance of G/L account for chosen year
BAPI_GL_ACC_GETCURRENTBALANCE Closing balance of G/L account for current year
BAPI_GL_ACC_GETPERIODBALANCES Posting period balances for each G/L account
‎2007 Dec 28 11:08 AM
Use FM FDBL_BALANCES_DISPLAY. Also refer program RFGLBALANCE on how to use/call this function.
Cheers,
Sougata.