<?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: regarding table relationships in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843879#M666155</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;Use MHND-LAUFD- VBRK-FKDAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MHDN-BUKRS = VBRk-BUKRS&lt;/P&gt;&lt;P&gt;MHND-KUNNR  =  VBRK- KUNAG&lt;/P&gt;&lt;P&gt;MHND-SMABER = VBRAK-MABER &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;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2007 11:25:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-01T11:25:39Z</dc:date>
    <item>
      <title>regarding table relationships</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843878#M666154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having all the data from MHND and MHNK , i want certain details from VBRK,&lt;/P&gt;&lt;P&gt;how to relate MHND and VBRK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewarded for helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 11:18:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843878#M666154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T11:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: regarding table relationships</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843879#M666155</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;Use MHND-LAUFD- VBRK-FKDAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MHDN-BUKRS = VBRk-BUKRS&lt;/P&gt;&lt;P&gt;MHND-KUNNR  =  VBRK- KUNAG&lt;/P&gt;&lt;P&gt;MHND-SMABER = VBRAK-MABER &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;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 11:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843879#M666155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T11:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: regarding table relationships</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843880#M666156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If we want to link two tables using a join condition in a Select Query.                                                            &lt;/P&gt;&lt;P&gt;Easy to findout the link between N no. of tables for writing a where    &lt;/P&gt;&lt;P&gt;condition in Select Query  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to SQVI transaction code and Create a Quick view.&lt;/P&gt;&lt;P&gt;2. U will get a pop up. Give the Title and select Table Join   &lt;/P&gt;&lt;P&gt;    option in Data Source &amp;amp; Enter.&lt;/P&gt;&lt;P&gt;3. Click Insert table option and enter the Table name which we want &lt;/P&gt;&lt;P&gt;    to join &amp;amp; Enter.                                                            &lt;/P&gt;&lt;P&gt;4. Again Select the Insert table option and enter the Table name &lt;/P&gt;&lt;P&gt;   which u want to join with &amp;amp; Enter.                                               &lt;/P&gt;&lt;P&gt;5. Now we can see the joining conditions between two tables.            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBRK     MHND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; FKDAT    LAUFD          &lt;/P&gt;&lt;P&gt; BUKRS    BUKRS          &lt;/P&gt;&lt;P&gt; KUNRG    KUNNR          &lt;/P&gt;&lt;P&gt; KUNAG    SKNRZE         &lt;/P&gt;&lt;P&gt; MABER    SMABER         &lt;/P&gt;&lt;P&gt; BELNR    BELNR          &lt;/P&gt;&lt;P&gt; GJAHR    GJAHR       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 11:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843880#M666156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T11:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: regarding table relationships</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843881#M666157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;belnr is the key in VBRK...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 11:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843881#M666157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T11:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: regarding table relationships</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843882#M666158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you start from Billing docs, you can link the Billng Doc with the A/C doc - IN BKPF if you pass the AWTYP = 'VBRK' and AWREF = Billing Doc # , it will give you the related ACCOUNTING doc number. ( When you click on the Accountting Doc button - this is how it fetches the Doc numer). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess this is the document number - stored in MHND-BELNR, MHND-GJAHR, MHND-BBUKRS for dunning.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 12:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843882#M666158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T12:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: regarding table relationships</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843883#M666159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have to bring the datas from a flatfile to SAP. i have written a code but am getting an error in phone in split statement. There are many phone number in the flatfile in unformatted form. some as mobile no,landline no, some with off: no and res: no how to split all the words and only the phone no i want. This is the sample data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;07453/234802,231843,232277&lt;/P&gt;&lt;P&gt;08377/264265,R.254276&lt;/P&gt;&lt;P&gt;2417121/2417151/2417191&lt;/P&gt;&lt;P&gt;08377/551265,R.554276&lt;/P&gt;&lt;P&gt;Off:71 Resi:107&lt;/P&gt;&lt;P&gt;02465/22263,22210,Nanded&lt;/P&gt;&lt;P&gt;Off:20 Resi:38 &amp;amp; 267&lt;/P&gt;&lt;P&gt;(220)-6785,7321,7325,R:1707&lt;/P&gt;&lt;P&gt;244080, R.244172&lt;/P&gt;&lt;P&gt;445019&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help me in sloving the problem&lt;/P&gt;&lt;P&gt;_________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZVKFO .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : DSN(50) TYPE C VALUE '/sapmnt/bdc/fone.txt',&lt;/P&gt;&lt;P&gt;       ROW(30) TYPE C,&lt;/P&gt;&lt;P&gt;       DEL TYPE C VALUE '/',&lt;/P&gt;&lt;P&gt;       DEL1 TYPE C VALUE '-',&lt;/P&gt;&lt;P&gt;       DEL2 TYPE C VALUE ','.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;       PHONE(10) TYPE  C,&lt;/P&gt;&lt;P&gt;       END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET DSN FOR INPUT IN TEXT MODE ENCODING DEFAULT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ DATASET DSN INTO ITAB.&lt;/P&gt;&lt;P&gt;DO 100 TIMES.&lt;/P&gt;&lt;P&gt;  SPLIT ITAB  AT DEL INTO PHONE.&lt;/P&gt;&lt;P&gt;*split itab  at del1 into phone.&lt;/P&gt;&lt;P&gt;*split itab  at del2 into phone.&lt;/P&gt;&lt;P&gt;  ITAB-PHONE = ROW.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;WRITE : ITAB-PHONE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 11:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843883#M666159</guid>
      <dc:creator>vijy_mukunthan</dc:creator>
      <dc:date>2007-10-04T11:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: regarding table relationships</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843884#M666160</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;the statement u r using is wrong.  It should be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: VALUE TYPE STRING.&lt;/P&gt;&lt;P&gt;SPLIT ITAB-PHONE AT DEL INTO ITAB-PHONE VALUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always when u split the itab-phone the string will be split into two. so u need to give two variables after the into statement so the one will have first half of the string and the other will have the second half.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also i didnt get ur point u r splitting ur record to PHONE and assigning ROW to it.  Also there is no append statement for the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srinath Srinivasan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srinath Srinivasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 05:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-relationships/m-p/2843884#M666160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T05:05:35Z</dc:date>
    </item>
  </channel>
</rss>

