<?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 relation mbew with T030  table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013100#M712057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;        i want to get the value from t030 table the field name is KONTS - - G/L Account Number. the logic is as follows i am selecting &lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;   SELECT matnr bwkey bklas&lt;/P&gt;&lt;P&gt;      FROM mbew&lt;/P&gt;&lt;P&gt;        INTO TABLE it_mbew&lt;/P&gt;&lt;P&gt;        FOR ALL ENTRIES IN it_mara&lt;/P&gt;&lt;P&gt;   WHERE matnr = it_mara-matnr&lt;/P&gt;&lt;P&gt;        AND bwkey = p_bwkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the problem is when i need to get the KONTS - - G/L Account Number.from t030  table the only the common field is BKLAS in mbew and t030 table is the any possibility to  have link to below fields&lt;/P&gt;&lt;P&gt;KTOPL&lt;/P&gt;&lt;P&gt;KTOSL&lt;/P&gt;&lt;P&gt;BWMOD&lt;/P&gt;&lt;P&gt;KOMOK&lt;/P&gt;&lt;P&gt;bklas  are the key fields in t030 table but i have only bklas get the glaccount number, could any body telme the other table which joins mbew and t030 table .....i need to finish this report immediately....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will be rewarded full points....&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sreenivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2007 07:29:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-02T07:29:29Z</dc:date>
    <item>
      <title>relation mbew with T030  table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013100#M712057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;        i want to get the value from t030 table the field name is KONTS - - G/L Account Number. the logic is as follows i am selecting &lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;   SELECT matnr bwkey bklas&lt;/P&gt;&lt;P&gt;      FROM mbew&lt;/P&gt;&lt;P&gt;        INTO TABLE it_mbew&lt;/P&gt;&lt;P&gt;        FOR ALL ENTRIES IN it_mara&lt;/P&gt;&lt;P&gt;   WHERE matnr = it_mara-matnr&lt;/P&gt;&lt;P&gt;        AND bwkey = p_bwkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the problem is when i need to get the KONTS - - G/L Account Number.from t030  table the only the common field is BKLAS in mbew and t030 table is the any possibility to  have link to below fields&lt;/P&gt;&lt;P&gt;KTOPL&lt;/P&gt;&lt;P&gt;KTOSL&lt;/P&gt;&lt;P&gt;BWMOD&lt;/P&gt;&lt;P&gt;KOMOK&lt;/P&gt;&lt;P&gt;bklas  are the key fields in t030 table but i have only bklas get the glaccount number, could any body telme the other table which joins mbew and t030 table .....i need to finish this report immediately....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will be rewarded full points....&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sreenivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 07:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013100#M712057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T07:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: relation mbew with T030  table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013101#M712058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The other fields don't process of the Material "There is not  a single Account per Material"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;What you can join&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;KTOPL&amp;lt;/i&amp;gt; come from &amp;lt;i&amp;gt;T001&amp;lt;/i&amp;gt;, society, Part can have different account number in different society. Look for society code in &amp;lt;i&amp;gt;T001K&amp;lt;/i&amp;gt; where &amp;lt;i&amp;gt;bwkey&amp;lt;/i&amp;gt; field will give &amp;lt;i&amp;gt;bukrs&amp;lt;/i&amp;gt; and also &amp;lt;i&amp;gt;bwmod&amp;lt;/i&amp;gt; fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;What you cannot join&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;KTOSL&amp;lt;/i&amp;gt; is the operation ("Transaction key"), try '&amp;lt;i&amp;gt;BSX&amp;lt;/i&amp;gt;' to get the account for stock valorization (there are other accounts used in material accounting, look at customization &amp;lt;b&amp;gt;OBYC&amp;lt;/b&amp;gt; transaction)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 07:40:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013101#M712058</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-11-02T07:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: relation mbew with T030  table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013102#M712059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can perform that by using join condition between those tables you can do it bu=y using the fields BKLAS you can perform that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 07:41:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013102#M712059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T07:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: relation mbew with T030  table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013103#M712060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pavan,&lt;/P&gt;&lt;P&gt;       if i join mbew and t030 by using bklas, i can get multiple gl account number but i required single account number. Is there any posibility to join other table so that i can get unique account number. I guess joining of ktopl will do that job for me....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 07:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013103#M712060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T07:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: relation mbew with T030  table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013104#M712061</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;Check the G/L account numbers if they are repeating then you can use statement&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; delete adjacent duplicates &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; and you can delete those duplicates and if u want to know any other tables using this field then go to  SE15 and goto the folder ABAP Dicttionary &lt;DEL&gt;&amp;gt; Table fields&lt;/DEL&gt;&amp;gt; Give your field name and press execute then you can have a tables list which contains those fields out of which you have to check which table is giving you relevant data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 07:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013104#M712061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T07:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: relation mbew with T030  table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013105#M712062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raymond ................ my issue is resolved.... &lt;/P&gt;&lt;P&gt;i am rewarding you full points....&lt;/P&gt;&lt;P&gt;i did as below plz suggest me if i am wrong&lt;/P&gt;&lt;P&gt;i/p so_matnr&lt;/P&gt;&lt;P&gt;     p_bwkey&lt;/P&gt;&lt;P&gt;     so_budat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based on p_bwkey                     i got the  bukrs,bwmod from t001k table &lt;/P&gt;&lt;P&gt;based on t001k-bukrs value i have got the ktopl from t001 table&lt;/P&gt;&lt;P&gt;based on so_matnr and p_bwkey i got the  bklas from mbew table&lt;/P&gt;&lt;P&gt;by using mbew-bklas, t001-ktopl, mbew-bklas i have got the G/L Account number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me raymond if i am wrong......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again...&lt;/P&gt;&lt;P&gt;Sreenivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sharmashree kashi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: sreenivas&lt;/P&gt;&lt;P&gt;        sharmashree kashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 08:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013105#M712062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T08:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: relation mbew with T030  table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013106#M712063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, just delimit by KTOSL = 'BSX' to get the only account used for stock valorization (check with financial) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 08:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-mbew-with-t030-table/m-p/3013106#M712063</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-11-02T08:42:06Z</dc:date>
    </item>
  </channel>
</rss>

