2008 Jul 09 4:46 PM
can v tell from a given bapi, whether a particular bapi is a class method or an instance method by observing the code?
2008 Jul 09 4:57 PM
If you are looking for difference between instance & static method then
Instance method is defined using the METHODS statement, but the static (class method) is defined using the CLASS-METHODS statement.
a®
2008 Jul 09 4:57 PM
If you are looking for difference between instance & static method then
Instance method is defined using the METHODS statement, but the static (class method) is defined using the CLASS-METHODS statement.
a®
2008 Jul 09 5:12 PM
2008 Jul 09 5:20 PM
I think bapis which create an instance of an SAP business object type are of type class methods like Create() and CreateFromData().
But bapis which have Change( ) Delete( ) and Undelete( ) Cancel ( ) are treated as changes in an existing instance of an SAP business object type are referred as instance method
a®
2008 Jul 09 5:27 PM
i mean the example in the code... with the syntax that u gave for both the types.
2008 Jul 09 5:32 PM
> i mean the example in the code... with the syntax that u gave for both the types.
I didn't get your point about syntax?
May be check this link
http://www.sapmaterial.com/bapi_example.html
a®