<?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: Business Partner Conversion using LSMW or BDC report program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407812#M1407275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;You can do it in the way of object oriented abap as well. wanna do it just follow the steps ahead:-&lt;/P&gt;&lt;P&gt;2.Validate Business Partner form table but000 If the Business Partner does not exist, populate error message u2018Business partner does not existu2019 in internal table for error messages. 3.Validate Collection group form table udm_coll_grp If the Collection group does not exist, populate error message u2018Collection group does not existu2019 in internal table for error messages.&lt;/P&gt;&lt;P&gt;4.Validate Collection profileform table udm_coll_grp If the Collection profiledoes not exist, populate error message u2018Collection profiledoes not existu2019 in internal table for error messages. 5.If above validation fails, show the error and stop.&lt;/P&gt;&lt;P&gt;6.Run the service layer using /fscaa/cl_object=&amp;gt;start and get reference ref_process&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_caller       = c_caller&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING CHANGING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pc_iref_process =&amp;lt;ref_process.&lt;/P&gt;&lt;P&gt;7.Get the extension handler using reference got from above step &amp;amp; method get_oref_extension_handler&lt;/P&gt;&lt;P&gt;8.Get reference (ref_partner_content) to BP content interface reference using /fscaa/cl_instance_manager=&amp;gt;get_reference&lt;/P&gt;&lt;P&gt;PASS FOLLOWING CHANGING PARAMETERS&lt;/P&gt;&lt;P&gt;pc_iref = ref_partner_content.&lt;/P&gt;&lt;P&gt;9.Set link extension reference to BP content using reference got from above step &amp;amp; method set_oref_extensions&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_oref_extensions = ref_extensions.&lt;/P&gt;&lt;P&gt;10.Set central partner id using ref_partner_content-&amp;gt;set_partner_id&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_partner = &amp;lt;wa_in_fields-partner&amp;gt;.&lt;/P&gt;&lt;P&gt;11.Set central block using ref_partner_content-&amp;gt;set_centraldata. &lt;/P&gt;&lt;P&gt;Pass u2018Xu2019 to centralblock field of wa_centraldata. And Pass bu_contact_char  from input file to contactallowance field of wa_centraldata&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_centraldata = &amp;lt;wa_centraldata&amp;gt;.&lt;/P&gt;&lt;P&gt;12.Set notice using ref_partner_content-&amp;gt;set_notice&lt;/P&gt;&lt;P&gt;Pass zeile from input file to text field of t_notice&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_tab_notice = &amp;lt;t_notice&amp;gt;.&lt;/P&gt;&lt;P&gt;13.Change the BP using ref_process-&amp;gt;change_partner_execute&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_iref_partner = ref_partner_content.&lt;/P&gt;&lt;P&gt;14.Stop the service layer using /fscaa/cl_object=&amp;gt;finish&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        pi_oref_exception = ref_exception&lt;/P&gt;&lt;P&gt;        pi_display_log    = c_space&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING IMPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        pe_tab_messages   = &amp;lt;t_messages&amp;gt;.&lt;/P&gt;&lt;P&gt;15.Get BP reference (ref_partner) using cl_udm_business_partner=&amp;gt;get_instance&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        im_partner = &amp;lt;wa_in_fields-partner&amp;gt;&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING IMPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        ro_partner = ref_partner.&lt;/P&gt;&lt;P&gt;16.Set collection profile using ref_partner-&amp;gt;set_coll_profile&lt;/P&gt;&lt;P&gt;Pass coll_profile from input file to coll_profile field of wa_coll_profile&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        is_coll_profile = &amp;lt;wa_coll_profile&amp;gt;.&lt;/P&gt;&lt;P&gt;17.Set collection segment using ref_partner-&amp;gt;set_coll_segments&lt;/P&gt;&lt;P&gt;Pass coll_segment, coll_group, coll_specialist from input file to coll_profile field of wa_segment_bp&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        it_coll_segment = &amp;lt;t_segment_bp&amp;gt;.&lt;/P&gt;&lt;P&gt;18.Save the BP using ref_partner-&amp;gt;save &lt;/P&gt;&lt;P&gt;      PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        im_update_task  = c_x&lt;/P&gt;&lt;P&gt;        im_with_enqueue = c_x&lt;/P&gt;&lt;P&gt;        im_with_chdocs  = c_x&lt;/P&gt;&lt;P&gt;if Sy-subrc is not zero, then error message in internal table for error messages. And increase the error count by 1.&lt;/P&gt;&lt;P&gt;19.Write COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dhirendra&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Dec 2009 13:05:23 GMT</pubDate>
    <dc:creator>dhirendra_pandit</dc:creator>
    <dc:date>2009-12-11T13:05:23Z</dc:date>
    <item>
      <title>Business Partner Conversion using LSMW or BDC report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407808#M1407271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me, how can we convert a Business partner using LSMW or BDC report program?&lt;/P&gt;&lt;P&gt;&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;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 09:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407808#M1407271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-01T09:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Business Partner Conversion using LSMW or BDC report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407809#M1407272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use LSMW , its very simple process....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 09:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407809#M1407272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-01T09:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Business Partner Conversion using LSMW or BDC report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407810#M1407273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try doing with LSMW .By defining what all fields you require and then you can do it using LSMW Recording method.&lt;/P&gt;&lt;P&gt;I think you will be able to do.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 10:32:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407810#M1407273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-01T10:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Business Partner Conversion using LSMW or BDC report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407811#M1407274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can go with IDoc method for Business partner creation in LSMW no need to go with recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The details of idoc method in LSMW is as folows:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message type: BUPAFS_FS_CREATE_FRM_DATA2&lt;/P&gt;&lt;P&gt;Basic type: BUPAFS_FS_CREATE_FRM_DATA201&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dhirendra&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2009 13:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407811#M1407274</guid>
      <dc:creator>dhirendra_pandit</dc:creator>
      <dc:date>2009-12-07T13:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Business Partner Conversion using LSMW or BDC report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407812#M1407275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;You can do it in the way of object oriented abap as well. wanna do it just follow the steps ahead:-&lt;/P&gt;&lt;P&gt;2.Validate Business Partner form table but000 If the Business Partner does not exist, populate error message u2018Business partner does not existu2019 in internal table for error messages. 3.Validate Collection group form table udm_coll_grp If the Collection group does not exist, populate error message u2018Collection group does not existu2019 in internal table for error messages.&lt;/P&gt;&lt;P&gt;4.Validate Collection profileform table udm_coll_grp If the Collection profiledoes not exist, populate error message u2018Collection profiledoes not existu2019 in internal table for error messages. 5.If above validation fails, show the error and stop.&lt;/P&gt;&lt;P&gt;6.Run the service layer using /fscaa/cl_object=&amp;gt;start and get reference ref_process&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_caller       = c_caller&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING CHANGING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pc_iref_process =&amp;lt;ref_process.&lt;/P&gt;&lt;P&gt;7.Get the extension handler using reference got from above step &amp;amp; method get_oref_extension_handler&lt;/P&gt;&lt;P&gt;8.Get reference (ref_partner_content) to BP content interface reference using /fscaa/cl_instance_manager=&amp;gt;get_reference&lt;/P&gt;&lt;P&gt;PASS FOLLOWING CHANGING PARAMETERS&lt;/P&gt;&lt;P&gt;pc_iref = ref_partner_content.&lt;/P&gt;&lt;P&gt;9.Set link extension reference to BP content using reference got from above step &amp;amp; method set_oref_extensions&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_oref_extensions = ref_extensions.&lt;/P&gt;&lt;P&gt;10.Set central partner id using ref_partner_content-&amp;gt;set_partner_id&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_partner = &amp;lt;wa_in_fields-partner&amp;gt;.&lt;/P&gt;&lt;P&gt;11.Set central block using ref_partner_content-&amp;gt;set_centraldata. &lt;/P&gt;&lt;P&gt;Pass u2018Xu2019 to centralblock field of wa_centraldata. And Pass bu_contact_char  from input file to contactallowance field of wa_centraldata&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_centraldata = &amp;lt;wa_centraldata&amp;gt;.&lt;/P&gt;&lt;P&gt;12.Set notice using ref_partner_content-&amp;gt;set_notice&lt;/P&gt;&lt;P&gt;Pass zeile from input file to text field of t_notice&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_tab_notice = &amp;lt;t_notice&amp;gt;.&lt;/P&gt;&lt;P&gt;13.Change the BP using ref_process-&amp;gt;change_partner_execute&lt;/P&gt;&lt;P&gt;          PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;            pi_iref_partner = ref_partner_content.&lt;/P&gt;&lt;P&gt;14.Stop the service layer using /fscaa/cl_object=&amp;gt;finish&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        pi_oref_exception = ref_exception&lt;/P&gt;&lt;P&gt;        pi_display_log    = c_space&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING IMPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        pe_tab_messages   = &amp;lt;t_messages&amp;gt;.&lt;/P&gt;&lt;P&gt;15.Get BP reference (ref_partner) using cl_udm_business_partner=&amp;gt;get_instance&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        im_partner = &amp;lt;wa_in_fields-partner&amp;gt;&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING IMPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        ro_partner = ref_partner.&lt;/P&gt;&lt;P&gt;16.Set collection profile using ref_partner-&amp;gt;set_coll_profile&lt;/P&gt;&lt;P&gt;Pass coll_profile from input file to coll_profile field of wa_coll_profile&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        is_coll_profile = &amp;lt;wa_coll_profile&amp;gt;.&lt;/P&gt;&lt;P&gt;17.Set collection segment using ref_partner-&amp;gt;set_coll_segments&lt;/P&gt;&lt;P&gt;Pass coll_segment, coll_group, coll_specialist from input file to coll_profile field of wa_segment_bp&lt;/P&gt;&lt;P&gt;      PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        it_coll_segment = &amp;lt;t_segment_bp&amp;gt;.&lt;/P&gt;&lt;P&gt;18.Save the BP using ref_partner-&amp;gt;save &lt;/P&gt;&lt;P&gt;      PASS FOLLOWING EXPORTING PARAMETERS:&lt;/P&gt;&lt;P&gt;        im_update_task  = c_x&lt;/P&gt;&lt;P&gt;        im_with_enqueue = c_x&lt;/P&gt;&lt;P&gt;        im_with_chdocs  = c_x&lt;/P&gt;&lt;P&gt;if Sy-subrc is not zero, then error message in internal table for error messages. And increase the error count by 1.&lt;/P&gt;&lt;P&gt;19.Write COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dhirendra&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2009 13:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407812#M1407275</guid>
      <dc:creator>dhirendra_pandit</dc:creator>
      <dc:date>2009-12-11T13:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Business Partner Conversion using LSMW or BDC report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407813#M1407276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your replies.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul Shirodkar&lt;/P&gt;&lt;P&gt;Goa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 08:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/business-partner-conversion-using-lsmw-or-bdc-report-program/m-p/6407813#M1407276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-15T08:45:41Z</dc:date>
    </item>
  </channel>
</rss>

