cancel
Showing results for 
Search instead for 
Did you mean: 

Structures in BEx Query Designer

Former Member
0 Kudos

Hi experts,

I want to configure a report like the following one:

Table
ene-15feb-15mar-15abr-15may-15
Beginning Balance100,00107,00107,00120,00125,00
Movement 1 2,0010,004,008,0012,00
Movement 2 20,0010,0013,007,008,00
Movement 3 15,0020,004,0010,005,00
Ending Balance107,00107,00120,00125,00

140,00

Ending Balance = Beggining Balance + Movement 1 + Movement 2 - Movement 3.

And Beggining Balance is equal to previous month Ending Balance.

As you can see, I'm using "0CALMONTH" in the column selections. But I also need to define Beggining Balance as a selection depending on 0CALMONTH due "Beggining Balance is equal to previous month Ending Balance". I know it is not technically possible because I cannot use the same characteristic in both, row and column, selections.

Which would be the solution for this case?

Thanks in advance.

Regards,

Juana

Accepted Solutions (1)

Accepted Solutions (1)

yasemin_kilinc
Active Contributor
0 Kudos

Hi Juana,

There are a few alternative ways that come to my mind. The easiest would be adding a characteristic such as zcalmonth to your infoprovider, use one of them in the columns and use the other in rows. But this alternative reuires reloading of the infoprovider. If you are not allowed to make changes in modelling side, then you can use cell definitions for creating this template, but it will be much more effort than the other alternative.

Hope it gives an idea

Regards

Yasemin...

Former Member
0 Kudos

Hi Yasemin,

Could you detail the cell definition process I should configure?

Thanks in advance.

Ana

former_member206621
Contributor
0 Kudos

Juana,

I have a query with similar requirements and we solved it by doing this:

  • add a structure in the Columns (our structure is based on selections on the current period because we always have to give an overview for the last two years) --> I do not know what your requirements are here?
  • add a structure in the Rows (structure for beginning balance, hired, ...)

When you have 2 structures (one in Columns and one in Rows) you can make use of Cells.

In Cells the definition for Amont Ending Balance ene-15 should be the same as the definition for Amount Beginning Balance feb-15

Kind regards,

Lieselot

yasemin_kilinc
Active Contributor
0 Kudos

Hi Juana,

Sorry for the late response. Lieselaot has mentioned clearly what I suggested.

Former Member
0 Kudos

Thank you, Lieselot and Yasemin.

I could solve the issue.

Answers (2)

Answers (2)

KodandaPani_KV
Active Contributor
0 Kudos

HI,

can you try with the marcos may be it will work.

ccc_ccc
Active Contributor
0 Kudos

Hi Juana,

Requirement bit confusing , please explain more detail

Regards,

Nanda

Former Member
0 Kudos

Here below I'm giving further information about the report. It's a headcount summary built on standard HR 0PA_C01 infocube.

        ene-15        feb-15         mar-15        abr-15  may-15
Beginning Balance100,00107,00107,00120,00125,00
Hired 2,0010,004,008,0012,00
Terminations 15,0020,004,0010,005,00
Ending Balance107,00107,00120,00125,00

140,00

Ending Balance = Beggining Balance + Hired - Terminations.

And Beggining Balance is equal to previous month Ending Balance.