cancel
Showing results for 
Search instead for 
Did you mean: 

Query

Former Member
0 Kudos

Hi,

For me in Dev, QA & Prod there are 3 different paths that are setup for inbound & outbound files... plus they all have different client id's also ... Is there a way where in I do not have to change the code & I am able to test my code in Dev, QA & production ??

Thank You,

SB.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use logical file names.

Rob

Former Member
0 Kudos

Hi Rob,

Can you please elaborate more ??

Thank You,

SB.

Former Member
0 Kudos

In transaction SPRO, use the path:

Treasury->Cash management->Information system->Drilldown reports->Print with MS Winword.

Click on the documentation for Create logical filenames.

This should get you started.

Rob

Answers (3)

Answers (3)

andreas_mann3
Active Contributor
0 Kudos

Hi ,

make a case command in dependance from the variable <b>sy</b><b>-sysid.</b>

-> from here you can define the path

case sy-sysid.
 when 'DEV'.
  file = '/home/DEV/test.dev'
 when 'PRD'.
...

Andreas

Message was edited by: Andreas Mann

Former Member
0 Kudos

Hi Andreas,

How do I handle the client id ??

Thank You,

SB

Former Member
0 Kudos

Hi,

Will giving the file path & client id as a parameter solve my problem ... & then in QA & prod I run my program with the help of variants ??...

Please suggest.

Thank You,

SB.

Manohar2u
Active Contributor
0 Kudos

Hi

Why do you need to change the code?

You can do this with configuration or with customizing tables? Or client specific settings.

You can write the logic to pickup client specific settings from your customizing tables.

Regds

Manohar

Former Member
0 Kudos

Hi Manohar ,

I am not using any customising tables. I am working on inbound interfaces using a t-code FB01... my query is that the setup here is that the file path & client id is different for Dev environment, QA environment & Prodcution ... So once I am done with coding in Dev & have tranported my object to QA , I should be able to test in QA ...

Thanks,

SB

vinod_gunaware2
Active Contributor
0 Kudos

U can put break point on that pt.

In debugging change the path.

And then excute.

regards

vinod