cancel
Showing results for 
Search instead for 
Did you mean: 

'RSDRD_SEL_DELETION' Function Module Usage

Former Member
0 Kudos

Hi ,

Please help me understand this..

I need to Delete a single record with particular Deliv-Numb or an Internal table with delivery numbers which have been qualified to be deleted.

Where would I call this function and how do I provide this as INPUT to the function.

Is there any further information about the different parameter names.

Thanks and Regards

Andy

CALL FUNCTION 'RSDRD_SEL_DELETION'

EXPORTING

i_datatarget = i_odsobject

i_thx_sel = l_thx_sel

I_DEL_ACTIV = RS_C_FALSE

I_DEL_UPDATE = RS_C_TRUE

I_AUTHORITY_CHECK = RS_C_FALSE

*INSERTAS 19122002 P9 <581897>

*table is not copied - only delete is performed

I_MODE = 'D' "RSDRD_C_MODE-DELETE

  • I_MODE = 'C' "RSDRD_C_MODE-CHOOSE

*ENDINSERTAS 19122002

  • I_THRESHOLD = '0.1'

  • I_PARALLEL_DEGREE = 1

  • I_NO_COMMIT = RS_C_TRUE

*INSERTAS 13082002 P12/05 <541698>

*Commit - No rollback segment overflow...

I_NO_COMMIT = RS_C_FALSE

*ENDINSERTAS

I_NO_ENQUEUE = RS_C_TRUE

I_SHOW_REPORT = RS_C_FALSE

I_TRANSACTIONAL_ODS = RS_C_FALSE

changing

c_t_msg = c_t_meldungen

EXCEPTIONS

X_MESSAGE = 1

INHERITED_ERROR = 2

INVALID_TYPE = 3

OTHERS = 4

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Andy,

you wanted to selectively delete the content from data target if i'm not wrong... for that instead of using the function module, in manage datatarget option, just navigate to the content tab and there is one button for selective deletion.If you click on that and give your selection and execute the job, the records will be deleted. I think i have answered your query. If not pls elaborate the question. If yes pls reward...

Regards

Sriram

Former Member
0 Kudos

Hi,

I need to delete an existing record from the ACtive table and Changelog table through an Update rule based on when a certain condition is met. The delivery number is one of the key and will have to delete a particular Deliv Number or number of delivery records already existing in the ODS.

So I probably will have to use this Function Module and need to understand how to pass 1 Deliver number or a number of delivery records stored in an Internal table .

Thanks and Regards

Andy