How to pass ABAP Filter in Process Runner DB through Command prompt

How to pass ABAP Filter in Process Runner DB through Command prompt

ABAP Filter parameter is used to pass filter condition while extracting data from SAP in a text file through command prompt . The text file is to be specified using the below mention syntax (ABAPFILTER= <file name>) .  Each line in the text file should not exceed 72 characters. ABAP syntax is to be followed while creating the text file.

>ProRDB “C:\Users\TestUser\My Documents\Innowera\ProcessFiles DB\BSEG.idd” "|AutoRun=true" "|Logon File=TestUser.ilf”  "|ABAPFILTER=”C:\Users\TestUser\My Documents\ProcessFiles DB \Bseg_AbapFilter.txt”

 

abap1

This parameter starts Process Runner DB & automatically open and execute the Process File specified with the specified ABAPFilter condition as in the second argument (which in our case is BSEG.idd in C:\Users\TestUser\My Documents\Innowera\ProcessFiles DB\). It will use 'TestUser.ilf' as logon file from My Documents\Innowera\iLogonFiles folder and the data filter condition will be read from the 'Bseg_AbapFilter.txt' file.

 

A standard ABAP Filter file will resemble to below  screen shot. The file when executed with BSEG  table as per above screen shot, will extract data where GJAHR (Fiscal year)  equal to 1995 and BUKRS (Company code) not equal to 2000.

abap

Click below mention link to know how to run Process Runner DB through Command Prompt.

How to Run Process Runner DB through Command prompt

 

Next:
How to extract data to text file