<?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: problem in BAPI    BAPI_REPMANCONF1_CREATE_MTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-bapi-repmanconf1-create-mts/m-p/8377357#M1642535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;if e_ret is initial.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
*EXPORTING
*wait = '1'.
endif.
ENDLOOP.&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;You missed my point. Because you have success messages in RETURN, &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if e_ret is initial.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; fails and the COMMIT is not done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2011 14:09:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-07T14:09:56Z</dc:date>
    <item>
      <title>problem in BAPI    BAPI_REPMANCONF1_CREATE_MTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-bapi-repmanconf1-create-mts/m-p/8377354#M1642532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am suing BAPI    BAPI_REPMANCONF1_CREATE_MTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given the input and i am not getting any errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting the return value confirmation number also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i check the material document number, material document number is not generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_PLAF_STOCK_COPY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x_bapi_rm_datgen-materialnr = it_plaf_stock_copy-matnr.&lt;/P&gt;&lt;P&gt;x_bapi_rm_datgen-prodplant = it_plaf_stock_copy-pwwrk.&lt;/P&gt;&lt;P&gt;x_bapi_rm_datgen-planplant = it_plaf_stock_copy-pwwrk.&lt;/P&gt;&lt;P&gt;x_bapi_rm_datgen-storageloc = it_plaf_stock_copy-lgort.&lt;/P&gt;&lt;P&gt;x_bapi_rm_datgen-prodversion = it_plaf_stock_copy-verid.&lt;/P&gt;&lt;P&gt;x_bapi_rm_datgen-postdate = p_budat.&lt;/P&gt;&lt;P&gt;x_bapi_rm_datgen-docdate = sy-datum.&lt;/P&gt;&lt;P&gt;x_bapi_rm_datgen-backflquant = it_plaf_stock_copy-gsmng.&lt;/P&gt;&lt;P&gt;x_bapi_rm_datgen-unitofmeasure = l1_meins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x_BFLUSHFLAGS-BCKFLTYPE = 11.&lt;/P&gt;&lt;P&gt;x_BFLUSHFLAGS-COMPONENTS_TYPE = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_REPMANCONF1_CREATE_MTS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;bflushflags = x_BFLUSHFLAGS&lt;/P&gt;&lt;P&gt;bflushdatagen = x_bapi_rm_datgen&lt;/P&gt;&lt;P&gt;BFLUSHDATAMTS = x_bflushdatamts&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;CONFIRMATION = bfno&lt;/P&gt;&lt;P&gt;RETURN = e_ret.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if e_ret is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt;*EXPORTING&lt;/P&gt;&lt;P&gt;*wait = '1'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one please let me know what else parameter i need to pass to post the document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 19:33:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-bapi-repmanconf1-create-mts/m-p/8377354#M1642532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T19:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem in BAPI    BAPI_REPMANCONF1_CREATE_MTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-bapi-repmanconf1-create-mts/m-p/8377355#M1642533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, RETURN should never be empty; if it works, there should be some success messages. Have you debugged to see what's there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 19:36:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-bapi-repmanconf1-create-mts/m-p/8377355#M1642533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T19:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: problem in BAPI    BAPI_REPMANCONF1_CREATE_MTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-bapi-repmanconf1-create-mts/m-p/8377356#M1642534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting success message as well as the confirmation number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if i check the material document number it is not generated material document number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please tell whether i have missed any parameter or anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zubera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 06:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-bapi-repmanconf1-create-mts/m-p/8377356#M1642534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-07T06:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem in BAPI    BAPI_REPMANCONF1_CREATE_MTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-bapi-repmanconf1-create-mts/m-p/8377357#M1642535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;if e_ret is initial.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
*EXPORTING
*wait = '1'.
endif.
ENDLOOP.&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;You missed my point. Because you have success messages in RETURN, &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if e_ret is initial.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; fails and the COMMIT is not done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 14:09:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bapi-bapi-repmanconf1-create-mts/m-p/8377357#M1642535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-07T14:09:56Z</dc:date>
    </item>
  </channel>
</rss>

