<?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 Dynamic BDC - VK12 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881608#M370162</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;&lt;/P&gt;&lt;P&gt;I have an urgent requirement......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed a BDC program to change a particular condition type(Tcode VK12, Ex: condition type :ZXXX). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to enhance the program to work for multiple condition types. From the 3rd screen onwords the screen name and screen numbers are changed from condition type to condition type and key combination to key combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please suggest me for further development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2007 10:11:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-10T10:11:29Z</dc:date>
    <item>
      <title>Dynamic BDC - VK12</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881608#M370162</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;&lt;/P&gt;&lt;P&gt;I have an urgent requirement......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed a BDC program to change a particular condition type(Tcode VK12, Ex: condition type :ZXXX). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to enhance the program to work for multiple condition types. From the 3rd screen onwords the screen name and screen numbers are changed from condition type to condition type and key combination to key combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please suggest me for further development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 10:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881608#M370162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T10:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic BDC - VK12</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881609#M370163</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 to use standard-report &amp;lt;b&amp;gt;RV14BTCI&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;-&amp;gt; look documentation to that abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 10:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881609#M370163</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2007-01-10T10:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic BDC - VK12</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881610#M370164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This program will actually read the file from application server. My flat file will be on local machine and It should work for all condition types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody worked on this kind of requirement, please suggest me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody send piece of code will be highly appreciated.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 11:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881610#M370164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T11:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic BDC - VK12</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881611#M370165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janardhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case we have to do separate separate mappings for each condition since the fields will be changed based on the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now collect the complete data from file to Internal table irrespective of the Type.&lt;/P&gt;&lt;P&gt;Loop the internal table and chekc the condition type and populate the separate internal tables(say IT_CON1,IT_CON2 etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have all condition records in different tables. But each table have the same condition records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now loop the repective condition type table separately and perform mapping and the BDC method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will do.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 12:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881611#M370165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T12:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic BDC - VK12</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881612#M370166</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;/P&gt;&lt;P&gt;a piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA NODAT VALUE '/'.
loop at hkond.
*** 1. Bgr00 fill
  CLEAR BGR00.
  BGR00-STYPE = 0.
  CONCATENATE 'KOND_MM_' SY-DATUM+4(4) INTO BGR00-GROUP .
  BGR00-MANDT = SY-MANDT.
  BGR00-USNAM = SY-UNAME.
  BGR00-XKEEP = 'X'.
  BGR00-NODATA = NODAT.
  TRANSFER BGR00 TO FILE2.
***2. new cond.-&amp;gt; new head
    AT NEW KSCHL.
      CLEAR BKOND1.
      BKOND1-STYPE = 1.
      BKOND1-TCODE = 'XK15'.
      BKOND1-KVEWE = 'A'.
      BKOND1-KOTABNR = '044'.
      BKOND1-KAPPL = 'M'.
      BKOND1-KSCHL = HKOND-KSCHL.
      TRANSFER BKOND1 TO FILE2.
    ENDAT.

***3. main data !!
    CLEAR BKOND2.
    BKOND2-STYPE = '2'.
*EKORG / LIFNR
    CONCATENATE 'ZORG' HKOND-LIFNR INTO BKOND2-VAKEY. "key
move: hkond-datbi to bkond2-datbi,
      hkond-datab to bkond2-datab.
    BKOND2-KBETR = HKOND-KBETR.
*** Rest fill with nodata
    BKOND2-KONWA = NODAT.
    BKOND2-KPEIN = NODAT.
    BKOND2-KMEIN = NODAT.
    BKOND2-MWSK1 = NODAT.
    BKOND2-KONMS = NODAT.
    BKOND2-MXWRT = NODAT.
    BKOND2-GKWRT = NODAT.
    BKOND2-STFKZ = NODAT.
    BKOND2-KZNEP = NODAT.
    BKOND2-LOEVM_KO = NODAT.
    BKOND2-SKONWA = NODAT.
    TRANSFER BKOND2 TO FILE2.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 12:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-bdc-vk12/m-p/1881612#M370166</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2007-01-10T12:32:44Z</dc:date>
    </item>
  </channel>
</rss>

