Get Query information from program name
View query
Step 1: sq02 choose the right Query Area and User Group
Step 2: sq01 to access the query
Add an Additional field to query
Step 1: sq02 edit infoset
Step 2: create a new additional field
Step 3: build value for the additional field
Step 4: create a fieldgroup and add the additional field to the fieldgroup
Step 5: generate the infoset
Step 6: sq01 to change the query
Step 7: set the additional field on output list and/or selection screen
Step 8: save the query
Step 9: generate program for the query