Scripting and JSON Output With BTP, the SAP Business Technology Platform CLI
Offered By: SAP via YouTube
Course Description
Overview
Syllabus
Welcome and introduction
Logging in to our Hands-on SAP Dev account and examining btpgo
Looking at the tmux status configuration and how btpctx feeds the status
Examining the detail of btp get accounts/global-account
Different ways of grabbing a property value from the output subdomain
Reflecting on the trend of JSON output for commands that produce rich content
Our first use of --format json
Starting to use jq for the JSON data
Introducing fx to navigate JSON structures
Useless use of cat award!
Comparing the detailed global-account output of JSON vs non-JSON
Understanding the output for btp get accounts/global-account --show-hierarchy
Re-examining the bgu function and the btpguid script
Recognizing that we need to use GUIDs often
Using bgu to target subaccounts or directories
Referring to the Google Shell Scripting Guidelines, shellcheck and shfmt via https://qmacro.org/2020/10/05/improving-my-shell-scripting/
Using bash -x to look at what's going on in detail and digging into the btpguid main function
A brief look at jqte - a tmux-powered jq explorer
Taught by
SAP Developers
Related Courses
Rapid Deployment of SAP SolutionsSAP Learning 让我们开始了解SAP的创新企业解决方案 (Get to know SAP’s Innovative Enterprise Solutions)
SAP Learning ABAP Development for SAP HANA
SAP Learning Get to Know SAP’s Innovative Enterprise Solutions
SAP Learning Facilitating ERPsim: Running Successful Business Simulation Games with ERPsim (Partner Course)
HEC Montréal via SAP Learning