on 12-12-2005 6:26 PM
I have a custom ESS service on which almost all Input fields are displayed using SAPgui for HTML, but one -- table control is done manually -- using pure HTML code;
`SAP_DynproLayerBegin(024,017,014,001)`
`SAP_InputField("WA32-ZZ_LICENSE2")`
`SAP_DynproLayerEnd()`
CUSTOM TABLE CONTROL ****
`SAP_DynproLayerBegin(004,019,083,006)`
`#ZESS_WHO` |
<!content table>
`if ( TAB_PHONES-PTYPE.dim > 0 )`
`repeat with j from 1 to TAB_PHONES-PTYPE.dim`
`if ( CCODE.dim > 1 )`
`elseif ( CCODE.dim == 1 )`
`end`
`if ( OKCODE == 'CHAN' )`
`else`
`end`
`end`
Phone type | Country Code | Area Code | Local Phone no. | Extension | ||||
`TAB_PHONES-PTYPE[j]` | `CCODE` `CCODE_TXT` `else` `CCODE` `CCODE_TXT` `end` `end` | `CCODE_TXT[1]` |
|
|
| `TAB_PHONES-ACODE[j]` | `TAB_PHONES-PHONE[j]` | `TAB_PHONES-EXT[j]` |
`end`
`SAP_DynproLayerEnd()`
How do I get the value back from these HTML table control back to my actual R/3 table control -- like moving the new area code -- the user has entered to table control area code? And where do I write the code --ITS service side or corresponding R/3 tcode side? Please advise.
Hi
You can use the same internal table and field in the htmlb code for ex. pa0002-nachn. then you need not handle it on your own then it will keep the changes what you have made in the frontend will be automaticly put in the internal table. hope this will help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kshitij,
Not 100% sure if I understand this correctly, but do you have to use a table control on the R/3 side for it? You might also want to consider a Step-Loop instead. I used them a lot in cases when I had an undefinded number of lines with input fields and wanted to allow paging forwards backwards - like displaying 15 on each page.
But I also can't see why this shouldn't work with a table control. What's the exact problem?
Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.