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

Delete multiple variant

Former Member
0 Likes
4,491

I want to delete hundreds of variant. It takes time to delete it one by one thru GOTO>Variants>Delete.

Any other solution to carry on mass deletion ?

Thanks,

Git

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,725

Hi,

u can find all the variants in table 'VARID'...

goto SE16N and enter VARID, before executing type '&SAP_EDIT' in command box and press enter..

here you can delete or edit the entries...

Hope it helps!!

Regards,

Pavan

9 REPLIES 9
Read only

former_member194669
Active Contributor
0 Likes
2,725

Write a small utility using fm RS_VARIANT_DELETE

a®

Read only

0 Likes
2,725

Unable to create any report or even run SE37 because I'm on productive system.

Only SE38 execution is allow.

Read only

0 Likes
2,725

Hi,

you can try to use LSMW. It should be easy to define one batch input for deleting variant and then read all variants from csv file.

Cheers

Read only

0 Likes
2,725

Thanks both recommendation.

Just want to confirm my restriction that only SE38 is allowed.

SE16N and LSMW are not authorized too

Read only

0 Likes
2,725

Hi,

Write a simple program.

first get the all required entries from DB table 'VARID' into an internal table.

now, LOOP the above internal table and call FM 'RS_VARIANT_DELETE' by passing the 'REPORT' and 'VARIANT' for each line.

Hope it solves!!

Regards,

Pavan

Read only

Former Member
0 Likes
2,726

Hi,

u can find all the variants in table 'VARID'...

goto SE16N and enter VARID, before executing type '&SAP_EDIT' in command box and press enter..

here you can delete or edit the entries...

Hope it helps!!

Regards,

Pavan

Read only

Former Member
0 Likes
2,725

Try this, Click on system->services->reporting.

specify the program name. goto->variants. select your variant and click delete button in the tool bar.

or you can use the FM 'RS_VARIANT_DELETE'.

Regards,

Joan

Read only

0 Likes
2,725

Try this if you have access to SE80.

Programs -> enter program name -> Execute -> check the program name box -> goto Programs -> select Display ->

Goto -> Variants -> goto Variant -> select Catalogue -> select Deletion criteria -> a window will pop-up with all the variants -> check individually or select all -> hit Delete variant -> say yes to the pop-up to confirm -> BINGO!

Read only

0 Likes
2,725

Soyab -

Great tip! You learn something new every day!