Found 1039 Articles for SAP

Ending a connection with SAP Instance and stop scripting

Hayat Azam
Updated on 13-Feb-2020 10:24:41

2K+ Views

This can be resolved by ensuring that you destroy all reference to public objects at the end of your script.In Excel VBA, you can use the following to do this −Set session = NothingIn C#, you should be using below −obj = Null;

PHP Soap Client is not supporting WSDL extension while connecting to SAP system

Hayat Azam
Updated on 24-Dec-2019 07:03:28

454 Views

The possible solution could be to update policy tag like thisUpdate the policy tag like this:And try the serviceAnother possible option is to change /ws_policy/ to /standard/ and you will be able to use PHP Soap Client to consume Web Service.Go to Web Service Administration in your SAP ECC system using SOAMANAGER -> SOA-ManagementIn URL of the browser, you can see the “ws_policy” tag -> replace this with “standard” and you will have WSDL without policy tag.

Connecting system with SAP system using a Web Service

Shahyan Ali
Updated on 13-Feb-2020 10:23:30

715 Views

The best solution of this is to regenerate web service code the client system. Navigate to Add Service Reference in Visual Studio and regenerate WSDL code.

In SAP Crystal Reports XI, return records that match multiple conditions

Raja Ali
Updated on 13-Feb-2020 10:22:43

216 Views

It is advisable to use functions to pass such filter conditions in CR. Also try changing the order of your condition like −({PR.cov} = "A" and {PR.cov}="B") or {PR.cov} = "A" Try using function like this: {@A}:if {PR.cov} = "A" then 1 else 0To create custom functions in Crystal Report, navigate to Report Menu → Formula Expert → Right Click on Custom Functions → NewIt is advisable to use custom functions when you have multiple parameters to pass in the condition. You can also use the following when you have two string parameters −( 'A' IN {?cov} OR {PR.cov} IN ... Read More

SAP connector failed, use of port number 3350

Syed Nauman
Updated on 30-Jul-2019 22:30:20

300 Views

This port is used to provide a range of connections to SAP gateway for RFC connection. If you are getting this error, try to resolve your server name with “nslookup” or try connecting to IP address instead of server name.

Error while passing an image value to an OData request in SAP

Altamas Khan
Updated on 05-Dec-2019 07:54:55

331 Views

If you ImgData includes an image in Data URI format base64 then add the below line to Imgvalue to convert it to ImgData:var imgData = JSON.stringify(ImgValue);I suggest you to use AJAX to post image through OData as shown in below code:OData.request ({      requestUri:"http://test.test1.net:8081/sap/opu/odata/sap/ SALES_VRS/DailySalesSet",      method: "GET",      headers:      {       -Requested-With": "XMLHttpRequest",       "Content-Type": "application/atom+xml",       "DataServiceVersion": "2.0",                 "X-CSRF-Token":"Fetch"                                    }     ... Read More

In my SAP Fiori custom app, Back button is not working in Launchpad

Mohd Arshad
Updated on 05-Dec-2019 07:58:15

548 Views

Try to use “shellHash” property instead of “semanticObject” like below:-------------------------------------------------------- sap.ushell.Container.getService("CrossApplicationNavigation").toExternal({     target: {         shellHash: "#"     } }); --------------------------------------------------------

While changing Partner number, VBA code keeps running while interacting with SAP system

Mohd Altamas
Updated on 30-Jul-2019 22:30:20

160 Views

The best possible solution to avoid this issue is by adding breakpoints to the best places. This issue is common with VBA and C# while debugging code includes COM libraries.

How to check if an element has a certain class name with jQuery?

Alex Onsman
Updated on 14-Feb-2020 05:06:17

336 Views

To check if an element has a certain class name with jQuery, use the hasClass() method. You can try to run the following code to check if an element has a certain class name i.e. 'myclass' in the following example:ExampleLive Demo                          $(document).ready(function(){              $("button").click(function(){                  alert($("h2").hasClass("myclass"));              });          });                      .myclass {            color: blue;          }                     Heading       This is demo text.       Check: The h2 element has 'myclass' class?    

Using constants in ABAP OO method

V Jyothi
Updated on 13-Feb-2020 10:08:34

353 Views

Your INCLUDE should only contain definitions of constants nothing else and then the answer is straightforward.Select Goto → Class - whichever local definition and then add an INCLUDE statement. This will expose all the constants “INCLUDE” in your implementation.

Advertisements