cancel
Showing results for 
Search instead for 
Did you mean: 

Error with Run logic BADI

aditya_ponnala
Participant
0 Kudos

We have a complicated scenario and hence I will give some details as generic as possible.

There are 3 models in an environment: Model 1, Model 2 & Model 3. Model 1 has 11 dimensions, Model 2 has 15 and model 3 has 10 dimensions. Some dimensions are common across these models and some are not.

Model 3 pushes data to Model 1 and then to model 2 using a custom BADI.

Now, we have a RUNLOGIC_PH implemented to call script in Model 1 from Model 3. This is working as long as I switch off the BADI pushing data to Model 1. But if it is switched on I am getting error: Invalid dimension "Dimension 6" in model "Model 1" though I have

DIMENSION Dimension 6= <NONE> assigned in RUNLOGIC_PH script.

Anyone faced the same issue?

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

aditya_ponnala
Participant
0 Kudos

cuserslcbmcrdesktoppush-to-model1.txt

Hi Vadim, attached is the logic in BADI pushing data from Model 3 to Model 1.

Thanks!

former_member186338
Active Contributor
0 Kudos

Strange code! I don't see user change etc... Is it a full code?

aditya_ponnala
Participant
0 Kudos

It is full code. User change is under the section commented as "*/..Change the contect user ID and process transfer logic"

former_member186338
Active Contributor
0 Kudos

Not clear without list of

zcl_tk_bpc_generic_functions

Anyway, it's a strange code! And not sure it's correct...

By the way, why not to use script logic DESTINATION_APP statement to move data between models??? Without any badi?

former_member186338
Active Contributor
0 Kudos

Unfortunately without understanding the code of your pushing badi it's not possible to help!