$(function () { pageContext.i18n.modTalk = 'moderation talk'; pageContext.i18n.replyToComment = 'Reply'; pageContext.i18n.modTalkEmpty = 'moderation talk is empty'; pageContext.url.getModTalk = "/comments/%25ID%25/listModTalk.json"; pageContext.url.possibleCommentRecipients = "/comments/%ID%/possibleRecipients.json"; pageContext.url.commentEdit = '/comments/%25ID%25/edit.html'; pageContext.url.commentView = '/comments/%ID%/view.html'; pageContext.i18n.commentVisibility = { 'full': 'Viewable by all users', 'op': 'Viewable by the original poster', 'mod': 'Viewable by moderators', 'opAndMod': 'Viewable by moderators and the original poster', 'other': 'Advanced visibility', 'dialogTitle': 'Comment visibility', 'selectGroups': 'Visible to groups', 'selectOther': 'Other recipients', 'selectOriginalPoster': 'Original poster', 'selectModerators': 'Moderators', 'selectAssignees': 'Asked to answer users' }; pageContext.i18n.commentMenuLabels = { 'comment-edit': 'comments.menu.edit', 'comment-delete': 'comments.menu.delete', 'comment-convert': 'comments.menu.convert' };pageContext.i18n.answer= { bestAnswer: 'Best Answer', controlBar : { accept: 'Accept', unaccept: 'Unaccept', acceptCommand: 'Accept this answer as correct', cancelAcceptedCommand: 'Remove this answers accepted status' } }; window.croles = { u: false, op: false, m: false, og: false, as: false, ag: false, dc: false, doc: false, eo: false, ea: false }; tools.init({ q: { e: false, ew: false, eo: false, r: false, ro: false, d: false, dow: false, fv: false, c: false, co: false, p: false, tm: false , ms: false, mos: false }, n: { f: false, vf: false, vfo: false, vr: false, vro: false, c: false, co: false, vu: false, vd: false, w: false, wo: false, l: false }, c: { e: false, eo: false, d: false, dow: false, ta: false, tao: false, l: false }, a: { e: false, ew: false, eo: false, d: false, dow: false, a: false, aoq: false, ao: false, tc: false, tco: false, p: false, tm: false }, pc: croles }, { tc: true, nsc: true }); commandUtils.initializeLabels(); }); Skip to Content

SAP Personas 3.0 : Inspector inside a table

Hello,

1. I was following the video around "How to do a loop in table" https://www.youtube.com/watch?v=Ov7ildHAjGM

In this video around 2:51, the guy selects with the inspector a particular cell in the table.

When I try to replicate this in my system (I'm on Personas 3.0 SP4), I cannot select a particular Cells , I have only the possibility to select the table but cannot go inside.

I looked at OSS but couldn't find anything.

2. I tried to go around the problem as I want to set some specific value inside the table.

So I did a record but how to change the specific value with a parameter in the script:

session.findById("wnd[0]/usr/subSUB0:SAPLMEGUI:*/subSUB2:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:3212/cntlGRIDCONTROL/shellcont/shell").executeWebRequest("post", "action", "622", "row_index=1&column_id=AFNAM&value=user", null);

--> I want the value User replace by a parameter.

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 05, 2017 at 06:43 AM

    Hello,

    I just putting the solution that I found with the help of Tamas answer.

    In the inspector, when selecting the table, there is different function like this one which help me a lot: .getColumnName:

    I assigned a variable and displayed the result of the column Name of index 5 for example.

    So after I could use properly the method modifyCell to update a value of a specify cell:

    for example in ME51N, for the first line:

    Emmanuel.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 24, 2017 at 09:47 PM

    That video is almost two years old, and Personas changed a lot since then. Now it is not possible to use the object picker to select a cell, and this was disabled for technical reasons and to avoid confusion with row numbers when large tables with multiple pages are involved.

    If you want to access individual cells, there are specific methods for the table control, such as getCellValue and modifyCell to achieve the same.

    Add comment
    10|10000 characters needed characters exceeded