cancel
Showing results for 
Search instead for 
Did you mean: 

customer exit code

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

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

Former Member
0 Kudos

Hi

My issue was solved. thanks for all.

Answers (2)

Answers (2)

former_member205352
Active Contributor
0 Kudos

Logic not clear.

Anywayz you can try this function module :

UMC_FISCPER_TO_CALQUARTER

Hope this helps.

Former Member
0 Kudos

Siddarth,

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

Srini