cancel
Showing results for 
Search instead for 
Did you mean: 

How to run bw process chain with dialog parameter

a_khanevich
Explorer
0 Kudos
754

Hello community! I have the following requirement:     run BW process chain for data loading which uses dialog parameter based on the value in BW Characteristic for the filename generation in infopackages. How can I do this? Thanks in advance.

View Entire Topic
a_khanevich
Explorer
0 Kudos

Hi,

Here is some more info:

1. Information comes to BW from many csv-files by packages.

2. One package consists of 50+ files from one company (BW Characteristic).

3. Each file name looks like <CompanyID1>_<FileID>.csv

I want to manually choose CompanyID1 from BW Characteristic and then load all files from one company by running bw process chain.

sander_vanwilligen
Active Contributor
0 Kudos

Hi,

I suggest to use a TVARVC variable in combination with a small ABAP program. On the selection screen of the program you can select the ConpanyID1 you want to process. The program will update the TVARVC variable. This program you should run prior to execution of the Process Chain.

In the InfoPackage you can select a file from the application server. Here you can specify a routine to determine the file path/name. Here you could prepare the appropriate file path/name by evaluating the value of the TVARVC variable.

It could be a powerful combination with Logical File Names (t/code FILE). You can use Function Module FILE_GET_NAME_USING_PATH for this purpose. Please refer to the documentation of the Function Module for an example.

Best regards,

Sander