Skip to Content
0

Ability to Run a Consolidation Data Manager Package from One Model Against Model2

Dec 07, 2016 at 10:18 AM

58

avatar image

Hi Experts,

I would like to run the consolidation process for CONSOLIDATION_MODEL2 while the EPM is pointing to CONSOLIDATION_MODEL1.

I tried using the INLCUDE statement to refer the script residing in Model1 to model 2. However the script logic is invalid.

Does anyone have a good way to perform this?

Does anyone have a good way to perform this? Is it possible? BaDi?

The script is as below:

*RUN_PROGRAM CONSOLIDATION

CATEGORY = %CATEGORY_SET%

GROUP = %SCOPE_SET%

TID_RA = %TIME_SET%

*ENDRUN_PROGRAM

The user does not want to switch between models in order to run the consolidation.

Thanks in advance.

Regards,

Eyal

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Vadim Kalinin Dec 07, 2016 at 10:28 AM
0

In order to run script not for the current model you have to implement RUNLOGIC_PH badi:

https://archive.sap.com/documents/docs/DOC-35152

Share
10 |10000 characters needed characters left characters exceeded
Eyal Feiler Dec 22, 2016 at 11:52 AM
0

Hi Vadim,

Thanks I reviewed the document. It has multiple uses in addition to addressing the question above and could be very useful for other needs.

To clarify It was published Jan2013 and lists BPC 7.5 and 10.0. Do you know if still relevant for 10.1?

2) By importing the transport attached to the document is there a way to reverse it if we don't want to use?

Thanks

Eyal

Share
10 |10000 characters needed characters left characters exceeded
Vadim Kalinin Dec 22, 2016 at 12:09 PM
0

Yes, useful! Import ignoring version warning. It's just a custom logic badi, nothing special.

And custom logic badi will be executed only if you directly call it in script logic - no other side effects.

Share
10 |10000 characters needed characters left characters exceeded
Eyal Feiler Dec 22, 2016 at 12:41 PM
0

Thanks as usual Vadim!

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Then accept the correct answer and close the question...

0

Sorry, but you didn't "Accept" the correct answer!

0