Skip to Content
author's profile photo Former Member
Former Member

Copy Function

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2007 at 06:15 PM

    Check the derivation program; is it IP or BPS?

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

    Ravi Thothadri

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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!

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2007 at 06:36 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 11:05 AM

    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,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 02:59 PM

    Hi SSap,

    Please try after exclusind 0FISCPER from the planning level.

    Regards,

    SK

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 03:40 PM

    closed

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.