<?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 common methods found in bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/common-methods-found-in-bapi/m-p/3429545#M823806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are the common methods found in bapi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Feb 2008 10:04:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-24T10:04:26Z</dc:date>
    <item>
      <title>common methods found in bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/common-methods-found-in-bapi/m-p/3429545#M823806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are the common methods found in bapi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 10:04:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/common-methods-found-in-bapi/m-p/3429545#M823806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-24T10:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: common methods found in bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/common-methods-found-in-bapi/m-p/3429546#M823807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Some of the common methods are,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_CREDITOR_CHANGEPASSWORD   Change Vendor Password                                                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_CREDITOR_CHECKPASSWORD    Check Vendor Password                                                     &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_CREDITOR_CREATE_PW_REG    Create Entry for Vendor Password                                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_CREDITOR_DELETE_PW_REG    Delete Entry for Vendor Password                                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_CREDITOR_EXISTENCECHECK   Check Existence of Vendor                                                 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_CREDITOR_FIND             Vendor matchcode                                                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_CREDITOR_GETDETAIL        Vendor Details                                                            &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_CREDITOR_GET_PW_REG       Read entry for vendor password                                            &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_CREDITOR_INITPASSWORD     Initialize Vendor Password                      &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_SALESGROUP_GET_DETAIL     Sales Group: Display Name                                                 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_SALESOFFICE_GET_DETAIL    Sales Office: Display Name                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_SALESOFFICE_GRP_EXIST     Sales Office / Sales Group: Existence Check                               &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_SALESORG_EXIST            Sales Organization: Existence Check                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_SALESORG_GET_DETAIL       Sales Organization: Display Data                                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_SALESORG_OFFICE_EXIST     Sales Organization / Sales Office: Existence Check                        &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_COMPANY_EXISTENCECHECK    Check if company exists                                                   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_COMPANY_GETDETAIL         Company details                                                           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_COMPANY_GETLIST           List of companies                                                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;0015                           Profit Center BAPI                                                        &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_PROFITCENTER_CHANGE       Change Profit Center                                                      &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_PROFITCENTER_CREATE       Create Profit Center                                                      &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_PROFITCENTER_GETDETAIL    Display Profit Center Master Data                                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BAPI_PROFITCENTER_GETLIST      Display List of Profit Centers              &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hope this helps u,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunsri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 04:21:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/common-methods-found-in-bapi/m-p/3429546#M823807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T04:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: common methods found in bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/common-methods-found-in-bapi/m-p/3429547#M823808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;Methods&lt;/P&gt;&lt;P&gt;If the BAPI to be implemented is a standardized BAPI, use the generic names, for example, GetList, GetDetail. &lt;/P&gt;&lt;P&gt;The method name must be in English (maximum 30 characters). &lt;/P&gt;&lt;P&gt;The individual components of a BAPI name are separated by the use of upper and lower case.Example: GetList &lt;/P&gt;&lt;P&gt;Underscores ("_") are not allowed in BAPI names. &lt;/P&gt;&lt;P&gt;Each BAPI has a return parameter that is either an export parameter or an export table. &lt;/P&gt;&lt;P&gt;So that customers can enhance BAPIs, each BAPI must have an ExtensionIn and an ExtensionOut parameter. &lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;If standardized parameters are used, you have to use the names specified for standardized parameters. &lt;/P&gt;&lt;P&gt;BAPI parameter names should be as meaningful as possible. Poorly chosen names include abbreviations and technical names (e.g. "flag", table names, etc.). &lt;/P&gt;&lt;P&gt;The parameter and field names must be in English with a maximum of 30 characters. &lt;/P&gt;&lt;P&gt;The components of a parameter name in the BOR are separated by upper and lower case letters to make them easier to read. Example: CompanyCodeDetail &lt;/P&gt;&lt;P&gt;Values that belong to each other semantically should be grouped together in one structured parameter, instead of using several scalar parameters. &lt;/P&gt;&lt;P&gt;For ISO-relevant fields (country, language, unit of measure, currency), additional fields for ISO codes are provided. &lt;/P&gt;&lt;P&gt;Unit of measure fields must accompany all quantity fields and currency identifiers must accompany currency amount fields. &lt;/P&gt;&lt;P&gt;Standardized BAPIs&lt;/P&gt;&lt;P&gt;Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI. &lt;/P&gt;&lt;P&gt;The following standardized BAPIs are provided: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading instances of SAP business objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetList ( ) With the BAPI GetList you can select a range of object key values, for example, company codes and material numbers. &lt;/P&gt;&lt;P&gt;The BAPI GetList() is a class method. &lt;/P&gt;&lt;P&gt;GetDetail() With the BAPI GetDetail() the details of an instance of a business object type are retrieved and returned to the calling program. The instance is identified via its key. The BAPI GetDetail() is an instance method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPIs that can create, change or delete instances of a business object type&lt;/P&gt;&lt;P&gt;The following BAPIs of the same object type have to be programmed so that they can be called several times within one transaction. For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction, the second BAPI call must not affect the consistency of the sales order 2. After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create( ) and &lt;/P&gt;&lt;P&gt;CreateFromData( ) The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods. &lt;/P&gt;&lt;P&gt;Change( ) The BAPI Change() changes an existing instance of an SAP business object type, for example, a purchase order. The BAPI Change () is an instance method. &lt;/P&gt;&lt;P&gt;Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag. &lt;/P&gt;&lt;P&gt;The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods. &lt;/P&gt;&lt;P&gt;Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type. The instance to be cancelled remains in the database and an additional instance is created and this is the one that is actually canceled. The Cancel() BAPI is an instance method. &lt;/P&gt;&lt;P&gt;Add&amp;lt;subobject&amp;gt; ( ) and Remove&amp;lt;subobject&amp;gt; ( ) The BAPI Add&amp;lt;subobject&amp;gt; adds a subobject to an existing object instance and the BAPI and Remove&amp;lt;subobject&amp;gt; removes a subobject from an object instance. These BAPIs are instance methods. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPIs for Mass Data Processing&lt;/P&gt;&lt;P&gt;The BAPIs listed above for creating and changing data can also be used for mass processing. For more information see BAPIs for Mass Data Transfer Extern &lt;/P&gt;&lt;P&gt;BAPIs for Replicating Business Object Instances&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replicate( ) and SaveReplica( ) The BAPIs Replicate() and SaveReplica() are implemented as methods of replicable business object types. They enable specific instances of an object type to be copied to one or more different systems. These BAPIs are used mainly to transfer data between distributed systems within the context of Application Link Enabling (ALE). These BAPIs are class methods. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Less Used Standardized BAPIs&lt;/P&gt;&lt;P&gt;Programming GetStatus() BAPIs Extern &lt;/P&gt;&lt;P&gt;Programming ExistenceCheck() BAPIs Extern &lt;/P&gt;&lt;P&gt;Standardized Parameters&lt;/P&gt;&lt;P&gt;There are some parameters that can be created for various BAPIs because they contain the same or the equivalent data in all BAPIs. They should be implemented the same in all BAPIs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Address parameters Specific reference structures are defined for address parameters in BAPIs. You should copy these structures to use in your BAPI, especially if the underlying object type uses the central address management (CAM). &lt;/P&gt;&lt;P&gt;Change Parameters In BAPIs that cause database changes (for example, Change() and Create() BAPIs) you must be able to distinguish between parameter fields that contain modified values and parameter fields that have not been modified. This distinction is made through the use of standardized parameters. &lt;/P&gt;&lt;P&gt;Extension parameters The parameters ExtensionIn and ExtensionOut provides customers with a mechanism that enables BAPIs to be enhanced without modifications. &lt;/P&gt;&lt;P&gt;Return Parameters Each BAPI must have an export return parameter for returning messages to the calling application. To provide application programmers with a consistent error handling process for BAPI calls, all return parameters must be implemented in the same, standardized way. &lt;/P&gt;&lt;P&gt;Selection Parameters Standardized selection parameters are used in BAPIs that can be used to search for specific instances of a business object type (e.g. in GetList() ). These parameters enable the BAPI caller to specify the relevant selection criteria. &lt;/P&gt;&lt;P&gt;Test Run Parameters The parameter TestRun is used in write BAPIs (Create() and Change() ), to check the entries for the object instance in the database before actually creating the object instance. The creation of the object instance is only simulated and data is not updated. &lt;/P&gt;&lt;P&gt;Text Transfer Parameters To transfer BAPI documentation texts (e.g. the documentation of a business object type), you have to create standardized text transfer parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Things to remember&lt;/P&gt;&lt;P&gt;It is important to follow the guidelines below when develop9ng BAPIs: &lt;/P&gt;&lt;P&gt;BAPIs must not contain CALL TRANSACTIO or SUBMIT REPORT &lt;/P&gt;&lt;P&gt;BAPIs must not invoke a COMMIT WORK. instead use the BAPI TransactionCommit to execute the commit after the BAPI has executed. &lt;/P&gt;&lt;P&gt;BAPI structures must not use includes. &lt;/P&gt;&lt;P&gt;There should be no functional dependecies between two BAPIs &lt;/P&gt;&lt;P&gt;BAPIs must perform there own authorization check &lt;/P&gt;&lt;P&gt;BAPIs should not use dialogs &lt;/P&gt;&lt;P&gt;BAPIs must not cause the program to abort or terminate. re4levant messages must be communicated through the return parameter. &lt;/P&gt;&lt;P&gt;BAPI/ALE Integration&lt;/P&gt;&lt;P&gt;When you use the BAPIs for asynchronous messagning, the application in the sendig systen calls the generated ALE IDoc interface isntead of the BAPI. &lt;/P&gt;&lt;P&gt;Asynchronous BAPIs use the ALE interface this way: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creates an IDOC from the BAPI data &lt;/P&gt;&lt;P&gt;Sends the IDOC to the target system &lt;/P&gt;&lt;P&gt;Receives the IDOC in trhe target system, crreates the BAPI data from the IDoc and calls the BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESGROUP_GET_DETAIL Sales Group: Display Name &lt;/P&gt;&lt;P&gt;BAPI_SALESOFFICE_GET_DETAIL Sales Office: Display Name &lt;/P&gt;&lt;P&gt;BAPI_SALESOFFICE_GRP_EXIST Sales Office / Sales Group: Existence Check &lt;/P&gt;&lt;P&gt;BAPI_SALESORG_EXIST Sales Organization: Existence Check &lt;/P&gt;&lt;P&gt;BAPI_SALESORG_GET_DETAIL Sales Organization: Display Data &lt;/P&gt;&lt;P&gt;BAPI_SALESORG_OFFICE_EXIST Sales Organization / Sales Office: Existence Check &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference Links&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/95/b8d53a6cad6f5ae10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/95/b8d53a6cad6f5ae10000000a114084/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/7f/c6dc72c54811d194af00a0c94260a5/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/7f/c6dc72c54811d194af00a0c94260a5/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Points if Useful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 06:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/common-methods-found-in-bapi/m-p/3429547#M823808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T06:38:17Z</dc:date>
    </item>
  </channel>
</rss>

