Question -------- Mapping: In my formula, I am using a "program calculated variable" (for example, the generic format of this variable might be |VC:CHAR-VAR|). I am sure that there is a value associated with that variable but somehow, I am generating a blank for that outbound position. Why is that? Answer ------ If you spell the variable (e.g., the variable name defined as CHAR-VAR in the question above) incorrectly, the value would obviously not be considered to be predefined for your usage. For example, |VC:num-box| is not the same as |VC:num-boxes|. The values assigned to a variable must be done and defined in the program which is controlling the generation of EDI data for the document that you are generating. In other words, variables may be available for usage in one document type but not for another and spelling must be correct. If the variable is not set up (predefined), then the variable will be generated as undefined (blank, zero, ?, etc.) for the position in question. It is important to note that you will not get an error when the variable is not predefined. Verify the documentation to see what calculated value variables are available to you, the document (transaction set) associated with that variable, the data type for proper formula calculation as well as the correct spelling. Moreover, remember that program calculated variables are only used for outbound (i.e. generated) data.