US 11,816,424 B2
Conditional save of draft enabled business objects
Vivek Vishal, Bangalore (IN)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Oct. 25, 2021, as Appl. No. 17/509,618.
Prior Publication US 2023/0128296 A1, Apr. 27, 2023
Int. Cl. G06F 17/00 (2019.01); G06F 40/174 (2020.01); G06F 16/16 (2019.01); G06Q 10/105 (2023.01)
CPC G06F 40/174 (2020.01) [G06F 16/164 (2019.01); G06Q 10/105 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for storing draft objects, the method comprising:
generating, by a processor, a form comprising a plurality of data fields;
determining, by the processor, that the plurality of data fields are draft-enabled wherein in response to an update to a value of a respective one of the plurality of draft-enabled data fields in a user interface, the update is saved as a temporary record in a temporary draft table for a predetermined period of time after which the temporary record is deleted, wherein each of the plurality of data fields includes a respective attribute indicating whether the data field is draft-enabled;
detecting, by the processor, an event of a plurality of events associated with the form, wherein one or more data fields of the plurality of data fields that are draft-enabled are to be written to a storage device for temporary storage responsive to a detection of the event for the predetermined period of time;
identifying, by the processor, a first data field of the one or more data fields for which draft-enablement is to be removed;
generating, by the processor, metadata for the first data field removing the draft-enablement; and
storing, by the processor, a draft of each respective attribute for each of the one or more data fields, excluding an attribute for the first data field in the storage device.