Questions tagged [sap]

1

votes
2

answer
361

Views

input box not updating when checkbox is selected sapiu5

I created a table in Web IDE that has a checkbox and input box that by default shows '100%' when checkbox is selected. It was working before I added data from a json but now that I made the column list item a template taking in data from the json on some of the columns, the input box does not fill i...
eDz
1

votes
1

answer
3.4k

Views

integration between Python 3.6 and SAP

I am very new to python, I got a task to pull data into python from SAP system. I am following the below link for connections, but it's not working in my landscape. Also, my question is can I connect python 3.6 clients to SAP Systems? http://www.alexbaker.me/code/python-and-sap-part-1-connecting-to...
1

votes
1

answer
386

Views

Standard way to map a URL string to RFC Destination in ABAP?

In SAP (AS ABAP 7.4) I have configured a set of RFC Destinations (Transaction SM59), including an SSL configuration using a client certificate for authentication at the service. Say, one of these RFC Destinations goes to: myserver:443 and myserver requieres SSL client certificate authentication. In...
pmenze
1

votes
0

answer
15

Views

ERROR: cordova build android project error! hybrid aplication toolkit installation

We are installing the HAT during the installation we are getting this error ERROR: cordova build android project error! ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_40 The system cannot find the path specified. Error: cmd: Command failed with exit...
kartik kmk
1

votes
2

answer
754

Views

Copying Data from SAP BW to Azure Data Lake Store using Azure Data Factory

I've been trying to copy some data from an on-premises SAP BW to a cloud Azure Data Lake Store. I've already configured the sink as the Data Lake Store but i'm having trouble to configure the source. Already downloaded the netweaver library and put the dlls in my system 32 folder and created the int...
Fabrício Bruno
1

votes
0

answer
478

Views

SAPNWRFC Connection how to WRITE DATA php

Below code used to fetch and display data from PHP The code works fantastic to read data. ref: https://gkralik.github.io/php7-sapnwrfc/introduction.html Can anyone tell me how to write data? Tried my level best to find resource but couldn't find anywhere. Any help would be highly appreciated. Thank...
Vivan Menezes
1

votes
1

answer
325

Views

Use Parameter From HTTP CALL ON SQL CALL (SAP B1if)

I am working on creating a scenario triggered by an HTTP Call to display the result of an sql query in a web page , my need is to use a parameter from my HTTP Call like (CardCode). (It's work well without parameter) My scenario is very basic : My Sceario img My SQL Statement : i don't know where to...
xMx
1

votes
1

answer
85

Views

How do I enable SAP GUI scripting on my Cloud Appliance Library Instance?

I am a DevOps noob so please bear with me, and I would really appreciate it if you could provide step by step instructions. I am trying to enable SAP GUI Scripting on my Cloud Appliance Library SAP instance that is running NetWeaver 7.5 hosted on AWS. Though it's hosted on AWS I can suspend / activa...
Tuhin Chakraborty
1

votes
1

answer
437

Views

How to get long texts of FI held documents?

I need to get the particulars/long text of FI held documents. I tried the 'read_text' function module but had no luck since the held document has the temporary document number. I tried looking for data in STXL and STXH tables, I also tried the function modules in FM group FTXT and STXD but had no l...
doobidoo
1

votes
0

answer
294

Views

SAP Cloud Platform. Fiori Mobile Hybrid Application : Offlne oDATA documentaton?

I'm struggling to find any clear or coherent documentation on implementing offline oData through SCP Fiori Mobile. The best info I've came across has been to add the following to Manifest.json here : https://blogs.sap.com/2017/03/22/make-offline-app-using-sap-cp-mobile-service-for-sap-fiori-part-1/...
Adam Harkus
1

votes
1

answer
423

Views

Unable to download SAP extract from SAP - Error “Invalid GUI input data: FOCUS DATA”

Need assistance on a macro which tries to download the extract from SAP but stops exactly in a place where it need to download. But the same problem doesn't arise when manually done. Below are the steps which we follow in SAP: • In first step, Enter the TCode: ZFIS and do the below selection (F...
raj kumar
1

votes
0

answer
952

Views

SAPUI5 - Implementing smart variant management

I have implemented Smart table with TablePersonalisation & VariantManagement. I have deployed my application in ABAB repository & tested. When I save a new variant, It gets saved. But it is not retrieved. I have not coded anything for variant management in controller. Below is the screenshot of json...
Haritha Perumal
1

votes
1

answer
404

Views

Is it possible to intercept relation like CategoryProductRelation in Hybris?

Normally, in Hybris, there are model interceptors such as PrepareInterceptor.That is, when a model changes, it can be intercepted. I have a problem at that point. I would like to intercept when a change happens related to CategoryProductRelation. Neither CategoryModel nor ProductModel change as a re...
hatip kabak
1

votes
1

answer
40

Views

Cloud foundry / XSA how to make http only service

We are working on SAP XS Advanced that is based on Cloud foundry and we got into a funny situation, we need an app to be HTTP only (i know it's not secure...but our situation requires it to be HTTP). Does anyone know how to disable default deployment to HTTPS?
mcerne
1

votes
1

answer
159

Views

SAP Cloud Platform Integration add dependencies

I need to use the @Grab in a Groovy script in SAP Cloud Platform Integration and it gives an error ClassNotFoundException: org.apache.ivy.core.report.ResolveReport . Is there a way I can add this kind of dependency or can I load a jar on CPI in another way?
Codrin Strîmbei
1

votes
1

answer
2.1k

Views

How to select current row in SAP VBA Macro?

I am trying to automate a repetitive task in the SAP GUI. I need to search for an order number, select the row that the order number is in and then click a button to complete the task. I have recorded a macro which gives me: session.findById('wnd[0]').maximize session.findById('wnd[0]/usr/cntlCONTAI...
Logan9Fingers
1

votes
1

answer
376

Views

SAP Sales Order Text Extraction to Excel

For years I worked with an ERP system that I could reach every corner of and get data out of very easily, but we have now moved to a global SAP system and with a much lower level of access things are not as easy. I have a specific requirement to extract the data from some of the sales order item tex...
Jefran
1

votes
1

answer
521

Views

Install NWRFC with PyRFC in Windows

I am trying to install PyRFC with NWRFC SAP library... After a lot of work, and problems, I install everything, but now when I start python import pyrfc I get Traceback (most recent call last): File '', line 1, in File 'C:\Users\MARKOZ~1\Desktop\p36env\lib\site-packages\pyrfc-1.9.7-py3.6-win-amd64...
Marko Zadravec
1

votes
4

answer
342

Views

Method 'Text' of object 'ISapCTextField' failed

I have recently been working on some Automation on excel VBA. The program pulls data from SAP . However theres always this error that randomly happens : 'Method 'Text' of object 'ISapCTextField' failed'. I've Googled a lot to find a solution but none of the solutions works.I don't know if it is a bu...
Jacob Tang
1

votes
1

answer
77

Views

Azure Active Directory integration with SAP Cloud Foundry

I am trying to connect my SAP Cloud Fundry enviorment to Azure Active Directory. I am following for that porpose a tutorial on sap.com: https://blogs.sap.com/2017/07/18/step-7-with-sap-s4hana-cloud-sdk-secure-your-application-on-sap-cloud-platform-cloudfoundry/ But I have a filling that a problem is...
Marcin Podgórski
1

votes
1

answer
67

Views

Loop Copy In SAP Stops When Edge Of Screen Is Met VBA

I got some help yesterday about using a loop to copy data down an SAP column to transfer the data over to excel. I was able to get it copying and moving down the column, however it now stops copying (error 619 can not find ID) when it reaches the bottom of my screen. I assume it is because it cannot...
Jordan
1

votes
1

answer
789

Views

How to Logon on SAP with SSO via VBS?

I'm trying to write a VBScript that opens a SAP session, with Single-Sign On capability. I've already found some information about this topic, or similar ones, here and on other sites, but none of them suit my requirement.. This is what I have so far, taken from a SAP Discussion Forum: But an error...
1

votes
2

answer
1k

Views

How can i skip waiting for OLE action SAP

I am fairly new to SAP scripting, but have some experience with VBA already. i have the following issue trying to automate a process in SAP for my current position. So i am recording a series of procedures, pasting the code in a macro sheet and make the Excell read the VBS code with the following c...
M_Delineshev
1

votes
0

answer
195

Views

SAPUI5 get all registered users for a specific subaccount

I've a SAPUI5 Fiori Application I need to get all the cloud tenant users from SAP Cloud Platform for a specific Sub Account. Currently, from User API I can get only logged in user details. https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/1de599bf722446849d2b2e10132df42a.html...
tarzanbappa
1

votes
0

answer
200

Views

How to replace a message shown for a locked user during logon procedure

We lock all business/developer SAP users for each system copy/upgrade session. The users are informed in advance about the planned works, but some of them try to logon into the system. They see SAP standard message that the user is locked and ask 1st level support to unlock the user. As result our...
Skalozub
1

votes
0

answer
245

Views

Read Cookies in SAP Gateway Methods

when implementing a SAP Gateway Service (using DPC_EXT Classes), I'd like to access some custom cookies. But I dont seem to be able to access them... Using following code lo_faqcade = /iwbep/if_mgw_conv_srv_runtime~get_dp_facade( ). lo_facade->get_request_header( ). I get all the HTTP Request header...
iPirat
1

votes
0

answer
75

Views

Active Content Error when Scripting

I have an issue with active content notification appearing when scripting in SAP. My ActiveX settings for IE are set to allow ActiveX content. Issue only happens when SAP connection is set via script. Below is the section of code where I am having issue. Opening via a script also causes a different...
Kale
1

votes
1

answer
218

Views

SAP API Journal Entry “Post Journal Entries from External Systems” (SAP_COM_0002)

Has anyone successfully created a Journal Entry in S/4HANA Cloud system via POSTMAN or Cloud Platform App? I keep getting 401 unauthorized in POSTMAN. I tried PO GET API URL, and it is working fine. https://:/sap/bc/srt/scs/sap/journalentrycreaterequestconfi { 'JournalEntryBulkCreateRequest': { 'Me...
William
1

votes
0

answer
273

Views

SAP GUI Security popup

I am writing a program that uses Microsoft access to run a report and then export the results to an excel file. The whole program works fine except when the program is exporting the file. I receive a popup that like the one in this link The VBA code in access pauses while this popup is in place...
user3456612
1

votes
0

answer
11

Views

how to execute an interface on SAP EM Data Browser

I have a SAP EM test case like this: 1. Logon to SAP EM 2. Go to SE16 (Data Browser should be displayed) 3. Check the entry of a table 4. Run an interface on this table But I cannot find anywhere that I can enter an interface (or script?) to run.
Lucy
1

votes
0

answer
37

Views

Sap BSP deployment api

I'm trying to find some documentation about publish\updating a BSP project (Reactjs build in my case, which works like a charm) via web api. That way I could automate build\deploy via Atlassian Bamboo, avoiding long and exhausting manual procedures for the SAP transaction (SE38). Can't really find a...
Black.Jack
1

votes
1

answer
113

Views

Impersonalize SAP dialog user in SAPNCo application

I am building a special application that helps users to insert some data in SAP. Currently the functionality of the app works as expected. But when data is saved in database, the logs are showing, that the user who made changes is the System user. I would like to request a username and password of a...
gtu
1

votes
1

answer
76

Views

Best way to populate a SAP table via c#

I'm trying to create a c# that application does a simple insert into a newly created sap table. After a little bit of research I found out that I have two options: Using a CDS-View with @OData.publish: true and CRUD operations or using a bapi with the SAP .NET Connector 3.0. Personally I think that...
Thomas Klammer
1

votes
0

answer
44

Views

How to load different Fragments by using SideNavigation SAPUI5

I have already implemented a SideNavigation inside the WebIDE using SAPUI5. Additionally, I integrated the select Event for NavigationListItems as well as an empty panel for the fragments inside an HBox (consists of SideNavigation, Panel (id='FragmentPanel')). My problem occurs while trying to writ...
Johannes Brill
1

votes
0

answer
25

Views

could not reach CMS from JBOSS

I have ran into something interesting. We are upgrading our SAP BO from 4.2 SP2 to 4.2 SP5. So we have a java application which runs on JBoss connects to the BO reports. So as part of upgrade I have updated all my SAP jars and tried connecting to the new CMS. To test out initially i used the below...
1

votes
1

answer
104

Views

SMP SDK for iOS for development on Swift

How to establish connection to SMP server through sdk for ios development (Swift language). I have sample odataconnection file modified with necessary configurations like connection, host, port and domain and security profile. But that is for objectiveC based. Requesting similar sample code for swif...
Raj
1

votes
0

answer
65

Views

Where is a file type info in excel file structure?

In our application in SAP we have a mail sending functionality. The problem is, its an old framework and it takes only 3 characters file types for attachments. We now want to send .xlsx files. But the framework only takes first 3 characters so it works with .xls. So when a user opens an attachment h...
miskohut
1

votes
4

answer
51

Views

Create a timestamp from seperate date and time int

Im trying to create a from - to datetime range from fields in a database table. Unfortunately the fields arent saved as a timestamp. I have two entries - time in hours from midnight - date in days from 1 jan 1970 Is there a command to combine these entries so i can use a select statement and sea...
Wvs
1

votes
1

answer
301

Views

SEGW entity type without key

I am trying to create a OData service that returns user parameters found in the databasde usr05. Those can be accessed by the ABAP statement: GET PARAMETER ID 'XXX' FIELD YYY. This means, that basically do not need a key value. In SEGW it is impossible to create an entity type without one though. Th...
Erch
1

votes
1

answer
91

Views

abap count similar row values

IF ls_th_sum_lab_ndt IS not INITIAL. ls_th_sum_lab_ndt-ndt_flag = 'X'. ls_th_sum_lab_ndt-zwc_cat = 'NDT'. if there are more than 2 zwc_cat that equal to NDT change the other one to MH APPEND ls_th_sum_lab_ndt TO gt_th_sum_lab_ndt. ENDIF. Basically what I want to do: Update ls_th_sum_lab_ndt-zwc_cat...
PureAbap

View additional questions