2013 Aug 12 7:19 AM
Hi,
I am using BAPI_GL_GETGLACCPERIODBALANCES to get 'FS10N' data,
but its returning an empty structure.
Code:
DATA: IT_TAB TYPE STANDARD TABLE OF BAPI1028_4.
CALL FUNCTION '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
2013 Aug 12 7:27 AM
Hi,
please check line
GLACCT = '2408408'
Maybe you forgot some leadiing zeroes ...
Please try also with
GLACCT = '0002408408'
Regards,
Klaus
2013 Aug 12 7:27 AM
Hi,
please check line
GLACCT = '2408408'
Maybe you forgot some leadiing zeroes ...
Please try also with
GLACCT = '0002408408'
Regards,
Klaus
2013 Aug 12 7:57 AM
In addition to Klaus's reply, you can uncomment and use BAPI's return parameter to see exact error message.
2013 Aug 12 8:01 AM