cancel
Showing results for 
Search instead for 
Did you mean: 

Copy Function

Former Member
0 Kudos

Hy Experts,

I have a copy function, the input are 0FISCYEAR and 0FISCPER3, and I have an exit derivation too (in order to obtain 0FISCPER)

When this function is executed, the records save at cube not respondig about the exit derivation

Ej: reference/source: 2007 / 001 / 001.2007 / 0version=10

layout input : 2008 / 001 / target version=30

records save: <b> 2008</b> /001 / <b>001.2007</b> / version=30 <- here you can see that 0FISCPER is the error, is not applyng the derivation exit

What is happening?

Thank you in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check the derivation program; is it IP or BPS?

Either way, the derivation is happening, but not correctly. Check the code.

Ravi Thothadri

Former Member
0 Kudos

the exit is: 'UPF_TIME_EXIT_FISC_DERIVE (abap)

my main doubt is,

- the copy function really apply any exit derivation ? (correct or not),

- or 0FISCPER=001.2007 in the target records, is the result of copy the field 0FISCPER (in source records is 001.2007 too), with out apply any derivation exit..

At planning level 0FISCPER is "not" specified. Is this relevant?

Thank you very much Ravi!

Answers (4)

Answers (4)

Former Member
0 Kudos

closed

Former Member
0 Kudos

Hi SSap,

Please try after exclusind 0FISCPER from the planning level.

Regards,

SK

Former Member
0 Kudos

Hi,

As Ravi said, this FM is standard and works really good.

The problem you have here is that you copy... hence since all the 3 fields 0FISCPER , 0FISCYEAR and 0FISCPER3 are in your level, you don' t use the derivation at all (nothing to derive since it is already given). And for your case, I guess you have not implemented the standard FM to check the date, because it would have returned you an error message seen your output.

In your case, maybe it would be more efficient to make a repost function (put the input variables in the repost parameters).

Best regards,

Former Member
0 Kudos

The function module you mentioned is standard one it will work if you have the right chars in the cube, level.

For copy function, you dont have to have any derivation. When you execute the copy function and save the data thru the folder, the derivation will ocur and data will be saved.

Ravi Thothadri