# Path Procedures & Tables

**URL:** <https://techcommunity.softwareag.com/t/path-procedures-tables/76608>\
**Category:** Forum\
**Tags:** Mainframe-Integration, ApplinX\
**Created:** [April 24, 2008, 7:36am UTC](https://techcommunity.softwareag.com/t/path-procedures-tables/76608 "2008-04-24T07:36:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joan1](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@Joan1](https://techcommunity.softwareag.com/u/Joan1)\
**Post date:** [April 24, 2008, 7:36am UTC](https://techcommunity.softwareag.com/t/path-procedures-tables/76608/1 "2008-04-24T07:36:43Z")

</div>

I have created a path procedure that navigates through seven screens. The third screen has a table defined on it. I want to present all the data on one web page. How do I access the table data?

---

<div class="post-metadata">

**Author:** ![Asaf\_Shak](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Asaf\_Shak](https://techcommunity.softwareag.com/u/Asaf_Shak)\
**Post date:** [April 27, 2008, 6:11pm UTC](https://techcommunity.softwareag.com/t/path-procedures-tables/76608/2 "2008-04-27T18:11:54Z")

</div>

Hi Joan,

I’m not sure what your goal is but if I understand this could be good solution for you.  
In GXBasicContext.java, inside gx\_fillTable()

```auto
GXPathResponse res = getGXSession().executePath("7screensPath");
```

Do the following

---

<div class="post-metadata">

**Author:** ![Joan1](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@Joan1](https://techcommunity.softwareag.com/u/Joan1)\
**Post date:** [April 29, 2008, 3:06am UTC](https://techcommunity.softwareag.com/t/path-procedures-tables/76608/3 "2008-04-29T03:06:24Z")

</div>

I used the following code:  
public void GetCustomerData() {  
try {  
GXPathRequest req = new GXPathRequest(“CollectCustInfo”);  
String AcctNo = getTagsAccesor().getTagContent(“AccountNumber”);

```
	req.addVariable("AccountNumber", AcctNo);
	GXPathResponse res = getGXSession().executePath(req);
//	gx_fillForm(res.getScreens());
	GXIScreenCollection sc1 = res.getScreens();
	gx_fillForm(sc1);
	GXDefaultTable table1 = new GXDefaultTable("A20010MATable", sc1);
	table1.createTable(sc1);
	getTagsAccesor().setTagTable("A20010MATable", table1);
 	GXDefaultTable table2 = new GXDefaultTable("KB0290M1Table", sc1);
 	table2.createTable(sc1);
 	getTagsAccesor().setTagTable("KB0290MTable", table2);
 	GXDefaultTable table3 = new GXDefaultTable("KB0300M1Table", sc1);
 	table3.createTable(sc1);
 	getTagsAccesor().setTagTable("KB0300M1Table", table3);
	gx_handleHostResponse();
	}
	catch(GXGeneralException err){
		gx_handleSessionError(err);

```

I got all the data in table A20010MATable. But I only got 5 rows for the other two tables. KB0290M1Table has 10 rows on a screen. KB0300M1Table has 6 rows on a screen. The path ‘CollectCustInfo’ pages forward through both of these tables until end of data is reached.

---

<div class="post-metadata">

**Author:** ![Asaf\_Shak](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Asaf\_Shak](https://techcommunity.softwareag.com/u/Asaf_Shak)\
**Post date:** [May 1, 2008, 2:10pm UTC](https://techcommunity.softwareag.com/t/path-procedures-tables/76608/4 "2008-05-01T14:10:58Z")

</div>

Hi Joan,  
We looked at your code and it seems to be right.  
Make sure that on all the path steps the

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:49pm UTC](https://techcommunity.softwareag.com/t/path-procedures-tables/76608/5 "2021-04-02T14:49:24Z")

</div>


