https://forums.sdn.sap.com/thread.jspa?threadID=1326336
==============================================================
My boss has saved my ass - she's sorted it.
The way to solve this problem is as follows:-
1) Using transaction SE80 Copy screen 3000 of module pool MP007100 and make it screen 3008.
2) Next go to the IMG section
Personnel Management ---> Personnel Administration ---> Customizing User Interfaces --->
Change Screen Modifications.
Press the "Position" button and enter "MP007100" in the module and green tick.
If an entry for screen 3000 for MP007100 doesn't exist you may need to create it but make sure for that entry in the ALternative Screen you enter 3008.
This basically tells the system to use screen 3008 rather than the default 3000 screen supplied by SAP for MP007100.
3) Next a new value range entry was created for domain SRTPS - Accessed via table T582A using SE12 or using SE12 select the Domain radio button and enter in SRTPS.
Fix Value Short Description
======= =============
4 In desc. order by 'To' data, in asc. order by subtype
4) Finally the program FP50PE00 is modified as follows:-
FORM GET_NEXT_INFOTYP USING GNT_KEY GNT_NUMBER GNT_PS
...original code
CASE SIN-OPTION.
WHEN SPACE.
SORT PSINDEX BY PERNR SUBTY OBJPS SEQNR SPRPS ASCENDING
BEGDA DESCENDING ENDDA DESCENDING.
WHEN '1'.
SORT PSINDEX BY BEGDA DESCENDING
PERNR SUBTY OBJPS SEQNR ASCENDING.
WHEN '2'.
SORT PSINDEX.
WHEN '3'. "QNUK073087
SORT PSINDEX BY BEGDA ASCENDING "QNUK073087
PERNR SUBTY OBJPS SPRPS SEQNR ASCENDING. " -"-
*{ INSERT UDVK902820 1
* SL 11/05/09: this is an interruption to the infotype display control
* determined by T582A. Going to add a new sort
WHEN '4'.
SORT PSINDEX BY ENDDA DESCENDING
PERNR SUBTY OBJPS SEQNR ASCENDING.
*} INSERT
ENDCASE.
* ... original code
ENDFORM.
Similar changes are also done to
FORM SELECT_INFOTYP USING SIN_PERNR SIN_INFTY SIN_SUBTY SIN_OBJID
SIN_BEGDA SIN_ENDDA
SIN_OPTION SIN_COUNT.
FORM SELECT_INFOTYPE USING SEI_PERNR SEI_INFTY SEI_SUBTY SEI_OBJID
SEI_BEGDA SEI_ENDDA
SEI_OPERA SEI_OPTION
SEI_COUNT.
댓글 없음:
댓글 쓰기