Skip to Content
avatar image
Former Member

customer exit code

Hi Friends,

I have one customer exit varible 445 prior QTD (Prior Week).

Below is the logic.

if curr_445period >= 4.

curr_445period = curr_445period - 3.

endif.

concatenate curr_445year curr_445period into curr_445yrperiod.

Come Q1 09, the 445 prior QTD (Prior Week) variable will not work, as the logic does not allow Q4 to Q1.

the logic does not allow Q4 to Q1.

Please help me out. I know little bit ABAP.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 16, 2008 at 02:01 PM

    Hi,

    Try this

    ..........................................

    data: lastyear(4) type n.

    if curr_445period GE 4.

    curr_445period = curr_445period - 3.

    concatenate curr_445year curr_445period into curr_445yrperiod.

    else.

    lastyear = curr_445year - 1.

    curr_445period = curr_445period + 9.

    concatenate lastyear curr_445period into curr_445yrperiod.

    endif.

    ........................................

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2008 at 01:59 PM

    Siddarth,

    Not clear, please elaborate. What you want to derive using user exit variable..?

    Srini

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 16, 2008 at 02:03 PM

    Logic not clear.

    Anywayz you can try this function module :

    UMC_FISCPER_TO_CALQUARTER

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded