on 2022 Oct 20 7:55 AM
Hi everyone,
WEB GUI also does not allow me to select a row. I can also choose the dev system. but it doesn't allow me to select in the live system. I created the html template.
LIVE System Dev System
CREATE OBJECT CONTAINER9
EXPORTING
CONTAINER_NAME = 'CONT9'.
GS_LAYOUT9-NO_TOOLBAR = 'X'.
GS_LAYOUT9-BOX_FNAME = 'MARK'.
GS_LAYOUT9-SEL_MODE = 'A'.
GS_LAYOUT9-CWIDTH_OPT = 'X'.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_STRUCTURE_NAME = 'ZSD14003'
I_BYPASSING_BUFFER = 'X'
CHANGING
CT_FIELDCAT = GT_FIELDCAT9[].
LOOP AT GT_FIELDCAT9
WHERE FIELDNAME EQ 'MARK'.
GT_FIELDCAT9-NO_OUT = 'X'.
MODIFY GT_FIELDCAT9.
ENDLOOP.
IF G_GRID9 IS INITIAL.
CREATE OBJECT G_GRID9
EXPORTING
I_PARENT = CONTAINER9.
CALL METHOD G_GRID9->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IS_LAYOUT = GS_LAYOUT9
I_SAVE = 'A'
CHANGING
IT_FIELDCATALOG = GT_FIELDCAT9[]
IT_OUTTAB = LT_SATBELTGRP[].
ELSE.
G_GRID9->REFRESH_TABLE_DISPLAY( ).
ENDIF.
html code
`if (~currdynpro.speechenabled != "")
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
`elseif (~itsmobileStandardsMode == "X")`
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
`end;`
<html`if (~currdynpro.speechenabled != "")
` xmlns="http://www.w3.org/1999/xhtml"
xmlns:vxml="http://www.w3.org/2001/vxml"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xv="http://www.voicexml.org/2002/xhtml+voice"
class="MobileHtml"`
end;`>`
if ( ~itsmobileNameSpace != "" )
~current_service = ~itsmobileNameSpace & ~service;
elseif ( strsub(~sources, 0, 1) == "/" )
~current_service = strsub(~sources, 0, strchr(~sources, "/", 1)+1) & ~service;
else
~current_service = ~service;
end;`
`
<!-- Generated Template
NAME: ZSD12800
SCREEN: 0109
DATE: 20221021
TIME: 083953
STYLE: MOBILE4
-->
declare class(name, idx=1), style(name, idx=1), style_attr(name, idx=1), icon(name, idx=1),
class_ext(name, idx=1), align(name, idx=1), label(name, idx=1), has_label(name, idx=1),
width(i, a), margin_left(i, a), w(i, a), sh(), mkid(s) in "some.html";
if ( ~itsmobileFuncInclude != "" )
include(~service=~current_service, ~language="", ~theme=~theme, ~name=~itsmobileFuncInclude, ~style="x");
else
include(~service="itsmobile", ~language="", ~theme="99", ~name=nonExt&"functions", ~style="x");
end;`
`
`<head>`
if ( ~itsmobileDeviceInclude != "" )
include(~service=~current_service, ~language="", ~theme=~theme, ~name=~itsmobileDeviceInclude & ".html");
end;`
`
`<title>`~windowtitle`</title>
`if (~resp_content_type == "") ~resp_content_type = "text/html"; end;`
<meta http-equiv="Content-Type" content="`~resp_content_type`; charset=`~resp_content_charset`" `sh()`>`
if ( ~itsmobileSoundInclude != "" ) <!-- customers sound -->
include(~service=~current_service, ~language="", ~theme=~theme, ~name=~itsmobileSoundInclude & ".html");
else <!-- default -->
include(~service="itsmobile", ~language="", ~theme="99", ~name="include/sound.html");
end;
if ( ~itsmobileCssInclude != "" ) <!-- customer include from gui settings -->`
<link rel="stylesheet" href="`mimeURL(~service=~current_service, ~theme=~theme, ~language="", ~name=~itsmobileCssInclude & ".css")`" type="text/css" `sh()`>
` else <!-- default include from itsmobile --> `
<link rel="stylesheet" href="`mimeURL(~service="itsmobile", ~theme=99, ~language="", ~name="styles/all/mobile.css")`" type="text/css" `sh()`>
` end;
if ( ~itsmobileJsInclude != "" ) <!-- customer include specified in gui settings -->`
<script type="text/javascript" language="javascript" src="`mimeURL(~service=~current_service, ~theme=~theme, ~language="", ~name=~itsmobileJsInclude & ".js")`"></script>
` else <!-- default include from itsmobile -->`
<script type="text/javascript" language="javascript" src="`mimeURL(~service="itsmobile", ~theme=99, ~language="", ~name="scripts/all/mobile.js")`"></script>
` end;
if ( ~itsmobileCustomJsInclude != "" )`
<script type="text/javascript" language="javascript" src="`mimeURL(~service=~current_service, ~theme=~theme, ~language="", ~name=~itsmobileCustomJsInclude & ".js")`"></script>
` end;`
<script type="text/javascript" language="Javascript">
var itsmobile_eos = "`wgateurl(~okcode="/nex")`";
</script>
` <!-- rfid values --------------------------- -->
if ( ~RfidEnabledFields != "" ) `
<script type="text/javascript" language="javascript" src="`mimeURL(~service="itsmobile", ~theme=99, ~language="", ~name="rfid/rfbutton.js")`"></script>
<script type="text/javascript" language="Javascript">
var rfid_fields = new Object;
` repeat with i from 1 to ~RfidEnabledFields.dim
<!-- get field name and index -->
rfidField = ~RfidEnabledFields[i];
rfidFieldIdx = ~RfidEnabledFields[i].idx;
rfidFieldParams = ~RfidEnabledFields[i].params; `
rfid_fields["`rfidField`[`rfidFieldIdx`]"] = { `rfidFieldParams` };
` end;`
</script>
` end;`
` <!-- Check if screen supports voice integration -->
if ( ~currdynpro.speechenabled != "" )
<!-- include the htmlb functions for voice integration -->
if ( ~itsmobileVoiceInclude != "" ) <!-- customers voice generation html -->
include(~service=~current_service, ~language="", ~theme=~theme, ~name=~itsmobileVoiceInclude & ".html");
else <!-- default its default voice include -->
include(~service="itsmobile", ~language="", ~theme="99", ~name="include/voice.html");
end;
end;`
`
`</head>`
`<body class="MobileBody `class("~currdynpro", 1)`" `style_attr("~currdynpro", 1);
if (~currdynpro.speechenabled != "")` id="MobileBody" ev:event="load" ev:handler="#sayOnPageLoad"` else
` onload="setFocus('`~focusfield`');`~itsmobileOnloadHandler`"` end;
` onkeydown="return processKeyEvent(event);" onhelp="return false;">
`
`<form method="post" action="`WGateURL()`" id="mobileform" name="mobileform" onsubmit="return firstSend()" style="display:inline">
<input type="hidden" name="~OkCode" value="/0"`sh()`>
<input type="hidden" name="~FKey" value=""`sh()`>
<input type="hidden" name="~Focusfield" value=""`sh()`>`if (~SEC_SESSTOKEN != "")`
<input type="hidden" name="~SEC_SESSTOKEN" value="`~SEC_SESSTOKEN`"`sh()`>`end`
`if (~active_timer != "")
include(~service="itsmobile", ~theme="99", ~name="timer.html");
timer(~active_timer, width, height);
end`
`
`<!-- main screen begin -->
<div>`
if ( ~itsmobileCuaInclude != "" ) <!-- customers cua area -->
include(~service=~current_service, ~language="", ~theme=~theme, ~name=~itsmobileCuaInclude & ".html");
elseif ( ~itsmobileNoCuaInclude != "1" && ~itsmobileNoCuaInclude != "X" ) <!-- default cua area -->
include(~service="itsmobile", ~language="", ~theme="99", ~name="include/cuaarea.html");
end;`
</div>
<div class="MobileUserArea">`
if ( ( ~DYNPRO_COMPRESSION != "1" && ~DYNPRO_COMPRESSION != "X" ) ||
( 'PB_GERI1'[1].exists == "X" && 'PB_GERI1'[1].visible == "X" ) ||
( '%#AUTOTEXT001'[1].exists == "X" && '%#AUTOTEXT001'[1].visible == "X" ) ||
0 )
`<!-- line 1 -->
<div class="MobileRow">`
if ( ( 'PB_GERI1'[1].exists == "X" ) && ( 'PB_GERI1'[1].visible == "X" ) )
`<input type="button" style="`width("6", "4.920em"); style("PB_GERI1", 1)`" `
`class="MobileButton`class_ext("PB_GERI1", 1)` `class("PB_GERI1", 1)`" `
if ( 'PB_GERI1'[1].disabled == "X" ) `disabled="disabled" `end;
`name="`'PB_GERI1'[1].name`" `
if ( ~currdynpro.speechenabled != "" ) `id="`'PB_GERI1'[1].name`" `end;
`value="`label("PB_GERI1", 1)`" `
if ( 'PB_GERI1'[1].onclick != "" )
`onclick="`'PB_GERI1'[1].onclick`;" `
elseif ( 'PB_GERI1'[1].rfidenabled == "X" )
`onfocus="setFocusField('`'PB_GERI1'[1].name`');"
onblur="leaveFocusField('`'PB_GERI1'[1].name`');"
onclick="RfidButtonClick();" `
else
`onclick="setOkCode('`'PB_GERI1'[1].okcode`');" `
end;
sh()`>`
else
`<span style="`margin_left("6", "4.920em")`; height:1px"></span>`
end;
if ( 0 != 0 )
`<span style="`margin_left("0", "0.000em")`; height:1px"></span>`
end;
if ( ( '%#AUTOTEXT001'[1].exists == "X" ) && ( '%#AUTOTEXT001'[1].visible == "X" ) )
icon( "%#AUTOTEXT001", 1 );
`<span style="`width("30", "24.600em"); align("%#AUTOTEXT001", 1); style("%#AUTOTEXT001", 1)`" `
if ( '%#AUTOTEXT001'[1].highlighted == "X" )
`class="MobileLabelHighlighted `class("%#AUTOTEXT001", 1)`" `
else
`class="MobileLabel `class("%#AUTOTEXT001", 1)`" `
end
`>`label("%#AUTOTEXT001", 1)`</span>`
else
`<span style="`margin_left("30", "24.600em")`; height:1px"></span>`
end;
if ( 0 != 0 )
`<span style="`margin_left("0", "0.000em")`; height:1px"></span>`
end;
<!-- content row end -->`
</div>
`end;
if ( ( ~DYNPRO_COMPRESSION != "1" && ~DYNPRO_COMPRESSION != "X" ) ||
( 'CONT9'[1].exists == "X" && 'CONT9'[1].visible == "X" ) ||
1 )
`<!-- line 2 -->
<div class="MobileRow">`
declare cust_control(name, width, height) in "some.html";
if ( ~itsmobileCustomControls != "" )
include(~service=~current_service, ~theme=~theme, ~name=~itsmobileCustomControls, ~style="x");
else
include(~service="itsmobile", ~theme="99", ~name=nonExt&"cust_controls", ~style="x");
end;
cust_control("CONT9", "30.340em", 10);`
`
<!-- content row end -->`
</div>
`end;
`</div>
<!-- main screen end -->`
`</form>`
`</body>`
`</html>
thank you for your help.
Request clarification before answering.
User | Count |
---|---|
77 | |
30 | |
10 | |
8 | |
8 | |
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.