on 01-08-2015 1:06 PM
Hello Experts,
I am writing a write back badi to disaggregate the amount to be saved at parent to its leaf nodes.
When I am doing so the logic is working perfectly fine, and the amount is getting disaggregated to its leaf node but for some reason the badi is getting triggered for the second time and then giving some ABAP dump.
Working on BPC 10.0
Below is the message pop up
Internal Server Error
Details are as below
ERROR: Data objects in Unicode programs cannot be converted. (termination: RABAX_STATE)
Thanks in advance for the help.
Regards
Rohan
Hi Rohan,
You have to ensure that your write back badi process only parents and properly clear ct_data for parents at the end.
Vadim
P.S. Base members have to pass the badi code unchanged...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vadim,
I have cleared the Ct_ARRAY table of the data posted at parents and only data with bas member is present.
At the same time when the BADI in default logic is getting triggered for the second time CT_ARRAY is holding data at base members which is same which I had populated in the first run of the BADi.
Why this second run of BADI.
Regards
Rohan
Hello Vadim,
Are you saying i dont have to call the badi in Default.lgf?
I will share with you my default logic in some time...
I had one more doubt, cant i make my write back badi Input template specific. As i have 3 Input templates in the said model and i want this particular write back badi to trigger only when one if the input template is used to save data.
Regards
Rohan
You can't call write back badi in the script - it's automatically called at each data write to the cube!!!
"I had one more doubt, cant i make my write back badi Input template specific. As i have 3 Input templates in the said model and i want this particular write back badi to trigger only when one if the input template is used to save data." - bad idea, write back badi is not template specific! It has to use the same logic for all templates etc...
Vadim
Hi Rohan,
You have to rethink you requirements
Write back badi is a single logic for all models defined in badi filter.
Default.lgf is a single script per model.
If you want to differently process data send by different templates you can use DM package launched by some button by user in the specific template.
Vadim
Hi Rohun,
Do you have DEFAULT.LGF for that Model. If you do it will go through that BADI again.
Regards,
Gersh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.