Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Object type deletion

Former Member
0 Likes
1,351

Hi

does anyone have idea to delete the Business object type?

this is customised the object type...i need to delete it..

5 REPLIES 5
Read only

former_member404244
Active Contributor
0 Likes
959

Hi,

goto tcode ->SWO1 then give ur business obejct type nad then prss on delete button in the application tool bar.

reward if helpful.

Regards,

Nagaraj

Read only

0 Likes
959

HI

thanks for the prompt reply..

actually this was created in a differnet sandbox system and uploaded into the DEV system ie is the reason it is saying that this object is from a different release and cannot be deleted or modified.

How about this bapi BAPI_UI_DELETE...does anyone tested before!

Read only

0 Likes
959

hi,

i have n't use this BAPI but you try it it out.it can work in your case.

please reward if my replies are useful.

Read only

Former Member
0 Likes
959

hi,

BAPIs that can create, change or delete instances of a business object type

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.

Create( ) and 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.

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.

Delete( ) and Undelete( )

The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag.

The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.

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.

Add<subobject> ( ) and Remove<subobject> ( )

The BAPI Add<subobject> adds a subobject to an existing object instance and the BAPI and Remove<subobject> removes a subobject from an object instance. These BAPIs are instance methods.

please reward if useful.

Read only

Former Member
0 Likes
959

resolved