<?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 Lead Type Creation Through BAPI Or Method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128251#M1512072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have to upload lead type in CRM , transaction CRMD_ORDER&lt;/P&gt;&lt;P&gt;Can any one tell me which bapi i will have to use for this issue,Or is there any standered method is available,&lt;/P&gt;&lt;P&gt;I am trying to creat it through program "CRM_ORDER_CREATE " But i am unable to do it&lt;/P&gt;&lt;P&gt;Kindly help me in this issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jul 2010 14:16:37 GMT</pubDate>
    <dc:creator>former_member659396</dc:creator>
    <dc:date>2010-07-16T14:16:37Z</dc:date>
    <item>
      <title>Lead Type Creation Through BAPI Or Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128251#M1512072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have to upload lead type in CRM , transaction CRMD_ORDER&lt;/P&gt;&lt;P&gt;Can any one tell me which bapi i will have to use for this issue,Or is there any standered method is available,&lt;/P&gt;&lt;P&gt;I am trying to creat it through program "CRM_ORDER_CREATE " But i am unable to do it&lt;/P&gt;&lt;P&gt;Kindly help me in this issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 14:16:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128251#M1512072</guid>
      <dc:creator>former_member659396</dc:creator>
      <dc:date>2010-07-16T14:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Lead Type Creation Through BAPI Or Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128252#M1512073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check if with function module BAPI_LEAD_CREATEMULTI you are sucessful? In my opinion, it's more appropriate and easier &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Don't forget to call BAPI_TRANSACTION_COMMIT after this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Garcia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 15:04:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128252#M1512073</guid>
      <dc:creator>BGarcia</dc:creator>
      <dc:date>2010-07-16T15:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lead Type Creation Through BAPI Or Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128253#M1512074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno ,&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;I have tride to update Lead Type Using BAPI,&lt;/P&gt;&lt;P&gt;I have passed the Header Internal table and given lead type value in that ,&lt;/P&gt;&lt;P&gt;i am sending you code for your reference,&lt;/P&gt;&lt;P&gt;Please tell me if any thing wrong in that,&lt;/P&gt;&lt;P&gt;And please tell me which table i can check that lead type is updated, I checked CRM_LEAD_tYPE table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZCR_BAPI_LEAD_TYPE2.&lt;/P&gt;&lt;P&gt;data:IT_HDR type TABLE OF BAPIBUS2000108_HEADER_INS.&lt;/P&gt;&lt;P&gt;DATA: wa_hdr LIKE LINE OF IT_HDR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;wa_hdr-GUID = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-HANDLE = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-PROCESS_TYPE = 'LEAD'.&lt;/P&gt;&lt;P&gt;wa_hdr-OBJECT_ID = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-PREDECESSOR_PROCESS = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-PREDECESSOR_OBJECT_TYPE = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-PREDECESSOR_LOG_SYSTEM = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-BIN_RELATION_TYPE = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-LOGICAL_SYSTEM = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-DESCR_LANGUAGE = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-LANGU_ISO = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-DESCRIPTION = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-POSTING_DATE = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-SOURCE = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-IMPORTANCE = '0'.&lt;/P&gt;&lt;P&gt;wa_hdr-LEAD_TYPE = '12345'.&lt;/P&gt;&lt;P&gt;APPEND wa_hdr to IT_HDR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_LEAD_CREATEMULTI'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   TESTRUN               = 'X'&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;   HEADERX               = IT_HDR&lt;/P&gt;&lt;P&gt;   HEADER                = IT_HDR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 12:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128253#M1512074</guid>
      <dc:creator>former_member659396</dc:creator>
      <dc:date>2010-07-19T12:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Lead Type Creation Through BAPI Or Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128254#M1512075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By giving a quick-look into your code to create a lead, I have four considerations to make:&lt;/P&gt;&lt;P&gt;- You can check for available lead types at table: CRMC_LEAD_TYPE. It's a four character code, not five.&lt;/P&gt;&lt;P&gt;- Fill the HANDLE attribute of wa_hdr structure, with value 1.&lt;/P&gt;&lt;P&gt;- Also, you must fill HEADERX parameter with update flags. Just create a structure of HEADERX type, and mark with 'X' the fields that will be considered to create the lead.&lt;/P&gt;&lt;P&gt;- In TABLES section, obtain also information of parameters CREATED_PROCESS, RETURN, SAVED_PROCESS to get the result of your call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps a little more.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Garcia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 11:18:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128254#M1512075</guid>
      <dc:creator>BGarcia</dc:creator>
      <dc:date>2010-07-21T11:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Lead Type Creation Through BAPI Or Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128255#M1512076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bro,&lt;/P&gt;&lt;P&gt;Problem solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 19:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lead-type-creation-through-bapi-or-method/m-p/7128255#M1512076</guid>
      <dc:creator>former_member659396</dc:creator>
      <dc:date>2010-07-21T19:25:16Z</dc:date>
    </item>
  </channel>
</rss>

