ABAP log

January 5, 2007

How to copy ABAP variants from one program to another.

Filed under: ABAP, SAP — abaplog @ 9:05 pm

To be able to test our changes on real data, we sometimes create a copy of a program, modify it and send to a production system. If this is a widely used report, it’s very likely that you have a complex selection screen with input data saved in variants. For the copy program those variants, of course, will not exist (unless the same variants exist in the development system, so that SE38 will copy them too). To help you, the function RS_COPY_SELECTION_SETS will copy the variant content. You run it directly in the production system (carefully!) in SE37.

NOTE: the “Create” and “Change” user for all variants will the the user that is doing the copy! If you rely on those fields to search for variants, the user information will be lost.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: