<?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 Problem with table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806036#M345949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a little problem with a table control. The thing is that for some reason when I move from the table control to a work area at the PAI, it's moving a wrong value of a field (it's an indicator field). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my table control I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item    Flag&lt;/P&gt;&lt;P&gt;1         &lt;/P&gt;&lt;P&gt;2         &lt;/P&gt;&lt;P&gt;3        X&lt;/P&gt;&lt;P&gt;4        X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I modify something in my item #2, at the PAI it should move flag value = '  '.&lt;/P&gt;&lt;P&gt;Instead i'm getting flag value = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked if the table control is filled with the correct data and it is being filled correctly. I am missing something here. I'm not having this same trouble with another table controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my PBO I have the following:&lt;/P&gt;&lt;P&gt;  LOOP AT   G_POSADJ_ITAB&lt;/P&gt;&lt;P&gt;       INTO G_POSADJ_WA&lt;/P&gt;&lt;P&gt;       WITH CONTROL POSADJ&lt;/P&gt;&lt;P&gt;       CURSOR POSADJ-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;    MODULE POSADJ_MOVE.&lt;/P&gt;&lt;P&gt;    MODULE POSADJ_GET_LINES.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my PAI I have the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT G_POSADJ_ITAB.&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-FIRME.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-EBELN.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-EBELP.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-STATU.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-ANGNR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-LIFNR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-MATNR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-KTMNG.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-MEINS.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-NETPR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-WAERS.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-DIFCA.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-BRTWR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-BANFN.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-BNFPO.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-MENGE.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-MEINS_S.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-BRTWR_S.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-DIFWR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-DPRES.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-DPWRT.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-EBELN_P.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-DATUM.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-IHREZ.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-VEDAT.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-KDATB.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-KDATE.&lt;/P&gt;&lt;P&gt;      MODULE POSADJ_MODIFY ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&lt;/P&gt;&lt;P&gt;ENDLOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the module posadj_modify when I move from ZADJUDICA to a work area the field for the flag isn't correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Dec 2006 17:34:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-11T17:34:00Z</dc:date>
    <item>
      <title>Problem with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806036#M345949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a little problem with a table control. The thing is that for some reason when I move from the table control to a work area at the PAI, it's moving a wrong value of a field (it's an indicator field). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my table control I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item    Flag&lt;/P&gt;&lt;P&gt;1         &lt;/P&gt;&lt;P&gt;2         &lt;/P&gt;&lt;P&gt;3        X&lt;/P&gt;&lt;P&gt;4        X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I modify something in my item #2, at the PAI it should move flag value = '  '.&lt;/P&gt;&lt;P&gt;Instead i'm getting flag value = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked if the table control is filled with the correct data and it is being filled correctly. I am missing something here. I'm not having this same trouble with another table controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my PBO I have the following:&lt;/P&gt;&lt;P&gt;  LOOP AT   G_POSADJ_ITAB&lt;/P&gt;&lt;P&gt;       INTO G_POSADJ_WA&lt;/P&gt;&lt;P&gt;       WITH CONTROL POSADJ&lt;/P&gt;&lt;P&gt;       CURSOR POSADJ-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;    MODULE POSADJ_MOVE.&lt;/P&gt;&lt;P&gt;    MODULE POSADJ_GET_LINES.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my PAI I have the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT G_POSADJ_ITAB.&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-FIRME.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-EBELN.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-EBELP.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-STATU.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-ANGNR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-LIFNR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-MATNR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-KTMNG.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-MEINS.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-NETPR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-WAERS.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-DIFCA.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-BRTWR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-BANFN.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-BNFPO.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-MENGE.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-MEINS_S.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-BRTWR_S.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-DIFWR.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-DPRES.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-DPWRT.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-EBELN_P.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-DATUM.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-IHREZ.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-VEDAT.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-KDATB.&lt;/P&gt;&lt;P&gt;      FIELD ZADJUDICA-KDATE.&lt;/P&gt;&lt;P&gt;      MODULE POSADJ_MODIFY ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&lt;/P&gt;&lt;P&gt;ENDLOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the module posadj_modify when I move from ZADJUDICA to a work area the field for the flag isn't correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 17:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806036#M345949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T17:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806037#M345950</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 guess you forgot to clear the work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try clearing work area.&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 17:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806037#M345950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T17:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806038#M345951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, already did. Still getting this problem.&lt;/P&gt;&lt;P&gt;The strange thing is that next statement at posadj_modify:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING ZADJUDICA TO posadj_wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is not moving the correct value for the field flag to posadj_wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help me through this. Maybe it's a little thing that i'm missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Gilberto Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 17:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806038#M345951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T17:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806039#M345952</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;can you post your module code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 18:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806039#M345952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T18:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806040#M345953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again, this is the posadj_modify module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE posadj_modify INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: ekko_aux LIKE ekko,&lt;/P&gt;&lt;P&gt;        ekpo_aux LIKE ekpo,&lt;/P&gt;&lt;P&gt;        poad_aux LIKE g_posadj_wa.&lt;/P&gt;&lt;P&gt;  DATA: msol LIKE g_posadj_wa-brtwr_s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE-CORRESPONDING zadjudica TO g_posad_wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I check the g_posadj_wa, the flag value is incorrect, the strange thing is that the other values are ok. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 18:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806040#M345953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T18:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806041#M345954</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 THIS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WA-matnr           = zABC-matnr.&lt;/P&gt;&lt;P&gt;    WA-menge           = zABC-menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOPE THIS MAY HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you used the wizard or the normal thing to build t c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 18:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806041#M345954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T18:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806042#M345955</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;IN ADDITION TO THAT CAN YOU CHECK THE TC-CURRENT_LINE&lt;/P&gt;&lt;P&gt;AND TC-TOP_LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;VENKI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 18:13:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806042#M345955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T18:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806043#M345956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I've found the reason of the problem. It was a pretty dumb mistake. The field flag, wasn't in the Table control, and that's why it didn't bring the correct value when moving it to the work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Gilberto Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 19:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-table-control/m-p/1806043#M345956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T19:30:02Z</dc:date>
    </item>
  </channel>
</rss>

