SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →Reference

SAP-samples/abap-alv-google-upload-sheet

Sample code that exports SAP GUI ALV grid data directly to Google Drive, where it appears in Google Sheets, with the OAuth, endpoint and ALV configuration around it described in SAP's own guide.

Shows how ALV grid data is exported from SAP GUI directly to Google Drive, where the exported snapshot then appears automatically in Google Sheets. The repository is an archive of sample source code, cloned or imported into an SAP system with the abapGit client; the configuration around it is the work, and SAP's own guide, Export of ALV Grid Data to Google Sheets, carries a chapter each for the Google API endpoint, a Service Provider Type for Google, an OAuth 2.0 client profile, the access to the Google APIs, the connection check and the ALV ABAP administration. It is available only for certain SAP NetWeaver support packages, named in SAP note 2592115, and after that support package the README calls it "mandatory" to implement note 2624404, the ALV GUI BAdI export integration corrections.

Facts

Last pushLicenceApache-2.0

Where it sits

Lives in
Demonstrates
Importing and exporting table dataABAPImporting and exporting table datacapabilityGetting a file somebody supplies, a spreadsheet, a CSV or a JSON dump, into tables with its columns mapped and its values checked, and getting table content back out as a file. Data shipped with an application for development and demonstration is [seed data](capability:seed-data).

Who is behind it

SAP SamplesSAP SamplesOrganisationMaintains this
In the atlas: maintains 222
@SAP-samples
maintainerAboPersonContributes to this
In the atlas: contributes to 8
@AndreaBorgia-Abo
Brian BernardPersonContributes to this
In the atlas: contributes to 64
@btbernard
Jakub FilakPersonContributes to this
In the atlas: contributes to 4
@filak-sap
Jonathan BakerPersonContributes to this
In the atlas: contributes to 9
@jonathanbaker7
KDS042PersonContributes to this
In the atlas: contributes to 1
@KDS042
KDS42PersonContributes to this
In the atlas: contributes to 2
@KDS42
Sebastian MachhausenPersonContributes to this
In the atlas: contributes to 1
@SAPSM
7 contributors

Before choosing this

Conditions

PracticalFunctional boundary

Not where SAP's own Google Workspace integration already applies: the README opens by announcing a native integration between Google Workspace and SAP S/4HANA, whose first set of features is included in SAP S/4HANA Cloud 2208 and SAP S/4HANA 2022 and needs an additional licence for the SAP Document Management Service. Not where end users cannot each hold a regular Google account, since there is no way to use an enterprise account or to log on to Google Drive through single sign-on, and not where the redirect URL Google calls cannot reach a public top-level domain server. No SAP standard support is provided for it.

What it declares

Every artifact

Type
Sample
Origin
By SAP
Use as
A reference

As a sample

Form
does not say

Connections1

SAP-samples/abap-alv-google-upload-sheet connectionsSAP-samples/abap-alv-google-upload-sheetPROVIDES→ demonstrates1demonstrates authoredImporting and exporting table data

README

quoted from SAP-samples/abap-alv-google-upload-sheet under Apache-2.0, read
SAP-samples/abap-alv-google-upload-sheet/README.mdOn GitHub

REUSE status

Integration of Google Sheets into ABAP List Viewer

Important note before starting your project setup/configuration

We are happy to announce that Google Cloud and SAP have expanded their partnership to enable a native integration between Google Workspace and SAP S/4HANA. Our customers now have the possibility to export data from all important UI Tables to Google Sheets as well as a table import from Google Sheets to the Upload General Journal Entries application. This initial set of features is included in SAP S/4HANA Cloud 2208 and S/4HANA 2022, leveraging an SAP Business Technology Platform service (additional license required: SAP Document Management Service, integration option).

Please feel free to check out our public documentation and set-up guide as well as our blog posts:

Project Description

This project comprises an archive containing sample source code for the integration of Google Sheets into the ABAP List Viewer (ALV) component. Thus, this sample code helps you to implement and configure the export of ALV grid data from SAP GUI directly to Google Drive and display exported data snapshots automatically in Google Sheets.

Minimum Requirements

  • This functionality is only available for certain SAP NetWeaver support packages, see note 2592115.
  • After installation of the corresponding Support Package, it is mandatory to implement note 2624404 (ALV GUI: BAdI Export Integration Corrections).

Download and Installation

Proceed as follows to make best use of the sample code:
  1. Clone the repository or use the abapGit client to import the sources into your SAP system.
  2. Setup the Google API Endpoint (see chapter 2.2 in Export of ALV Grid Data to Google Sheets )
  3. Create a Service Provider Type for Google (see chapter 2.3.1 Export of ALV Grid Data to Google Sheets)
  4. Create an OAuth 2.0 Client Profile (see chapter 2.3.6 Export of ALV Grid Data to Google Sheets)
  5. Configure the Access to Google APIs (see chapter 2.4 Export of ALV Grid Data to Google Sheets)
  6. Check the Connection (see chapter 2.5. Export of ALV Grid Data to Google Sheets)
  7. ALV ABAP administration (see chapter 3.2 Export of ALV Grid Data to Google Sheets)

Configuration Guide

See the full documentation Export of ALV Grid Data to Google Sheets available in the SAP Community.

Limitations

  • The redirect URL called by Google requires a public top level domain server.
  • There is no way to use an Enterprise account or logon to Google Drive via SSO – every end user needs a regular Google account.

Known Issues

None.

How to obtain support

No SAP standard support provided: Consult SAP note 2896606 for details.

You can ask your questions concerning this functionality in the SAP Community. Please, use ABAP Development as primary tag and choose alv as additional user tag.

You find an overview of all ALV questions under: https://answers.sap.com/topics/alv.html.

Contribution

An SAP Code Sample such as this is open software but is not quite a typical full-blown open source project. If you come across a problem, we’d encourage you to check the project’s issue tracker and to file a new issue if needed. If you are especially passionate about something you’d like to improve, you are welcome to fork the repository and submit improvements or changes as a pull request.

License

Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

Note that the sample code includes calls to the Google Drive APIs which calls are licensed under the Creative Commons Attribution 3.0 License (https://creativecommons.org/licenses/by/3.0/) in accordance with Google's Developer Site Policies (https://developers.google.com/terms/site-policies). Furthermore, the use of the Google Drive service is subject to applicable agreements with Google Inc.

Apache-2.0, read

Details

Sources3
GitHub organisations and accountsdiscovered herechecked
github.com/SAP-samples/abap-alv-google-upload-sheettree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaGitHub organisations and accounts
first seen in the atlas
ecosystem and domainabap, data-and-persistence
abaplint
issues under its own abaplint configuration520
lines2,220
statements1,410
objects19
files27
analysed, main
abaplint version2.120.84
Flavors1
Standard ABAP
“this sample code helps you to implement and configure the export of ALV grid data from SAP GUI directly to Google Drive and display exported data snapshots automatically in Google Sheets.” — SAP-samples/abap-alv-google-upload-sheet — README, Project Descriptionchecked
Contributors7

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:sap-samples-abap-alv-google-upload-sheet
JSON
/artifacts/sap-samples-abap-alv-google-upload-sheet.json
MCP
Connecting an agent