We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-hr] Dynamic Action to create It0315 record when KOSTL changes in IT0001

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by JG-SAPHR (Senior SAP HR Consultant)
on Jul 2 at 10:50 PM
Mark this reply as helpfulMark as helpful
Hi apadgaonkar

The problem is in check below:
0001 06 62 P PSPAR-TCLAS<>'A'
This allows if the transaction is not for Master data/time data. The check should be
0001 06 62 P PSPAR-TCLAS='A'
You can check the structure PSPAR, then go to the component type / data type for TCLAS, then go to the data type's domain. You can see the valid values.

In the insert line, you do not need a comma. See below
0001 06 68 I INS,0315,,,(P0001-BEGDA),(P0001-ENDDA)

Also as Shal Reddy said, if you want the IT 315 to be created without any user interention in the background, then at the end of insert, include /D as below.
0001 06 68 I INS,0315,,,(P0001-BEGDA),(P0001-ENDDA)/D

Hope this helps
Regards, JG



---------------Original Message---------------
From: apadgaonkar
Sent: Friday, July 02, 2010 11:05 AM
Subject: Dynamic Action to create It0315 record when KOSTL changes in IT0001

> I am trying the following in T588Z to create a new 0315 record when a change of KOSTL is created in IT0001, but this is not working.
>
> 0001 06 62 P PSPAR-TCLAS<>'A'
> 0001 06 64 P T001P-MOLGA='06'
> 0001 06 66 P PSAVE-KOSTL<>P0001-KOSTL
> 0001 06 68 I INS,0315,,,(P0001-BEGDA),(P0001-ENDDA),
> 0001 06 70 W P0315-KOSTL=P0001-KOSTL
>
> Can you please help ?
> Thanks in advance

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
JG-SAPHR
SAP HR Enthusiast

Contributed 500 posts in a group to earn a Silver Achievement
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language