sap

Orbeon Single sign-on to SAP Netweaver

荒凉一梦 提交于 2019-12-12 00:21:46
问题 We have setup Orbeon 4.0 beta 3 on SAP Netweaver 7.3 with custom persistancy layer. This layer is created on Netweaver with this in mind: http://wiki.orbeon.com/forms/doc/developer-guide/form-runner/persistence-api Basic CXF webservices which acts as a proxy to the SAP Backend where we store the form and data. Connection to the backend is made via SAP HTTPDestination. This setup works as long as authentication is turn off in web.xml etc. The next step was to enable this with SSO in mind. So

How to update SAP DB from Asp.net App

淺唱寂寞╮ 提交于 2019-12-11 20:33:43
问题 I have a asp.net web app and i want to update SAP whenever a particular transaction happens with my asp.net app. I want to know if any SAP API or Web Service available from SAP using which i can update SAP . If anyone knows it plz let me know. Thanks, Chandan 回答1: Well, I can talk only for R/3 but I'll make my best shot. You can make inserts, updates and deletes to SAP tables through IDOCs, webservices, 3rd party SAP Connectors and intermediate tables. An IDOC is an SAP standard document

Where can I find the names of currency sub-divisions such as cents, centimes,

冷暖自知 提交于 2019-12-11 19:43:25
问题 This should be useful for anyone who needs to write out amounts in words in SAP. I need to convert an amount, e.g. $100.15, into words ("One hundred dollars and fifteen cents"). For the amount, I use function module spell_amount, which gives me "one hundred" and "fifteen". The name of the currency is easily found in table TCURT. Where can I find the name of the currency subdivision? 回答1: I think there is no such table. There are already some discussions about it (e.g at SCN: Table for

How to enable a SAP FM or BAPI for XML-RPC or SOAP access

走远了吗. 提交于 2019-12-11 19:39:02
问题 I just created a Function Module, made it Remote-Enabled, and now I want to invoke it via XML-RPC over HTTP. I'm on SAP NetWeaver App Server ABAP v7 . What other configuration is required in order to expose my FM over XML-RPC? How do I configure the end-point URL and all that? Many thanks. 回答1: There are several explanations on the subject in on SDN, as here and here which describe the generation of a webservice from a function module, and here, which describe the basic webservice

Is there a better alternative to sap.ui.commons.layout.MatrixLayout?

白昼怎懂夜的黑 提交于 2019-12-11 18:36:36
问题 What's the best way to do a layout where the start content is fixed, the center is flex and the end content is fixed? Like a 100% wide HBox with three columns, first and last col are fixed and the center stretches? This is how I do it by now, can I avoid using sap.ui.commons.layout.MatrixLayout ? new sap.ui.commons.layout.MatrixLayout({ layoutFixed: true, columns: 3, width: '100%', widths: [ '100px', '100%', '100px' ], rows: [ new sap.ui.commons.layout.MatrixLayoutRow({ cells : [ new sap.ui

Why is r_data_line_descr of cl_salv_bs_runtime_info=>get_data_ref() not bound?

你说的曾经没有我的故事 提交于 2019-12-11 18:26:23
问题 I have this code, which has been working very nice for several months now: SUBMIT (IV_REPORT_NAME) WITH SELECTION-TABLE selection_table USING SELECTION-SET IV_SELECTION_SET_VARIANT AND RETURN. 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_datadescr. DATA lr_data_line_descr TYPE REF TO cl_abap_datadescr. cl_salv_bs_runtime_info=>get_data_ref(

SAP - RFC Returns Pointer to Data Instead of Data Itself

强颜欢笑 提交于 2019-12-11 18:23:09
问题 I am running a RFC to get data from SAP. When I run this RFC, it appears that I get a pointer to the data, rather than the data itself. <ET_RETURN>BAPIRET2_</ET_RETURN> It appears that this BAPIRET2_ is some data set name or pointer. I want the data within this BAPIRET2_ dataset. Is there any way to get the data itself? Tim EDIT: The RFC is: FUNCTION z_esrv_offer_getlist. *"---------------------------------------------------------------------- *"*"Local Interface: *" IMPORTING *" VALUE(IV

Conditional update on Hana Studio (SQL Script) trigger

核能气质少年 提交于 2019-12-11 18:15:14
问题 I have two example tables: TABLE1: ID | COLUMN_B| COLUMN_C _________|_________|_________ 1 | 0 | 1 ________|_________|_________ 2 | 0 | 1 ________|_________|_________ 3 | 0 | 1 TABLE2: ID | COLUMN_E| COLUMN_F ________|_________|________ 1 | Y | X ________|_________|_________ 2 | Y | X ________|_________|_________ 3 | Y | X What I would like to do is to write a trigger on Hana Studio using SQL Script to update column E from table 2 when column B from table 1 is updated to a specific value (let

Modifying EKPO Fields in ME21n - ME_PROCESS_PO_CUST BADI

早过忘川 提交于 2019-12-11 17:50:04
问题 I am trying to modify the values of field WEORA and BSTAE in ME21n upon saving. I've written my codes in ME_PROCESS_PO_CUST BADI, in method CHECK. Below is my code. DATA: lt_data TYPE PURCHASE_ORDER_ITEMS, lo_header TYPE REF TO CL_PO_HEADER_HANDLE_MM, lt_item TYPE REF TO IF_PURCHASE_ORDER_ITEM_MM, ls_get_item TYPE MEPOITEM, ls_set_item TYPE MEPOITEM, lv_firewall TYPE abap_bool. FIELD-SYMBOLS: <fs_data> TYPE PURCHASE_ORDER_ITEM. lt_data = im_header->get_items( ). READ TABLE lt_data ASSIGNING

How do I use substring in OpenSQL ABAP WHERE clause?

允我心安 提交于 2019-12-11 16:47:22
问题 My expression in OpenSQL is: SELECT * FROM J_1BNFLIN AS B WHERE SUBSTRING(REFKEY , 1 , 10 ) The substring portion of the where clause is not working. What am I doing wrong? 回答1: You can use LIKE in the WHERE condition. For example: DATA: gv_refkey TYPE j_1bnflin-refkey. gv_refkey = '123%'. SELECT * INTO TABLE ... FROM j_1bnflin WHERE refkey LIKE gv_refkey. This will select all entries where the field refkey starts with '123' (pls. note a % is used as wildcard) 来源: https://stackoverflow.com