2006 Sep 21 8:06 AM
Hi all,
Is there any way or function module to create standard pf status for a program. help needed.
Sathya
2006 Sep 21 8:10 AM
HI,
you can't create it dynamically, but you can change the pf-status dynamically at runtime.
by excluding the function code from it.
like this.
TYPES: BEGIN OF TAB_TYPE,
FCODE LIKE RSMPE-FUNC,
END OF TAB_TYPE.
DATA: TAB TYPE STANDARD TABLE OF TAB_TYPE WITH
NON-UNIQUE DEFAULT KEY INITIAL SIZE 10,
WA_TAB TYPE TAB_TYPE.
CLEAR TAB.
MOVE 'DELE' TO WA_TAB-FCODE.
APPEND WA_TAB TO TAB.
MOVE 'AUSW' TO WA_TAB-FCODE.
APPEND WA_TAB TO TAB.
<b>SET PF-STATUS 'STA3' EXCLUDING TAB.</b>
REgards,
HI,
you can't create it dynamically, but you can change the pf-status dynamically at runtime.
by excluding the function code from it.
like this.
TYPES: BEGIN OF TAB_TYPE,
FCODE LIKE RSMPE-FUNC,
END OF TAB_TYPE.
DATA: TAB TYPE STANDARD TABLE OF TAB_TYPE WITH
NON-UNIQUE DEFAULT KEY INITIAL SIZE 10,
WA_TAB TYPE TAB_TYPE.
CLEAR TAB.
MOVE 'DELE' TO WA_TAB-FCODE.
APPEND WA_TAB TO TAB.
MOVE 'AUSW' TO WA_TAB-FCODE.
APPEND WA_TAB TO TAB.
<b>SET PF-STATUS 'STA3' EXCLUDING TAB.</b>
REgards,
2006 Sep 21 8:10 AM
HI,
you can't create it dynamically, but you can change the pf-status dynamically at runtime.
by excluding the function code from it.
like this.
TYPES: BEGIN OF TAB_TYPE,
FCODE LIKE RSMPE-FUNC,
END OF TAB_TYPE.
DATA: TAB TYPE STANDARD TABLE OF TAB_TYPE WITH
NON-UNIQUE DEFAULT KEY INITIAL SIZE 10,
WA_TAB TYPE TAB_TYPE.
CLEAR TAB.
MOVE 'DELE' TO WA_TAB-FCODE.
APPEND WA_TAB TO TAB.
MOVE 'AUSW' TO WA_TAB-FCODE.
APPEND WA_TAB TO TAB.
<b>SET PF-STATUS 'STA3' EXCLUDING TAB.</b>
REgards,
2006 Sep 21 8:17 AM
Hi,
Use Can Create A single Pf-status with all the Buttons and Use It Accordingly to ur requirement by making use of Excluding Functionality.
Regards
Ahasan
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |