Found 1039 Articles for SAP

Using SSIS 2014 with Visual Studio 2012 to integrate with SAP

Anvi Jain
Updated on 30-Jul-2019 22:30:20

236 Views

You made a small mistake but a mistake having a big impact. SSIS 2014 does not support VS 2012 in your case. Just switch to VS 2013, your problem will be resolved.

Using datatype/element for destination in SAP ABAP

Amit Sharma
Updated on 13-Jun-2020 06:50:29

213 Views

You can use RFCDEST.RFCDEST statement specifies the destination value for a Remote Function Call connection and gateway information.Supported Job Types:This statement are optional for the following job types:SAP Batch Input SessionSAP Business Warehouse InfoPackageSAP Business Warehouse Process ChainSAP Data ArchivingSAP Event MonitorSAP Job CopySAP Process MonitorSAP R/3Basic DataTable  RFCDES  Destination table for Remote Function CallField  RFCDEST  Logical Destination (Specified in Function Call)Position 1Syntax to be used:RFCDEST destinationUsing Parameter destinationYou need to specify the destination for the RFC connection and gateway information for an SAP R/3 system. This destination is the destination that is specified in the connection properties file during ... Read More

Debugging a failed Insert statement in SAP ABAP

Rahul Sharma
Updated on 30-Jul-2019 22:30:20

474 Views

Note that in SAP ABAP, sy-subrc == 0 means success. You can use breakpoint before your INSERT statement to ensure if it is a success or not. You can check the possible return value by bringing cursor on it and then press F1 key.Try checking if/else branch in your code snippet.

Generating range of numbers 1…n in SAP HANA

Ali
Ali
Updated on 18-Dec-2019 06:24:21

546 Views

You can use For loop as below:FOR START_CID IN 1..1000 DO    INSERT INTO "TEST_TABLE" VALUES(START_CID,''); END FOR;You can also use a Generator like this:INSERT INTO "TEST_TABLE" SELECT GENERATED_PERIOD_START as CID, '' as CNAME from SERIES_GENERATE_INTEGER(1,1,1001);

Using > operators in SAP HANA

Johar Ali
Updated on 14-Feb-2020 07:50:08

169 Views

You probably need to use cdata sections in your query. The term CDATA means, Character Data. CDATA is defined as blocks of text that are not parsed by the parser, but are otherwise recognized as markup. The predefined entities such as , and & require typing and are generally difficult to read in the markup.Following is the syntax for CDATA section −You have to wrap your queries in CDATA as shown below −         50.    ]]>     For more details about XML CDATA, you can refer below link −https://www.tutorialspoint.com/xml/xml_cdata_sections.htm

Getting Error message “Object doesn't support property or method 'attachEvent'” in IE11 to call SAP system

Johar Ali
Updated on 14-Feb-2020 07:49:15

414 Views

Note that attachEvent is no longer supported in IE11 and you should use addEventListner that can be used to bind specific function to an event.In older versions of IE, you can use like this:object.attachEvent(event, pDisp)Parametersevent [in]Type: StringA String that specifies any of the standard DHTML Events.pDisp [in]Type: ObjectThe Pointer that specifies the function to call when the event fires.Return valueType: BooleanBoolean returns any of the below value:Return value     DescriptionTrue                   The function was bound successfully to the event.False                  The function was not ... Read More

Linking ABAP Dynpro screen elements to program variables

Amit Sharma
Updated on 10-Dec-2019 06:46:32

516 Views

You can make the connection by using the name of Global variables. A Global variable can be defined by using this code:DATA matnr TYPE MATNR-> to create a global variable matnr. You can define DDIC structure or table like Tables: MARAIn Screen Painter, you can reference of fields of table/structure MARA. Note that one of the useful features of the screen painter is choosing dictionary/program fields and this can be done by pressing “F6”.

Internal Table itab declaration in SAP and difference between both the declarations

Rahul Sharma
Updated on 30-Jul-2019 22:30:20

258 Views

As per my understanding, the key difference between two statements is that in first you are reserving memory space for storing 5 lines of the customer_tab table.If you consider performance, the 2nd statement should be better.

Inserting Array list into HANA database

Ali
Ali
Updated on 17-Dec-2019 06:44:43

489 Views

Try using below code:ExampleInteger[][] myarray ={ {1}, {1, 2}, {1, 2, 3, 4, 5} };    String test = "Insert Arrays";    stopWatch.start(test);    myDBconn.setAutoCommit(false);    Statement stmt = myDBconn.createStatement();    stmt = myDBconn.createStatement();    stmt.execute("TRUNCATE TABLE Schema.Table1");    // Running a loop over our array of arrays    for (int i = 0 ; i < (myarray.length); i++) {       int curr_length = myarray[i].length;       String arrayFunction = "ARRAY (";       for (int j = 0; j < (curr_length); j++){          arrayFunction = arrayFunction.concat(myarr[i][j].toString()) ;          // ... Read More

I want to round a number to 2 decimal places in SAPUI5. Could anyone help?

Rahul Sharma
Updated on 17-Dec-2019 07:17:07

1K+ Views

RoundingMode function is used for rounding the number and it uses these parameters: number and how many decimal digits.ExampleYou can roundoff and your code will be like this:

Advertisements