cancel
Showing results for 
Search instead for 
Did you mean: 

fm for adding months to current date

former_member186316
Participant
0 Kudos

can any one help me for adding three months to current end date .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try this FM : CRM_MCAL_ADD_TO_DATE .

Rgds,

Swati

Answers (4)

Answers (4)

Former Member
0 Kudos

Function module SEPA_MANDATE_ADD_MONTH_TO_DATE in CRM.

former_member186316
Participant
0 Kudos

I want fm's from crm module,currently iam having fm for calculating current month end date can any one help me out this .

Former Member
0 Kudos

Hi Ganapathi,

Please try FM SEPA_MANDATE_ADD_MONTH_TO_DATE.

Regards,

Lakshmi.Y

robert_kunstelj
Active Contributor
0 Kudos

If you are refering to dates in defined in date profile then you can use date rule with the following coding...

<?xml version="1.0"?>

<TimeRule>

<TimeRuleSource>

<ruleline>

<AssignTimeExp displaytype="AssignTime">

<VarTimeExp displayType="VarTime"

name="RESULT"

position='B'>

</VarTimeExp>

<MoveTimeExp displaytype="MoveTime" direction="+">

<VarTimeExp displayType="VarTime"

name="CURRENT END DATE"

position="B">

</VarTimeExp>

<ConstDuraExp displaytype="ConstDura"

duration="3" timeunit="MONTH">

<VarObjectExp displaytype="VarObject"

name="SYSTEM"/>

</ConstDuraExp>

</MoveTimeExp>

</AssignTimeExp>

</ruleline>

</TimeRuleSource>

</TimeRule>