‎2006 Apr 03 11:40 AM
hi guys,
I have a zprogram which needs to have the feature such that we need to attach a file to it like in usual mail attachment style.for eg. go to t-code me22.click the icon services for object.then a popup comes where we can select 2 pushbuttons .create attachment and attachment list.i want these 2 functionalities in my zprogram.kindly provide me with a solution that will serve my purpose.i tried debugging the program but it dint return anything.
‎2006 Apr 03 11:49 AM
just call this FM
call function 'SWU_OBJECT_PUBLISH'
exporting
objtype = 'REPORT'
objkey = sy-repid
exceptions
objtype_not_found = 1
others = 2.
(if in selscreen - call at selection-screen output or in the list call in start-of-selection)
Regards
Raja
‎2006 Apr 03 12:08 PM
Hi
i am little bit confuse what you have mentioned in your question.
ME22- Change purchase order and there is no icon as services for object.
So i am unable to give you the details.Anyway if you want to debug the report then go to SAPMM06E and first look for your requirement and start debugging line by line and i am confirmed that you will get the solution.
Thanks
Mrutyunjaya Tripathy