Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Get GL account period balance

zhlish
Explorer
0 Kudos
558

Hi everyone,

currently I'm using BAPI_GL_ACC_GETPERIODBALANCES to retrieve period balances as in FS10N and works fine, but it miss the parameter GSBER.

Now that I have some GL that is in different accounting sectors, the data retrieved of course are no more the same.

I also tried to get data from:

- GLT0, but still some of the periods have different values,

- SUBMIT to FS10N, works fine just when the user insert one GL, can't use inside a loop.

Is there any alternative for this bapi that also have the parameters gsber that I can use?

Thank you

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
515

Look for the FAGL_GET_GLT0 call in BAPI_GL_GETGLACCBALANCE and adapt your GLT0 selection accordingly.

2 REPLIES 2

raymond_giuseppi
Active Contributor
516

Look for the FAGL_GET_GLT0 call in BAPI_GL_GETGLACCBALANCE and adapt your GLT0 selection accordingly.

0 Kudos
515

Thank you so much.

It solved my problem