Skip to Content
0
Former Member
Feb 23, 2009 at 02:00 PM

How to create Dynamic action for IT0105?

110 Views

Hi,

There is a dynamic action in our current system for Infotype 105, subtype 0011.

Current functionality:

When a credit card number is entered in infoype 105, subtype 0011 the system automatically changes the field P0017-SPEBE(Employee grouping for travel expense type) to 2.

The code is like below:

0105 0011 USRID 06 900 * SET EE GRP EXP.TYPES WHEN CC ID IS ENTERED

0105 0011 USRID 06 905 I COP,0017/D

0105 0011 USRID 06 910 W P0017-BEGDA=P0105-BEGDA

0105 0011 USRID 06 915 W P0017-SPEBE='2'

Requested functionality:

If the value in SPEBE is 1, change the setting to 2.

If the value in SPEBE is 3, the setting shall not be changed.

I have made the following changes, but it is not working. Please suggest a solution. Thanks in advance!

0105 0011 USRID 06 903 P P0017-SPEBE='1'

0105 0011 USRID 06 905 I COP,0017/D

0105 0011 USRID 06 910 W P0017-BEGDA=P0105-BEGDA

0105 0011 USRID 06 915 W P0017-SPEBE='2'

Kind Regards,

Sreetama Bhattacharya,IBM