<?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: ALV Column heading in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895863#M935207</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;For alligning the fields to left or right ,you have a option in fieldcatalog called&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;just(1)        type c,        " (R)ight (L)eft (C)ent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can populate this and pass that fieldcatalog.Then you can allign to left ,right or center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to fix column use&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;fix_column(1)&lt;/STRONG&gt; attribute present in the fieldcatalog.Populate that and pass that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward if useful&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2008 09:29:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-28T09:29:08Z</dc:date>
    <item>
      <title>ALV Column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895861#M935205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt; my requirement is to display quantity field and its heading text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GR Quantoty(In Base UOM)&lt;/P&gt;&lt;P&gt;                       1.011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display heading in leftalign and quantity value in right align..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my case when i drag the col its draging with column heading also hwo to fix col heading n move value right side  in AVL grid display?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 08:52:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895861#M935205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T08:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895862#M935206</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;&lt;A href="http://help.sap.com/saphelp_sm32/helpdata/en/e3/e3eb40c4f8712ae10000000a155106/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_sm32/helpdata/en/e3/e3eb40c4f8712ae10000000a155106/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT Y_MALVPOV .&lt;/P&gt;&lt;P&gt;****TABLE WORK AREA&lt;/P&gt;&lt;P&gt;TABLES:KNA1,VBAK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;SELECTION SCREEN&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:P_KUNNR LIKE KNA1-KUNNR DEFAULT 1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:S_VBELN FOR VBAK-VBELN.&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;DEFINE INTERNAL TABLE&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF IT_ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;VBELN LIKE VBAK-VBELN,&lt;/P&gt;&lt;P&gt;END OF IT_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;DEFINE INTERNAL TABLE WITH HEADER LINE&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:IT_JTAB LIKE VBAK OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;PROVIDE TYPE GROUP&lt;/STRONG&gt;**&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;**&lt;STRONG&gt;MAINTAIN REPORT ID&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:REPID LIKE SY-REPID,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;DEFINE COLUMN HEADING&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBAK_B TYPE SLIS_T_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;EVENT&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EVENTS_B TYPE SLIS_T_EVENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;VARIABLE FOR STORING VALUE&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;DATA:IDEX TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;FUNCTION MODULE COLUMN HEADINGS&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;I_STRUCTURE_NAME = 'VBAK'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;Ct_fieldcat = VBAK_B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;REPORT ID SYSTEM VARIABLE&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;REPID = SY-REPID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****AT SELECTION SCREEN ****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_VBELN-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****&lt;STRONG&gt;FUNCTION MODULE FOR ADDING ZEROS AND DELETING THE ZEROS&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;input = P_KUNNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;OUTPUT = P_KUNNR.&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;SELECT STATEMENT FOR OUTPUT DISPLAY&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBELN FROM VBAK INTO TABLE IT_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;FUNCTION MODULE FOR OUPUT DISPLAY&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;endpos_col = 30&lt;/P&gt;&lt;P&gt;endpos_row = 30&lt;/P&gt;&lt;P&gt;startpos_col = 10&lt;/P&gt;&lt;P&gt;startpos_row = 10&lt;/P&gt;&lt;P&gt;titletext = 'SALES DETAILS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;CHOISE = IDEX&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;valuetab = IT_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IT_ITAB INDEX IDEX.&lt;/P&gt;&lt;P&gt;S_VBELN-LOW = IT_ITAB-VBELN.&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;LEAVE.&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;STRONG&gt;START-OF-SELECTION EVENT&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM VBAK INTO TABLE IT_JTAB WHERE VBELN = S_VBELN-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;FUNCTION MODULE OUTPUT DISPLAY&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;I_CALLBACK_PROGRAM = REPID&lt;/P&gt;&lt;P&gt;IT_FIELDCAT = VBAK_B&lt;/P&gt;&lt;P&gt;IT_EVENTS = EVENTS_B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;t_outtab = IT_JTAB.&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;END OF PROGRAM&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 08:58:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895862#M935206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T08:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895863#M935207</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;For alligning the fields to left or right ,you have a option in fieldcatalog called&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;just(1)        type c,        " (R)ight (L)eft (C)ent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can populate this and pass that fieldcatalog.Then you can allign to left ,right or center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to fix column use&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;fix_column(1)&lt;/STRONG&gt; attribute present in the fieldcatalog.Populate that and pass that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward if useful&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 09:29:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895863#M935207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T09:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895864#M935208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but for just(1) type works only for CHAR and NUM type not for QUAN type..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 09:35:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895864#M935208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T09:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895865#M935209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed the column heading but quantity value is coming in right side only.. i made column heading right side n need to display values in left side?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 10:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-column-heading/m-p/3895865#M935209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T10:05:29Z</dc:date>
    </item>
  </channel>
</rss>

