Application Development 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: 

Change URL on attachments in R/3

Former Member
0 Kudos

Greetings

I am looking for a program/tool/source code that will change the URL in the objects (files) attachments in R/3.

For example:

Let's say that you attach credit applications at the customer level in R/3 and you do this for one year. The credit applications are stored in a Web page with a www.currentdomain.com domain in the URL ....now the web page name changes to www.newdomain.com.

Now when the user goes to the customer to pull the credit application the document is not found.

I need a tool that will easily change the URL's in R/3 to the new URL name so the users can find the attached credit applications at the customer level.

We have attachments at several levels, customer, vendor, FI documents, WBS elements, etc...

Many thanks.

2 REPLIES 2

Former Member
0 Kudos

I beleive the URL's you are talking about have been attached to the documents using General Object Services (GOS).

Program RSGOSRE01 is used to delete these - run it in a test environment in Test mode with an appropriate end date and you should see it giving a report on the number of URL's found.

If it gives the count, then the code in this program might provide a starting point for a custom ABAP to do what you want. It would need to find all the URL's (which this program seems to be doing) and then update the required ones. The update may require you to call methods of the CL_GOS* classes to get and then change the URL.

There are also a few ABAP programs - names starting GOS* which have comments indicating they are test programs - may also have some useful code in them.

Do not know of any supplied program to do what you want.

Andrew

0 Kudos

With your help we started investigating and finally found out how to do it...

Thanks.