2017 Nov 09 4:59 PM
Hi,
I'm beginner in SAP coding, I used to work a lot with Autodesk Inventor. I'm just looking for a code to go in an opened SAP session and add an item to a Bill of materials.
In the best conditions, i'd like to work by outside SAP in VB.NET with Visual Basic Express. But I'm very opened to new ways to work.
I hope one of you have something to introduce me in the SAP coding. Don't be shy to drop an uncomplete answer or a piece of code to give me a point of start.
Thanks a lot!
2017 Nov 09 7:19 PM
To add an item to the bill of material you first must set up your connection to an SAP system. Then you can use VB with .NET to run an SAP function module. For your exact function module try a search for the following on google: sap bom bapi. Make sure the function module is remote enabled.
2017 Nov 09 7:19 PM
To add an item to the bill of material you first must set up your connection to an SAP system. Then you can use VB with .NET to run an SAP function module. For your exact function module try a search for the following on google: sap bom bapi. Make sure the function module is remote enabled.
2017 Nov 11 7:23 AM
Thanks a lot to both of you. I appreciate the help. I'll find my way in what you provided to me.
2017 Nov 09 9:35 PM
There is a good example on stackoverflow on how to connect to SAP system. It is a long solution so I have to put the link (stackoverflow). Kudos to original poster on stack. As mentioned by Michelle don't forget to make your function module remote enabled otherwise it is not going to work.