macro put part or assembly name in property of konfiguration

I need a macro.

It should writing the part file number or assembly file number in to the costum property konfiguration with name "SAP_MaterialNumber". Has anyone an idea?

SolidworksImport export