09-15-2010 5:44 AM
Hi Experts,
I have some problem when making ABAP Program that functioned like IW22.
I have to attach the file with my ABAP Program, so does the file appear as attachment file in TCode IW22 Change PM Notification.
Did anyone knows what FM used to attach the file like the IW22 does?
I just want to debug it, but the screen make it difficult to debug that attachment function. Every time I used the '/h' mode it just only debug the process to pop up the list of selection in the upper right corner of the main screen.
Thanks for all of your reply.
Edited by: Jonathan Febrian on Sep 15, 2010 6:51 AM
09-15-2010 11:12 AM
I'm also not familiar with IW22.
But I can help you in debugging screens. Open a new notepad and paste the ff:
[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand
save it and include it in your pc's shortcut icons for easier drag and drop.
You can simply drag and drop this notepad on the sap screen to activate debugging on screen.
09-16-2010 5:29 AM
Thx for Your Reply, I've tried it and it works, but I still doesn't get any clue when I was debugging the function. It seems like the program only display the File Selector window, and after I choose one of my file it will add to the list immediately. Still confuse about that
Actually this create attachment function not only at IW22, but we can also found in ME23N. Did anyone know how to create attachment via ABAP Program?
01-11-2013 11:42 AM
12-31-2015 4:06 PM
You can use method cl_binary_relation=>create_link to attach the file(s).