sap

SAP, IIS and SSO - Kerberos SSPI not usable with this User account

此生再无相见时 提交于 2019-12-24 14:54:28
问题 My goal is to let intranet user's credentials pass through a asp.net webpage to an SAP RFC. Background We have SAP SSO setup with our AD system. Users can open the SAP gui and login without entering a username/password. We are using ERPConnect to call RFCs in SAP. If we supply credentials to the connection string it works great. We can also use the following code below to use SSO if the webpage is running on our local machine. Dim db As New SAPContext("ashost=sapsandbox.xxxsap.ad.xxx.com snc

cl_salv_bs_runtime_info=>get_data_ref() returns no data

核能气质少年 提交于 2019-12-24 14:23:55
问题 I have this code, which works very nice for a lot of reports: if IV_SELECTION_SET_VARIANT is INITIAL. SUBMIT (IV_REPORT_NAME) WITH SELECTION-TABLE selection_table AND RETURN. ELSE. SUBMIT (IV_REPORT_NAME) WITH SELECTION-TABLE selection_table USING SELECTION-SET IV_SELECTION_SET_VARIANT AND RETURN. endif. FIELD-SYMBOLS <lt_data> TYPE ANY TABLE. FIELD-SYMBOLS <lt_data_line> TYPE ANY TABLE. DATA lr_data TYPE REF TO data. DATA lr_data_line TYPE REF TO data. DATA lr_data_descr TYPE REF TO cl_abap

Suppress duplicated entries in a table

不问归期 提交于 2019-12-24 12:15:39
问题 How do i suppress duplicate entries in both classical (write) and ALV report? I was given a task to write a simple report with this criteria. I tried to google but could not succeed with any of their solutions and need help. Below is the expected result. original report: -------------------------------------- |Sales Org | Dist.Channel | Division | -------------------------------------- |1000 |10 |00 | |1000 |10 |00 | |1000 |10 |00 | |1020 |22 |00 | |1020 |22 |00 | ----------------------------

How to skip mandatory fields on ABAP

六眼飞鱼酱① 提交于 2019-12-24 11:54:17
问题 I want it to skip mandatory fields when i clicked on 'İptal' button . But i don't want to control mandatory fields without "obligatory" . I want to see check mark in textboxes like screenshot. Normally 'İptal' button calls a different screen when there is no mandatory fields. Note: Screens are standard selection screens. 回答1: What you need to do is have a function code assigned to the pushbutton on the screen that has the function type "Exit". Then you can use the event AT SELECTION-SCREEN ON

Hybris : How to import media which is in the zip file in impex?

瘦欲@ 提交于 2019-12-24 11:31:25
问题 I know we can import images which are not zipped like this $siteResource=jar:com.project.initialdata.constants.ProjectInitialDataConstants&/projectinitialdata/import/sampledata/images/brand INSERT_UPDATE Media ; code[unique=true] ; mediaFormat(qualifier) ; realfilename ; @media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator] ; mime[default='image/jpeg'] ; catalogVersion(catalog(id),version)[unique=true,allownull=true] ; logo-molinard.jpg ; ; Molinard_logo.jpg ;

VBA 2010 - Hide all SAP windows using .iconify

筅森魡賤 提交于 2019-12-24 11:12:00
问题 below is code I have found online to log in to SAP to export data using VBA. I have tailored it to work for what I need it for and it works great. Just one problem, I can't seem to figure out how to hide ALL windows (including the Logon window) using .iconify. I have basically added Session.findById("wnd[0]").iconify or Session.findById("wnd[1]").iconify throughout the code; seems excessive. Most windows will flash open, then hide, but there are some that don't. It would be nice if there was

trouble using excel macro for access to sap

只谈情不闲聊 提交于 2019-12-24 10:54:25
问题 I am trying to make a macro in excel that will log me on to SAP, the code I have gives me a popup window confirming my information however when I submit the form it does not take me to a new SAP window. Is there extra code I am missing or did i type something wrong? Additionally is there a way to automate all the popup boxes asking for confirmation on my information, as I want this code eventually to run at certain times of the day, and I might not be available to input any data. Sub login1()

Hide Header Section After Last Record

时光毁灭记忆、已成空白 提交于 2019-12-24 08:28:13
问题 I have a crystal report, whenever I reach the last record, it will print another extra page together with the header. see the attachment below: this is extra page, always appear together with the header section after last record I applied formula to the Detail Section and Header Section at the supress. Detail Section: WhilePrintingRecords; Global BooleanVar finished; finished := OnLastRecord Header Section: Global BooleanVar finished It seems working for the layout, but when the extra page is

What does the generate authorization process do and what is a Profile?

旧时模样 提交于 2019-12-24 08:13:52
问题 While trying to understand the Authorization concept in SAP, I came across the stage where an Authorization is 'generated' resulting in a profile number. Now I've the following questions: Q1. What is the meaning of 'generating' an authorization. What new does the button actually do because we already have allocated an authorization object to a class. I think this only should serve the purpose of allocating this authorization to a user? Q2. What is a profile? Thanks! 回答1: "Profiles" are the

How to Logon on SAP with SSO via VBS?

老子叫甜甜 提交于 2019-12-24 07:58:46
问题 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 happens in the SAP GUI; Hostame 'PRD' unknown Line: 896 Method: NiPGetHostByName: 'PRD' not found Can anybody help me? Option Explicit Dim WSHShell, SAPGUIPath, SID, InstanceNo, WinTitle Set