Skip to Content
0
Jan 21, 2019 at 10:16 AM

[Sap By Design] Save BO instance immediately after creating BO instance

48 Views Last edit Jan 22, 2019 at 06:49 AM 2 rev

Hello all,

Save action are automatically committed after script file complete. But in my context, I need saving instance immediately after creating instance. Can it possible ?

var ack: elementsof PurchaseOrderAcknowlegment;   

ack.SaleOrderID.content = this.ID.RemoveLeadingZeros().content;   

PurchaseOrderAcknowlegment.Create(ack);   

// need to save "ack instance" immediately here

Thanks and best regards,

Quyen