<?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 session method MM02 material master change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819653#M350465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama devi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can view data pertaining to different modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jan 2007 11:26:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-22T11:26:54Z</dc:date>
    <item>
      <title>BDC session method MM02 material master change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819651#M350463</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;What is the usage of views in material master change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Devi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 06:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819651#M350463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T06:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: BDC session method MM02 material master change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819652#M350464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;by clicking it we can get options like Basic Data 1,Basic Data 2,Sales: Sales Org. Data 1,Sales: General/Plant Data etc,so by selecting the options u can make changes .i.e. in the first screen u have only material no &amp;amp; change no,by this u can change only material no.if u want to change material description ,basic unit of measure etc u have to go to views and u have to select options .ex-for changing material description ,basic unit of measure u have select BASIC DATA 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't forget to give points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 07:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819652#M350464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T07:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: BDC session method MM02 material master change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819653#M350465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama devi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can view data pertaining to different modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 11:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819653#M350465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T11:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: BDC session method MM02 material master change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819654#M350466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MM02 is for changing data of a material...u will have various fields in varioud views....now if u want to change data u have to select the corresponding view and specify the change data in the field to take effect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 11:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819654#M350466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T11:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: BDC session method MM02 material master change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819655#M350467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Rama Devi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the following Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check these links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="33819"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC SESSION&lt;/P&gt;&lt;P&gt;CALL TRANSACTION&lt;/P&gt;&lt;P&gt;CALL DIALOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is BDC or batch input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Batch Input is a SAP technic that allows automating the input in transactions. It lies on a BDC (Batch Data Commands) scenario. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#129;E BDC_OPEN_GROUP : Opens a session group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#129;E BDC_CLOSE_GROUP : Closes a session&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#129;E BDC_INSERT : Insert a BDC scenario in the session&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#129;E The ABAP statement "CALL TRANSACTION" is also called to run directly a transaction from its BDC table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It runs the program RSBDCSUB in order to launch automatically the session. The session management is done through the transaction code SM35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The object itself is maintanable through the transaction SE24.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC methods:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method &lt;/P&gt;&lt;P&gt;Description &lt;/P&gt;&lt;P&gt;Parameters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN_SESSION&lt;/P&gt;&lt;P&gt;Opens a session&lt;/P&gt;&lt;P&gt;SUBRC (Return Code ? 0 OK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SESSIONNAME (Session to be created)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE_SESSION&lt;/P&gt;&lt;P&gt;Closes a session&lt;/P&gt;&lt;P&gt;None&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESET_BDCDATA&lt;/P&gt;&lt;P&gt;Resets the BDC Internal Table...&lt;/P&gt;&lt;P&gt;None. Normally, for internal purpose&amp;#129;c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC_DYNPRO&lt;/P&gt;&lt;P&gt;Handles a new screen&lt;/P&gt;&lt;P&gt;PROGNAME (Name of the program)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DYNPRONR (Screen Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC_FIELD&lt;/P&gt;&lt;P&gt;Puts a value on the screen&lt;/P&gt;&lt;P&gt;FIELDNAME (Name of the field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELDVALUE (Value to be passed)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTRUCTOR&lt;/P&gt;&lt;P&gt;Constructor - Initializes NO_DATA&lt;/P&gt;&lt;P&gt;NODATA (No data character). The constructor is called automatically when the object is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RUN_SESSION&lt;/P&gt;&lt;P&gt;Launches a session with RSBDCBTC&lt;/P&gt;&lt;P&gt;None&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL_TRANSACTION&lt;/P&gt;&lt;P&gt;Calls a transaction with the current BDC Data&lt;/P&gt;&lt;P&gt;MODE (Display Mode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE (Update Mode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TCODE (Transaction to be called)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC_INSERT&lt;/P&gt;&lt;P&gt;Inserts the BDC scenario in the session&lt;/P&gt;&lt;P&gt;TCODE (Transaction to be called)&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;BDC techniques used in programs: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Building a BDC table and calling a transaction,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Building a session and a set of BDC scenarios and keeping the session available in SM35,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Building a session and lauching the transaction right after closing the session. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------" /&gt;&lt;P&gt;BDC using Call Transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC using Call transaction involves calling an SAP transaction in back ground from within the ABAP &lt;/P&gt;&lt;P&gt;program. The process involves building an Internal BDC table containing the screen information needed to &lt;/P&gt;&lt;P&gt;execute the required transaction and then passing this to the Call transaction command (See code example). &lt;/P&gt;&lt;P&gt;The full procedure for creating a BDC program is as follows:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;What is the difference between batch input and call transaction in BDC? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Session method. &lt;/P&gt;&lt;P&gt;1) synchronous processing. &lt;/P&gt;&lt;P&gt;2) can tranfer large amount of data. &lt;/P&gt;&lt;P&gt;3) processing is slower. &lt;/P&gt;&lt;P&gt;4) error log is created &lt;/P&gt;&lt;P&gt;5) data is not updated until session is processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call transaction. &lt;/P&gt;&lt;P&gt;1) asynchronous processing &lt;/P&gt;&lt;P&gt;2) can transfer small amount of data &lt;/P&gt;&lt;P&gt;3) processing is faster. &lt;/P&gt;&lt;P&gt;4) errors need to be handled explicitly &lt;/P&gt;&lt;P&gt;5) data is updated automatically &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;P&gt;BATINPUT/DIRECT INPUT&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;A: Batch-inputs can not be used to fill the "delivery due list" screen because it is not a dynpro. This is a standard SAP report. A SAP report (check with "System -&amp;gt; Status") may be called using SUBMIT sentence with the appropriate options . It is preferred to call a report than create a Batch-input program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GO THROUGH THIS LINK&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.guidancetech.com/people/holland/sap/abap/zzsni001.htm" target="test_blank"&gt;http://www.guidancetech.com/people/holland/sap/abap/zzsni001.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check with this code&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;tables : mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it_mara occurs 0,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;mbrsh like mara-mbrsh,&lt;/P&gt;&lt;P&gt;mtart like mara-mtart,&lt;/P&gt;&lt;P&gt;maktx like makt-maktx,&lt;/P&gt;&lt;P&gt;meins like mara-meins,&lt;/P&gt;&lt;P&gt;end of it_mara.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;perform upload_data.&lt;/P&gt;&lt;P&gt;perform open_group.&lt;/P&gt;&lt;P&gt;loop at it_mara.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'/00'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RMMG1-MATNR'&lt;/P&gt;&lt;P&gt;it_mara-matnr.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RMMG1-MBRSH'&lt;/P&gt;&lt;P&gt;it_mara-mbrsh.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RMMG1-MTART'&lt;/P&gt;&lt;P&gt;it_mara-mtart.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MSICHTAUSW-DYTXT(02)'.&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 'MSICHTAUSW-KZSEL(01)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(02)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '4004'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=BU'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;it_mara-maktx.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MARA-MEINS'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;it_mara-meins.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MARA-MTPOS_MARA'&lt;/P&gt;&lt;P&gt;'NORM'.&lt;/P&gt;&lt;P&gt;perform bdc_transaction using 'MM01'.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;perform close_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form upload_data&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt; p1 text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&amp;lt;-- p2 text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM upload_data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FILENAME = 'c:\mat_bdc.txt'&lt;/P&gt;&lt;P&gt;FILETYPE = 'ASC'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;DATA_TAB = it_mara.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;SORT IT_MARA BY MATNR.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM. " upload_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flat file structure is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRANIT_011 CCOUP This is Testing material kg &lt;/P&gt;&lt;P&gt;PRANIT_012 CCOUP This is Testing material kg &lt;/P&gt;&lt;P&gt;PRANIT_013 CCOUP This is Testing material kg &lt;/P&gt;&lt;P&gt;PRANIT_014 CCOUP This is Testing material kg &lt;/P&gt;&lt;P&gt;PRANIT_015 CCOUP This is Testing material kg &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;when your selecting views &lt;/P&gt;&lt;P&gt;this particular material will belongs to Po/Sales or some other areas .&lt;/P&gt;&lt;P&gt;when you select basic 1 --it gives description &lt;/P&gt;&lt;P&gt;select basic 2 -- it gives tax ,amount, base unit of measurement&amp;lt;/b&amp;gt;&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;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 17:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-method-mm02-material-master-change/m-p/1819655#M350467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T17:14:23Z</dc:date>
    </item>
  </channel>
</rss>

