on 08-20-2007 11:17 AM
Hi,
Please let me know what modification/change i do to my dynamic action in order not to work in the case employee is on single martial status and the user enters his dependants; another case is the sequence i want the spouse details to maitain first and not child details IT0021 in the given dynamic action the child screen comes first.
0002 ANZKD 06 704 ****** DYNAMIC ACTION - XYZ Company **********
0002 ANZKD 06 705 P PSPAR-TCLAS='A'
0002 ANZKD 06 706 P T001P-MOLGA='99'
0002 ANZKD 06 707 P P0002-ANZKD='1'
0002 ANZKD 06 708 I INS,0021,02,02,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 709 P PSPAR-TCLAS='A'
0002 ANZKD 06 710 P T001P-MOLGA='99'
0002 ANZKD 06 711 P P0002-ANZKD='2'
0002 ANZKD 06 712 I INS,0021,02,02,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 713 I INS,0021,02,03,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 714 P PSPAR-TCLAS='A'
0002 ANZKD 06 715 P T001P-MOLGA='99'
0002 ANZKD 06 716 P P0002-ANZKD='3'
0002 ANZKD 06 717 I INS,0021,02,02,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 718 I INS,0021,02,03,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 719 I INS,0021,02,04,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 720 P PSPAR-TCLAS='A'
0002 ANZKD 06 721 P T001P-MOLGA='99'
0002 ANZKD 06 722 P P0002-ANZKD='4'
0002 ANZKD 06 723 I INS,0021,02,02,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 724 I INS,0021,02,03,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 725 I INS,0021,02,04,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 726 I INS,0021,02,05,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 727 P PSPAR-TCLAS='A'
0002 ANZKD 06 728 P T001P-MOLGA='99'
0002 ANZKD 06 729 P P0002-ANZKD>='5'
0002 ANZKD 06 730 I INS,0021,02,02,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 731 I INS,0021,02,03,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 732 I INS,0021,02,04,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 733 I INS,0021,02,05,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 734 I INS,0021,02,06,(P0001-BEGDA),(P0001-ENDDA)
0002 FAMST 06 699 *** XYZ Company************
0002 FAMST 06 700 P T001P-MOLGA='99'
0002 FAMST 06 701 P PSAVE-FAMST='0'
0002 FAMST 06 702 P P0002-FAMST='1'
0002 FAMST 06 703 I INS,0021,01,01,(P0001-BEGDA),(P0001-ENDDA)
Hi,
I am not able to understand the reason for taking 02 first in the sequence in all the coding.
0002 ANZKD 06 714 P PSPAR-TCLAS='A'
0002 ANZKD 06 715 P T001P-MOLGA='99'
0002 ANZKD 06 716 P P0002-ANZKD='3'
0002 ANZKD 06 717 I INS,0021,02,<b>02</b>,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 718 I INS,0021,02,03,(P0001-BEGDA),(P0001-ENDDA)
0002 ANZKD 06 719 I INS,0021,02,04,(P0001-BEGDA),(P0001-ENDDA)
Moreover its SAP standard setting as much as we saw, maintaining data for child before Spouse, if there is any.
So not really sure, if you can skip this...
Even I will be curious to see if there is any solution to this, although it is not the one which can become hinderance in any implementation.
Regards,
Dev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello fouzul
Dynamic is use when you want to create a record of an infotype in background. Looking at your requirement, on single marital status to not be able to enter dependent, you should use user exit to add this check,
for the sequence of maintaining spouse first in a personnel action, you may include this in your infogroup, you may pass by infotype 21 subtype spouse, then another entry with subtype child.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this dynamic action is required in foreground however without user exit can't we check the marital status field along in combination with depandants field...?
If i put it in the infogroup still when i enter Single as a marital status then IT21 appears for the maitenance. it should not be.
Thank you.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.