Hello Ashwin,
Thanks for the reply.
To be more specific , user will click on the button download from UI5 .Button action is to generate the excel with the pre filled data coming form backend.Hope this clears your point.
Hello Ashwin,
Thanks for the reply.
To be more specific , user will click on the button download from UI5 .Button action is to generate the excel with the pre filled data coming form backend.Hope this clears your point.
Hi Ashwin,
The code in this standard class loads the number of worksheets based on the relations which depend on the call type being passed. I have tried changing call type to another value but still I am getting the additional sheet.
TRY.
cl_fdt_xl_spreadsheet=>if_fdt_doc_spreadsheet~create_document(
EXPORTING
itab = lr_data_ref
iv_call_type = 2
name = lv_file_name
iv_sheet_name = lv_file_name
RECEIVING
xdocument = cv_xstring ).
CATCH cx_fdt_excel_core .
ENDTRY.
Regards,
Nishant Arora
Hi,
I would like to use a BI query as oData service. When I save the query (with By OData checked) I cannot find the service in the GW (that is running on the same system.) I already followed the steps:
1. Activate Gateway
1. In Customizing (transaction SPRO) choose Start of the navigation path SAP NetWeaver > Gateway > OData Channel > Configuration > Activate or Deactivate SAP NetWeaver Gateway End of the navigation path.
2. A dialog box appears. Choose Activate.
2. Define the system alias LOCAL for Gateway
(This step is only necessary if a system alias LOCAL has not yet been defined.)
1. In Customizing (transaction SPRO) choose Start of the navigation path SAP NetWeaver > Gateway > OData Channel > Configuration > Connection Settings > SAP NetWeaver Gateway for SAP System > Manage SAP System Alias End of the navigation path.
2. Create a new entry with the following values:
Field | Value |
SAP System Alias | LOCAL |
Local GW | Selected |
RFC Destination | NONE |
Software Version | DEFAULT |
3. Save the entry.
The Query Designer shows a message: Info: BW_BICS_EQ 128 but I cannot figure out what it means.
The error_log shows nothing.
What is the point that I can start searching for the problem? Because there is nothing in the logs. I can call some std. services (so gw should be active) and there is just this BW_BICS_EQ 128 failure where I don't know what it means.
Regards, Vanessa
I think You need to register this service in Gateway system using transaction /IWFND/MAINT_SERVICE
I cannot find the service in the GW
I would ... if I could find the service. If I want to add the service I don't see the service.
Are your Gateway and BW in the same system ?
Hi guys,
I am developing a gateway method to call a RFC on the backend. When I execute the service on Gateway Client, it calls the methods below at this order:
Class:
/ITSTGW/CL_ST10_ORDER_DPC_EXT
Methods:
1 - /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_BEGIN (cv_defer_mode = abap_true) - to inform the framework that it can process all changeset operations at once
2 - /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_PROCESS (check the type of the changeset to call the method below)
3 - HANDLE_CHANGESET_CREATES (find the RFC destination and call the RFC on the backend)
4 - /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_END (ends the execution and return to the client)
In the third method when I try to find the RFC destination name, a dump is thrown.
Code:
DATA lo_dp_facade TYPE REF TO /iwbep/if_mgw_dp_facade.
DATA LV_DESTINATION type RFCDEST.
* Get RFC destination
lo_dp_facade = /iwbep/if_mgw_conv_srv_runtime~get_dp_facade( ).
lv_destination = /iwbep/cl_sb_gen_dpc_rt_util=>get_rfc_destination( io_dp_facade = lo_dp_facade ).
When it executes the first line, it obtains: 'FREED STACK'. That is the problem.
When I put the same code in another method of the same class, it works fine.
Dump:
SYSTEM_DATA_ALREADY_FREE
/IWBEP/CL_MGW_DP_FACADE=======CP
Call of service/sap/opu/odata/NAMESPACE/PM_ORDER_SRV/$batchterminated because of an error. The following error text was processed in system :Accessing data that has already been released is not permitted.
Any thoughts guys?
Thank you very much,
Danilo
yes
SAP NetWeaver 7.40
SAP_BW 740 0007
SAP_BASIS 740 0007
SAP_GWFND 740 0007
BW_BICS_EQ 128 is really just an info. Confusing that this is not maintained in the system.
Add service is not showing the service. If I want to redefine the service in segw I cannot find BW services but MDX services. There isn't something to see in the transports that looks like gateway artifacts or something like that.
Maybe Andre Fischer has an idea? :-)
After debugging the problem seems to be on the gw customizing.
cl_bgrfc_destination_inbound=>create( if_eq_constant=>n_c_bgrfc_dest_name ). throws an exception.
Hi,
I am trying to create a bi query as odata service. When I create the service the system gets an exception when it tries to create the bgrfc destination inbound ( TBX: SBGRFCCONF ). The BI query service should be created on the same system as the gw is running.
Where is the step/activity/step in the gateway configuration to maintain the bgrfc?
Regards, Vanessa
Hi,
Go through this link, it will help you. It is showing how to create a bgrfc destination in gateway in SPRO .
Creating a bgRFC Supervisor Destination - SAP Gateway Foundation (SAP_GWFND) - SAP Library
Regards
Ashish
Hello Ashwin,
Perfect, at this mode it worked very smoothly!
Thank you very much!
Regards,
Danilo
Hello Krishna,
Yes, I created this method. What you mentioned is exactly what is happening, losing the reference.
I had already tried to do the call in both changeset_begin and changeset_process, but for some reason the same occurs.
I could solve changing the way of calling, as Ashwin mentioned above.
Thank you very much for your help, really appreciate!
Regards,
Danilo
Hi Rakshit,
Did you get the solution to your issue ? Please let me know.
Regards,
Navin
Hi Ashish,
thanks for the link. My problem is more that I don't understand what and why I have to do there something. I am working with GW on several systems and table BGRFC_REG_I_DEST is always empty. But in the coding to create the queries for odata it is neccessary to have at least one entry. Following the instructions in the documentation has no influence.
I followed the guide: Maintaining Inbound bgRFC Queue on the Hub System - SAP NetWeaver Gateway - SAP Library and created an inbound queue but the table BGRFC_REG_I_DEST is still empty and the problem with RSEQ_NAT_START_GENERATION -> RSEQ_NAT_START_GENERATION still exists and throws an exception. CL_BGRFC_DEST_HELPER class -> GET_DEST_INBOUND has the problem with the empty table. BTW: I use QD_EQ_LOCAL as destination. But is this really the way it should be? I can see the entries in the monitor but they are not processed even if I use the scheduler.
Why do I need it even if BI and GW are running on the same system? Is it really neccessary or is it possible that I am doing something else wrong and this is just the consequence? cc Andre FischerCarsten BoennenVolker Drees
Regards, Vanessa
We are running on 7.4/11
Hi Krishna,
The content of lr_data_ref is the reference to the internal table which has the contents to be passed. Do I need to check anything else apart from that.
Thanks in advance.
Regards,
Nishant
Sorry, my mistake was that I didn't redefine the method. I implemented the DPC-Class instead of DPC_EXT.
Hello,
in our Datamodel are fields with NUMC of langth 9 and 10. I have assigned Edm.Int32 and Edm.Int16. In both cases I get an error while generating runtime artefacts. If I generate the artifacts anyway my requests to the service dumps with error message:
Im Programm "/VWK/CL_SB_PROCESS__01_DPC_EXTCP " ist im Include "/VWK/CL_SB_PROCESS__01_DPC_EXTCM003 " in Zeile 24 der folgende Syntaxfehler aufgetreten: Das Datenbankfeld oder der Ergebnistyp der Aggregatfunktion GUFID und die Komponente "ID" von "ET_ENTITYSET" sind nicht kompatibel.