<?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_PO_RELEASE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185403#M1000477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are uploading data from excel sheet then may be it will not have leading zeros in it for  a change document number..do it there by making cell as text or you can use following FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = w_recno
        IMPORTING
          output = w_recno.

    ls_doc-documentnumber  = w_recno.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2008 10:31:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-17T10:31:55Z</dc:date>
    <item>
      <title>BAPI_PO_RELEASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185401#M1000475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using this bapi to release purchase orders.&lt;/P&gt;&lt;P&gt;When I test it right from SE37 there is no problem. But when I try using it through a BSP (with the same data), it returns sy-subrc = 2 (document doesn't exist) and blocks the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can the problem be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 09:38:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185401#M1000475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T09:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_RELEASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185402#M1000476</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;check you´re using conversion routines &lt;/P&gt;&lt;P&gt;like CONVERSION_EXIT_ALPHA_INPUT &lt;/P&gt;&lt;P&gt;for the po number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 10:26:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185402#M1000476</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2008-07-17T10:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_RELEASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185403#M1000477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are uploading data from excel sheet then may be it will not have leading zeros in it for  a change document number..do it there by making cell as text or you can use following FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = w_recno
        IMPORTING
          output = w_recno.

    ls_doc-documentnumber  = w_recno.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 10:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185403#M1000477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T10:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_RELEASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185404#M1000478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked the values by debugging. When the bapi is called the data provided are exactly the same I am using for my tests. I've been told it might be because some popup they included in customizing, but I've checked that as well and the customizing takes care that it is skipped:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Inicio de modificaición 001&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Código Nuevo&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF sy-tcode NE lc_ped_compras AND sy-tcode NE lc_ped_servicio.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fin de modificación 001&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Inicio de modificaición 002&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Excluir los procesos en fondo&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;y las ejecuciones mediante RFC&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PPG 08/08/2007. Inicio&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Excluir programa de carga de pedidos de servicios&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'ZMM_P_MM03_CONVER_PEDIDOS_SERV'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Inicio modificación SGONZALEZLO 20080716.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: lv_llamada_bsp(1) TYPE c.&lt;/P&gt;&lt;P&gt;IMPORT lv_llamada_bsp FROM MEMORY.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fin    modificación SGONZALEZLO 20080716.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Código Nuevo&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IF sy-batch = 'X'       OR&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Inicio modificación SGONZALEZLO 20080716.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          lv_llamada_bsp = 'X'  OR&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fin    modificación SGONZALEZLO 20080716.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           sy-uname = 'SAPRFC'  OR&lt;/P&gt;&lt;P&gt;           sy-uname = 'SAPRFCS' OR&lt;/P&gt;&lt;P&gt;           sy-cprog = lc_prog_conver.  "PPG 08/08/2007. Fin&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fin de modificación 002&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              titel = lv_title&lt;/P&gt;&lt;P&gt;              msgid = lv_msg_id_zmm&lt;/P&gt;&lt;P&gt;              msgty = lv_succ_msg&lt;/P&gt;&lt;P&gt;              msgno = lv_msgno_000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Inicio de modificación 002&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Código Nuevo&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fin de modificación 002&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Inicio de modificación 001&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Código Nuevo&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fin de modificación 001&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you see something liable to be the problem here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again and regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 10:33:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185404#M1000478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T10:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_RELEASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185405#M1000479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;within the bapi BAPI_PO_RELEASE there is an authority check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  AUTHORITY-CHECK OBJECT 'M_EINK_FRG'
    ID 'FRGGR' FIELD ekko-frggr
    ID 'FRGCO' FIELD po_rel_code.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after executing the z bsp application use SU53 transaction to make sure&lt;/P&gt;&lt;P&gt;it is not a question of authorizations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 10:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185405#M1000479</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2008-07-17T10:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_RELEASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185406#M1000480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all for the help so far...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility the problem comes from the bapi being called from a BSP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying it out from SE37 and I haven't got that error even once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 09:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185406#M1000480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T09:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_RELEASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185407#M1000481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please do have a look at:&lt;/P&gt;&lt;P&gt;OSS Note 413736 - Problems with BAPI_PO_RELEASE&lt;/P&gt;&lt;P&gt;this Note says:&lt;/P&gt;&lt;P&gt;You release purchase orders with BAPI_PO_RELEASE and the followingproblems occur:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Blocks are not cancelled after an error.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. If the purchase order to be released is blocked by another user, exception DOCUMENT_NOT_FOUND is triggered, by mistake.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this is the reason but it depends on your release.&lt;/P&gt;&lt;P&gt;Have a look at the oss not just in case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 09:39:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185407#M1000481</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2008-07-21T09:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_RELEASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185408#M1000482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Pablo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This could be in fact the problem. But, do you know what could be the cause of the error? If the error message is not the intended one, the problem will be much more difficult to track...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been debugging for several days already, and I can't find a solution. I would really apreciate any hint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 10:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-release/m-p/4185408#M1000482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-21T10:49:12Z</dc:date>
    </item>
  </channel>
</rss>

