sap

Error “Please enter sold to party or ship to party” while calling BAPI_SALESORDER_CREATEFROMDAT1

妖精的绣舞 提交于 2019-12-08 05:43:43
问题 I am trying to integrate SAP with .NET web application using SAP .NET connector. I have successfully connected to the SAP system but when I try to create a sales order in SAP using BAPI_SALESORDER_CREATEFROMDAT1 I get following error: Please enter sold to party or ship to party. The code snippet I use: public class CreateSalesOrder { public string CreateOrder(RfcDestination destination) { try { RfcRepository repo = destination.Repository; IRfcFunction salesDoc = repo.CreateFunction("BAPI

BreezeJs, saveChanges() - Uncaught TypeError: Cannot read property 'statusText' of undefined

不打扰是莪最后的温柔 提交于 2019-12-08 04:13:41
问题 I'm using BreezeJS with Angular to consume data from a Restful OData Service provided by an SAP Netweaver Gateway System. The application is currently reading the data from the service correctly, including the metadata and has this all held in the EntityManager as expected. However when I change the status of one of the entities and perform a saveChanges(), neither the success nor failure callbacks are called, instead a console error is displayed. Uncaught TypeError: Cannot read property

Searching for a .NET SAP RFC tutorial for remote capable SAP modules

◇◆丶佛笑我妖孽 提交于 2019-12-08 03:54:48
问题 Is there a tutorial which explains step by step how to connect to a remote capable SAP module? Thanks :) 回答1: there is a tutorial on codeproject here and a SAP description of the process on help.sap Hope this help, regards Guillaume Edit : there is also a tutorial here 来源: https://stackoverflow.com/questions/3610169/searching-for-a-net-sap-rfc-tutorial-for-remote-capable-sap-modules

how to reproduce an analytic view in SAP HANA database using the .analyticview xml descriptor file?

你离开我真会死。 提交于 2019-12-08 01:48:51
问题 I am trying to reproduce an analytic view that have already been modeled in one project within another project using the .analyticview XML file descriptor. I managed to reproduce the required attribute views by copying and activating the .attributeview xml files to the new project. But when trying to activate the .analyticview I am getting an error saying: Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Model view/data not consistent

SAP JCO creating a record in SAP using java

可紊 提交于 2019-12-08 01:32:54
问题 I am trying to create an entry in SAP with the functions and structures I got from ABAP. I was referring to this link Creating Purchase Info Record in SAP The same problem happens to me. I could not see the record. When we are checking ERRORS as suggested by the above post.... We got this error.. RFC_ERROR_SYSTEM_FAILURE: THE CURRENT APPLICATION TRIGGERED A TERMINATION WITH A SHORT DUMP. 回答1: Since there is a short dump, we need to check the transaction code ST22 to check the exact error for

SAPNWRFC Connection how to WRITE DATA php

大兔子大兔子 提交于 2019-12-07 23:40:00
问题 Below code used to fetch and display data from PHP <?php use SAPNWRFC\Connection as SapConnection; use SAPNWRFC\Exception as SapException; //print_r($_POST); $config = [ 'ashost' => '###.###.###.###', 'sysnr' => '##', 'client' => '###', 'user' => '####', 'passwd' => '*******', 'trace' => SapConnection::TRACE_LEVEL_OFF ]; $sap = false; $sapMTList = ""; try { $sap = new SapConnection($config); $result=$sap->getFunction("ZBAPI_SAMPLE_LIST_V1"); $parms = [ // 'I_MATTYPE' => 'FERT', 'I_PLANT' =>

Sending email to a SAP inbox and an ordinary email inbox

筅森魡賤 提交于 2019-12-07 20:21:08
问题 I needed a function to send an email to an ordinary email address and to send on too to an SAP Inbox. I found this function: CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1' EXPORTING document_data = gd_doc_data put_in_outbox = 'X' commit_work = 'X' TABLES packing_list = it_packing_list contents_txt = it_message receivers = it_receivers EXCEPTIONS too_many_receivers = 1 document_not_sent = 2 document_type_not_exist = 3 operation_no_authorization = 4 parameter_error = 5 x_error = 6 enqueue_error

SAP R/3 package code modification

ε祈祈猫儿з 提交于 2019-12-07 16:47:36
问题 I'm trying to determine how to modify SAP R/3 package code of an installed system. Can anyone suggest the module/tool for that? 回答1: SAP has provided various customer plug-ins in order to enable customers to modify and adapt standard code: User exits (Transactions SMOD, CMOD and SE81). This article covers user exists in greater detail. BADI's (Business Add-inns, Transaction SE18). This is an Object Oriented(ish) way of extending standard functionality. This article covers BADI's in greater

How do I configure my Microsoft Access database to pull source data directly from SAP BW?

混江龙づ霸主 提交于 2019-12-07 14:47:53
问题 I use several Microsoft Access databases on a regular basis to create reports. To get the source data, I currently have to log in to SAP BW (via SAP NetWeaver), run the source data report, export the results as a .csv file (but actually saving it as a .txt file), and then import that file into Microsoft Access. Is there a way that I can have Access pull the data from SAP BW directly? Any help is appreciated! 回答1: All of the databases used by SAP are industry standard databases and the data is

SapJco 3.0.11 with Maven: It is not allowed to rename or repackage the original archive “sapjco3.jar”

天大地大妈咪最大 提交于 2019-12-07 13:59:24
问题 The current version of the sap jco connector enforces the name of the containing jar at runtime. This will lead to exceptions, if it doesn't match the name (sapjco3.jar). JCo initialization fails with java.lang.ExceptionInInitializerError: Illegal JCo archive "sap-jco-win-amd-64-3.0.11.jar". It is not allowed to rename or repackage the original archive "sapjco3.jar" We wrapped these libraries and deployed them with a custom pom in our nexus repository. The standard maven build is unusable atm