Hey guys,
System info: BPC 10.0 Level 0003 BW 7.4
I'm facing an error in Copy Package when I copy data in two different moments - the second one overrides (turns to zero) all the data in the first copy, even though members like account are different. I'm selecting the options "Copy Records with Match Key"
For both, data manager package and process chain I'm using standard definitions.
As source data I have the following:
Account | Audit Trail | Entity | Category | Currency | Time | Value |
---|---|---|---|---|---|---|
T0001 | BOOK1 | E200 | BUDGET | LC | 2015.01 | 1000 |
T1000 | BOOK2 | E200 | BUDGET | LC | 2015.01 | 500 |
After selecting to copy everything from BOOK1 to BOOK3 we have the following:
Account | Audit Trail | Entity | Category | Currency | Time | Value |
---|---|---|---|---|---|---|
T0001 | BOOK3 | E200 | BUDGET | LC | 2015.01 | 1000 |
In a second moment, when we copy from BOOK2 to BOOK3 this is what I've got:
Account | Audit Trail | Entity | Category | Currency | Time | Value |
---|---|---|---|---|---|---|
T0001 | BOOK3 | E200 | BUDGET | LC | 2015.01 | 0 |
T1000 | BOOK3 | E200 | BUDGET | LC | 2015.01 | 500 |
If we run the first selection again, from BOOK1 we gonna have T1000 as zero and so on....
And got even worse, because initially I thought that the method "replace data in the same region (Entity, Category, Time and AuditTrail)" was being executed regardless the value in the parameter TARGETMODE, but even when we've got a different entity, the same result is happening - what is deleting the values from previous selection that doesn't match the new selections.
My question is: Will the package replace the destination only when there is data to copy with the same match key?
OR will post 0 when there is no data (i.e. T0001 and BOOK2) in the source?
PS: I know that this can be handled by SL, but I'm just trying to understand the logic behind the standard copy function.
Thanks a lot!
Lucas