on 2016 May 16 4:50 AM
Dear Expert,
I have data in Opex Model like this:
Category Entity Costcentre Account Time Signeddata
B01 AA01 CC_10101 1223300 2016.03 150000
Now, I want to modify this record like this
Category Entity Costcentre Account Time Signeddata
B03 AA01 CC_10101 1223300 2016.03 150000
The first record will be disappeared in OPEX model.
please, tell me how to do this by implemeting ABAP code in BADI or script logic. ( exception: delete manually in bw by deletion by selection).
thanks
Request clarification before answering.
Looks like you want to move data from B01 to B03.
Simple script:
*XDIM_MEMBERSET CATEGORY=B01
...// other dimensions scope
*WHEN CATEGORY
*IS *
*REC(EXPRESSION=%VALUE%,CATEGORY=B03)
*REC(EXPRESSION=0)
*ENDWHEN
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hung,
in your BADI you need to send 2 records, send 0 to the original record, then the new value to the new intersection record.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hung,
in your ABAP editor you put the cursor on the word modify, then press F1, it will show you how to use that key word.
but no matter what you change in the it_tab when you write to BW it will record the difference from the old value to the new value. So I don't know what you want to archive by using modify table statement as that has nothing to do with the negative it posted in BW.
Andy
| User | Count |
|---|---|
| 41 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.