Hi,
I am using BAPI_GL_GETGLACCPERIODBALANCES to get 'FS10N' data,
but its returning an empty structure.
Code:
DATA: IT_TAB TYPESTANDARDTABLEOF BAPI1028_4.
CALLFUNCTION'BAPI_GL_GETGLACCPERIODBALANCES'
EXPORTING
COMPANYCODE = '1000'
GLACCT = '2408408'
FISCALYEAR = 2013
CURRENCYTYPE = '10'
* IMPORTING
* BALANCE_CARRIED_FORWARD =
* RETURN =
TABLES
ACCOUNT_BALANCES = IT_TAB.
Its returning empty IT_TAB.
If i run transaction 'FS10N' with input parameters:
Company Code: 1000,
GLACCT = 1000
fiscal year = 2013,
I get a list generated..
Should i be using some other BAPI to dispaly open GRs?
There are standard transactions to display open GRs i suppose,
but i need a custom report for it since displaying some additional field columns.
So i dont need transactions right now.
I just need any BAPI which can return me FI Doc number and Fiscal year (BSEG data) for all open GRs.
This BAPI can refer to any relevant transactions as long as they
return me FI Doc number and Fiscal year (BSEG data) for all open GRs for input parameters - Comapny Code, GL Account And Fiscal Year.
Thankyou,
KS