Using dynamic Parameter path

Hi All, 

Fairly new to Loadrunner and doing  SAPGUI scripts. I am trying to use an output from one script in another script. 

What I am doing is saving the parameter to a file(csv) list of numbers. ie, Order Numbers.

In the second script then I want to load these Numbers to use an input, (one per iteration). 

The issue here is each file is specific to the UserID. : 

lr_save_string(lr_eval_string("C:\\Users\\myUser\\Documents\\VuGen\\Scripts\\Output\\UserFiles\\{p_UserName}_PurchaseOrderNumbers.csv"), "filename");

Is there a way to user a dynamic parameter in the script its self? 
So the user loads the parameter file for its User ID. 

ie the below is currently pulling from a set parameter file. However I would need it to select the above file based on the current user's ID. {p_UserName}. ( whether I set the file name as the user name or the folder name as the User id. 


Script 2 code: 

sapgui_set_text("Purchase order",
                                 "{p_PO_Number}", // Nees to be pulled from file.



Has anyone done something similar? 

Labels (2)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.