Found 1039 Articles for SAP

Apply filtering on Model to fetch filtered data in ABAP

Prabhas
Updated on 30-Jul-2019 22:30:20

160 Views

I think a simple change can sort the problem out over here. Just replace the read call with an object notation rather than the current one which is based on position.

Second approach to fetch data from SAP tables without using SAP JCo

Jennifer Nicholas
Updated on 18-Dec-2019 08:01:48

366 Views

If you need to access the SAP Tables with the help the table name and column names, then you can use the RFC RFC_READ_TABLE. It also provides external access to R/3 tables with the help of remote function calls.RFC requires following details:table name (required parameter)number of rows to skip (optional parameter)maximum number of rows to be loaded (optional parameter)

Communicating with SAP system using PHP

Rishi Rathor
Updated on 18-Dec-2019 08:44:34

978 Views

You can communicated with any SAP system from PHP in many ways, but the preferred standard available choices areRFC (remote function call)Web ServicesPHP has got one RFC library to communicate with SAP. But the main job in your problem statement lies with your partner as they are the one dealing with SAP component. You need to check with them what they prefer services or RFC. Don’t forget to double check with them in case they already have any existing API (can be anything) which can serve your purpose. Because it entirely depends on them as in how they want you ... Read More

Get access or point to SAP UI5 control

varma
Updated on 10-Dec-2019 07:08:07

473 Views

You are making a small mistake over here. Method addContent is a method available for UI5 controls not over normal DOM elements.If you want to gain a reference to the button then you can try with the below snippet:this.getView().byId("").addContent(new sap.m.Button({    : }));

Creating a table in SAP system using OData service

Nancy Den
Updated on 18-Dec-2019 08:43:28

806 Views

In order to create a table, you need to use either *.hdbdd or *.hdbtable and then expose them with xsodata.You can check for more details:https://help.sap.com/viewer/52715f71adba4aaeb480d946c742d1f6/2.0.02/en-USExampleservice namespace "HANA.Tables" {    "Schema_Name"."PAKAGE::TABLENAME" as "NAMESPACE"; }

Usage of Operator +n and (n) to pass data in ABAP

V Jyothi
Updated on 13-Feb-2020 12:50:32

315 Views

If my date format is in the form DDMMYYYY then Z_Period(4) equals DDMM so (4) means first four characters.If my date format is in the form DDMMYYYY then Z_Period +4 equals YYYY so +4 means after the first four characters.So If I say Z_PERIOD+2(2) then this would result MM- i.e. 2 characters after first 2.Let us see how to use them in a program −\Sample program to understand use of +n and n bit operators data: lv_text(10) type c. lv_text = "World". write: / lv_text+2(2).Output of this code would be “rl”“+n” specifies a string offset“n” specifies length of the ... Read More

Managing user sessions in SAP UI5 application

Daniol Thomas
Updated on 18-Dec-2019 08:42:39

1K+ Views

You can make use of setTimeout and clearTimeOut functions. In order to trace the activity of the user, you can either make use of mouse move event or key press event or even both.ExampleYou can reset the timer on the occurrence of either of the two events.document.onmousemove = timeOut; document.onkeypress = timeOut; function timeOut () {    clearTimeout();    setTimeout(sessionTimeout, ); }

Fetching attribute of SAP Webdynpro component in new component

Krantik Chavan
Updated on 18-Dec-2019 08:41:11

185 Views

You need to do the below steps in order to pass values from one Webdynpro component to another:Create both componentsIn the first component, create a method which will call the second componentCreate a parameter in the context of the first component which will be passedCall the first component; once the URL has been generated just append the parameter which needs to be passed.

Learning SAP HANA and scope with ABAP-HANA or BI-HANA

Nishtha Thakur
Updated on 30-Jul-2019 22:30:20

309 Views

While you have a valid point that most of the SAP HANA projects are coupled with varied SAP landscape but there does exists a lot of projects which involve only native SAP HANA development.It entirely depends on your interests and knowledge base but sound understanding of the core concepts around data ware housing needs to be clear, if you are planning to build anything utilizing the base concepts.Presently, as per my understanding, clients prefer ABAP on HANA as they have one or other existing ABAP solutions. So, any enhancement using ABAP seems more sensible and appropriate.So I will suggest you ... Read More

Performing Null check using HANA SQL Script

Smita Kapse
Updated on 18-Dec-2019 10:06:46

4K+ Views

You can go for using either NULLIF or COALESCE function to serve your requirement.NULLIF (expression, expression"): This function will return the same type whatever is specified as the first expression.Basically, NULLIF returnsThe first expression if the two expressions are not equal.NULL of type of first expressions if the expressions are equalThe other function available is COALESCE which basically checks if the first Value provided is NULL then it will return the second value.Examplec = COALESCE(b , a)If b is null then the function will return an otherwise b. So If you need to put a null check and use some ... Read More

Advertisements