Skip to Content

Dynamic action for subsytem grouping in IT0007

Hi All,

I have a requirement to have different subsystem groupings for different groups of employees.

In the standard dynamic action when i try to insert the clause to check the country grouping it is not working.

I have made a small change, in the entire dynamic action something like below-

0007 ZTERF 06 000 P T001P-MOLGA='44' 0007 ZTERF 06 007 W P0050-BDEGR='002'

and if

0007 ZTERF 06 000 P T001P-MOLGA<>'44' 0007 ZTERF 06 007 W P0050-BDEGR='001'

but this is not working. Anything I need to consider to make it work? I did a quick search in old threads but nothing helped. Any pointers will be helpful.

Regards

SS

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 26, 2015 at 08:34 AM

    Hi Shruti

    It is not possible to see where the problem is actually. Can you please post all of the relevant dynamic action lines?

    br, JG

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Shruti

      In dynamic actions, sometimes mixing "OR" (with /X) and "AND" conditions can give problems. Hence I would suggest

      a)using a function call (indc = F), to call a subroutine in a user program (you can see examples in T588Z)

      b)in the subroutine, do all the plausibility checks required including different conditions as you have listed. If successful return value/s (as required for indicator W) in RP50D structure.(which is standard SAP provided one and allows customer or user fields to be added in the include with component type CI_RP50D) - e.g., dates, indicator/s to show if the check is successful.

      c)after the function call, use again P check if the function call provided a success condition

      (eg. P RP50D-FIELD1=1)

      d)if successful, use W with say BEGDA=RP50D-DATE1. etc

      rgds, JG

  • author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2015 at 06:00 AM

    Can you let me know the lines between the ones you mentioned? Will be easier to analyse the behavior once we see the full dynamic action.

    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.