on 2016 Feb 03 12:52 PM
Hi Exeperts,
I'm trying to write query on Master Agreements Extension Definition for migration
. Please any suggestion on this
Request clarification before answering.
Hi Rao,
Write an query under Query definition with the Syntex:
SELECT
<%RESULTS%>
FROM
<%SCHEMA%>.FCI_CONTRACT T1
LEFT OUTER JOIN
<%EXT_TABLE(contracts.Contract)%> EXT1 ON
T1.OBJECTID = EXT2.PARENT_OBJECT_ID
Now what ever You want to get as a result fro Extension ,Look the Extension Schema and select the proper value and add to the result field.
Regards
Peeyush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peeyush,
Thanks for giving replay,but my query is regarding Extensions only(Like extension definition query).My query is when I move Extensions from development to quality I want to transfer single objects(Project Extensions,Maser Agreement Extensions) . Any suggestions on this.
Regards,
Eswar
Hi Eswar,
You can do that by creating a custom OML query (based on FCI-ExtensionDefinitions-OML) and restricting it to only MA.
Warning! - query is using an 'UNION' statement. Make sure you restrict both queries otherwise this will cause great damage to your system, to such an extent it might require a DB restore.
You can confirm that all underlying objects are transported correctly by comparing the object count from the custom OML query with the results from the standard one.
Bogdan
Pakkurti,
To expand on what Bogdan said, this is potentially a very dangerous operation. It has caused us to have to restore our dev environment.
From my experience, if you use OMA file transfers, it's VERY important to make sure you only make Extension Definition AND Value List Type changes in only one environment and transport them from there in a one-way direction.
You may be thinking, "this is bad practice-- we always go Dev -> QA -> Prod." But it can actually occur easily between a sandbox and dev. Seems like common sense at the time, make your experimental changes in sandbox so you don't trash up your dev system, then export them over to dev-- BUT if someone else makes changes in dev in the interim, this problem can occur.
The way SAP recommends is workbooks but it also has problems of it's own since it's entirely manual and easy to enter invalid values accidentally. Also version control of the workbooks is very important.
Hope this helps.
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.