cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Passing a prompt from DM to BI /CPMB/TRIGGER_BW_CHAIN

Former Member
0 Kudos
385

Hi Gurus,

I have also create a Data Manager package based on the standard package using /CPMB/TRIGGER_BW_CHAIN. I have a process variant based on TIME which I would like to pass to the BW chain. I think the only way of doing this is creating new BPC Process Type Class unless I am missing something. Does anyone one know a better way of passing a variant to BI.

Thanks for any pointers

Regards

Fiona

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Kudos

You can't pass any parameters using /CPMB/TRIGGER_BW_CHAIN. Also TIME in BPC and BW are different...

Former Member
0 Kudos

I have defined my own version of Time in BI so that's not an issue. Is there no way to pass a parameter across to BI even through BPC Process type where we say update TVARV ?

former_member186338
Active Contributor
Former Member
0 Kudos

Unfortunately this process is not valid in 10.1

1. The Superclass cannot be used as it is set to complete

2. Interface IF_UJD_TASK is set to obsolete

3. On activation it expects a CONSTRUCTOR for the first process type class but I suspect this has to do with the superclass

Former Member
0 Kudos

Hi Fiona,

If you want using dynamic parameters like BPC is using then you need Process Type "Modify Dynamically" and all methods associated with development of your own Process Type.

If you want to use TVARV, like many in BW do, you have to implement a user exit variable that would read it from there and use it in your BW process.

Regards,

Gersh

Former Member
0 Kudos

Hi Gersh,

The handling of TVARV is no problem via the userexit. what is the issue is the creation of the process type following the document supplied above as it is no longer valid, I can only assume it's due to the newer version. Is there a later version of the document "How to create A custom Process chain" and again creating a chain is not the issue it is the method behind it, as mentioned above bits of the coding are now obsolete.

Regards

Fiona

Former Member
0 Kudos

Hi Fiona,

Those are 2 different approaches. If you want to go with the approach of BW Process Chain then you don't need that Class. You just do a user Exit Variable.

If you prefer going with approach of BPC type Process Chain then you need that Class. You still have to create Process Type based on your Class. It looks like concept of that Class changed a little bit and now it's based on Class CL_UJD_ACTOR_BASE. You can see what methods you have to implement if you take a look at Classes CL_UJD_BPC_*.

Regards,

Gersh

Former Member
0 Kudos

Thanks Gersh,

I don't think my question was actually understood but I have resolved the problem by creating a BADI enhancement to UJ_CUSTOM_LOGIC which updates TVARV with the parameter passed from BDC in the script.

Post can be closed.

Regards

Fiona

Former Member
0 Kudos

Hi Fiona,

base don your reply it seems like you were looking for way to pass parameter value from BPC Package to BW Process Chain. Is that correct?

If that is true then depending of what our Package is doing BADI would be the easiest way to accomplish this.

Regards,

Gersh