2008 Jun 10 5:57 AM
Hi all,
My reqmt is to change the GUI status and interface of the transaction MB26. MB26 uses the report PP_PICK_LIST to execute. The current GUI status and interface are,
GUI Interface : SAPLCOWB
GUI Status : STATUS_MMIM
I have coded in the exit EXIT_SAPLCOWB_001 as,
TYPES: reftype TYPE REF TO data.
DATA: lty_ref TYPE reftype.
DATA: ls_control TYPE cowb_ctrl,
ls_prog TYPE progname.
FIELD-SYMBOLS: <lfs_control> TYPE ANY,
<lfs_prog> TYPE ANY,
<lfs_prog1> TYPE ANY.
GET REFERENCE OF ls_control INTO lty_ref.
ASSIGN lty_ref->* TO <lfs_control>.
CHECK sy-subrc = 0.
ASSIGN ('(SAPLCOWB)G_COWB_CTRL') TO <lfs_control>.
CHECK sy-subrc = 0.
ls_control = <lfs_control>.
ls_control-pf_status = 'ZSTATUS_MMIM'.
<lfs_control> = ls_control.
UNASSIGN <lfs_control>.to change the pf status of the transaction MB26.
Now what I need to do is to change the standard program from SAPLCOWB to ZSAPLCOWB.
For it is there anyway to change in the enhancement like the pf status or can we change in the standard program PP_PICK_LIST.
I used sy-repid also, but its giving me a dump. So provide a solution other than that.
2008 Jun 10 6:01 AM
Hi,
In your coding, change the report name SAPLCOWB to ZSAPLCOWB as below.
ASSIGN ('(SAPLCOWB)G_COWB_CTRL') TO <lfs_control>.
Hope it works.
Regards,
Anbalagan
Hi all,
My reqmt is to change the GUI status and interface of the transaction MB26. MB26 uses the report PP_PICK_LIST to execute. The current GUI status and interface are,
GUI Interface : SAPLCOWB
GUI Status : STATUS_MMIM
I have coded in the exit EXIT_SAPLCOWB_001 as,
TYPES: reftype TYPE REF TO data.
DATA: lty_ref TYPE reftype.
DATA: ls_control TYPE cowb_ctrl,
ls_prog TYPE progname.
FIELD-SYMBOLS: <lfs_control> TYPE ANY,
<lfs_prog> TYPE ANY,
<lfs_prog1> TYPE ANY.
GET REFERENCE OF ls_control INTO lty_ref.
ASSIGN lty_ref->* TO <lfs_control>.
CHECK sy-subrc = 0.
ASSIGN ('(SAPLCOWB)G_COWB_CTRL') TO <lfs_control>.
CHECK sy-subrc = 0.
ls_control = <lfs_control>.
ls_control-pf_status = 'ZSTATUS_MMIM'.
<lfs_control> = ls_control.
UNASSIGN <lfs_control>.to change the pf status of the transaction MB26.
Now what I need to do is to change the standard program from SAPLCOWB to ZSAPLCOWB.
For it is there anyway to change in the enhancement like the pf status or can we change in the standard program PP_PICK_LIST.
I used sy-repid also, but its giving me a dump. So provide a solution other than that.
2008 Jun 10 6:01 AM
Hi,
In your coding, change the report name SAPLCOWB to ZSAPLCOWB as below.
ASSIGN ('(SAPLCOWB)G_COWB_CTRL') TO <lfs_control>.
Hope it works.
Regards,
Anbalagan
2011 Mar 21 9:13 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |