Cast String to Date in Specific Format in SAP HANA

V Jyothi
Updated on 14-Feb-2020 10:06:12

2K+ Views

I think you just need to use ‘TO_VARCHAR’ and ‘TO_DATE’ functions.SELECT TO_VARCHAR(TO_DATE(, 'YYYYMMDD'), 'YYYY-MM-DD') FROM

Use Decimal in WHERE Clause in SAP ABAP

karthikeya Boyini
Updated on 14-Feb-2020 10:05:41

234 Views

You are trying to use the user-specific setting in your queries, but ABAP does not support it. You need to use ‘.’ as the decimal separator instead of ‘,’.So the query would look something like −SELECT * FROM INTO WHERE amount = 10.15

Use jQuery text() Method in jQuery

Amit D
Updated on 14-Feb-2020 10:04:19

154 Views

The text( ) method gets the combined text contents of all matched elements. This method works for both on XML and XHTML documents.ExampleYou can try to run the following code to learn how to use jQuery.text() method in jQuery −Live Demo           jQuery text() method                          $(document).ready(function() {             var content = $("p#pid1").text();             $("#pid2").html(content);          });                              .red {             color:red;          }          .green {             color:green;          }                         This is first paragraph.       This is second paragraph.        

Use wrapAll Method in jQuery

Amit D
Updated on 14-Feb-2020 10:03:16

167 Views

The wrapAll() method wraps all the elements in the matched set into a single wrapper element.Here is the description of all the parameters used by this method −elem − A DOM element that will be wrapped around the target.ExampleYou can try to run the following code to learn how to use jQuery.wrapAll() method in jQuery −Live Demo           jQuery wrapAll() method                      $(document).ready(function() {            $('ul.myclass > li:lt(2)').wrapAll('')          });                      .demo {             border: 3px dashed blue;             margin: 5px;          }                                    India          US          UK          Australia          Bangladesh          

Get List of All Orders in SAP Business One Using getBPLIST Method

Govinda Sai
Updated on 14-Feb-2020 10:01:47

552 Views

I would suggest using recordset with DI API −SAPbobsCOM.Recordset rs = ((SAPbobsCOM.Company)oCompany.GetDICompany()).GetBusinessObject(BoObjectTypes.BoRecordset); rs.DoQuery("SELECT DocEntry, DocNum, DocDate, TaxDate, CardCode, CardName, DocTotal    FROM OPOR ORDER BY DocDate ASC"); while (!rs.EoF) {    int DocEntry = rs.Fields.Item("DocEntry").Value;    //OR    DocEntry = rs.Fields.Item(0).Value;    rs.MoveNext(); }

Use wrapInner Method in jQuery

Amit D
Updated on 14-Feb-2020 10:01:07

143 Views

The wrapInner() method wraps the inner child contents of each matched element (including text nodes) with a DOM element.Here is the description of all the parameters used by this method −html − A DOM element that will be wrapped around the target.ExampleYou can try to run the following code to learn how to use jQuery.wrapInner() method in jQuery −Live Demo           jQuery wrapInner() method                              $(document).ready(function() {             $("div").click(function () {           ... Read More

Different Ways to Interact with SAP System from a Web Application

Lakshmi Srinivas
Updated on 14-Feb-2020 09:59:21

876 Views

Using any of above method depends on what you are connecting, and version of your SAP system. You can use Standard BAPI’s to read or update a service order. BAPI is a Remote Function Call RFC with a standard API.In latest releases of SAP ERP, many of Function Modules are exposed as Web Services.In SAP system, you need to follow some administration task to allow access to SAP system. Following T-Codes can be used: SICF or SOAMANAGER.When you install ABAP Application Server, all the services are available in an inactive state. When a call is made to a URL, multiple ... Read More

Use MySQL GROUP BY Clause with Multiple Columns

varma
Updated on 14-Feb-2020 09:54:56

10K+ Views

Yes, it is possible to use MySQL GROUP BY clause with multiple columns just as we can use MySQL DISTINCT clause. Consider the following example in which we have used DISTINCT clause in first query and GROUP BY clause in the second query, on ‘fname’ and ‘Lname’ columns of the table named ‘testing’.mysql> Select * from testing; +------+---------+---------+ | id   | fname   | Lname   | +------+---------+---------+ |  200 | Raman   | Kumar   | |  201 | Sahil   | Bhalla  | |  202 | Gaurav  | NULL    | |  203 | Aarav   | ... Read More

Declare Dynamically in SAP ABAP

Monica Mona
Updated on 14-Feb-2020 08:25:23

930 Views

I think for your implementation, you can declare an internal table in a dynamic manner.DATA:  tbl_TEST TYPE REF TO DATA. FIELD-SYMBOLS: < tbl_TEST > TYPE STANDARD TABLE CREATE DATA tbl_TEST TYPE (Received_Type) ASSIGN tbl_TEST TYPE ->* to < tbl_TEST TYPE >

Add Image to SAP Adobe Form from MIME Repository

Sharon Christine
Updated on 14-Feb-2020 08:23:22

2K+ Views

Note that Image must be uploaded from system to MIME beforehand.Run Transaction SE78 → Upload (F5).You have to declare 2 variables in the interface - global data with types string and xstring, You need to change the data declaration as below −data: gv_bmp_watermark type xstring. constants: gc_url_watermark type string value '/BC/PUBLIC/MyImages/watermark100.bmp'.You need to add the following under code initialization.//* Read Images data: lr_api type ref to if_mr_api. lr_api = cl_mime_repository_api=>get_api( ). lr_api->get( exporting i_url = gc_url_watermark              importing e_content = gv_bmp_watermark).You also need to change context node a bit as mentioned below −Name: WATERMARK   ... Read More

Advertisements