Skip to Content
T G

How to adjust date, month and year in Dynamic Action

Hi Friends,

I need to adjust date, months and year in dynamic action,

Scenario: If we record Salary advance in IT0015 or IT0267 for an employee in the month of Jan 09, automatically/Dynamically it should record another entry in IT0015 with same amount, but the entry date should be in the next month, i.e., Feb 09

We need to keep in mind if user enter salary advance on 31st, system should identify the proper date in the next month (since every month doesnu2019t have 31st date) and also Year end.

Regards,

TG

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jan 15, 2009 at 08:15 AM

    any updates please

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 08:54 AM

    Hi,

    This is possible through Dynamic Actions. But for the dates, a routine has to be called since dynamic actions will not be able to calculate the dates automatically. ABAPer may help you in routines.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 09:34 AM

    Yes you can write dynamic action for this.

    This is not possible in general dynamic action.

    It is bit complicated you need to write Function routine.

    As our friend said you need to tell to the ABAPer When you created new record.

    founctioin module should take Sydatum and add 1 month and send to the variable we call and send it the field and save.

    Warm Regards

    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.