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

Function Module to Delete an Object from repository

Former Member
0 Likes
1,261

hi,

Do you know a functional module where we can specify an object type and name so that object can be deleted

1 ACCEPTED SOLUTION
Read only

p291102
Active Contributor
0 Likes
1,024

HI,

APPL_LOG_INIT - This function module checks whether the specified object or sub-object exists and deletes all existing associated data in local memory.

Thanks,

Shankar

4 REPLIES 4
Read only

p291102
Active Contributor
0 Likes
1,025

HI,

APPL_LOG_INIT - This function module checks whether the specified object or sub-object exists and deletes all existing associated data in local memory.

Thanks,

Shankar

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,024

Hi

Use the FM:

APPL_LOG_INIT .

regards,

kumar

Read only

Former Member
0 Likes
1,024

This function module deletes all existing entries for the specified object an sub-object in the local memory.

Example call:

DATA: OBJECT LIKE BALHDR-OBJECT,

SUBOBJECT LIKE BALHDR-SUBOBJECT.

...

CALL FUNCTION 'APPL_LOG_INIT'

EXPORTING

OBJECT = OBJECT

SUBOBJECT = SUBOBJECT

EXCEPTIONS

OBJECT_NOT_FOUND = 01

SUBOBJECT_NOT_FOUND = 02.

Read only

0 Likes
1,024

Hi,

Thanks for the reply .. but this doesn't work.

what should be entry on sub object.

then what if a program and function module contains same name or table and program contain same name.

which object it'll will delete...