on 2025 Mar 26 5:12 PM
Hi Folks,
we have a scenario to call a BOPF Multi Node Instance Action(Approval) for the Invoices from FIORI List report application, we were successfully able to use the ODatamodel FunctionImport method for the single node BOPF->CDS View instance however when trying to use the MultiNode instance of the BOPF action, end up into error, Kindly guide what would be the best way to have the ODatamodel function Import method handling Multi Node Instance BOPF action.
Request clarification before answering.
Good Afternoo
My Name is Raquel - Brazil
Yes! In the SAP R/3 system, you can create line charts using the SAP standard graphical class or by exporting data to Excel for visualization.
SAP provides the cl_gui_chart_engine class, which allows you to generate charts directly within the system.
Example of ABAP code using cl_gui_chart_engine:
DATA: gr_chart TYPE REF TO cl_gui_chart_engine,
gr_container TYPE REF TO cl_gui_custom_container,
gt_data TYPE TABLE OF chart_sdata,
gs_data TYPE chart_sdata.
" Criar container para exibir o gráfico na tela
CREATE OBJECT gr_container
EXPORTING
container_name = 'GRAPH_CONTAINER'.
" Criar instância do gráfico
CREATE OBJECT gr_chart
EXPORTING
parent = gr_container.
" Adicionar dados ao gráfico
gs_data-value = 100.
gs_data-category = 'Jan'.
APPEND gs_data TO gt_data.
gs_data-value = 150.
gs_data-category = 'Fev'.
APPEND gs_data TO gt_data.
gs_data-value = 200.
gs_data-category = 'Mar'.
APPEND gs_data TO gt_data.
" Configurar o gráfico
gr_chart->set_data( EXPORTING dataset = gt_data ).
gr_chart->set_chart_type( EXPORTING chart_type = 'LINE' ).
gr_chart->refresh( ).
This code creates a line chart within a SAP GUI container.
If the chart is complex or needs to be viewed outside SAP, you can generate an ALV report, export the data to Excel (ALV -> Export -> Spreadsheet), and create the chart in Excel.
If the company is using SAP Fiori and S/4HANA, another option is to build a Fiori application with SAP UI5 and display charts using libraries like VizFrame Charts.
"Good luck!!
I hope I helped!!!" 🚀😊
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.