Found 1044 Articles for SAP

Using subset of items present in the list in SAP Program

Smita Kapse
Updated on 18-Dec-2019 08:02:27

87 Views

You can use a SWITCH CASE statement to handle your scenario. This is a good choice if you know well in advance what all properties are required and what is not required. Also, it will let you to unit test your code.Otherwise, you can go for a collection like a dictionary.You can think of using HashSet or hashtable as well, it entirely depends upon the usage of the list created.

Automating SAP Transactions/actions using SAP GUI

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

701 Views

You can use SAP GUI. It has built-in tool which can record and playback activity that can be utilized for automation and automated jobs. In case, the values or inputs are not changing then you can use the same script on each occasion.It lies within the main menu of the GUI window, within Customize layout -> Script recording and playback.

OData or Java Services to be consumed by SAP UI5 application

Nitya Raut
Updated on 30-Jul-2019 22:30:20

344 Views

Before I make any proposal, I am assuming that you understand both oData and REST very well. REST is a well-known and accomplished architecture style whereas oData is a protocol for communication.OData resides on top of Atompub protocol which in turn is based on REST so overall oData seems to follow REST path only and it is implemented in a similar manner.The advantage that you get with oData is that it saves a lot of effort and time in handling client side either by writing Javascript code or something else. I agree that the support in JAVA for oData will ... Read More

Apply filtering on Model to fetch filtered data in ABAP

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

82 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

286 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

793 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

346 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

585 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

179 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

659 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, ); }

Advertisements