<?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 bdc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc/m-p/3581427#M862179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDC means &lt;STRONG&gt;Batch Data Communication&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;nothing but uploading data from NON SAP system to SAP system. &lt;/P&gt;&lt;P&gt;If a company is implementing SAP then there data should be moved to SAP systems.,to move the data to SAP system we use BDC.&lt;/P&gt;&lt;P&gt;This is one of the technique to upload data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Different types in BDC.&lt;/P&gt;&lt;P&gt;1. DIRECT INPUT.&lt;/P&gt;&lt;P&gt;2. CALL TRANSACTION&lt;/P&gt;&lt;P&gt;3. SESSION METHOD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2008 07:46:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-26T07:46:00Z</dc:date>
    <item>
      <title>Regarding bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc/m-p/3581424#M862176</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;Plz tell me basis concepts of BDC in ABAP&lt;/P&gt;&lt;P&gt;What are its type?&lt;/P&gt;&lt;P&gt;Give some ex? and also the link&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 07:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc/m-p/3581424#M862176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T07:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc/m-p/3581425#M862177</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;Table control in BDC&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/bdc.htm" target="test_blank"&gt;http://www.sap-img.com/bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bdc tutorial&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/bdc%2btutorial" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/bdc%2btutorial&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abap-gallery.blogspot.com/2007/08/bdc-batch-data-communication-tutorial.html" target="test_blank"&gt;http://abap-gallery.blogspot.com/2007/08/bdc-batch-data-communication-tutorial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ittestpapers.com/articles/908/3/FAQ-on-ABAP-BDC-programs/Page3.html" target="test_blank"&gt;http://www.ittestpapers.com/articles/908/3/FAQ-on-ABAP-BDC-programs/Page3.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this helps, Do reward.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Runal Singh on Mar 26, 2008 1:09 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 07:38:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc/m-p/3581425#M862177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T07:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc/m-p/3581426#M862178</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;It is just to upload data from flat file Into SAP tables through standard transactions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Record through tcode  &lt;STRONG&gt;SHDB&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ZMMDKTEST
       no standard page heading line-size 255.
DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
tables : mara.
data : begin of itab occurs 0,
        matnr like mara-matnr,
        werks like marc-werks,
       end of itab.
DATA : viewno(2) TYPE n,
       ch(1) TYPE c,
       n(2) type n value 1,
       aktiv(15),
       dytxt(20),
       kzsel(20),
        i_t133a LIKE t133a OCCURS 0 WITH HEADER LINE.

CALL FUNCTION 'UPLOAD'
 EXPORTING
   FILENAME                      = 'C:'
   FILETYPE                      = 'DAT'
  TABLES
    data_tab                      = itab
          .

start-of-selection.
loop at itab.
refresh bdcdata.
perform viewchk.
CONCATENATE 'MSICHTAUSW-DYTXT(' viewno ')' INTO dytxt.
CONCATENATE 'MSICHTAUSW-KZSEL(' viewno ')' INTO kzsel.

perform bdc_dynpro      using 'SAPLMGMM' '0060'.
perform bdc_field       using 'BDC_CURSOR'
                              'RMMG1-MATNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_field       using 'RMMG1-MATNR'
                              itab-matnr.  "'1150327'.
perform bdc_dynpro      using 'SAPLMGMM' '0070'.
perform bdc_field       using 'BDC_CURSOR'
                              dytxt.   "'MSICHTAUSW-DYTXT(17)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_field       using kzsel    "'MSICHTAUSW-KZSEL(17)'
                              'X'.
perform bdc_dynpro      using 'SAPLMGMM' '0080'.
perform bdc_field       using 'BDC_CURSOR'
                              'RMMG1-WERKS'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_field       using 'RMMG1-WERKS'
                              itab-werks.   "'3000'.
perform bdc_dynpro      using 'SAPLMGMM' '4000'.
perform bdc_field       using 'BDC_OKCODE'
                              '=PB01'.
*perform bdc_field       using 'MAKT-MAKTX'
*                              'BALL BEARING 208K/6208K'.
*perform bdc_field       using 'MARA-MEINS'
*                              'NOS'.
*perform bdc_field       using 'MARC-KZDKZ'
*                              'X'.
perform bdc_field       using 'BDC_CURSOR'
                              'MARA-QMPUR'.
perform bdc_field       using 'MARA-QMPUR'
                              ' '.
*perform bdc_field       using 'MARC-SSQSS'
*                              '0007'.
perform bdc_dynpro      using 'SAPLQPLS' '0100'.
perform bdc_field       using 'BDC_CURSOR'
                              'RMQAM-AKTIV(10)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=WEIT'.
*perform bdc_field       using 'RMQAM-INSMK'
*                              'X'.
*perform bdc_field       using 'RMQAM-EIN'
*                              'X'.
*perform bdc_field       using 'RMQAM-QKZVERF'
*                              '06'.
*perform bdc_field       using 'RMQAM-DYN'
*                              'X'.
*perform bdc_field       using 'RMQAM-AVE'
*                              'X'.
n = 1.
do 10 times.
concatenate 'RMQAM-AKTIV(' n ')' into aktiv.
perform bdc_field       using aktiv     "'RMQAM-AKTIV(01)'
                                      ' '.
n = n + 1.
enddo.
*perform bdc_field       using 'RMQAM-AKTIV(02)'
*                              ' '.
*perform bdc_field       using 'RMQAM-AKTIV(03)'
*                              ' '.
perform bdc_dynpro      using 'SAPLMGMM' '4000'.
perform bdc_field       using 'BDC_OKCODE'
                              '=BU'.
call transaction 'MM02' using bdcdata mode 'A' update 'S'.
endloop.
*perform bdc_field       using 'BDC_CURSOR'
*                              'MAKT-MAKTX'.
*perform bdc_field       using 'MAKT-MAKTX'
*                              'BALL BEARING 208K/6208K'.
*perform bdc_field       using 'MARA-MEINS'
*                              'NOS'.
*perform bdc_field       using 'MARC-KZDKZ'
*                              'X'.
*perform bdc_field       using 'MARA-QMPUR'
*                              'X'.
*perform bdc_field       using 'MARC-SSQSS'
*                              '0007'.
*perform bdc_transaction using 'MM02'.

*perform close_group.

*----------------------------------------------------------------------*
*        Start new screen                                              *
*----------------------------------------------------------------------*
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
  CLEAR BDCDATA.
  BDCDATA-PROGRAM  = PROGRAM.
  BDCDATA-DYNPRO   = DYNPRO.
  BDCDATA-DYNBEGIN = 'X'.
  APPEND BDCDATA.
ENDFORM.

*----------------------------------------------------------------------*
*        Insert field                                                  *
*----------------------------------------------------------------------*
FORM BDC_FIELD USING FNAM FVAL.
    CLEAR BDCDATA.
    BDCDATA-FNAM = FNAM.
    BDCDATA-FVAL = FVAL.
    APPEND BDCDATA.
ENDFORM.

FORM viewchk .

 SELECT SINGLE * FROM  mara WHERE  matnr = itab-matnr.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    CLEAR mara.
  ENDIF.
  SELECT * FROM  t133a INTO CORRESPONDING FIELDS OF TABLE i_t133a
         WHERE bilds EQ '11'
         AND   guifu LIKE 'SP%'.
  LOOP AT i_t133a.
    ch = i_t133a-pstat.
    IF mara-vpsta NA ch.
      DELETE i_t133a.
      CONTINUE.
    ENDIF.
  ENDLOOP.
  SORT i_t133a BY guifu.
  viewno = 0.
  LOOP AT i_t133a.
    viewno = viewno + 1.
    IF i_t133a-guifu = 'SP23'.        " MRP 1  - as per table t133a.
      EXIT.
    ENDIF.
  ENDLOOP.
ENDFORM.                    " viewchk
*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V.Balaji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Usefull...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 07:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc/m-p/3581426#M862178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T07:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc/m-p/3581427#M862179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDC means &lt;STRONG&gt;Batch Data Communication&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;nothing but uploading data from NON SAP system to SAP system. &lt;/P&gt;&lt;P&gt;If a company is implementing SAP then there data should be moved to SAP systems.,to move the data to SAP system we use BDC.&lt;/P&gt;&lt;P&gt;This is one of the technique to upload data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Different types in BDC.&lt;/P&gt;&lt;P&gt;1. DIRECT INPUT.&lt;/P&gt;&lt;P&gt;2. CALL TRANSACTION&lt;/P&gt;&lt;P&gt;3. SESSION METHOD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 07:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc/m-p/3581427#M862179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T07:46:00Z</dc:date>
    </item>
  </channel>
</rss>

