Search code examples
sap-commerce-cloudimpex

How to update all instance of an item type with an ImpEx without using unique modifier?


I need to update all instance of an item type (for exemple Employee) but I don't want to update each row using the uid[unique=true] ?


Solution

  • It's possible to do this with the modifier [batchmode=true]. Because you still have to include an unique attribute, you have to set the item that will be updated.

    UPDATE Employee[batchmode=true];itemtype(code)[unique=true];myAttribute
    ;Employee;""