‎2008 Jul 15 3:41 PM
Hi,
The requirement is to add a new custom button on the material master transaction (MM01/02) when ever thereu2019s an object/image attached using SAP standard functionality called u201Cservices for objectu201D. Once the user presses the button, then the 'document viewer' should open up with the image.
Can anyone help me how to proceed with this.
Regards,
Adhi.
‎2008 Jul 15 3:45 PM
Why can't he get into the transaction and then directly view it from service objects?
Thanks
Kiran
‎2008 Jul 15 3:54 PM
‎2008 Jul 15 4:05 PM
This is needed because the user dont want many number of clicks and he wants the image in one click itself.
‎2008 Jul 15 4:44 PM
hi you can catch the function code and will proceed with that..
case sy-ucomm.
when 'XXXX'.
do some thing...
endcase.
‎2008 Jul 16 2:31 PM
The best solution can be:
Run the actual process in DEBUG mode and capture the SY-UCOMM.
User must select his views any ways...
So create a button in BASIC view itself using an exit.
Now use the code from that sy-ucomm and attatch for this button.
Hope this can be done.
Thanks
Kiran
‎2008 Aug 19 3:33 PM