cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to create a PM (Plant Maintenance) Notification from VB .NET

Former Member
0 Kudos

Dear SAP Gurus,

I'm trying to create SAP PM Notifications from a visual studio .NET 2003 appication via SAP .NET Connector.

I have succesfully displayed SAP tables in my application using RFC_Read_Table and Table_Entries_Get_Via_RFC.

I would now like to know how to write data to SAP, specifically to the PM Notifications Table (VIQMEL)

Appreciate any guidance on how to do this

Kind Regards

Azrin Sani

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Azrin,

.NET Connector's logic is based on calling functions modules or calling bapis while connection to SAP. So, you need to find any function module or bapi that can modify VIQMEL table. If you only want to insert record this table directly, so you can create a new function module in ABAP that can insert record. You can get detailed information how to create a function module and how to call the created function module from this link.

http://www.huseyinakturk.net/2008/12/a-complete-sample-connection-to-sap-from-visual-studio-net-2003...

Regards,

Huseyin Akturk

http://www.huseyinakturk.net/

Former Member
0 Kudos

Hi Akturk,

Thank you vey much for the reply. Your blog is just magnificent. I'm adding it to my favourite blogs.

The problem I'm facing is that I do not have authorization to all the SAP developer transactions such as SE37, SE38 and etc. I just have an end-user access as a plant operations engineer which I use to create PM notifications manually.

How do I get around this?

Is there any predefined RFCs which I can use to add data into the VIQMEL table?

FYI, I've succesfully used the RFC_READ_TABLE and TABLE_ENTRIES_GET_VIA_RFC to display data.

Again, thank you for your reply

Kind Regards

Azrin Sani,

Malaysia