<?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: can any body explain code below in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464597#M218918</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;1) try to format your coding with button "Code"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) prg is a bdc to transaction CJ32&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) start prg. and turn to trx SM35 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Sep 2006 11:46:05 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2006-09-04T11:46:05Z</dc:date>
    <item>
      <title>can any body explain code below</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464596#M218917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;start-of-selection.  perform open_group.  loop at itab.    at new pname.      line = '01'.    endat.    if itab-level = '1'.      line = '01'.      wbs = itab-wbs.    endif.    perform bdc_dynpro      using 'SAPMKBUD' '0200'.    perform bdc_field       using 'BDC_CURSOR'                                  'BPDY-TWAER'.    perform bdc_field       using 'BDC_OKCODE'                                  '/00'.    perform bdc_field       using 'PROJ-PSPID'                                  itab-pname.                   perform bdc_field       using 'PRPS-POSID'                                  wbs.     perform bdc_field       using 'BPDY-TWAER'                                  'pkr'.    perform bdc_dynpro      using 'SAPLKBPP' '0320'.    perform bdc_field       using 'BDC_CURSOR'                                  'BPDY-WERT1(02)'.    perform bdc_field       using 'BDC_OKCODE'                                  '/00'.    cursor = 'BPDY-WERT1'.    concatenate cursor '(' line ')' into cursor.    perform bdc_field       using cursor                                 itab-over_all_budget.    perform bdc_dynpro      using 'SAPLKBPP' '0320'.    perform bdc_field       using 'BDC_CURSOR'                                  'DROPT-PTIME'.    perform bdc_field       using 'BDC_OKCODE'                                  '=DROT'.    perform bdc_field       using 'DROPT-PTIME'                                  itab-year.                   perform bdc_dynpro      using 'SAPLKBPP' '0320'.    perform bdc_field       using 'BDC_CURSOR'                                  'BPDY-WERT1(09)'.    perform bdc_field       using 'BDC_OKCODE'                                  '/00'.    perform bdc_field       using 'DROPT-PTIME'                                  itab-year.                    perform bdc_field       using cursor                                  itab-year_budget.    perform bdc_dynpro      using 'SAPLKBPP' '0320'.    perform bdc_field       using 'BDC_CURSOR'                                  'BPDY-WERT1(09)'.    perform bdc_field       using 'BDC_OKCODE'                                  '=POST'.   " perform bdc_transaction using 'CJ32'."    line = line + 1.  endloop.  perform close_group.FORM OPEN_GROUP.  IF SESSION = 'X'.    SKIP.    WRITE: /(20) 'Create group'(I01), GROUP.    SKIP.*   open batchinput group    CALL FUNCTION 'BDC_OPEN_GROUP'         EXPORTING  CLIENT   = SY-MANDT                    GROUP    = GROUP                    USER     = USER                    KEEP     = KEEP                    HOLDDATE = HOLDDATE.    WRITE: /(30) 'BDC_OPEN_GROUP'(I02),            (12) 'returncode:'(I05),                 SY-SUBRC.  ENDIF.ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2006 11:39:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464596#M218917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-04T11:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: can any body explain code below</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464597#M218918</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;1) try to format your coding with button "Code"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) prg is a bdc to transaction CJ32&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) start prg. and turn to trx SM35 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2006 11:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464597#M218918</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-09-04T11:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: can any body explain code below</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464598#M218919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This a BDC program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat Ramanan N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2006 11:58:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464598#M218919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-04T11:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: can any body explain code below</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464599#M218920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;perform open_group. &lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;at new pname. line = '01'. &lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;if itab-level = '1'.&lt;/P&gt;&lt;P&gt;line = '01'. &lt;/P&gt;&lt;P&gt;wbs = itab-wbs.&lt;/P&gt;&lt;P&gt; endif. &lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPMKBUD' '0200'.&lt;/P&gt;&lt;P&gt; perform bdc_field using 'BDC_CURSOR' 'BPDY-TWAER'.&lt;/P&gt;&lt;P&gt; perform bdc_field using 'BDC_OKCODE' '/00'. &lt;/P&gt;&lt;P&gt;perform bdc_field using 'PROJ-PSPID' itab-pname.&lt;/P&gt;&lt;P&gt; perform bdc_field using 'PRPS-POSID' wbs. &lt;/P&gt;&lt;P&gt;perform bdc_field using 'BPDY-TWAER' 'pkr'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLKBPP' '0320'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR' 'BPDY-WERT1(02)'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '/00'. cursor = 'BPDY-WERT1'. &lt;/P&gt;&lt;P&gt;concatenate cursor '(' line ')' into cursor. &lt;/P&gt;&lt;P&gt;perform bdc_field using cursor itab-over_all_budget.&lt;/P&gt;&lt;P&gt; perform bdc_dynpro using 'SAPLKBPP' '0320'.&lt;/P&gt;&lt;P&gt; perform bdc_field using 'BDC_CURSOR' 'DROPT-PTIME'.&lt;/P&gt;&lt;P&gt; perform bdc_field using 'BDC_OKCODE' '=DROT'. &lt;/P&gt;&lt;P&gt;perform bdc_field using 'DROPT-PTIME' itab-year.&lt;/P&gt;&lt;P&gt; perform bdc_dynpro using 'SAPLKBPP' '0320'.&lt;/P&gt;&lt;P&gt; perform bdc_field using 'BDC_CURSOR' 'BPDY-WERT1(09)'. &lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '/00'. &lt;/P&gt;&lt;P&gt;perform bdc_field using 'DROPT-PTIME' itab-year. &lt;/P&gt;&lt;P&gt;perform bdc_field using cursor itab-year_budget.&lt;/P&gt;&lt;P&gt; perform bdc_dynpro using 'SAPLKBPP' '0320'. &lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR' 'BPDY-WERT1(09)'. &lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '=POST'. " &lt;/P&gt;&lt;P&gt;perform bdc_transaction using 'CJ32'." line = line + 1. &lt;/P&gt;&lt;P&gt;endloop. perform close_group.FORM OPEN_GROUP.&lt;/P&gt;&lt;P&gt; IF SESSION = 'X'. SKIP. WRITE: /(20) 'Create group'(I01), GROUP. SKIP.* &lt;/P&gt;&lt;P&gt;open batchinput group &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt; EXPORTING CLIENT = SY-MANDT &lt;/P&gt;&lt;P&gt;GROUP = GROUP &lt;/P&gt;&lt;P&gt;USER = USER &lt;/P&gt;&lt;P&gt;KEEP = KEEP &lt;/P&gt;&lt;P&gt;HOLDDATE = HOLDDATE. &lt;/P&gt;&lt;P&gt;WRITE: /(30) 'BDC_OPEN_GROUP'(I02), (12) 'returncode:'(I05), SY-SUBRC. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the over all program but this is contain only persoem statement, so it would be tough to give you detail explanation for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code is CJ32 for which this recording is done.&lt;/P&gt;&lt;P&gt;this is a bdc session process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2006 12:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464599#M218920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-04T12:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: can any body explain code below</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464600#M218921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;It's a BDC for the SAP-Transaction CJ32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2006 04:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-any-body-explain-code-below/m-p/1464600#M218921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-05T04:44:36Z</dc:date>
    </item>
  </channel>
</rss>

