on 08-19-2015 2:31 AM
Hello! I have implemented UJ_CUSTOM_LOGIC. The logic seems to work fine when it is run the first time or when the data is cleared and re-run. However when only one or few records are changed and saved in the front end, it isn't working. The reason is CT_DATA is having only the changed records. But I do need all the records in order for the logic/calculations to work.
Do I have to manually read the cube data and compare record by record in the program for the new/changed values or is there another way of doing this?
the script logic has just two parameters QUERY = ON AND WRITE = ON
Instead of reading from CT_DATA, I made the change to read from the cube directly and it did the trick. Appreciate your responses guys.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunny,
Are you using default logic or normal custom logic BADI?
if you are using query = on then make sure you declare xdim correctly in your logic file, if you are using query = off then you need to manually read data in your BADI.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunny
What kind of logic have you implemented? I was able to successfully write data to a direct update DSO and the data set is selected as specified in the selections.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am calculating the tax expense amounts and pushing the values to a different account. Every time the tax rate or value before taxes changes, the tax expense has to be calculated. In order to group all the amounts before the taxes, I need all the records. for instance this morning just the tax rate for one month was changed for testing in the front end, the BADi triggered but ct_data had only one record with this value.
User | Count |
---|---|
6 | |
5 | |
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.