Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IW22 - Change PM Notification - Upload Attachment

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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.

0 Kudos

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?

Former Member
0 Kudos

Hello!

Did you solve this problem? I have the same task.

Former Member
0 Kudos

You can use method cl_binary_relation=>create_link to attach the file(s).