cancel
Showing results for 
Search instead for 
Did you mean: 

Return table

anita_prasanna2
Participant
0 Kudos

Hi,

I have a key figure which gets populated by doing some calculation.And for each charactersitic there is some routine written.

Now i want to change the routine of the key figure to Return table.

Do i need to assign the characteristic value in this routine(key figure routine) ?

Reagdrs,

Anita

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Right.. But what the problem to implement this scneario as well.

anita_prasanna2
Participant
0 Kudos

Hi,

Can you help me in understanding how to insert the record in start routine.

I dont have much knowledge in ABAP

Regards,

ANita

udayabhanupattabhiram_cha
Active Contributor
0 Kudos

try this and see if it helps you.

Uday-Ram Chamarthy

Former Member
0 Kudos

Hi Anita,

For your Scneario, you no need to use the return table concept. You can achieve the same using the Start routine.

Regards,

Meiy

anita_prasanna2
Participant
0 Kudos

We are already using start routine to delete the unwanted records.

former_member205352
Active Contributor
0 Kudos

Hi,

Return table is used to split your key figures.

I dont see this as your requirement.

Anywayz go thru the below link :

http://help.sap.com/saphelp_nw04s/helpdata/en/7f/61fc37f456491ee10000009b38f8cf/frameset.htm

Hope this helps.

andrea_previati
Contributor
0 Kudos

Check this example

IF l_s_forecast-/BIC/ZFCST_TYP = 'CFA'.

IF COMM_STRUCTURE-/BIC/ZACNFCST > 0.

RESULT_TABLE-/BIC/ZFCST_TYP = l_s_forecast-/BIC/ZFCST_TYP.

RESULT_TABLE-QUANTITY = COMM_STRUCTURE-/BIC/ZACNFCST.

APPEND RESULT_TABLE.

ENDIF.

ENDIF.

You will modify your key figure with the sintax RESULT_TABLE- /KEYFIGURE =

Hope it helps

anita_prasanna2
Participant
0 Kudos

Hi,

I have to load one additional record for forecast(value type=651) if the Value type = 50(Budget)

In the characterisrtic routine , Purchase indicator,MAin cost center & some other characteristic is calculated using various conditions.

Till now this was working fine.Now i need to add one additional record for forecast with some calculation , but rest of the chaacteristic value will be the same as budget.

Do i need to go for return table or is there any other way to achieve it.

Regards,

Anita

Former Member
0 Kudos

Hi Anita,

Could you please explain your problem, little more in detail.

Regards,

Meiy