<?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 BAPI Loan creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-loan-creation/m-p/3260089#M778800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI 'BAPI_LOAN_CONTRACT_CREATE' to create a loan. After passing all parameters when I execute BAPI, I get a loan number and it says loan created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I use t.code FNV3 or so to view that loan, I get message loan does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to create loan manually (TCode FNV1) but thru BAPI, loan number is generated but using TCode FNV2/FNV3 I cannot find that loan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module FI-CML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be grateful if anyone can help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jan 2008 08:53:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-01T08:53:13Z</dc:date>
    <item>
      <title>BAPI Loan creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-loan-creation/m-p/3260089#M778800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI 'BAPI_LOAN_CONTRACT_CREATE' to create a loan. After passing all parameters when I execute BAPI, I get a loan number and it says loan created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I use t.code FNV3 or so to view that loan, I get message loan does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to create loan manually (TCode FNV1) but thru BAPI, loan number is generated but using TCode FNV2/FNV3 I cannot find that loan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module FI-CML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be grateful if anyone can help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 08:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-loan-creation/m-p/3260089#M778800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-01T08:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Loan creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-loan-creation/m-p/3260090#M778801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved: I had to call additional function module that is bapi transaction commit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 09:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-loan-creation/m-p/3260090#M778801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-01T09:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Loan creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-loan-creation/m-p/3260091#M778802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to use the BAPI 'BAPI_LOAN_CONTRACT_CREATE' to create loan. Can you please let me know how to use this BAPI to create a loan?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 19:27:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-loan-creation/m-p/3260091#M778802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T19:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Loan creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-loan-creation/m-p/3260092#M778803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will explain how to use the BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you expand the function module &lt;STRONG&gt;BAPI_LOAN_CONTRACT_CREATE&lt;/STRONG&gt; you will see the following-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_LOAN_CONTRACT_CREATE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        loan                   = wa_loan_header&lt;/P&gt;&lt;P&gt;        conditionheader        = wa_conditionheader&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CORRESPONDENCE         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   USERFIELDS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TESTRUN                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   REFRESH                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   PROCESSEXTENSION       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   STEERING               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     loannumber             = l_loanno&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   error                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;        partner                = it_partner&lt;/P&gt;&lt;P&gt;        conditions             = it_conditions&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FORMULA                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   OBJECTS                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   COLLATERALS            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ENCUMBRANCES           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CLERKS                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXTENSION_IN           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     return                 = it_return  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is how I used it. You need to create work areas for loan header, condition header and internal table for partner and conditons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check what field are present in these work areas and fill those required by you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you will be able to run the BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember to use CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' to finalize if bapi has run successfully. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When bapi runs properly you will get a loan number , if you do not get it then there is an error in your input parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 15:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-loan-creation/m-p/3260092#M778803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T15:55:33Z</dc:date>
    </item>
  </channel>
</rss>

