<?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: sample code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/2249479#M486014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See this doc of this fun module and pass the parameters as mentioned and use&lt;/P&gt;&lt;P&gt;FU BAPI_SERVICE_CREATE&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short Text&lt;/P&gt;&lt;P&gt;Creation of a Service Master Record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This Business Application Programming Interface (BAPI) is used in the component External Services Management (MM-SRV).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI enables you to create service master records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;Authorization&lt;/P&gt;&lt;P&gt;To be able to create service master records, you need the relevant authorization.&lt;/P&gt;&lt;P&gt;Authorization object Service Master (M_SRV_LS) is checked for activity 01 (Create).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The service master data is transferred in the parameter IM_SERVICE_DATA.&lt;/P&gt;&lt;P&gt;The change parameters are transferred in the parameter IM_SERVICE_DATAX.&lt;/P&gt;&lt;P&gt;The short texts are transferred in the table SERVICE_DESCRIPTION.&lt;/P&gt;&lt;P&gt;The long texts are transferred in the table SERVICE_LONG_TEXTS.&lt;/P&gt;&lt;P&gt;Return messages&lt;/P&gt;&lt;P&gt;In addition to customers' own messages, success and error messages are returned during the entire service master processing in the parameter RETURN. The RETURN table thus contains information as to whether interface data has been processed incorrectly and issues success or error messages during the creation of service master records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restrictions&lt;/P&gt;&lt;P&gt;With this BAPI, it is not possible to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create several service master records at once. If you want to create several service records, reinvoke the method prior to each creation of a further master record.&lt;/P&gt;&lt;P&gt;Create a new service master record on the basis of an already existing one using the Create with Reference function.&lt;/P&gt;&lt;P&gt;Specify the displayable fields in the service master via field selection in Customizing. The field selection is not taken into account.&lt;/P&gt;&lt;P&gt;Create data for classification (configuration).&lt;/P&gt;&lt;P&gt;Customer enhancements&lt;/P&gt;&lt;P&gt;The following BAdIs are available for the BAPI BAPI_SERVICE_CREATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Service Master: Modification of BAPI Interfaces (MMSRV_SM_BAPI_CUST)&lt;/P&gt;&lt;P&gt;Enhancement of Service Master (MMSRV_SM_MAIN)&lt;/P&gt;&lt;P&gt;Create Notification/Change Service Master (MMSRV_SM_NOTIFY)&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;IM_SERVICE_DATA&lt;/P&gt;&lt;P&gt;IM_SERVICE_DATAX&lt;/P&gt;&lt;P&gt;NO_NUMBER_RANGE_CHECK&lt;/P&gt;&lt;P&gt;TESTRUN&lt;/P&gt;&lt;P&gt;SERVICE&lt;/P&gt;&lt;P&gt;EX_SERVICE_DATA&lt;/P&gt;&lt;P&gt;EX_SERVICE_DATAX&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;SERVICE_DESCRIPTION&lt;/P&gt;&lt;P&gt;SERVICE_LONG_TEXTS&lt;/P&gt;&lt;P&gt;EXTENSION_IN&lt;/P&gt;&lt;P&gt;EXTENSION_OUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;Function Group&lt;/P&gt;&lt;P&gt;BASB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2007 10:49:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-22T10:49:15Z</dc:date>
    <item>
      <title>sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/2249477#M486012</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;i am new to bapi,can any body provide sample code to upload data to ac03 transaction using bapi_service_create.were can i find details about this bapi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 10:38:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/2249477#M486012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T10:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/2249478#M486013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to this Fmodule and you will find Function module documentation.&lt;/P&gt;&lt;P&gt;Below that they also give example what parameters to pass and how to pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general info&lt;/P&gt;&lt;P&gt;its not a big task,just you want to know what are the parameters to pass bapi,mostly you have to fill the structures and pass it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 10:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/2249478#M486013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T10:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/2249479#M486014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See this doc of this fun module and pass the parameters as mentioned and use&lt;/P&gt;&lt;P&gt;FU BAPI_SERVICE_CREATE&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short Text&lt;/P&gt;&lt;P&gt;Creation of a Service Master Record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This Business Application Programming Interface (BAPI) is used in the component External Services Management (MM-SRV).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI enables you to create service master records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;Authorization&lt;/P&gt;&lt;P&gt;To be able to create service master records, you need the relevant authorization.&lt;/P&gt;&lt;P&gt;Authorization object Service Master (M_SRV_LS) is checked for activity 01 (Create).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The service master data is transferred in the parameter IM_SERVICE_DATA.&lt;/P&gt;&lt;P&gt;The change parameters are transferred in the parameter IM_SERVICE_DATAX.&lt;/P&gt;&lt;P&gt;The short texts are transferred in the table SERVICE_DESCRIPTION.&lt;/P&gt;&lt;P&gt;The long texts are transferred in the table SERVICE_LONG_TEXTS.&lt;/P&gt;&lt;P&gt;Return messages&lt;/P&gt;&lt;P&gt;In addition to customers' own messages, success and error messages are returned during the entire service master processing in the parameter RETURN. The RETURN table thus contains information as to whether interface data has been processed incorrectly and issues success or error messages during the creation of service master records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restrictions&lt;/P&gt;&lt;P&gt;With this BAPI, it is not possible to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create several service master records at once. If you want to create several service records, reinvoke the method prior to each creation of a further master record.&lt;/P&gt;&lt;P&gt;Create a new service master record on the basis of an already existing one using the Create with Reference function.&lt;/P&gt;&lt;P&gt;Specify the displayable fields in the service master via field selection in Customizing. The field selection is not taken into account.&lt;/P&gt;&lt;P&gt;Create data for classification (configuration).&lt;/P&gt;&lt;P&gt;Customer enhancements&lt;/P&gt;&lt;P&gt;The following BAdIs are available for the BAPI BAPI_SERVICE_CREATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Service Master: Modification of BAPI Interfaces (MMSRV_SM_BAPI_CUST)&lt;/P&gt;&lt;P&gt;Enhancement of Service Master (MMSRV_SM_MAIN)&lt;/P&gt;&lt;P&gt;Create Notification/Change Service Master (MMSRV_SM_NOTIFY)&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;IM_SERVICE_DATA&lt;/P&gt;&lt;P&gt;IM_SERVICE_DATAX&lt;/P&gt;&lt;P&gt;NO_NUMBER_RANGE_CHECK&lt;/P&gt;&lt;P&gt;TESTRUN&lt;/P&gt;&lt;P&gt;SERVICE&lt;/P&gt;&lt;P&gt;EX_SERVICE_DATA&lt;/P&gt;&lt;P&gt;EX_SERVICE_DATAX&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;SERVICE_DESCRIPTION&lt;/P&gt;&lt;P&gt;SERVICE_LONG_TEXTS&lt;/P&gt;&lt;P&gt;EXTENSION_IN&lt;/P&gt;&lt;P&gt;EXTENSION_OUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;Function Group&lt;/P&gt;&lt;P&gt;BASB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 10:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-code/m-p/2249479#M486014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T10:49:15Z</dc:date>
    </item>
  </channel>
</rss>

