<?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 vl10b in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722364#M315193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi geeks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i created a BDC in call transaction method for transaction &amp;lt;i&amp;gt;VL10B&amp;lt;/i&amp;gt;&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;. it is for creating deliveries.&lt;/P&gt;&lt;P&gt;in flatfile, i am uploading five fields - Shipping point, Delivery date, Ship-to-party, Purchase order n Material.&lt;/P&gt;&lt;P&gt;it is working well if i am uploading only one PO, but going to function code error/runtime error if i upload more than one PO.&lt;/P&gt;&lt;P&gt;so, is it not possible to upload more than one PO ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kallu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2006 13:15:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-30T13:15:24Z</dc:date>
    <item>
      <title>vl10b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722364#M315193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi geeks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i created a BDC in call transaction method for transaction &amp;lt;i&amp;gt;VL10B&amp;lt;/i&amp;gt;&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;. it is for creating deliveries.&lt;/P&gt;&lt;P&gt;in flatfile, i am uploading five fields - Shipping point, Delivery date, Ship-to-party, Purchase order n Material.&lt;/P&gt;&lt;P&gt;it is working well if i am uploading only one PO, but going to function code error/runtime error if i upload more than one PO.&lt;/P&gt;&lt;P&gt;so, is it not possible to upload more than one PO ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kallu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 13:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722364#M315193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T13:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: vl10b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722365#M315194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalyan,&lt;/P&gt;&lt;P&gt;  Have you cleared and refreshed your BDCDATA internal table after the call transaction?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 13:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722365#M315194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T13:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: vl10b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722366#M315195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ya i allready coded clear n refresh !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tanx&lt;/P&gt;&lt;P&gt;kallu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 13:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722366#M315195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T13:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: vl10b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722367#M315196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalyan,&lt;/P&gt;&lt;P&gt;   This is a report type program. I doubt if you can do a BDC for such programs.&lt;/P&gt;&lt;P&gt;Try t o a bdc for vl01 instead.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RaVI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 13:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722367#M315196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T13:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: vl10b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722368#M315197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalyan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ru doing this in loop... endloop?&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;Vishnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 16:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722368#M315197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T16:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: vl10b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722369#M315198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vishnu !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes i am doing it in loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;kallu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 09:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722369#M315198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T09:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: vl10b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722370#M315199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you will see the short dump(st22 your respective days dump), then it will show you up where the termination occured. can you give that piece of code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 10:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722370#M315199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T10:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: vl10b</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722371#M315200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI SHANE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls go thru it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ZVL10BSTN no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Tables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : VEPVG,          "Delivery Due Index&lt;/P&gt;&lt;P&gt;         T100,           "Messages&lt;/P&gt;&lt;P&gt;         RSCSEL,         "Structure for complex selections&lt;/P&gt;&lt;P&gt;         VBAP.           "Sales Document: Item Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal Tables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       VSTEL(4),          "Shipping Point/Receiving Point&lt;/P&gt;&lt;P&gt;       LEDAT(8),          "Delivery creation date&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     LERUL(),&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       KUNWE(10),         "Ship-To Party&lt;/P&gt;&lt;P&gt;       EBELN(10),         "Sales and Distribution Document Number&lt;/P&gt;&lt;P&gt;       MATNR(18),         "Material Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table to get the error data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : IT_ERROR LIKE ITAB OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Internal table for Batch input: New table field structure&lt;/P&gt;&lt;P&gt;DATA : BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Internal table for message&lt;/P&gt;&lt;P&gt;DATA : I_MSGTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Variables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : G_MESSAGE(200),&lt;/P&gt;&lt;P&gt;g_ftext like tline-tdline,&lt;/P&gt;&lt;P&gt;g_text like tline-tdline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Selection Screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PARAMETER: P_FILE LIKE IBIPPARMS-PATH OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*Initialization&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE .&lt;/P&gt;&lt;P&gt;  PERFORM GET_FILENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********************************************************************&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM UPLOAD_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM FILL_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Uploading data file to internal table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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 'WS_UPLOAD'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CODEPAGE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   FILENAME                      = P_FILE&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'DAT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADLEN                       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LINE_EXIT                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TRUNCLEN                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_FORM                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_PROG                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAT_D_FORMAT                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = ITAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   CONVERSION_ERROR              = 1&lt;/P&gt;&lt;P&gt;   FILE_OPEN_ERROR               = 2&lt;/P&gt;&lt;P&gt;   FILE_READ_ERROR               = 3&lt;/P&gt;&lt;P&gt;   INVALID_TYPE                  = 4&lt;/P&gt;&lt;P&gt;   NO_BATCH                      = 5&lt;/P&gt;&lt;P&gt;   UNKNOWN_ERROR                 = 6&lt;/P&gt;&lt;P&gt;   INVALID_TABLE_WIDTH           = 7&lt;/P&gt;&lt;P&gt;   GUI_REFUSE_FILETRANSFER       = 8&lt;/P&gt;&lt;P&gt;   CUSTOMER_ERROR                = 9&lt;/P&gt;&lt;P&gt;   NO_AUTHORITY                  = 10&lt;/P&gt;&lt;P&gt;   OTHERS                        = 11&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&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;      FORM FILL_DATA                                                *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM FILL_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  at new ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'RVV50R10C' '1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=S0S_TAB5'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_VSTEL-LOW'&lt;/P&gt;&lt;P&gt;                              itab-vstel.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_LEDAT-LOW'&lt;/P&gt;&lt;P&gt;                              itab-ledat.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_LEDAT-HIGH'&lt;/P&gt;&lt;P&gt;                              itab-ledat.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'P_LERUL'&lt;/P&gt;&lt;P&gt;                              '2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'ST_KUNWE-LOW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_KUNWE-LOW'&lt;/P&gt;&lt;P&gt;                              itab-kunwe.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'RVV50R10C' '1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=%00210300000713501'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_VSTEL-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-VSTEL.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_LEDAT-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-LEDAT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_LEDAT-HIGH'&lt;/P&gt;&lt;P&gt;                              ITAB-LEDAT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'P_LERUL'&lt;/P&gt;&lt;P&gt;                              '2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'ST_EBELN-LOW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_EBELN-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-EBELN.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLALDB' '3000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ACPT'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RSCSEL-SLOW_I(04)'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(01)'&lt;/P&gt;&lt;P&gt;                              itab-ebeln.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(02)'&lt;/P&gt;&lt;P&gt;                              itab-ebeln.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'RSCSEL-SLOW_I(03)'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             ''.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'RSCSEL-SLOW_I(04)'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             ''.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'RSCSEL-SLOW_I(05)'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             ''.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'RSCSEL-SLOW_I(06)'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             ''.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'RSCSEL-SLOW_I(07)'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             ''.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'RSCSEL-SLOW_I(08)'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             ''.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'RSCSEL-SLOW_I(09)'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             ''.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'RVV50R10C' '1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=S0S_TAB3'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_VSTEL-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-VSTEL.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_LEDAT-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-LEDAT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_LEDAT-HIGH'&lt;/P&gt;&lt;P&gt;                              ITAB-LEDAT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'P_LERUL'&lt;/P&gt;&lt;P&gt;                              '2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'ST_EBELN-LOW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_EBELN-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-EBELN.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'RVV50R10C' '1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=%00210400000713501'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_VSTEL-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-VSTEL.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_LEDAT-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-LEDAT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_LEDAT-HIGH'&lt;/P&gt;&lt;P&gt;                              ITAB-LEDAT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'P_LERUL'&lt;/P&gt;&lt;P&gt;                              '2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'ST_MATNR-LOW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_MATNR-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-MATNR.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLALDB' '3000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ACPT'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RSCSEL-SLOW_I(04)'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(01)'&lt;/P&gt;&lt;P&gt;                              ''.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(02)'&lt;/P&gt;&lt;P&gt;                              ''.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(03)'&lt;/P&gt;&lt;P&gt;                              ''.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(04)'&lt;/P&gt;&lt;P&gt;                              ''.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(05)'&lt;/P&gt;&lt;P&gt;                              ''.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(06)'&lt;/P&gt;&lt;P&gt;                              ''.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(07)'&lt;/P&gt;&lt;P&gt;                              ''.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(08)'&lt;/P&gt;&lt;P&gt;                              ''.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSCSEL-SLOW_I(09)'&lt;/P&gt;&lt;P&gt;                              ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'RVV50R10C' '1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ONLI'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_VSTEL-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-VSTEL.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_LEDAT-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-LEDAT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_LEDAT-HIGH'&lt;/P&gt;&lt;P&gt;                              ITAB-LEDAT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'P_LERUL'&lt;/P&gt;&lt;P&gt;                              '2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'ST_MATNR-LOW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ST_MATNR-LOW'&lt;/P&gt;&lt;P&gt;                              ITAB-MATNR.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLSLVC_FULLSCREEN' '0500'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ANZ1'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLSLVC_FULLSCREEN' '0500'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=%_GC 349 2'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV50A' '1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ANZA_T'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'LIKP-VBELN'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_dynpro      using 'SAPMV50A' '1000'.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '=SICH_T'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'LIKP-BLDAT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '28.10.2006'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'LIPS-MATNR(02)'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'LIKP-WADAT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '06.09.2006'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'LIKP-WAUHR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '00:00:00'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_dynpro      using 'SAPLSLVC_FULLSCREEN' '0500'.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '=&amp;amp;F03'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_dynpro      using 'RVV50R10C' '1000'.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '/EE'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'ST_VSTEL-LOW'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_transaction TABLES I_MSGTAB using 'VL10B' 'E' 'L'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*To fetch the error message from the standard error table&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT  SINGLE * FROM T100 WHERE SPRSL = 'E'&lt;/P&gt;&lt;P&gt;                               AND ARBGB = SY-MSGID&lt;/P&gt;&lt;P&gt;                               AND MSGNR = SY-MSGNO.&lt;/P&gt;&lt;P&gt;    G_MESSAGE = T100-TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&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;       Start new screen                                              *&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;&lt;/P&gt;&lt;P&gt;FORM BDC_DYNPRO USING PROGRAM DYNPRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR BDCDATA.&lt;/P&gt;&lt;P&gt;  BDCDATA-PROGRAM  = PROGRAM.&lt;/P&gt;&lt;P&gt;  BDCDATA-DYNPRO   = DYNPRO.&lt;/P&gt;&lt;P&gt;  BDCDATA-DYNBEGIN = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND BDCDATA.&lt;/P&gt;&lt;P&gt;&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;&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;       Insert field                                                  *&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;&lt;/P&gt;&lt;P&gt;FORM BDC_FIELD USING FNAM FVAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR BDCDATA.&lt;/P&gt;&lt;P&gt;  BDCDATA-FNAM = FNAM.&lt;/P&gt;&lt;P&gt;  BDCDATA-FVAL = FVAL.&lt;/P&gt;&lt;P&gt;  APPEND BDCDATA.&lt;/P&gt;&lt;P&gt;&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;&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;      FORM BDC_TRANSACTION                                          *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BDC_TRANSACTION TABLES MESSTAB USING  TCODE CTUMODE CUPDATE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION TCODE USING BDCDATA&lt;/P&gt;&lt;P&gt;                        MODE   CTUMODE&lt;/P&gt;&lt;P&gt;                        UPDATE CUPDATE&lt;/P&gt;&lt;P&gt;                        MESSAGES INTO MESSTAB.&lt;/P&gt;&lt;P&gt;  REFRESH BDCDATA.&lt;/P&gt;&lt;P&gt;  CLEAR   BDCDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                               " bdc_transaction&lt;/P&gt;&lt;P&gt;&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  get_filename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM GET_FILENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;     PROGRAM_NAME        = SYST-CPROG&lt;/P&gt;&lt;P&gt;     DYNPRO_NUMBER       = SYST-DYNNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     FILE_NAME           = P_FILE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0  .&lt;/P&gt;&lt;P&gt;    WRITE : / 'Enter File Name'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                               " get_filename&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  check_msg&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;form check_msg changing pp_delv_note.&lt;/P&gt;&lt;P&gt;  perform get_error_message.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Error messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if I_MSGTAB-msgtyp = 'E' or I_MSGTAB-msgtyp = 'A'.&lt;/P&gt;&lt;P&gt;    concatenate g_text g_ftext into&lt;/P&gt;&lt;P&gt;                    g_text separated by '$'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   w_return = 'F'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Success messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  elseif I_MSGTAB-msgtyp = 'S'&lt;/P&gt;&lt;P&gt;    and ( I_MSGTAB-msgnr = '311' ).&lt;/P&gt;&lt;P&gt;    concatenate g_text g_ftext into&lt;/P&gt;&lt;P&gt;                    g_text separated by '$'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   w_return = 'S'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    pp_delv_note = I_MSGTAB-msgv2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.                    " check_msg&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  get_error_message&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;form get_error_message.&lt;/P&gt;&lt;P&gt;  call function 'MESSAGE_TEXT_BUILD'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            msgid               = I_MSGTAB-msgid&lt;/P&gt;&lt;P&gt;            msgnr               = I_MSGTAB-msgnr&lt;/P&gt;&lt;P&gt;            msgv1               = I_MSGTAB-msgv1&lt;/P&gt;&lt;P&gt;            msgv2               = I_MSGTAB-msgv2&lt;/P&gt;&lt;P&gt;            msgv3               = I_MSGTAB-msgv3&lt;/P&gt;&lt;P&gt;            msgv4               = I_MSGTAB-msgv4&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            message_text_output = g_ftext&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            others              = 1.&lt;/P&gt;&lt;P&gt;  concatenate I_MSGTAB-msgid I_MSGTAB-msgnr g_ftext&lt;/P&gt;&lt;P&gt;              into g_ftext separated by space.&lt;/P&gt;&lt;P&gt;endform.                    " get_error_message&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;kallu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 08:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vl10b/m-p/1722371#M315200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-03T08:40:12Z</dc:date>
    </item>
  </channel>
</rss>

