<?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: BAPI  for  VL04 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vl04/m-p/3757660#M904022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please have a look at belwo thread. Might be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5291003"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vibha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark all the useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2008 06:45:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-29T06:45:50Z</dc:date>
    <item>
      <title>BAPI  for  VL04</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vl04/m-p/3757659#M904021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want BAPI for transaction VL04.( in 4.7).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI available is SHP_VL04_PRESTEP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it calls the SAP's transaction  screen  which I dont want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On VL04's  selection screen I want fields -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Shipping point (vstel)           -      Parameter&lt;/P&gt;&lt;P&gt;2) Orders (allea)                      -      Checkbox ( to be ticked )&lt;/P&gt;&lt;P&gt;3) Purchase Orders (alleb)       -     Checkbox. ( to be ticked )&lt;/P&gt;&lt;P&gt;4) Order(s_vbeln)                     -     Select option&lt;/P&gt;&lt;P&gt;5) Purchase Orders (s_ebeln)   -      Select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want these fields  - to be passed through IMPORT or TABLE &lt;/P&gt;&lt;P&gt;parameters of a BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and take output in HTML format  ( to link it to SOA  frontend )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried this way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  I  SUBMITed the standard program of transaction VL04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. RV50SBT1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)  Exported the list to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)  Get the list from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) write the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) wrote the list in html format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="15" type="ul"&gt;&lt;P&gt; my code *******************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZBAPI_SOPO_WORKLIST.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      P_TABLE STRUCTURE  W3HTML&lt;/P&gt;&lt;P&gt;*"      SELTAB STRUCTURE  RSPARAMS&lt;/P&gt;&lt;P&gt;*"      MTAB_REPORT_LIST STRUCTURE  ABAPLIST&lt;/P&gt;&lt;P&gt;*"      MTAB_REPORT_HTML STRUCTURE  W3HTML&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: Begin of tt_html,&lt;/P&gt;&lt;P&gt;             html type W3HTML,&lt;/P&gt;&lt;P&gt;       End of tt_html.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: LIST_TAB type standard table of ABAPLIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit RV50SBT1 with SELECTION-TABLE SELTAB&lt;/P&gt;&lt;P&gt;Exporting list to Memory and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    listobject = MTAB_REPORT_LIST&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    not_found  = 1&lt;/P&gt;&lt;P&gt;    OTHERS     = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_LIST'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            LISTOBJECT = MTAB_REPORT_LIST&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            EMPTY_LIST = 1&lt;/P&gt;&lt;P&gt;            OTHERS     = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WWW_LIST_TO_HTML'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            HTML   = MTAB_REPORT_HTML&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT MTAB_REPORT_HTML.&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;*****************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after executing this I get the output as the list of Salesorder and Purchase order  displayed  ( that is the basic list )  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uptill this everything goes well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;  my problem is    **********&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using VL04 transaction we get the same output&lt;/P&gt;&lt;P&gt;but alongwith that basic list we get SAVE option ( i.e.button in standard toolbar ) clicking which we get the next screen as&lt;/P&gt;&lt;P&gt;Log for Delivery Run . on that screen we get one button for DELIVERIES on application toolbar . Clicking that button the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outbound delivery gets created and Order no. and Delivery no. is shown on the next screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thing is possible through tcode VL04&lt;/P&gt;&lt;P&gt;but NOT through BAPI I have written as on executing the BAPI we just get that Basic list , But NOT the SAVE functionality..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewarded to every attempt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it gives me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 06:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vl04/m-p/3757659#M904021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T06:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI  for  VL04</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vl04/m-p/3757660#M904022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please have a look at belwo thread. Might be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5291003"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vibha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark all the useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 06:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vl04/m-p/3757660#M904022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T06:45:50Z</dc:date>
    </item>
  </channel>
</rss>

