sap

How to save Thread instance in a database using java

匆匆过客 提交于 2020-06-29 05:34:05
问题 This is SAP PI requirement, Source System: XY_Client Middleware: PI System Target system : SAP The XML files are received to the PI system, for each XML file an internal file is generated to keep track of store_number, and count of xml files. How it works: suppose if XML_FILE_1 reaches PI, internal file called sequence_gen is created. the file contains the store number present in XML file and count will be initialized to 1. so first time, sequence_gen file contains Store: 1001 Count:1 (after

restrict addEventDelegate to parent hbox only

时间秒杀一切 提交于 2020-06-29 04:21:34
问题 This is a custom control created for my previous question Custom font for currency signs I have two span elements coming next to each other. They sit in the FormattedText . The FormattedText itself sits in the HBox . I want popover fired when user mouses over/out from the hbox . Unfortunately, as I have 2 spans this fires separately when user hovers overs them (thus showing 2 separate popovers, when in fact it should be one). My assumption is that this causes because onmouseover/out is

restrict addEventDelegate to parent hbox only

我的未来我决定 提交于 2020-06-29 04:21:09
问题 This is a custom control created for my previous question Custom font for currency signs I have two span elements coming next to each other. They sit in the FormattedText . The FormattedText itself sits in the HBox . I want popover fired when user mouses over/out from the hbox . Unfortunately, as I have 2 spans this fires separately when user hovers overs them (thus showing 2 separate popovers, when in fact it should be one). My assumption is that this causes because onmouseover/out is

How to get universe,classes,objects,report names, report fields from sap using java

♀尐吖头ヾ 提交于 2020-06-29 03:34:47
问题 i am able to connect SAP BO server via java (SDK) after this i don't know queries to get all BO Metadata (universe name,classes,objects,report names,report variables separately like oracle) as i need store all bo metadata into my local db(mysql) from BO server. I am new to SAP BO. i was struck on this. please suggest any one on this.All leads are appreciable. public static void main(String[] args) throws Exception { IEnterpriseSession enterpriseSession = null; try { // Establish connection

Control for displaying level of cost with currency signs

寵の児 提交于 2020-06-27 03:50:06
问题 This might be an opinionated question, but I'd like to ask it because capabilities of UI5 are quite broad. I need to have these elements as To which I am planning to introduce a custom font. Do you think it's a good solution or is there any better way to do that with some out of the box solutions? 回答1: What you're looking for is sap.m.RatingIndicator . <RatingIndicator editable="false" maxValue="6" value="4" iconSelected="imageOrIconURI1" iconUnselected="imageOrIconURI2" /> API reference

Disable a parameter input at selection screen

家住魔仙堡 提交于 2020-06-23 06:53:08
问题 I have screen filter at selection screen like this SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME. PARAMETERS s_werks like resb-werks DEFAULT 'X' . SELECT-OPTIONS: s_aufnr FOR in_param-aufnr, s_matnr FOR in_param-matnr, s_bldat FOR in_param-bldat. SELECTION-SCREEN END OF BLOCK a. and I want to disable just s_werks parameter but SELECT-OPTIONS . I want to disable it because it'll be exact value which is filled from table depends on the sy-uname :) How to achieve that? 回答1: You can use the OUTPUT

Get CUIDs of all all the reports

早过忘川 提交于 2020-06-17 09:52:05
问题 How can I capture CUIDs of all reports available in CMC (Central management Console) or WEBI tool and paste it in Excel? Manually I can check by viewing each report properties but if I want all the CUID to be captured with out manually through coding Is that possible? Can this be done in Java language? 回答1: Not mine, but hope it can help you : Here is the sample Java code to export a Web Intelligence document to CSV format. import java.io.BufferedReader; import java.io.BufferedWriter; import

Call SAP methods from Java

荒凉一梦 提交于 2020-06-13 09:42:23
问题 I am trying to make a connection with the sap systems and I have all the connection properties which are required in order to do so. I am trying my best but I am facing some issues I have no idea how to resolve. All I need is a simple code example by which I will be able to integrate my java app with the sap systems. I have gone through some websites but could not find a solution for making the connection with the sap system. I am trying with the below code but i do not know that what to

Call SAP methods from Java

人盡茶涼 提交于 2020-06-13 09:41:16
问题 I am trying to make a connection with the sap systems and I have all the connection properties which are required in order to do so. I am trying my best but I am facing some issues I have no idea how to resolve. All I need is a simple code example by which I will be able to integrate my java app with the sap systems. I have gone through some websites but could not find a solution for making the connection with the sap system. I am trying with the below code but i do not know that what to

Call SAP methods from Java

一个人想着一个人 提交于 2020-06-13 09:40:36
问题 I am trying to make a connection with the sap systems and I have all the connection properties which are required in order to do so. I am trying my best but I am facing some issues I have no idea how to resolve. All I need is a simple code example by which I will be able to integrate my java app with the sap systems. I have gone through some websites but could not find a solution for making the connection with the sap system. I am trying with the below code but i do not know that what to