Found 1044 Articles for SAP

Use IFrame and read cookie in ABAP

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

172 Views

I think it is possible and can be simply achieved. You can do the following:Firstly, create a business server pages application on the server. Make sure the application contains a frameset and two IFrames as a part of the frameset.Then you need to split up the implementation between these two IFrames. First IFrame will contain the third party component and second component will contain the view and JS part of the application that we just created. Make sure the second frame does not have any height as it should be invisible to the user.Then you can write client-side code in ... Read More

Need to schedule script in PowerShell from SAP

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

160 Views

I had experienced a similar issue and it was because the scheduler did not have permissions of the file. The scheduler is unable to read the contents basically the login credentials from the file.As a work around what I did was I created a separate job altogether to capture the password in the form of a secure string and then ran the job with the service Id. In this manner, the service has required access of password.And just because it is the Id which is responsible for executing the job, it always ran well.

How to join tables in SAP system

radhakrishna
Updated on 14-Feb-2020 07:58:44

812 Views

If you want to check the relation between different tables, you need to have a minimum read-only access to SAP system.Below is the link to refer information about dictionary structure −https://help.sap.com/saphelp_46c/helpdata/en/ea/e9a3bb4c7211d189520000e829fbbd/frameset.htm

Adding items to table using function in SAP

mkotla
Updated on 14-Feb-2020 07:56:32

108 Views

Try replacing below statement with other mentioned −IRfcStructure articol = repo.GetStructureMetadata("Z_ITEMS") as IRfcStructure;You need to replace this by −

Integrating .NET application with SAP system and using best practices

Giri Raju
Updated on 04-Mar-2024 13:06:45

546 Views

To connect a .NET application with SAP system, there are different approaches that you can follow:Use of SAP PI middleware that offers different protocols and communication framework for integration of two systems. SAP PI/XI enables you to set up cross system communication and integration and allows you to connect SAP and non-SAP systems based on different programming language like Java and SAP ABAP. It provides an open source environment that is necessary in complex system landscape for the integration of systems and for communication.SAP Process Integration is a middleware to allow seamless integration between SAP and non-SAP application in a ... Read More

Using ABAP, changing a value in itab by getting data from database table

Sai Subramanyam
Updated on 30-Jul-2019 22:30:22

1K+ Views

You should do this using a Modify statement as in below − LOOP AT itab. SELECT SINGLE matnr INTO itab-matnr FROM zlldet WHERE palet = itab-palet. MODIFY itab. ENDLOOP. Also note that when you have an internal table itab with a header line, it means that you have a table itab and structure itab and usage of this depends on the situation. Few of the commands like MODIFY and LOOP AT uses both at the same time. DATA itab TYPE TABLE OF [something]. DATA wa ... Read More

Error connecting SAP while sapjco3.jar file is in my library path

Alankritha Ammu
Updated on 05-Dec-2019 10:26:37

510 Views

You need to copy sapjco3.dll in a folder in your Java library path as he t library is not sapjco3.jar and it is a sapjco3.dll file.You can call in your application usingfollowing:System.getProperty("java.library.path")Following approaches can be used:First is by copying sapjco3.dll into one of the folder which are already in your library path like: C:\WINNT\system32Second would be to use the same path in Java library path using any of the following options:By accessing System.setProperty ("java.library.path", "C:\path\to\folder\with\dll\") before accessing the SAPJCoYou can set Java command line like this -Djava.library.path=C:\path\to\folder\with\dll\Read More

Generating any custom JSON in ABAP

Manikanth Mani
Updated on 05-Dec-2019 10:30:30

2K+ Views

You can use class ZCL_MDP_JSON Library that can encode/parse any JSON. JSON is supported natively in ABAP by the following features:With the use of JSON-XML- it is known as special XML format that can be used for JSON data to be described using an XML representation. By defining a mapping between ABAP types and JSON. This is used in serializations and deserializations using the identity transformation ID.As you can specify JSON data in different forms as an XML source in the statement CALL TRANSFORMATION and JSON can be specified as a target.Check out the following sample code:Example:DATA text TYPE string VALUE ... Read More

Executing an inner join over RFC on database tables in SAP system

Akshaya Akki
Updated on 05-Dec-2019 10:32:27

410 Views

You can do this by creating your own function module that can perform selection as per the requirement.You could also use to create a database view and that can be used to call RFC_READ_TABLE. Also, check for prebuilt SAP connectors provided by companies for SQL joins:http://www.plsapconnector.com/

Creating User roles and profiles in SAP system

Manikanth Mani
Updated on 05-Dec-2019 10:34:33

231 Views

This can be done using – Legacy Systems Migration Workbench LSMW transaction. This workbench works like a sort of macro recorder and allows you to record the steps in a transaction and you can replay that record multiple times as per the requirement. This also allows you to replace the values you used in your recorded transaction with new values.A more complex option would be to write ABAP code and this is more flexible to add different privileges to different roles.

Advertisements