<?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: BDC HELP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696675#M890058</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 can't as such explain complete BDC but I can give you an idea where, when and how it's used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC is used to upload data. Other concepts in ABAP along  with BDC that are used to upload data are LSMW, BAPI etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When talking about BDC we have 2 approaches.&lt;/P&gt;&lt;P&gt;1. Call transaction&lt;/P&gt;&lt;P&gt;2. Session method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the differences between these you have to search this forum to have a very clear idea. Each method has it's own advantages and error handling as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what ever the transaction say vendor master, material or customer......you have to goto that transaction and do recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recording is done using SHDB or SM35 tcodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to populate the BDCDATA in your program with screen no, screen name, field name, field value, program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are DYNPRO, DYNBEGIN, FNAM, FVAL, PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I an not sure what else to write.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more questions please get back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2008 15:52:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-08T15:52:49Z</dc:date>
    <item>
      <title>BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696673#M890056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using abap trail version so i can't access the material master or vendor master table.so can anyone give me an example of a bdc program which doesn't include material or vendor master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't have any idea about bdc so i want the example in details.can anybody help me with this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;abhinab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 15:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696673#M890056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T15:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696674#M890057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ab, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC is a script to process data.  When you create BDC process (thru SM35==&amp;gt; Recording) you basically walk thru the process of performing what ever transaction want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you do this, you save the recording.  You are then able to create a program based on that recording and "plug in" code from this generated program that will specifially perform the parts you want with the values you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example of a BDC generated program.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report YPTC_BDC_MIGO2
       no standard page heading line-size 255.

include bdcrecx1.

parameters: dataset(132) lower case.
***    DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
*
*   If it is nessesary to change the data section use the rules:
*   1.) Each definition of a field exists of two lines
*   2.) The first line shows exactly the comment
*       '* data element: ' followed with the data element
*       which describes the field.
*       If you don't have a data element use the
*       comment without a data element name
*   3.) The second line shows the fieldname of the
*       structure, the fieldname must consist of
*       a fieldname and optional the character '_' and
*       three numbers and the field length in brackets
*   4.) Each field must be type C.
*
*** Generated data section with specific formatting - DO NOT CHANGE  ***
data: begin of record,
* data element: GOACTION
        ACTION_001(003),
* data element: REFDOC
        REFDOC_002(003),
* data element: BWART
        BWART_003(003),
* data element: EBELN
        PO_NUMBER_004(010),
* data element: EBELP
        PO_ITEM_005(005),
* data element: BLDAT
        BLDAT_006(010),
* data element: BUDAT
        BUDAT_007(010),
* data element: WEVER
        WEVER_008(018),
* data element: BWART
        BWART_009(003),
* data element: BLDAT
        BLDAT_010(010),
* data element: BUDAT
        BUDAT_011(010),
* data element: WEVER
        WEVER_012(018),
* data element: MBLPO
        DETAIL_ZEILE_013(004),
* data element: ERFME
        ERFME_014(003),
* data element: MB_ERFMG
        ERFMG_015(017),
* data element: MIGO_ELIKZ
        MIGO_ELIKZ_016(012),
* data element: BWART
        BWART_017(003),
* data element: MB_TAKE_IT
        DETAIL_TAKE_018(001),
      end of record.

*** End generated data section ***

start-of-selection.

perform open_dataset using dataset.
perform open_group.

do.

read dataset dataset into record.
if sy-subrc &amp;lt;&amp;gt; 0. exit. endif.

perform bdc_dynpro      using 'SAPLMIGO' '0001'.
perform bdc_field       using 'BDC_OKCODE'
                              '=OK_GO'.
perform bdc_field       using 'GODYNPRO-ACTION'
                              record-ACTION_001.
perform bdc_field       using 'GODYNPRO-REFDOC'
                              record-REFDOC_002.
perform bdc_field       using 'GODEFAULT_TV-BWART'
                              record-BWART_003.
perform bdc_field       using 'BDC_CURSOR'
                              'GODYNPRO-PO_ITEM'.
perform bdc_field       using 'GODYNPRO-PO_NUMBER'
                              record-PO_NUMBER_004.
perform bdc_field       using 'GODYNPRO-PO_ITEM'
                              record-PO_ITEM_005.
perform bdc_field       using 'GOHEAD-BLDAT'
                              record-BLDAT_006.
perform bdc_field       using 'GOHEAD-BUDAT'
                              record-BUDAT_007.
perform bdc_field       using 'GOHEAD-WEVER'
                              record-WEVER_008.
perform bdc_dynpro      using 'SAPLMIGO' '0001'.
perform bdc_field       using 'BDC_OKCODE'
                              '=OK_POST1'.
perform bdc_field       using 'GODEFAULT_TV-BWART'
                              record-BWART_009.
perform bdc_field       using 'GOHEAD-BLDAT'
                              record-BLDAT_010.
perform bdc_field       using 'GOHEAD-BUDAT'
                              record-BUDAT_011.
perform bdc_field       using 'GOHEAD-WEVER'
                              record-WEVER_012.
perform bdc_field       using 'GODYNPRO-DETAIL_ZEILE'
                              record-DETAIL_ZEILE_013.
perform bdc_field       using 'BDC_CURSOR'
                              'GOITEM-ERFME'.
perform bdc_field       using 'GOITEM-ERFME'
                              record-ERFME_014.
perform bdc_field       using 'GOITEM-ERFMG'
                              record-ERFMG_015.
perform bdc_field       using 'GOITEM-MIGO_ELIKZ'
                              record-MIGO_ELIKZ_016.
perform bdc_field       using 'GOITEM-BWART'
                              record-BWART_017.
perform bdc_field       using 'GODYNPRO-DETAIL_TAKE'
                              record-DETAIL_TAKE_018.
perform bdc_transaction using 'MIGO'.

enddo.

perform close_group.
perform close_dataset using dataset.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 15:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696674#M890057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T15:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696675#M890058</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 can't as such explain complete BDC but I can give you an idea where, when and how it's used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC is used to upload data. Other concepts in ABAP along  with BDC that are used to upload data are LSMW, BAPI etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When talking about BDC we have 2 approaches.&lt;/P&gt;&lt;P&gt;1. Call transaction&lt;/P&gt;&lt;P&gt;2. Session method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the differences between these you have to search this forum to have a very clear idea. Each method has it's own advantages and error handling as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what ever the transaction say vendor master, material or customer......you have to goto that transaction and do recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recording is done using SHDB or SM35 tcodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to populate the BDCDATA in your program with screen no, screen name, field name, field value, program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are DYNPRO, DYNBEGIN, FNAM, FVAL, PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I an not sure what else to write.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more questions please get back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 15:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696675#M890058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T15:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696676#M890059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the transaction migo doesn't exists for me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 15:58:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696676#M890059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T15:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: BDC HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696677#M890060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Abhinab,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create your own .. my code was meerly an example of the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create your own&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SM35&lt;/P&gt;&lt;P&gt;Push the Recording button&lt;/P&gt;&lt;P&gt;Push the New Recording button&lt;/P&gt;&lt;P&gt;give some name (AbhTEST)&lt;/P&gt;&lt;P&gt;give the Trancode you want to record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move thru the transaction and complete all the data you need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAVE or whatever the transaction you used uses to finsih&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will be shown a BDC Script.&lt;/P&gt;&lt;P&gt;Hit the SAVE button at the top&lt;/P&gt;&lt;P&gt;then the GREEN Arrow button &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will be given a list of recordings that have been made.&lt;/P&gt;&lt;P&gt;Select your recording and hit the PROGRAM Button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give a name for the program (it should be started with a Y for local code not to be transported)&lt;/P&gt;&lt;P&gt;hit the Transfer from Recording radion button&lt;/P&gt;&lt;P&gt;and then the Green Check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill in the Required fields here and push the Source Code button&lt;/P&gt;&lt;P&gt;then the Local Object button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are then presented with the source code.  This code will compile and run as is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this code is very raw and will need to be modified to be placed into your code that you would this action from.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 16:09:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/3696677#M890060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T16:09:26Z</dc:date>
    </item>
  </channel>
</rss>

