<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ABAP Tutorials</title>
	<atom:link href="http://www.abap-tutorials.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abap-tutorials.com</link>
	<description>ABAP Tutorials, Guides, Training, Manuals</description>
	<lastBuildDate>Mon, 23 Aug 2010 10:21:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Batch Input FAQs</title>
		<link>http://www.abap-tutorials.com/2010/08/23/batch-input-faqs/</link>
		<comments>http://www.abap-tutorials.com/2010/08/23/batch-input-faqs/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 10:21:22 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[BDC / LSMW]]></category>
		<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Batch Imput Session]]></category>
		<category><![CDATA[BDC]]></category>
		<category><![CDATA[BDC Session]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1720</guid>
		<description><![CDATA[Batch Input FAQs :  The attached file takes you to the in depths of the BDC concepts. The concepts ranges from Concepts, Recording (SHDB), Content of Data, Influencing the execution, Troubleshooting the execution, Special Development, and Miscellaneous questions.   Download Link: BDC_concepts.     *source = Sandra Rossi Related posts:Downloading PF-Status(GUI Status) in SAP Step by Step LSMW Tutorial [...]]]></description>
			<content:encoded><![CDATA[<h3 style="text-align: justify;"><span style="color: #3366ff;">Batch Input FAQs :</span></h3>
<p style="text-align: justify;"> The attached file takes you to the in depths of the BDC concepts. The concepts ranges from Concepts, Recording (SHDB), Content of Data, Influencing the execution, Troubleshooting the execution, Special Development, and Miscellaneous questions.</p>
<div style="float: left; width: 100%;">
<p style="text-align: justify;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/08/BDC_SM35.jpg"><img class="aligncenter size-full wp-image-1726" title="BDC_SM35" src="http://www.abap-tutorials.com/wp-content/uploads/2010/08/BDC_SM35.jpg" alt="BDC SM35" width="459" height="222" /></a> </p>
</div>
<p style="text-align: justify;"><span id="more-1720"></span></p>
<p style="text-align: justify;"><strong>Download Link</strong>: <a href="http://www.abap-tutorials.com/wp-content/uploads/2010/08/BDC_concepts.doc">BDC_concepts</a>.</p>
<h6 style="text-align: justify;"><span style="color: #c0c0c0;"> </span></h6>
<h6 style="text-align: justify;"><span style="color: #c0c0c0;"> </span></h6>
<h6 style="text-align: justify;"><span style="color: #c0c0c0;">*source = Sandra Rossi</span></h6>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.abap-tutorials.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.abap-tutorials.com/2009/10/20/downloading-pf-statusgui-status-in-sap/' rel='bookmark' title='Permanent Link: Downloading PF-Status(GUI Status) in SAP'>Downloading PF-Status(GUI Status) in SAP</a></li>
<li><a href='http://www.abap-tutorials.com/2010/06/16/step-by-step-lsmw-tutorial/' rel='bookmark' title='Permanent Link: Step by Step LSMW Tutorial'>Step by Step LSMW Tutorial</a></li>
<li><a href='http://www.abap-tutorials.com/2010/06/20/bdc-session-automatic-execution-from-report/' rel='bookmark' title='Permanent Link: BDC Session &#8211; Automatic Execution from Report'>BDC Session &#8211; Automatic Execution from Report</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/08/23/batch-input-faqs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade Guide from SAP R/3 4.6 to ECC 6.0 for ABAP Developers</title>
		<link>http://www.abap-tutorials.com/2010/08/16/upgrade-guide-from-sap-r3-4-6-to-ecc-6-0-for-abap-developers/</link>
		<comments>http://www.abap-tutorials.com/2010/08/16/upgrade-guide-from-sap-r3-4-6-to-ecc-6-0-for-abap-developers/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 18:16:34 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[SPAU]]></category>
		<category><![CDATA[SPDD]]></category>
		<category><![CDATA[UCCHECK]]></category>
		<category><![CDATA[updradation]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[upgrade from SAP r/3 to ECC6]]></category>
		<category><![CDATA[upgrade to Ecc6]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1710</guid>
		<description><![CDATA[Upgrading SAP from SAP R/3 4.6 to ECC 6.0 ? This article is for you consisting SPDD, SPAU and UCCHECK Fixes that needs to be carried out to correct all the conflict in SAP Standard Objects while upgrading to the higher version. Download Link: Download Up-gradation Guide from SAP R/3 4.6 to ECC 6.0 Related [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Upgrading SAP from SAP R/3 4.6 to ECC 6.0 ? This article is for you consisting <strong>SPDD</strong>, <strong>SPAU</strong> and <strong>UCCHECK</strong> Fixes that needs to be carried out to correct all the conflict in SAP Standard Objects while upgrading to the higher version.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<div style="float: left; width: 100%; text-align: left;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/08/upgrade.jpg"><img class="size-full wp-image-1711 alignleft" style="border: 2px solid black;" title="Upgrade" src="http://www.abap-tutorials.com/wp-content/uploads/2010/08/upgrade.jpg" alt="Upgrade" width="250" height="188" /></a></div>
<p style="text-align: left;"><span id="more-1710"></span></p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;"><span style="color: #3366ff;"><strong>Download Link:</strong></span> <a href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0a9ab8e-8348-2d10-67ab-cf3b5cba3d27?QuickLink=index&amp;overridelayout=true" target="_blank">Download Up-gradation Guide from SAP R/3 4.6 to ECC 6.0</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.abap-tutorials.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.abap-tutorials.com/2010/01/14/programmers-guide-to-abap-hr/' rel='bookmark' title='Permanent Link: Programmer&#8217;s Guide to ABAP HR'>Programmer&#8217;s Guide to ABAP HR</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/20/download-your-sap-work-ii/' rel='bookmark' title='Permanent Link: Download your SAP work II'>Download your SAP work II</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/20/saplink-share-your-developments/' rel='bookmark' title='Permanent Link: SAPlink &#8211; Share your developments'>SAPlink &#8211; Share your developments</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/08/16/upgrade-guide-from-sap-r3-4-6-to-ecc-6-0-for-abap-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MM02 BDC &#8211; Select Specific Material Master View</title>
		<link>http://www.abap-tutorials.com/2010/07/31/mm02-bdc/</link>
		<comments>http://www.abap-tutorials.com/2010/07/31/mm02-bdc/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 04:42:58 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[BDC / LSMW]]></category>
		<category><![CDATA[Function Modules]]></category>
		<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[BDC for MM02]]></category>
		<category><![CDATA[Materail Master view specific BDC]]></category>
		<category><![CDATA[MM01]]></category>
		<category><![CDATA[MM02]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1698</guid>
		<description><![CDATA[Creating a BDC of the MM02 will not be an easy task. As soon as we enter the material and hit enter it will ask us to choose the required Material master views. This popup contains the available material master views and they are not constant. Sometimes MRP1 comes at the 12th line and sometimes [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Creating a BDC of the MM02 will not be an easy task. As soon as we enter the material and hit enter it will ask us to choose the required Material master views. This popup contains the available material master views and they are not constant. Sometimes MRP1 comes at the 12th line and sometimes it comes to 6th line. This dynamic of the views are solely depended on the Status (MARA-VPSTA).</p>
<div style="float: left; width: 100%;">
<p style="text-align: center;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/07/mm02_BDC.jpg"><img class="aligncenter size-full wp-image-1699" title="MM02 BDC" src="http://www.abap-tutorials.com/wp-content/uploads/2010/07/mm02_BDC.jpg" alt="MM02 BDC" width="421" height="353" /></a></p>
</div>
<p style="text-align: justify;"> <span id="more-1698"></span></p>
<p style="text-align: justify;">To overcome of this dynamics we need to get to know where exactly our required view will appear e.g. line 6 or line 10 or line 15. We will use the FM SELECTION_VIEWS_FIND to find out which view will come at which position.</p>
<p style="text-align: justify;">In our BDC, we will follow these steps:<br />
1. Always select the Basic Data 1<br />
2. Get the respective user command for the tab by Executing the FM SELECTION_VIEWS_FIND.</p>
<p style="text-align: justify;">Status (MARA-VPSTA) contains the combination of the View indicator. You can find the relation of the status indicator and view name in the documentation of the data element PSTAT_D or follow this table:</p>
<p style="text-align: justify;"> <strong><span style="color: #339966;">User department    Maintenance status</span></strong> </p>
<p style="text-align: justify;"> Work scheduling                A<br />
Accounting                     B<br />
Classification                 C<br />
MRP                            D<br />
Purchasing                     E<br />
Production resources/tools     F<br />
Costing                        G<br />
Basic data                     K<br />
Storage                        L<br />
Forecasting                    P<br />
Quality management             Q<br />
Warehouse management           S<br />
Sales                          V<br />
Plant stocks                   X<br />
Storage location stocks        Z</p>
<p style="text-align: justify;">In this my test BDC, I want to update the MRP type. MRP type comes under the &#8220;MRP 1&#8243; view of the material master. So, I will first select the Basic Data and than move to MRP 1 view and update the MRP type.</p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;"><strong><span style="color: #339966;">BDC Code:</span></strong></p>
<p style="text-align: justify;">REPORT ztest_np_mm02<br />
       NO STANDARD PAGE HEADING LINE-SIZE 255.<br />
*<br />
* Local data<br />
DATA:   messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.<br />
DATA:   bdcdata LIKE bdcdata    OCCURS 0 WITH HEADER LINE.<br />
*<br />
* Selection Screen<br />
PARAMETERS: p_matnr TYPE mara-matnr OBLIGATORY,<br />
            p_werks TYPE marc-werks OBLIGATORY,<br />
            p_lgort TYPE rmmg1-lgort OBLIGATORY,<br />
            p_dismm TYPE marc-dismm OBLIGATORY.<br />
*<br />
*<br />
START-OF-SELECTION.<br />
*<br />
* Material views &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br />
  DATA:  l_vpsta LIKE t130m-pstat.<br />
*<br />
  SELECT SINGLE vpsta<br />
         INTO   l_vpsta<br />
         FROM   mara<br />
         WHERE  matnr = p_matnr.<br />
*<br />
* Get View sequence &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br />
  DATA: l_bild  LIKE t133a-bilds,<br />
        lt_bild LIKE mbildtab OCCURS 0 WITH HEADER LINE.<br />
*<br />
* Screen Sequence for Standard Industry tab pages in material master<br />
  l_bild = &#8217;21&#8242;.<br />
*<br />
* Get screen sequence<br />
  CALL FUNCTION &#8216;SELECTION_VIEWS_FIND&#8217;<br />
    EXPORTING<br />
      bildsequenz     = l_bild<br />
      pflegestatus    = l_vpsta<br />
    TABLES<br />
      bildtab         = lt_bild<br />
    EXCEPTIONS<br />
      call_wrong      = 1<br />
      empty_selection = 2<br />
      OTHERS          = 3.<br />
  IF sy-subrc &lt;&gt; 0.<br />
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno<br />
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.<br />
  ENDIF.<br />
*<br />
* Get the Tab page for MRP1 &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
  DATA: l_tab_mrp1 TYPE sy-ucomm.<br />
*<br />
* reading table with MRP view<br />
  READ TABLE lt_bild WITH KEY pstat = &#8216;D&#8217;.<br />
  IF sy-subrc = 0.<br />
    l_tab_mrp1 = lt_bild-guifu.<br />
  ENDIF.<br />
*<br />
* make ok code for the MRP1<br />
  CONCATENATE &#8216;=&#8217; l_tab_mrp1 INTO l_tab_mrp1.<br />
*<br />
* BDC &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />
  PERFORM bdc_dynpro      USING &#8216;SAPLMGMM&#8217; &#8217;0060&#8242;.<br />
  PERFORM bdc_field       USING &#8216;RMMG1-MATNR&#8217;<br />
                                 p_matnr.<br />
  PERFORM bdc_field       USING &#8216;BDC_OKCODE&#8217;<br />
                                &#8216;=ENTR&#8217;.<br />
*<br />
  PERFORM bdc_dynpro      USING &#8216;SAPLMGMM&#8217; &#8217;0070&#8242;.<br />
  PERFORM bdc_field       USING &#8216;MSICHTAUSW-KZSEL(01)&#8217;<br />
                                &#8216;X&#8217;.<br />
  PERFORM bdc_field       USING &#8216;BDC_OKCODE&#8217;<br />
                                &#8216;=ENTR&#8217;.<br />
*<br />
  PERFORM bdc_dynpro      USING &#8216;SAPLMGMM&#8217; &#8217;4004&#8242;.<br />
  PERFORM bdc_field       USING &#8216;BDC_OKCODE&#8217;<br />
                                l_tab_mrp1.<br />
*<br />
  PERFORM bdc_dynpro      USING &#8216;SAPLMGMM&#8217; &#8217;0081&#8242;.<br />
  PERFORM bdc_field       USING &#8216;RMMG1-WERKS&#8217;<br />
                                p_werks.<br />
  PERFORM bdc_field       USING &#8216;RMMG1-LGORT&#8217;<br />
                                p_lgort.<br />
  PERFORM bdc_field       USING &#8216;BDC_OKCODE&#8217;<br />
                                &#8216;=ENTR&#8217;.<br />
*<br />
  PERFORM bdc_dynpro      USING &#8216;SAPLMGMM&#8217; &#8217;4000&#8242;.<br />
  PERFORM bdc_field       USING &#8216;MARC-DISMM&#8217;<br />
                                p_dismm.<br />
  PERFORM bdc_field       USING &#8216;BDC_OKCODE&#8217;<br />
                                &#8216;=BU&#8217;.<br />
*<br />
  PERFORM bdc_transaction USING &#8216;MM02&#8242;.<br />
*<br />
*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;*<br />
*&amp;      Form  BDC_DYNPRO<br />
*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;*<br />
FORM bdc_dynpro USING p_program<br />
                      p_screen.<br />
*<br />
  MOVE: p_program TO bdcdata-program,<br />
        p_screen  TO bdcdata-dynpro,<br />
        &#8216;X&#8217;       TO bdcdata-dynbegin.<br />
*<br />
  APPEND bdcdata.<br />
  CLEAR  bdcdata.<br />
*<br />
ENDFORM.                    &#8221; BDC_DYNPRO<br />
*<br />
*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;*<br />
*&amp;      Form  BDC_FIELD<br />
*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;*<br />
FORM bdc_field USING p_field_name<br />
                     p_field_value.<br />
*<br />
  MOVE: p_field_name  TO bdcdata-fnam,<br />
        p_field_value TO bdcdata-fval.<br />
*<br />
  APPEND bdcdata.<br />
  CLEAR  bdcdata.<br />
*<br />
ENDFORM.                    &#8221; BDC_FIELD<br />
*<br />
*<br />
*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;*<br />
*&amp;      Form  BDC_TRANSACTION<br />
*&amp;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;*<br />
FORM bdc_transaction USING tcode.<br />
  DATA: l_mstring(480).<br />
  DATA: l_subrc LIKE sy-subrc.<br />
* batch input session<br />
  REFRESH messtab.<br />
  CALL TRANSACTION tcode USING bdcdata<br />
                   MODE   &#8216;A&#8217;<br />
                   &#8220;A: show all dynpros<br />
                   &#8220;E: show dynpro on error only<br />
                   &#8220;N: do not display dynpro<br />
*<br />
                   UPDATE &#8216;L&#8217;<br />
                   MESSAGES INTO messtab.<br />
  REFRESH bdcdata.<br />
ENDFORM.                    &#8220;BDC_TRANSACTION</p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;"><strong><span style="color: #339966;">Download Code: </span></strong></p>
<p style="text-align: justify;"><strong><span style="color: #339966;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/07/mm02_bdc.txt">MM02 BDC</a></span></strong></p>
<p style="text-align: justify;"><strong><span style="color: #339966;"> </span></strong></p>
<p style="text-align: justify;"><strong><span style="color: #339966;"> </span></strong></p>
<p style="text-align: justify;"><strong><span style="color: #339966;"> </span></strong></p>
<h6 style="text-align: justify;"><span style="color: #c0c0c0;">*source=nimesh</span></h6>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.abap-tutorials.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.abap-tutorials.com/2010/05/25/bdc-to-insert-wage-type-in-infotype-0008/' rel='bookmark' title='Permanent Link: BDC to insert Wage Type in Infotype 0008 (Basic Pay)'>BDC to insert Wage Type in Infotype 0008 (Basic Pay)</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/27/embed-view-in-program/' rel='bookmark' title='Permanent Link: Embed SAP View in an ABAP Program'>Embed SAP View in an ABAP Program</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/17/assign-a-t-code-to-maintenance-view/' rel='bookmark' title='Permanent Link: Assign a T-code to Maintenance View in SAP'>Assign a T-code to Maintenance View in SAP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/07/31/mm02-bdc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DjVu &#8211; viewing scanned Documents and Images</title>
		<link>http://www.abap-tutorials.com/2010/07/29/djvu/</link>
		<comments>http://www.abap-tutorials.com/2010/07/29/djvu/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 05:29:38 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[DjViewer]]></category>
		<category><![CDATA[DjVu]]></category>
		<category><![CDATA[view scanned document]]></category>
		<category><![CDATA[view scanned images]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1688</guid>
		<description><![CDATA[About DjVu DjVu (pronounced &#8220;déjà vu&#8221;) is a digital document format with advanced compression technology and high performance value. DjVu allows for the distribution on the Internet and on DVD of very high resolution images of scanned documents, digital documents, and photographs. DjVu viewers are available for the web browser, the desktop, and PDA devices. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><span style="text-decoration: underline;"><span style="color: #008000;"><strong>About DjVu</strong></span></span></p>
<p style="text-align: justify;">DjVu (pronounced &#8220;déjà vu&#8221;) is a digital document format with advanced compression technology and high performance value. DjVu allows for the distribution on the Internet and on DVD of very high resolution images of scanned documents, digital documents, and photographs. DjVu viewers are available for the web browser, the desktop, and PDA devices.</p>
<div style="float: left; width: 100%;">
<p style="text-align: justify;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/07/djvu.jpg"><img class="aligncenter size-full wp-image-1694" title="DjViewer" src="http://www.abap-tutorials.com/wp-content/uploads/2010/07/djvu.jpg" alt="DjViewer" width="439" height="339" /></a></p>
</div>
<p style="text-align: justify;"><span id="more-1688"></span> </p>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="text-decoration: underline;"><span style="color: #008000;"><strong>Why DjVu</strong></span></span></p>
<p style="text-align: justify;">There are few SAP books available on net which are scanned into the DjVu format. To read the books, DjViewer is required.</p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="text-decoration: underline;"><span style="color: #008000;"><strong>Download Link</strong></span></span></p>
<p style="text-align: justify;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/07/DjVuLibre+DjView-3.5.22+4.5b-Setup.exe">DjVuLibre+DjView-3.5.22+4.5b-Setup</a></p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;"> </p>
<h6><span style="color: #c0c0c0;">*source = http://djvu.sourceforge.net/index.html</span></h6>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.abap-tutorials.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.abap-tutorials.com/2010/05/25/program-to-print-fimm-documents-having-note-attachment/' rel='bookmark' title='Permanent Link: Program to Print FI/MM Documents having Note Attachment'>Program to Print FI/MM Documents having Note Attachment</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/20/download-your-sap-work-ii/' rel='bookmark' title='Permanent Link: Download your SAP work II'>Download your SAP work II</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/07/29/djvu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BDC Session &#8211; Automatic Execution from Report</title>
		<link>http://www.abap-tutorials.com/2010/06/20/bdc-session-automatic-execution-from-report/</link>
		<comments>http://www.abap-tutorials.com/2010/06/20/bdc-session-automatic-execution-from-report/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 13:57:18 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[BDC / LSMW]]></category>
		<category><![CDATA[Function Modules]]></category>
		<category><![CDATA[Quick Reference]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[BDC Session]]></category>
		<category><![CDATA[execute session from program]]></category>
		<category><![CDATA[session execution]]></category>

		<guid isPermaLink="false">http://www.abap-tutorials.com/?p=1674</guid>
		<description><![CDATA[When to Use: Upload programs where you use BDC session method to create Sessions, which should later be executed using transaction SM35. Requirements before you start: You need to know the BDC Session name, which is usually an input parameter or is generated by the report programs. Steps to execute BDC Session from the program: [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><span style="color: #3366ff;"><strong>When to Use:</strong></span></p>
<p style="text-align: justify;">Upload programs where you use BDC session method to create Sessions, which should later be executed using transaction SM35.</p>
<p style="text-align: justify;"><span style="color: #3366ff;"><strong>Requirements before you start: </strong></span></p>
<p style="text-align: justify;">You need to know the BDC Session name, which is usually an input parameter or is generated by the report programs.</p>
<div style="width: 100%; float: left;">
<p style="text-align: justify;"><a href="http://www.abap-tutorials.com/wp-content/uploads/2010/06/sm35.jpg"><img class="aligncenter size-full wp-image-1679" title="SM35" src="http://www.abap-tutorials.com/wp-content/uploads/2010/06/sm35.jpg" alt="SM35" width="502" height="377" /></a></p>
</div>
<p style="text-align: justify;">
<p style="text-align: justify;"><span id="more-1674"></span></p>
<p style="text-align: justify;">Steps to execute BDC Session from the program:</p>
<p><span style="color: #3366ff;"><strong>Step 1: Get BDC Queue ID</strong></span></p>
<p>CALL FUNCTION &#8216;BDC_OBJECT_SELECT&#8217;</p>
<p>EXPORTING</p>
<p>name                  = session name</p>
<p>session_creator    = sy-uname</p>
<p>datatype             = &#8216;BDC&#8217;</p>
<p>client                  = sy-mandt</p>
<p>qstate                = &#8216; &#8216;</p>
<p>date_from           = sy-datum</p>
<p>date_to              = sy-datum</p>
<p>TABLES</p>
<p>apqitab               = itab_apqi</p>
<p>EXCEPTIONS</p>
<p>OTHERS              = 1.</p>
<p>Queue ID (QID) = itab_apqi-qid</p>
<p><span style="color: #3366ff;"><strong>Step 2: Get Session Info</strong></span></p>
<p>Get Session info for the queue ID from table APQI.</p>
<p>SELECT SINGLE * FROM apqi INTO session WHERE qid = QID (from Step 1).</p>
<p><span style="color: #3366ff;"><strong>Step3: Lock BDC Queue</strong></span></p>
<p>CALL FUNCTION &#8216;ENQUEUE_BDC_QID&#8217;</p>
<p>EXPORTING</p>
<p>datatyp        = session-datatyp</p>
<p>groupid        = session-groupid</p>
<p>qid            = session-qid</p>
<p>EXCEPTIONS</p>
<p>foreign_lock   = 1</p>
<p>system_failure = 99.</p>
<p><span style="color: #3366ff;"><strong>Step4: OPEN JOB</strong></span></p>
<p>DATA:  jobname   LIKE tbtco-jobname,</p>
<p>jobnumb   LIKE rsjobinfo-jobnumb,</p>
<p>Jobname = wa_session-groupid.</p>
<p>CALL FUNCTION &#8216;JOB_OPEN&#8217;</p>
<p>EXPORTING</p>
<p>jobgroup         = &#8216;BATCH-INPUT&#8217;</p>
<p>jobname          = jobname</p>
<p>sdlstrtdt        = sy-datum</p>
<p>sdlstrttm        = sy-uzeit</p>
<p>IMPORTING</p>
<p>jobcount         = jobnumb</p>
<p>EXCEPTIONS</p>
<p>cant_create_job  = 1</p>
<p>invalid_job_data = 2</p>
<p>jobname_missing  = 3</p>
<p>OTHERS           = 99.</p>
<p><span style="color: #3366ff;"><strong>Step5: Execute the Queue</strong></span></p>
<p>Execute the QUEUE using Submit to Report RSBDCBTC.</p>
<p>SUBMIT rsbdcbtc</p>
<p>TO SAP-SPOOL</p>
<p>DESTINATION   space</p>
<p>IMMEDIATELY   space</p>
<p>KEEP IN SPOOL space</p>
<p>WITHOUT SPOOL DYNPRO</p>
<p>USER session-userid</p>
<p>VIA JOB       jobname</p>
<p>NUMBER        jobnumb</p>
<p>WITH queue_id  EQ  wa_session-qid</p>
<p>WITH mappe     EQ  jobname</p>
<p>WITH modus     EQ  &#8216;N&#8217;</p>
<p>WITH logall    EQ  &#8216;X&#8217;  &#8221; Extended Log</p>
<p>AND RETURN.</p>
<p>If Sy-subrc = 0</p>
<p style="text-align: justify;"><span style="color: #3366ff;"><strong>Step6: Close Job</strong></span></p>
<p>CALL FUNCTION &#8216;JOB_CLOSE&#8217;</p>
<p>EXPORTING</p>
<p>jobcount                   = jobnumb</p>
<p>jobname                    = jobname</p>
<p>strtimmed                  = &#8216;X&#8217;</p>
<p>targetsystem               = &#8221;   &#8221; Target Host</p>
<p>EXCEPTIONS</p>
<p>cant_start_immediate       = 1</p>
<p>invalid_startdate          = 2</p>
<p>jobname_missing            = 3</p>
<p>job_close_failed           = 4</p>
<p>job_nosteps                = 5</p>
<p>job_notex                  = 6</p>
<p>lock_failed                = 7</p>
<p>OTHERS                     = 99.</p>
<p>IF sy-subrc = 0</p>
<p style="text-align: justify;"><span style="color: #3366ff;"><strong>Step 7: Update Session info</strong></span></p>
<p>UPDATE apqi SET   qstate  = &#8216;S&#8217;</p>
<p>WHERE destsys = wa_session-destsys</p>
<p>AND   destapp = wa_session-destapp</p>
<p>AND   datatyp = wa_session-datatyp</p>
<p>AND   groupid = wa_session-groupid</p>
<p>AND   progid  = wa_session-progid</p>
<p>AND   formid  = wa_session-formid</p>
<p>AND   qattrib = wa_session-qattrib</p>
<p>AND   qid     = wa_session-qid.</p>
<p>COMMIT WORK.</p>
<p><span style="color: #3366ff;"><strong>Step 8: Delete Job</strong></span></p>
<p>If Job Not closed (Sy-subrc &lt;&gt; 0 for step 5 or 6), delete Job.</p>
<p>CALL FUNCTION &#8216;BP_JOB_DELETE&#8217;</p>
<p>EXPORTING</p>
<p>jobname    = jobname</p>
<p>jobcount   = jobnumb</p>
<p>forcedmode = &#8216;X&#8217;</p>
<p>EXCEPTIONS</p>
<p>OTHERS     = 99.</p>
<p><span style="color: #3366ff;"><strong>Step 9: Unlock BDC queue</strong></span></p>
<p>CALL FUNCTION &#8216;DEQUEUE_BDC_QID&#8217;</p>
<p>EXPORTING</p>
<p>datatyp = wa_session-datatyp</p>
<p>groupid = wa_session-groupid</p>
<p>qid     = wa_session-qid.</p>
<p>So you are all done. Hope that was simple. ﻿</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.abap-tutorials.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.abap-tutorials.com/2009/07/05/pritty-report-vs-pritty-printer/' rel='bookmark' title='Permanent Link: Pretty Report Vs Pretty Printer in ABAP'>Pretty Report Vs Pretty Printer in ABAP</a></li>
<li><a href='http://www.abap-tutorials.com/2009/08/22/convert-spool-request-to-pdf-in-sap/' rel='bookmark' title='Permanent Link: Convert Spool Request to PDF in SAP'>Convert Spool Request to PDF in SAP</a></li>
<li><a href='http://www.abap-tutorials.com/2009/07/28/display-se78-pictures-on-screen/' rel='bookmark' title='Permanent Link: ABAP Program to Display SE78 pictures on Screen'>ABAP Program to Display SE78 pictures on Screen</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.abap-tutorials.com/2010/06/20/bdc-session-automatic-execution-from-report/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
