on ‎2018 Apr 20 1:21 PM
Hi Folks ,
I need to write some logic to get the data elements for all the dimension , and I want to use these data elements in the data declaration without hardcoding if , so that I copy the code to another environment it should pick the data element dynamically for the declaration part .
Request clarification before answering.
Do a where-used-list for class cl_rsbpco_appl_adapter (embedded) or CL_UJO2_ADMIN (standard).
These classes can be used to retrieve all the dimensions in the model, their types, attribute list...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, but absolutely not clear what do you want to achieve! Please provide some sample!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim ,
Thanks for you reply .
Basic intension is to use the same badi code to two to three environment if we have to achieve same functionality. SO in the badi we define the dimensions in the data declaration part , where we pass the current infoobject data element to create them , and then we use them in the badi . So if I copy the same code into another environment the code wont work since he infoobject tech id will be different , so I want to write some code to make this dynamic.
| User | Count |
|---|---|
| 41 | |
| 9 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.