cancel
Showing results for 
Search instead for 
Did you mean: 

Printing variable names instead of printing values for PO layout

Former Member
0 Kudos

Dear All,

I have created a custom smartform for Import PO.

I have mentioned the driver program and the form name in the corresponding output type using NACE transaction.

I have declared fields and written code for retrieval and passing the field value to the layout within the global definitions(Data declaration under Global Data and data retrieval and validation under Initialization).

When I execute ME23N and try to see the print preview for any import PO, it is displaying the variable name defined in the text elements rather than printing the value in the field.

Eg. I am passing the value of PO number to the field named &V_EBELN& and the runtime value if 1140000016.

But it is printing as &V_EBELN& in the layout instead of the value.

Please help me to resolve this issue.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Lakshmanan,

Drag and drop the &V_EBELN& into the text node donot hard code the value in the text node.

Regards,

Sravanthi

Former Member
0 Kudos

Sravanthi,

Pressing Field List ON/OFF, I tried drag dropping the field but i couldnot do it.

Could you please let me know the prerequisites to drag drop the fields?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

in the SMartforms , beside the FORM PAINTER Button u have the Field List ON/OFF Button ( X symbol) click on that and choose ur variables from Import Interface if ur passing from the Driver program ...

U shoudl Not Hard Code &VBELN&

surya