<?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: urgent: in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent/m-p/2940964#M693320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can create your repot as BDC for good issue, invoice, invoice receipt and clearing...&lt;/P&gt;&lt;P&gt;take PO Price and Sales Order Price as input  to this report...&lt;/P&gt;&lt;P&gt;based on the input.. fetch corresponding data tha is needed as input for the above all transactions.. and poppulate it in BDC for these TCODEs...&lt;/P&gt;&lt;P&gt;execute these TCODEs one by one as you populate the data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Oct 2007 04:44:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-22T04:44:56Z</dc:date>
    <item>
      <title>urgent:</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent/m-p/2940963#M693319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all sap gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post Goods issue tcode ZVL02N this is manual and &lt;/P&gt;&lt;P&gt;goods receipt tcode MIGO this is automatic,&lt;/P&gt;&lt;P&gt;create invoice tcode VF01 this is automatic,&lt;/P&gt;&lt;P&gt;Logistics Invoice Verification MIRO this is automatic,&lt;/P&gt;&lt;P&gt;clearing  tcode FB05 this also automatic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here the  requirement is we need to create tcode ZVL02N, based on purchase order [rice and sales order price, the postgoods issue need to trigger and the remaining one by one invoice , invoice receipt and cleaing should be trigger one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i proceed to do this,&lt;/P&gt;&lt;P&gt;pls help me in this regard,&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;points will be rewarded,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 04:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent/m-p/2940963#M693319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T04:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: urgent:</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent/m-p/2940964#M693320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can create your repot as BDC for good issue, invoice, invoice receipt and clearing...&lt;/P&gt;&lt;P&gt;take PO Price and Sales Order Price as input  to this report...&lt;/P&gt;&lt;P&gt;based on the input.. fetch corresponding data tha is needed as input for the above all transactions.. and poppulate it in BDC for these TCODEs...&lt;/P&gt;&lt;P&gt;execute these TCODEs one by one as you populate the data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 04:44:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent/m-p/2940964#M693320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T04:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: urgent:</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent/m-p/2940965#M693321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes BDC is good option ihave done such coding for MI01 and Mi04 and so on...inventory counting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RUN BDC for first T COde and then pick the messages and get the document number from messages and put that documentin next T Code and so on..please seee folloning code for getting Ducment no (doc_no from MI01 and used in MI04)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find example code as follows...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_screen using 'SAPMM07I' '0700' 'X'.&lt;/P&gt;&lt;P&gt;*perform bdc_field using 'RM07I-BLDAT' .&lt;/P&gt;&lt;P&gt;*perform bdc_field using 'RM07I-GIDAT' sy-datum.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'IKPF-WERKS' ZGKPF-DC_CODE.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'IKPF-LGORT' t001l-lgort.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'IKPF-SPERR' 'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RM07I-XLVOCA' 'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_screen using 'SAPMM07I' '0721' 'X'.&lt;/P&gt;&lt;P&gt;i = 1.&lt;/P&gt;&lt;P&gt;loop at itab_stock.&lt;/P&gt;&lt;P&gt;  concatenate 'ISEG-MATNR(' i ')' into fnam.&lt;/P&gt;&lt;P&gt;  perform bdc_field using  fnam itab_stock-matnr.&lt;/P&gt;&lt;P&gt;  if i = '12'.&lt;/P&gt;&lt;P&gt;  perform bdc_field using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;  perform bdc_screen using 'SAPMM07I' '0721' 'X'.&lt;/P&gt;&lt;P&gt;  i = 0.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  i = i + 1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;perform bdc_screen using 'SAPMM07I' '0721' 'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '=BU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'MI01' using itab_bdcdata mode 'A' MESSAGES INTO&lt;/P&gt;&lt;P&gt;ITAB_msg.&lt;/P&gt;&lt;P&gt;CLEAR itab_bdcdata[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab_msg where msgtyp = 'S'.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;message i010(zmgs) with itab_msg-MSGV1.&lt;/P&gt;&lt;P&gt;docno = itab_msg-msgv1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*perform bdc_mi04.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*select * into corresponding fields of table itab from ikpf.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*read table itab index sy-dbcnt.&lt;/P&gt;&lt;P&gt;*docno = itab-iblnr.&lt;/P&gt;&lt;P&gt;*message i010(zmgs) with docno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_mi04.&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;form bdc_mi04 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_screen using 'SAPMM07I' '0701' 'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'RM07I-IBLNR' docno.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_screen using 'SAPMM07I' '0731' 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i = 1.&lt;/P&gt;&lt;P&gt;loop at itab_stock.&lt;/P&gt;&lt;P&gt;  quantchar = itab_stock-menge.&lt;/P&gt;&lt;P&gt;  concatenate 'ISEG-ERFMG(' i ')' into fnam.&lt;/P&gt;&lt;P&gt;  perform bdc_field using 'BDC_CURSOR' FNAM.&lt;/P&gt;&lt;P&gt;  perform bdc_field using  fnam quantchar.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; BREAK-POINT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if i = '5'.&lt;/P&gt;&lt;P&gt;  perform bdc_field using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;  perform bdc_screen using 'SAPMM07I' '0731' 'X'.&lt;/P&gt;&lt;P&gt;  i = 0.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  i = i + 1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;perform bdc_screen using 'SAPMM07I' '0731' 'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '=BU'.&lt;/P&gt;&lt;P&gt;call transaction 'MI04' using itab_bdcdata mode 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " bdc_mi04&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 07:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent/m-p/2940965#M693321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T07:08:45Z</dc:date>
    </item>
  </channel>
</rss>

