on 10-02-2007 8:32 AM
Hi,
We have an application written in c# and need to interoperate with SAP in various ways. For example RFC and also Batch Input.
I know the .net Connector can handle BAPI etc. but I've nothing read about Batch Input in the manual. It is mantadory as we need to start the SAP GUI from our application and fill up some Dynpro with data (well I'm reall no SAP expert, but I was told it's the only way we can use). I tend to believe that I have to use a third party product for this (eg. from softwise or erpconnect.net). Does anybody know for sure?
Thanks, Patric
Patric,
I think you should make a Batch Input and put it in a Function Module that is marked as Remote Enabled. That way you can provide the data from .NET. If you don't have the tool to connect your VS with SAP, I would suggest you to use Softwise's SAPExplorer. It's very easy to use.
I hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are now using ERPConnect.NET to access SAP from Visual Studio / C#
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you are using ERPConnect?
Then you should know this sample here:
// Reset the batch steps
transaction1.BatchSteps.Clear();
// fill new steps
transaction1.ExecutionMode = ERPConnect.Utils.TransactionDialogMode.ShowOnlyErrors;
transaction1.TCode = "MMBE";
transaction1.AddStepSetNewDynpro("RMMMBEST","1000");
transaction1.AddStepSetOKCode("ONLI");
transaction1.AddStepSetCursor("MS_WERKS-LOW");
transaction1.AddStepSetField("MS_MATNR-LOW",textBox1.Text);
transaction1.AddStepSetField("MS_WERKS-LOW",textBox2.Text);
// connect to SAP
r3Connection1.UseGui = true;
if (r3Connection1.AskUserAndOpen(true))
// Run
transaction1.Execute();
Regards,
Bülent
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.