<?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 bdc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2554654#M582116</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 upload XD01 (customer) and XK01 (Vendor) using bdc-call transaction(mm01).&lt;/P&gt;&lt;P&gt;what are the steps Before recording for both cases ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2007 06:41:13 GMT</pubDate>
    <dc:creator>former_member630092</dc:creator>
    <dc:date>2007-07-16T06:41:13Z</dc:date>
    <item>
      <title>bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2554654#M582116</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 upload XD01 (customer) and XK01 (Vendor) using bdc-call transaction(mm01).&lt;/P&gt;&lt;P&gt;what are the steps Before recording for both cases ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 06:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2554654#M582116</guid>
      <dc:creator>former_member630092</dc:creator>
      <dc:date>2007-07-16T06:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2554655#M582117</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;Here is the complete Code for &amp;lt;b&amp;gt;XD01&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTEST_01&lt;/P&gt;&lt;P&gt;NO STANDARD PAGE HEADING LINE-SIZE 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE BDCRECX1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM OPEN_GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM BDC_DYNPRO USING 'SAPMF02D' '7100'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RF02D-KUNNR'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ENTR'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'RF02D-KTOKD'&lt;/P&gt;&lt;P&gt;'4321'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_DYNPRO USING 'SAPMF02D' '7000'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ENTR'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'ADDR1_DATA-COUNTRY'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'SZA1_D0100-TITLE_MEDI'&lt;/P&gt;&lt;P&gt;'Mr'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'ADDR1_DATA-NAME1'&lt;/P&gt;&lt;P&gt;'Santosh'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'ADDR1_DATA-COUNTRY'&lt;/P&gt;&lt;P&gt;'IN'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'ADDR1_DATA-LANGU'&lt;/P&gt;&lt;P&gt;'EN'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_DYNPRO USING 'SAPMF02D' '7000'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=UPDA'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'SZA1_D0100-TITLE_MEDI'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'SZA1_D0100-TITLE_MEDI'&lt;/P&gt;&lt;P&gt;'Mr'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'ADDR1_DATA-NAME1'&lt;/P&gt;&lt;P&gt;'Santosh'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'ADDR1_DATA-COUNTRY'&lt;/P&gt;&lt;P&gt;'IN'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'ADDR1_DATA-TIME_ZONE'&lt;/P&gt;&lt;P&gt;'INDIA'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD USING 'ADDR1_DATA-LANGU'&lt;/P&gt;&lt;P&gt;'EN'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_TRANSACTION USING 'XD01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM CLOSE_GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 06:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2554655#M582117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T06:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2554656#M582118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Steps for creating BDC&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; &lt;/P&gt;&lt;P&gt;1. Work out the transaction you would use to create the data manually. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use transaction SHDB to record the creation of one material master data. &lt;/P&gt;&lt;P&gt;    Click the New recording button or the Menu - Recording - Create &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Save the recording, and then go back a screen and go to the overview. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Select the recording and click on Edit - Create Program. Give the program a Z name, and select transfer from recording. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Edit the program. You will see that all the data you entered is hard-coded into the program. You need to make the following changes: &lt;/P&gt;&lt;P&gt;5.1 After the start-of-selection, Call ws_upload to upload the file (the excel file needs to be saved as TAB separated). &lt;/P&gt;&lt;P&gt;5.2 After the open-group, Loop on the uploaded data. For each line, perform validation checks on the data, then modify the perform bdc_field commands to use the file data. &lt;/P&gt;&lt;P&gt;5.3. After perform bdc_transaction, add the endloop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Execute the program. It will have options to create a batch session or to process directly.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;These are all my finds . Might be it will be useful to you.&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct call of transactions, session handling: &lt;/P&gt;&lt;P&gt;/nxxxx This terminates the current transaction, and starts transaction xxxx &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/n This terminates the transaction. This generally corresponds to pressing F15 to go back. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/nend This termiantes all separate sessions and logs off (corresponds to System - Logoff). &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/nex This terminates all separate sessions and logs off immediately (without any warning!). &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/oxxxx This opens a new session and starts transaction xxxx in This session. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/o This lists existing sessions and allows deletion or opening of a new session. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/i This terminates the current session (corresponds to System End &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/i1, /i2,... This terminates the session with the number given. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;.xyzw Fast path: 'xyzw' refers to the underlined letters in the menus. This type of navigation is uncommon and is provided more for emergencies (such as a defective mouse). &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;Batch&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;The following commands can be entered in correction mode ('Process in foreground' or 'Display errors only') when processing a batch input session: &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/n This terminates the current batch input transaction and characterizes it as &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/bdel This deletes the current batch input transaction. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/bend This terminates batch input processing and sets the session to Failed &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/bda This switches from Display errors only to Process in foreground &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/bde This switches from Process in foreground to Display errors only &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;ABAP/4 &lt;/P&gt;&lt;P&gt;/h This switches into debugging mode. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/hs This switches into debugging mode and activates the debugging of system functions. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Buffer &lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;WARNING:&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; Resetting buffers can significantly change the performance of the entire system for a long time. &lt;/P&gt;&lt;P&gt;It should therefore only be used where there is a good reason tdso. As of release 3.0B system administator authorization is required (authorization object (S_ADMI_FCD). The action is noted in the system log. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/$SYNC This resets all buffers of the application server &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/$CUA This resets the CUA buffer of the application server &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/$TAB This resets the TABLE buffers of the application server &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/$NAM This resets the nametab buffer of the application server &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/$DYNP This resets the screen buffer of the application server &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INCLUDE BDCRECX1.

START-OF-SELECTION.

PERFORM OPEN_GROUP.

PERFORM BDC_DYNPRO USING 'SAPMF02D' '7100'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RF02D-KUNNR'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
PERFORM BDC_FIELD USING 'RF02D-KTOKD'
'4321'.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '7000'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'ADDR1_DATA-COUNTRY'.
PERFORM BDC_FIELD USING 'SZA1_D0100-TITLE_MEDI'
'Mr'.
PERFORM BDC_FIELD USING 'ADDR1_DATA-NAME1'
'Santosh'.
PERFORM BDC_FIELD USING 'ADDR1_DATA-COUNTRY'
'IN'.
PERFORM BDC_FIELD USING 'ADDR1_DATA-LANGU'
'EN'.
PERFORM BDC_DYNPRO USING 'SAPMF02D' '7000'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=UPDA'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'SZA1_D0100-TITLE_MEDI'.
PERFORM BDC_FIELD USING 'SZA1_D0100-TITLE_MEDI'
'Mr'.
PERFORM BDC_FIELD USING 'ADDR1_DATA-NAME1'
'Santosh'.
PERFORM BDC_FIELD USING 'ADDR1_DATA-COUNTRY'
'IN'.
PERFORM BDC_FIELD USING 'ADDR1_DATA-TIME_ZONE'
'INDIA'.
PERFORM BDC_FIELD USING 'ADDR1_DATA-LANGU'
'EN'.
PERFORM BDC_TRANSACTION USING 'XD01'.

PERFORM CLOSE_GROUP. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;check this link &amp;lt;a href="http://sap.niraj.tripod.com"&amp;gt;BDC&amp;lt;/a&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pavan praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 06:49:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2554656#M582118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T06:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2554657#M582119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 May 2009 16:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2554657#M582119</guid>
      <dc:creator>former_member630092</dc:creator>
      <dc:date>2009-05-31T16:36:44Z</dc:date>
    </item>
  </channel>
</rss>

