Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Regarding Print preview

Hi to all,

I have created one ALV report.Am getting correct output data.But when we click the PRINT PREVIEW its going to dump.And saying

" only character-type data objects are supported at the argument

position "obj".

But when i comment the below coding i am getting print preview perfectly.

  • Edu.Cess

G_FIELD = 'ECESS'.

G_TABLE_NAME = 'WITH_ITEM'.

G_DDICTXT = 'L'.

FIELDCAT_LN-SELTEXT_L = 'Edu Cess(2 %)'(014).

  • To set the properties of the field catalog

PERFORM FIELDCAT_FILL USING G_FIELD G_TABLE_NAME G_DDICTXT.

  • H.Edu Cess

G_FIELD = 'HCESS'.

G_TABLE_NAME = 'WITH_ITEM'.

G_DDICTXT = 'L'.

FIELDCAT_LN-SELTEXT_L = 'H .Edu Cess(1%)'(015).

  • To set the properties of the field catalog

PERFORM FIELDCAT_FILL USING G_FIELD G_TABLE_NAME G_DDICTXT.

Please give me the reply.

regards

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question