In your console enter: graphctl activate config -f Step 4: Activate the configuration of the business data graph Just for fun, let’s change just one small thing: go ahead and replace the default string “ v1″ in line 2 with something else, for instance “ dev”. You can also learn more about this topic in the documentation on Help Portal. In more complex use cases, it may need to be tweaked. Often, the generated default configuration file, based on heuristics, is all you need. For instance, lines 28-30 specify that entities within the sap.graph namespace default to the “ s4″ data source, unless overwritten by a more specific rule, such as the rule in lines 32-34, which specify that sap.graph/CorporateAccount will actually be found in the “ cxsales” data source. This part specifies the rules that determine where SAP Graph looks for data. Lines 5-16 show the discovered data sources, based on the two destinations we created in part 5 of the tutorial series. Here is what the first few lines look like: ![]() The graphctl tool has generated a default business data graph configuration file. It may take some time for the configuration output to be generated. In your console enter: graphctl generate config -f ![]() The generated configuration file is effectively a recommended default configuration, that you can choose to adapt or fine tune. Now is when the unique business data graph is constructed through a discovery of the landscape. Step 3: Generate the SAP Graph configuration file Upon successful authentication you will see:Ĭlose the browser window and return to the console. Enter: graphctl login -f Ī browser tab or window will open and require you to log in. Provide the credentials text file that you generated previously as a parameter to the login command. Step 2: Log into the SAP Graph configuration tool Open a console (here we will use Windows and have created the subdirectory C:\demo, but this also works on other operating systems) and enter: npm i -g check that the installation was successful, enter: graphctl -v Step 1: Install the SAP Graph configuration tool (graphctl)
0 Comments
Leave a Reply. |