cancel
Showing results for 
Search instead for 
Did you mean: 

BP IP passing variables to planning seqences (abap)

Former Member
0 Kudos

Hello

I was looking for an answer for my question, so I will create new topic.

I need to run many planning sequences with variables passed from BEx (so some stuff in abap should be done).

There are two approaches:

1) via variant modifying and calling RSPLPPMRFC_PLSEQ_EXECUTE with such variant.

2) via enhancement(?) in FM RSPLPPMRFC_PLSEQ_EXECUTE and memory ids (?).

is there any other way how to do it in KISS (Keep It Simple ..) way.

In IP area, I think there not so many alternatives, but maybe some helpful class/FM

Regards,

Tomasz

Accepted Solutions (0)

Answers (1)

Answers (1)

cornelia_lezoch
Active Contributor
0 Kudos

Hi Tomasz,

you approach sounds strange.

Why do you need some ABAP to hand over variable value from Bex?

What Bex are you talking of - Web or excel?

What we normally do is

  • create planning functions and filters, you can use variables for both
  • include all necessary funtions and filters into planning sequence
  • include the planning sequence in your frontend - usually in a button
  • define the variable assignement (for the entry enabled variables) within this button commands

regards

Cornelia

cornelia_lezoch
Active Contributor
0 Kudos

for Analyzer have a look here:

for web it is described in SAP help

Former Member
0 Kudos

Hi ,

Thank You Cornellia (Bex - excel),

I'm new in this area and I wrote was not enough clear.

there is need to run sequences of planning sequences and dynamically change variables in background e.g. like a  job.

Regards,

Tomasz

cornelia_lezoch
Active Contributor
0 Kudos

Hi Tomasz,

these are two different things.

You either run a seqeunce from Bex Workbook in the way I described,

Or you start a process chain which starts a sequence in the background.

If you want to start a background job from a bex workbook, you would need to start a process chain from the workbook and I think you would need a vba and a function module to do this.

regards

Cornelia

Former Member
0 Kudos

Hi Cornelia,

Yes, via VBA variables, planning sequences will be provided.

now when I'm on BW side I need to run some plan. seq. in specific order.

here the problems started
I'm finishing at this moment my solution, but I do not believe that it is the best suited.

I'm calling FM RSPLPPMRFC_PLSEQ_EXECUTE with variant, which is modyfing based on variables passed by VBA.

I do not have time for deep investigation, that's why I was asked for class/FM.

But link provided by You gave me also extra knowledge.

Regards,

Tomasz