cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Action For Letter Generation

Former Member
0 Kudos

Dear Experts,

Request your help in following scenario..

we have created customer specific infotype 9906 ( SAP Standard is 906 )  for letter generation..

when we run any personnel action, (PA,PSA,EG,ESG from infotype1, should go to infotype 9906 )

pls help in writing dynamic action for this.

Regards,

Ritu

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Experts,

Requesting your help in this.

Regards,

Ritu

former_member219162
Contributor
0 Kudos

Hello Ritu,

As all the Info are copied from IT0001, I used 0001 instead of 0000 and added few more lines.

Infotype  subtype    Field no     FC     SNO     S     Variable function text

0001                                       6          01     P       SY-TCODE=PA40

0001                                       6          02     P       T001P-MOLGA=40      (if you want to check on country)

0001                                       6          03     P       PSPAR-MASSN='HO'   (If check for specfic action)

0001                                       6          04     I        INS 9906 (P0001-BEGDA),(P0001-ENDDA)

0001                                       6          05    W       P9906-BEGDA=P0001-BEGDA

0001                                       6          06    W       P9906-ENDDA=P0001-ENDDA

0001                                        6         07       W     P9906-PERS_AREA=P0001-WERKS

0001                                        6         08       W     P9906-PERS_SUBAREA=P0001-BTRTL

0001                                        6         09       W     P9906-EMP_GRP=P0001-PERSG

0001                                        6         09       W     P9906-EMP_SUBGRP=P0001-PERSK

Former Member
0 Kudos

Hi Ritu,

Infotype  subtype    Field no     FC     SNO     S     Variable function text

0000                                       4          00     P     Copy period to new info type while perform the action

0000                                       4          01     P     SY-TCODE=PA40

0000                                       4          02     P     T001P-MOLGA=40

0000                                       4          03     P     P0000-MASSN='HO' (Action type)

0000                                       4          04     I       INS 9906 (P0000-BEGDA),(P0000-ENDDA)

0000                                       4          05    W     P9906-BEGDA=P0000-BEGDA

0000                                       4          06    W     P9906-ENDDA=P0000-ENDDA

You can use above logic for your action types to update your custom info type.

Regards,

Hari