Preserve Python Tuples with JSON

Samual Sam
Updated on 30-Jul-2019 22:30:22

436 Views

There is no concept of a tuple in the JSON format. Python's JSON module converts Python tuples to JSON lists because that's the closest thing in JSON to a tuple. Immutability will not be preserved. If you want to preserve them, use a utility like a pickle or write your own encoders and decoders.If you're using pickle, it won't store the Python temples in JSON files but in pkl files. This isn't useful if you're sending data across the web. The best way is to use your own encoders and decoders that will differentiate between lists and tuples depending on ... Read More

Stop and Start a Tenant Database in SAP HANA

SAP Developer
Updated on 30-Jul-2019 22:30:22

2K+ Views

A SAP HANA administrator can start tenant databases either individually, or it can also be done once by starting the whole system and same is for stopping the database.To perform this, navigate to SAP HANA Cockpit -> Open the Manage Databases app -> You have to select tenant database that you want to stop or start -> Select stop Tenant Database or start Tenant Database in the footer toolbar.The database starts stopping or starting and will be completed in few minutes.

Who Maintains and Governs CSS

Samual Sam
Updated on 30-Jul-2019 22:30:22

712 Views

CSS invented by Håkon Wium Lie on October 10, 1994, and maintained by a group of people within the W3C called the CSS Working Group. The CSS Working Group creates documents called specifications. When a specification has been discussed and officially ratified by W3C members, it becomes a recommendation.These ratified specifications are called recommendations because the W3C has no control over the actual implementation of the language. Independent companies and organizations create that software.

Table Type While Importing Data from Flat File in SAP HANA

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:22

276 Views

While importing data using flat file, you can use any existing table or can also create a new table in any of schema in database.You can create a new table in any of existing schema and also define table type in next window.Under target table, you can mention if you want to use an existing table or  create a new table. Select Schema name from drop down list and enter the table name. Once you click on Next button, in next window you can select table type.

Difference Between Specification and Recommendation in CSS

karthikeya Boyini
Updated on 30-Jul-2019 22:30:22

332 Views

The CSS Working Group creates documents called specifications. When a specification has been discussed and officially ratified by W3C members, it becomes a recommendation.These ratified specifications are called recommendations because the W3C has no control over the actual implementation of the language. Independent companies and organizations create that software.The World Wide Web Consortium or W3C is a group that makes recommendations about how the Internet works and how it should evolve.

Different Services to Add to Tenant Database

SAP Developer
Updated on 30-Jul-2019 22:30:22

444 Views

Following are the main services that you may need to add to a tenant database:indexserverxsenginescriptserverdpserver

Using Header Rows During Flat File Upload in SAP HANA

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:22

291 Views

This can be done using File import option. While importing first file, you have an option to “Add columns” in new table so you can create addition columns as per column names in other CSV’s. You can also define their datatypes, length, Primary key, not null and other column properties in same window.

Connect SAP Business One with Ubercart

Sai Subramanyam
Updated on 30-Jul-2019 22:30:22

237 Views

This can be done using SAP DI server as it is using XML based format for importing data and more suitable for external data exchange. You can refer to below documentation for more details on SAP BI DI Server. https://archive.sap.com/documents/docs/DOC-7699 The DI Server enables business partners to develop SOAP-based solutions to read, write, update, and remove data objects on the database level. It provides a suitable infrastructure for server-oriented partner solutions. SAP Business One Web Services wrapper (B1WS) exposes the DI Server functionality as Web Services to provide a better usability. Developers only need to add the web references to ... Read More

Import Limited Number of Rows from CSV in SAP HANA

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:22

353 Views

Yes, this can be done using File Import option in HANA Studio.  In Import data from local file wizard, un-check the option- Import all data and you can mention Start Line and End Line value.

Running T-Code ME51N in SAP System

Syed Javed
Updated on 30-Jul-2019 22:30:22

320 Views

Try using breakpoint on my include in EXIT_SAPLMEREQ_010 and check if it gets to breakpoint on the second run.It could be possible that error gets stuck due to standard SAP procedure. Try to run this T-code: me51n in different environments and check if it works fine.

Advertisements