Promoting preloaded ABAPs

Hi,

I have a number of ABAPs (from the SAP rapidmarts) that I have to preload, rather than running in generate and execute mode.

I have to promote these through the system from development to test.

Promoting the actual ABAPs isn’t much of a problem, however, the ‘Working Directory on SAP Server’ datastore parameter is causing me a problem.

This path will change between environments, but if I’ve preloaded in development then the SDS generated ABAP contains a hard-coded file path (e.g. PARAMETER OUT_DIR(48) DEFAULT "output file dir ‘/usr/sap/xxx/xxx’)

The path will reflect the environment (SAP system and client number). So if I was running on system ABC and client 100 I would have a path /usr/sap/ABC/100.

I’ve tried to parametrise that to use SAP system fields, e.g. /usr/sap//…

…but I cant get the syntax right.

Is there anyway to do what I’m trying here, so that I can have a paramaterised directory path that will work when I promote through environments.


dcstevenson (BOB member since 2006-09-06)

I would say, as a best practice, this path should be same across all your environments. Then it would be hassle-free


ganeshxp :us: (BOB member since 2008-07-17)