<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: print preview error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002345#M407773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the same code it works fine for me..If I give MENGE1 in the ref_fieldname I am getting the short dump as you mentioned..But if I remove it..The code is working fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: blind as checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools: slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: begin of t_ekko,&lt;/P&gt;&lt;P&gt;ebeln type ekko-ebeln,&lt;/P&gt;&lt;P&gt;aedat type ekko-aedat,&lt;/P&gt;&lt;P&gt;ekgrp type ekko-ekgrp,&lt;/P&gt;&lt;P&gt;ekorg type ekko-ekorg,&lt;/P&gt;&lt;P&gt;lifnr type ekko-lifnr,&lt;/P&gt;&lt;P&gt;ebelp type ekpo-ebelp,&lt;/P&gt;&lt;P&gt;menge type ekpo-menge,&lt;/P&gt;&lt;P&gt;meins type ekpo-meins,&lt;/P&gt;&lt;P&gt;matnr type ekpo-matnr,&lt;/P&gt;&lt;P&gt;lgort type mard-lgort,&lt;/P&gt;&lt;P&gt;idnlf type ekpo-idnlf,&lt;/P&gt;&lt;P&gt;TXZ01 type ekpo-TXZ01,&lt;/P&gt;&lt;P&gt;lgpbe type mard-lgpbe,&lt;/P&gt;&lt;P&gt;LGOBE TYPE T001L-LGOBE,&lt;/P&gt;&lt;P&gt;MENGE1 TYPE EKES-MENGE,&lt;/P&gt;&lt;P&gt;wemng type eket-wemng,&lt;/P&gt;&lt;P&gt;end of t_ekKo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_ekko_1 type table of t_ekko WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_ekko_1-EBELN = '909090'.&lt;/P&gt;&lt;P&gt;t_ekko_1-aedat = SY-DATUM.&lt;/P&gt;&lt;P&gt;t_ekko_1-ekgrp = '001'.&lt;/P&gt;&lt;P&gt;t_ekko_1-ekorg = '0001'.&lt;/P&gt;&lt;P&gt;t_ekko_1-lifnr = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-ebelp = '000010'.&lt;/P&gt;&lt;P&gt;t_ekko_1-menge = '1'.&lt;/P&gt;&lt;P&gt;t_ekko_1-meins = 'EA'.&lt;/P&gt;&lt;P&gt;t_ekko_1-matnr = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-lgort = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-idnlf = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-TXZ01 = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-lgpbe = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-LGOBE = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-MENGE1 = '1'.&lt;/P&gt;&lt;P&gt;t_ekko_1-wemng = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND T_EKKO_1.&lt;/P&gt;&lt;P&gt;data: fieldcatalog type slis_t_fieldcat_alv with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'EBELN'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'PO NUMBER'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 0.&lt;/P&gt;&lt;P&gt;fieldcatalog-outputlen = 10.&lt;/P&gt;&lt;P&gt;fieldcatalog-emphasize = 'X'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'EBELN'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'AEDAT'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'PO DATE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 1.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'AEDAT'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'EKGRP'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'PUR GRP/BUYER'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 2.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'EKGRP'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'EKORG'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'PUR ORG.'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 3.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'EKORG'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'LIFNR'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'VENDOR NO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 4.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'LIFNR'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'EBELP'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'PO LINE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 5.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'EBELP'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'MENGE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'ORD QTY'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 6.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKET'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'MENGE'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'MEINS'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'UNIT'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 8.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'MEINS'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'MATERIAL'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 9.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'MATNR'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'TXZ01'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'DESCRIPTION'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 10.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'TXZ01'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'IDNLF'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'VEND MAT'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 11.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'IDNLF'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'LGPBE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'ST.LOC SHELF BIN'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 12.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fieldcatalog-outputlen = 6.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'MARD'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'LGPBE'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'LGOBE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'ST.LOC DESCRIPTION'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 13.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'T001L'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'LGOBE'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF BLIND = ' '. " if the check box is not checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;fieldcatalog-fieldname = 'MENGE1'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'QTY TO RECEIVE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 14.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKES'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'MENGE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-rollname = 'MENGE_D'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'WEMNG'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'QTY RECEIVED'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 15 .&lt;/P&gt;&lt;P&gt;fieldcatalog-decimals_out = 0.&lt;/P&gt;&lt;P&gt;fieldcatalog-no_zero = 'X'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKET'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'WEMNG'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt; exporting&lt;/P&gt;&lt;P&gt;   IT_FIELDCAT                       = fieldcatalog[]&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    t_outtab                          = t_ekko_1&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   PROGRAM_ERROR                     = 1&lt;/P&gt;&lt;P&gt;   OTHERS                            = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2007 22:59:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-15T22:59:16Z</dc:date>
    <item>
      <title>print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002334#M407762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the out put with alv grid.. I put one menu bar in alv. when I am going with print preview option it is giving me errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one guide me how to solve this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIRI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002334#M407762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T22:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002335#M407763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the error message you are getting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you copy the standard sap status and created new one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:04:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002335#M407763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T22:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002336#M407764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does the error say?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002336#M407764</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-15T22:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002337#M407765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;here is the error message.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current statement only supports character-type data objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in ABAP application program.                                                                                &lt;/P&gt;&lt;P&gt;The current ABAP program "SAPLKKBL" had to be terminated because one of the &lt;/P&gt;&lt;P&gt;statements could not be executed.                                                                                &lt;/P&gt;&lt;P&gt;This is probably due to an error in the ABAP program.                       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In statement                                                      &lt;/P&gt;&lt;P&gt;   "STRLEN( obj )..."                                             &lt;/P&gt;&lt;P&gt;the argument "obj" can only take a character-type data object.    &lt;/P&gt;&lt;P&gt;                                                                  &lt;/P&gt;&lt;P&gt;In this case, the operand "obj" has the non-character type "P".   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to solve it....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:08:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002337#M407765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T22:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002338#M407766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post the declaration of the internal table being used in the ALV as well as the field catalog build routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002338#M407766</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-15T22:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002339#M407767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this issue is regarding field-catalog internal table..Make sure the field catalog internal table is populated correctly with the correct field names that matches the internal table field names...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002339#M407767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T22:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002340#M407768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the internal table declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: begin of t_ekko,&lt;/P&gt;&lt;P&gt;       ebeln type ekko-ebeln,&lt;/P&gt;&lt;P&gt;       aedat type ekko-aedat,&lt;/P&gt;&lt;P&gt;       ekgrp type ekko-ekgrp,&lt;/P&gt;&lt;P&gt;       ekorg type ekko-ekorg,&lt;/P&gt;&lt;P&gt;       lifnr type ekko-lifnr,&lt;/P&gt;&lt;P&gt;       ebelp type ekpo-ebelp,&lt;/P&gt;&lt;P&gt;       menge type ekpo-menge,&lt;/P&gt;&lt;P&gt;       meins type ekpo-meins,&lt;/P&gt;&lt;P&gt;       matnr type ekpo-matnr,&lt;/P&gt;&lt;P&gt;       lgort type mard-lgort,&lt;/P&gt;&lt;P&gt;       idnlf type ekpo-idnlf,&lt;/P&gt;&lt;P&gt;       TXZ01 type ekpo-TXZ01,&lt;/P&gt;&lt;P&gt;       lgpbe type mard-lgpbe,&lt;/P&gt;&lt;P&gt;       LGOBE TYPE T001L-LGOBE,&lt;/P&gt;&lt;P&gt;       MENGE1 TYPE EKES-MENGE,&lt;/P&gt;&lt;P&gt;       wemng type eket-wemng,&lt;/P&gt;&lt;P&gt;       end of t_ekKo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and field catelog is here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp;      Form  build_fieldcatalog&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------" /&gt;&lt;P&gt;form build_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'EBELN'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'PO NUMBER'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 0.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 10.&lt;/P&gt;&lt;P&gt;  fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'EBELN'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'AEDAT'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'PO DATE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'AEDAT'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'EKGRP'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'PUR GRP/BUYER'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 2.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'EKGRP'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'EKORG'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'PUR ORG.'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 3.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'EKORG'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'LIFNR'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'VENDOR NO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 4.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'LIFNR'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'EBELP'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'PO LINE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 5.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'EBELP'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'MENGE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'ORD QTY'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 6.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKET'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'MENGE'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'MEINS'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'UNIT'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 8.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'MEINS'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'MATNR'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'MATERIAL'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 9.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'MATNR'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'TXZ01'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'DESCRIPTION'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 10.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'TXZ01'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'IDNLF'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'VEND MAT'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 11.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'IDNLF'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'LGPBE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'ST.LOC SHELF BIN'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 12.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-outputlen   = 6.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'MARD'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'LGPBE'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'LGOBE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'ST.LOC DESCRIPTION'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 13.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'T001L'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'LGOBE'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF BLIND = ' '. " if the check box is not checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'MENGE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'QTY TO RECEIVE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 14.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKES'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'MENGE1'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-rollname = 'MENGE_D'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'WEMNG'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'QTY RECEIVED'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 15  .&lt;/P&gt;&lt;P&gt;  fieldcatalog-decimals_out = 0.&lt;/P&gt;&lt;P&gt;  fieldcatalog-no_zero = 'X'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_TABNAME = 'EKET'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-REF_FIELDNAME = 'WEMNG'.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT fieldcatalog INTO ls_int_fcat.&lt;/P&gt;&lt;P&gt;    ls_int_fcat-col_pos = syst-tabix.&lt;/P&gt;&lt;P&gt;    MODIFY fieldcatalog FROM ls_int_fcat INDEX syst-tabix.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT fieldcatalog INTO ls_int_fcat.&lt;/P&gt;&lt;P&gt;    CHECK ls_int_fcat-fieldname EQ 'EBELN'&lt;/P&gt;&lt;P&gt;       OR ls_int_fcat-fieldname EQ 'LIFNR'.&lt;/P&gt;&lt;P&gt;    ls_int_fcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;    MODIFY fieldcatalog FROM ls_int_fcat TRANSPORTING hotspot.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " build_fieldcatalog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form display_alv_report.&lt;/P&gt;&lt;P&gt;DATA:USER_COMMAND TYPE slis_formname,&lt;/P&gt;&lt;P&gt;SET_PF_STATUS TYPE slis_formname.&lt;/P&gt;&lt;P&gt;SET_PF_STATUS = 'ZSTANDARD_FULLSCREEN'.&lt;/P&gt;&lt;P&gt;USER_COMMAND = 'ALV_USER_COMMAND'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gt_events type slis_t_event,&lt;/P&gt;&lt;P&gt;       gd_prntparams type slis_print_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            i_callback_program       = gd_repid&lt;/P&gt;&lt;P&gt;            is_layout                = gd_layout&lt;/P&gt;&lt;P&gt;            i_callback_top_of_page   = 'TOP-OF-PAGE'&lt;/P&gt;&lt;P&gt;            i_callback_user_command  = 'USER_COMMAND'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           i_callback_pf_status_set = 'SET_PF_STATUS'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            it_events                 = gt_events&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           is_print                 = gd_prntparams&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            it_fieldcat              = fieldcatalog[]&lt;/P&gt;&lt;P&gt;            it_sort                 = it_sortcat&lt;/P&gt;&lt;P&gt;            i_save                   = 'A'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            t_outtab                 = it_ekko&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            program_error            = 1&lt;/P&gt;&lt;P&gt;            others                   = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.              " DISPLAY_ALV_REPORT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:17:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002340#M407768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T22:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002341#M407769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try fixing mentioned in the bold..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the field catalog..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF BLIND = ' '. " if the check box is not checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = '&amp;lt;b&amp;gt;MENGE1&amp;lt;/b&amp;gt;'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'QTY TO RECEIVE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 14.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKES'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = '&amp;lt;b&amp;gt;MENGE&amp;lt;/b&amp;gt;'.&lt;/P&gt;&lt;P&gt;fieldcatalog-rollname = 'MENGE_D'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002341#M407769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T22:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002342#M407770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep,  I do believe Naren has it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002342#M407770</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-15T22:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002343#M407771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naren &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though I am getting the same error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some more description of the error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Program                                 SAPLKKBL                    &lt;/P&gt;&lt;P&gt; Include                                 LKKBLF99                    &lt;/P&gt;&lt;P&gt; Row                                     3,897                       &lt;/P&gt;&lt;P&gt; Module type                             (FORM)                      &lt;/P&gt;&lt;P&gt; Module Name                             GEN_FIELD_OUT2                                                                                &lt;/P&gt;&lt;P&gt;using edit mask gs_fc-edit_mask.                                     &lt;/P&gt;&lt;P&gt; if gs_fc-inttype ca 'NnIiPpBbSs'.  "Y6DK037693                              &lt;/P&gt;&lt;P&gt;   condense gs_out-hlpchar.                                                  &lt;/P&gt;&lt;P&gt; endif.                                                                      &lt;/P&gt;&lt;P&gt; gs_out-hlplen = strlen( gs_out-hlpchar ).                                   &lt;/P&gt;&lt;P&gt;ei NUMC führende '0' und ' ' nicht berücksichtigen                           &lt;/P&gt;&lt;P&gt;lseif gs_fc-tech_form = 6.                                                   &lt;/P&gt;&lt;P&gt; write m_multibyte is initial.    "Y6DK037551               &lt;/P&gt;&lt;P&gt;     data:                                                                                &lt;/P&gt;&lt;P&gt;bolded line is error point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002343#M407771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T22:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002344#M407772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot guys i solved the problem ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:57:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002344#M407772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T22:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: print preview error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002345#M407773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the same code it works fine for me..If I give MENGE1 in the ref_fieldname I am getting the short dump as you mentioned..But if I remove it..The code is working fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: blind as checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools: slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: begin of t_ekko,&lt;/P&gt;&lt;P&gt;ebeln type ekko-ebeln,&lt;/P&gt;&lt;P&gt;aedat type ekko-aedat,&lt;/P&gt;&lt;P&gt;ekgrp type ekko-ekgrp,&lt;/P&gt;&lt;P&gt;ekorg type ekko-ekorg,&lt;/P&gt;&lt;P&gt;lifnr type ekko-lifnr,&lt;/P&gt;&lt;P&gt;ebelp type ekpo-ebelp,&lt;/P&gt;&lt;P&gt;menge type ekpo-menge,&lt;/P&gt;&lt;P&gt;meins type ekpo-meins,&lt;/P&gt;&lt;P&gt;matnr type ekpo-matnr,&lt;/P&gt;&lt;P&gt;lgort type mard-lgort,&lt;/P&gt;&lt;P&gt;idnlf type ekpo-idnlf,&lt;/P&gt;&lt;P&gt;TXZ01 type ekpo-TXZ01,&lt;/P&gt;&lt;P&gt;lgpbe type mard-lgpbe,&lt;/P&gt;&lt;P&gt;LGOBE TYPE T001L-LGOBE,&lt;/P&gt;&lt;P&gt;MENGE1 TYPE EKES-MENGE,&lt;/P&gt;&lt;P&gt;wemng type eket-wemng,&lt;/P&gt;&lt;P&gt;end of t_ekKo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_ekko_1 type table of t_ekko WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_ekko_1-EBELN = '909090'.&lt;/P&gt;&lt;P&gt;t_ekko_1-aedat = SY-DATUM.&lt;/P&gt;&lt;P&gt;t_ekko_1-ekgrp = '001'.&lt;/P&gt;&lt;P&gt;t_ekko_1-ekorg = '0001'.&lt;/P&gt;&lt;P&gt;t_ekko_1-lifnr = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-ebelp = '000010'.&lt;/P&gt;&lt;P&gt;t_ekko_1-menge = '1'.&lt;/P&gt;&lt;P&gt;t_ekko_1-meins = 'EA'.&lt;/P&gt;&lt;P&gt;t_ekko_1-matnr = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-lgort = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-idnlf = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-TXZ01 = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-lgpbe = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-LGOBE = 'TEST'.&lt;/P&gt;&lt;P&gt;t_ekko_1-MENGE1 = '1'.&lt;/P&gt;&lt;P&gt;t_ekko_1-wemng = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND T_EKKO_1.&lt;/P&gt;&lt;P&gt;data: fieldcatalog type slis_t_fieldcat_alv with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'EBELN'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'PO NUMBER'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 0.&lt;/P&gt;&lt;P&gt;fieldcatalog-outputlen = 10.&lt;/P&gt;&lt;P&gt;fieldcatalog-emphasize = 'X'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'EBELN'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'AEDAT'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'PO DATE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 1.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'AEDAT'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'EKGRP'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'PUR GRP/BUYER'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 2.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'EKGRP'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'EKORG'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'PUR ORG.'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 3.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'EKORG'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'LIFNR'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'VENDOR NO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 4.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKKO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'LIFNR'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'EBELP'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'PO LINE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 5.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'EBELP'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'MENGE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'ORD QTY'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 6.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKET'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'MENGE'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'MEINS'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'UNIT'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 8.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'MEINS'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'MATERIAL'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 9.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'MATNR'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'TXZ01'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'DESCRIPTION'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 10.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'TXZ01'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'IDNLF'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'VEND MAT'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 11.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKPO'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'IDNLF'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'LGPBE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'ST.LOC SHELF BIN'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 12.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fieldcatalog-outputlen = 6.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'MARD'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'LGPBE'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'LGOBE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'ST.LOC DESCRIPTION'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 13.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'T001L'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'LGOBE'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF BLIND = ' '. " if the check box is not checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;fieldcatalog-fieldname = 'MENGE1'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'QTY TO RECEIVE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 14.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKES'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'MENGE'.&lt;/P&gt;&lt;P&gt;fieldcatalog-rollname = 'MENGE_D'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname = 'WEMNG'.&lt;/P&gt;&lt;P&gt;fieldcatalog-seltext_m = 'QTY RECEIVED'.&lt;/P&gt;&lt;P&gt;fieldcatalog-col_pos = 15 .&lt;/P&gt;&lt;P&gt;fieldcatalog-decimals_out = 0.&lt;/P&gt;&lt;P&gt;fieldcatalog-no_zero = 'X'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_TABNAME = 'EKET'.&lt;/P&gt;&lt;P&gt;fieldcatalog-REF_FIELDNAME = 'WEMNG'.&lt;/P&gt;&lt;P&gt;append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;clear fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt; exporting&lt;/P&gt;&lt;P&gt;   IT_FIELDCAT                       = fieldcatalog[]&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    t_outtab                          = t_ekko_1&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   PROGRAM_ERROR                     = 1&lt;/P&gt;&lt;P&gt;   OTHERS                            = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 22:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-preview-error/m-p/2002345#M407773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T22:59:16Z</dc:date>
    </item>
  </channel>
</rss>

