====== SetTargetFrameVariable ====== The function SetTargetFrameVariable() uses the arguments variable name and variable value to be saved within the frame variable. {{:images:sign_warning.png?nolink|}}**Note:** This function can only return useful results when the target object of a mapping has been triggered. This means that the function must be used at the appropriate point in the mapping. ==== Syntax: ==== SetTargetFrameVariable('FrameVariableName', 'value') ==== Sample: ==== SetTargetFrameVariable('eBiss.DocumentVars.FileName', 'MeineDatei.dat') {{:images:sign_warning.png?nolink|}}**Note:** So that the file name set above for the file in the message is set, the parameter **Generation File name** must be set to **Standard** for the [[en:prozessdefinition:repositorien:kontainerisierer:start]] \\ SetTargetFrameVariable('eBiss.DocumentVars.Subject',concat('Rechnung Nr.:',@DocNumber)) SetTargetFrameVariable('eBiss.DocumentVars.AttachmentContentType','Text') ===== Available document variables ===== {{:images:sign_warning.png?nolink|}}**Note:** See the list off [[en:transformation:mappings:framevariables]]. {{:images:sign_warning.png?nolink|}}**Note:** If you want to change the frame of the source document, use the function [[en:transformation:mappings:funktionen:schreibfunktionen:setframevariable]].