Hi experts.
I'm having a trouble with a custom logic BADI-calling to write data from one application (CONS) to another one (ADQU).
I'm working in the following environment:
Komponente | Release | SP-Level | Support Package | SPP-Level | Support Package Patch | |
SAP_BW | 740 | 0005 | SAPKW74005 | 0000 | - | SAP Business Warehouse |
CPMBPC | 801 | 0006 | SAPK-80106INCPMBPC | 0000 | - | CPM Business Planning and Consolidation |
I have the following code at Script-Logic:
*DESTINATION_APP = ADQU
*SKIP_DIM = C_GROUPS
*RENAME_DIM C_ACCOUNT = A_ACCOUNT
*RENAME_DIM C_CATEGORY = A_CATEGORY
*RENAME_DIM C_ENTITY = A_ENTITY
*RENAME_DIM C_INTERCO = A_INTERCO
*RENAME_DIM C_DATASRC = P_DATASRC
*RENAME_DIM C_FLOW = P_FLOW
*RENAME_DIM C_CURRENCY = P_INPUTCURRENCY
*RENAME_DIM C_TIME = P_TIME
*START_BADI ZFCON_T_AD
PERIOD=2013.APR
LOGICA=T_AD
ENTITY=0175
QUERY = ON
WRITE = ON
*END_BADI
*COMMIT
When I test this code with UJKT tx. the new data are written in the source APP (CONS) instead of "ADQU", the target app.
When I debug the BADI and I can verify that just before exit it the CT_DATA table has the correct data, but they are written at "CONS" APP as i mentioned before.
Please, anyone can help with this issue.
I would be very grateful.
Thanks in advance.
Raúl Rozalén