Printing Item text in Purchase order
Iam creating a PO...for each line item i have to print the text..
suppose if there are five text for each line item Eg :
SAP1 = a, SAP2 = b, SAP3 = d, SAP4 = e.
SAP1 to 4 are text,
a to e is the value that i have to print.
The probelm is user may or may not enter any value in this field.
my requirement is only if the user givs text in this fields it shoild print. and all text shud print on the same line
SAP1 = a, SAP3 = d.
SAP2 = b, SAP3 = d,
Michael Evershed replied
Assuming the variables are called &SAP1& &SAP2& &SAP3& &SAP4&
Put the text inside the && in single quotes before the variable name as below:
AS &'SAP1 = 'SAP1& &'SAP2 = 'SAP2& &'SAP3 = 'SAP3& &'SAP 4 = 'SAP4&
The text only prints if the variable is not initial.