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

Dynamic action for defaulting last working day in IT0041 during separation

Dear Experts,

I have configured a dynamic action to default date type U6 as last working day in IT0041

last working day is start date of separation action - one day.we r giving this logic but still the default date is coming as the start date of separation action.

Dynamic action and call routine is as under.pls. tell me if some thing is wrong...............

0000 04 805 P P0000-MASSN='10'

0000 04 810 P T001P-MOLGA='40'

0000 04 815 I COP,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D

0000 04 820 F INFO41BEGDA(Z_DYNAMIC_ACTION)

0000 04 825 W P0041-DAR07='U6'

0000 04 830 W P0041-DAT07=RP5OD-DATE1

REPORT Z_DYNAMIC_ACTION.

tables:PA0000, rp50d.

form info41begda.

rp50d-date1 = PA0000-begda - 1.

endform.

Regards

Meenakshi.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2011 at 01:26 PM

    Hi,

    Can you check line 830? It should be:

    0000 04 830 W P0041-DAT07=RP50D-DATE1

    Hope this helps.

    Donnie

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2011 at 02:52 PM

    Dear Minu,

    It is looking perfect, but do we need to use call routine, instead of that you can directly default the date in 0041. i.e start date of the 0000.

    Thank you

    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.