- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Error while posting a sales order in SAP from .net application
Note that sold to party and ship to party are mandate fields. You need to add the created structures and tables to the function as shown in below code:
RfcRepository repo = destination.Repository; IRfcFunction salesDoc = repo.CreateFunction("BAPI_SALESORDER_CREATEFROMDAT1"); IRfcStructure salesHeader = salesDoc.GetStructure("ORDER_HEADER_IN"); salesHeader.SetValue("DOC_TYPE", "ZDLR"); salesDoc.SetStructure(salesHeader); salesDoc.Invoke(destination);
For more details you can check BAPI_SALESORDER_CREATEFROMDAT1 or below link:
BAPI_SALESORDER_CREATEFROMDAT1
- Related Articles
- Error while creating a PO in SAP system from a .NET application
- Error while connection SAP HANA with .NET
- Naming conflict error while consuming SAP Web Service in .net
- Error while connecting to SAP server from Java application: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path
- SAP UI5 application throws an error while using Tree map
- Jmeter server error while perform load testing on SAP application
- Fetching list of products from SAP: connecting SAP database from .net application
- Getting error while extracting data from SAP
- Connecting SAP system from C# application via .NET Connector 3.0
- Error while Synchronizing data in iOS from SMP 2.3 (SAP)
- Error in JavaServer Faces JSF application in SAP NWDS
- Error while using LOOP…..WHERE in SAP ABAP
- Upgrading SAP .NET Connector from .NET 2.0 to .NET 3.0
- Downloading SAP.NET connector to integrate .NET application with SAP system
- Integrating .NET application with SAP system and using best practices

Advertisements