Insert Form template filename web PL/SQL Applications
Helpme please
How i can change the default form insert in web PL/SQL
Designer 6i
Thank!!!
e-mail [email protected]
I am having issue loading data using Web ADI, I am getting "SQL exception occurred during PL/SQL upload" error, I tried to restart Apache, also looked into the BNE.log file for the exact error but I am still not sure about this exception, can anyone please help?Please rename the log file, reproduce the issue and check the log file then.
bne:text="SQL exception occurred during PL/SQL upload."
bne:cause="Database insert error"Please see these docs.
R12 Uploading Intercompany Transactions Shows SQL Exception Occurred During PL/SQL Upload [ID 1234063.1]
Batch Element Entry (BEE) Spreadsheet Interface > 10 Rows Fails with Error: 'SQL exception occured during PL/SQL Upload.' [ID 388012.1]
How Do You Setup An AGIS Transaction That Has Several Transaction Lines For The Same Transaction [ID 946499.1]
FCH: Error: "The upload process has completed with errors. Please Close to return to the document and fix the errors. - No rows uploaded - <999> rows were invalid" During WebADI Data Upload [ID 553025.1]
R12: Legal Entity Name must be < 31 characters. [ID 472505.1]
Oracle Payroll 'Batch Element Entry ( BEE )' Frequently Asked Questions ( FAQ ) [ID 1353021.1]
Thanks,
Hussein
Similar Messages
-
Designer6i: About Page template filename Web PL/SQL Applications
how can change the About Page template filename Web PL/SQL Applications
Thank!!!
my e-mail is: [email protected]Hi,
Have you upgraded Apex?
I assume you use XE EPG.
Have you grant execute privilege on procedure to DAD user ANONYMOUS?
GRANT EXECUTE ON WOLF_22.HELLO_WORLD TO ANONYMOUS;Have you changed wwv_flow_epg_include_mod_local that it allow execute WOLF_22.HELLO_WORLD?
And write schema.procedure at upper case to function.
If you have not upgraded Apex, run as SYS or SYSTEM
CREATE OR REPLACE function FLOWS_020100.wwv_flow_epg_include_mod_local(
procedure_name in varchar2)
return boolean
is
begin
-- Administrator note: the procedure_name input parameter may be in the format:
-- procedure
-- schema.procedure
-- package.procedure
-- schema.package.procedure
-- If the expected input parameter is a procedure name only, the IN list code shown below
-- can be modified to itemize the expected procedure names. Otherwise you must parse the
-- procedure_name parameter and replace the simple code below with code that will evaluate
-- all of the cases listed above.
if upper(procedure_name) in (
'WOLF_22.HELLO_WORLD'
) then
return TRUE;
else
return FALSE;
end if;
end wwv_flow_epg_include_mod_local;
/Regards,
Jari -
About Page template filename Web PL/SQL Applications
How i change the default About Page in Web PL/SQL
Mi e-mail is [email protected]Hi,
Have you upgraded Apex?
I assume you use XE EPG.
Have you grant execute privilege on procedure to DAD user ANONYMOUS?
GRANT EXECUTE ON WOLF_22.HELLO_WORLD TO ANONYMOUS;Have you changed wwv_flow_epg_include_mod_local that it allow execute WOLF_22.HELLO_WORLD?
And write schema.procedure at upper case to function.
If you have not upgraded Apex, run as SYS or SYSTEM
CREATE OR REPLACE function FLOWS_020100.wwv_flow_epg_include_mod_local(
procedure_name in varchar2)
return boolean
is
begin
-- Administrator note: the procedure_name input parameter may be in the format:
-- procedure
-- schema.procedure
-- package.procedure
-- schema.package.procedure
-- If the expected input parameter is a procedure name only, the IN list code shown below
-- can be modified to itemize the expected procedure names. Otherwise you must parse the
-- procedure_name parameter and replace the simple code below with code that will evaluate
-- all of the cases listed above.
if upper(procedure_name) in (
'WOLF_22.HELLO_WORLD'
) then
return TRUE;
else
return FALSE;
end if;
end wwv_flow_epg_include_mod_local;
/Regards,
Jari -
Designer6i: How change About Page template filename Web PL/SQL
Hi
how i can change the About Page template filename on Web Pl/Sql
Thank!!Hi,
Have you upgraded Apex?
I assume you use XE EPG.
Have you grant execute privilege on procedure to DAD user ANONYMOUS?
GRANT EXECUTE ON WOLF_22.HELLO_WORLD TO ANONYMOUS;Have you changed wwv_flow_epg_include_mod_local that it allow execute WOLF_22.HELLO_WORLD?
And write schema.procedure at upper case to function.
If you have not upgraded Apex, run as SYS or SYSTEM
CREATE OR REPLACE function FLOWS_020100.wwv_flow_epg_include_mod_local(
procedure_name in varchar2)
return boolean
is
begin
-- Administrator note: the procedure_name input parameter may be in the format:
-- procedure
-- schema.procedure
-- package.procedure
-- schema.package.procedure
-- If the expected input parameter is a procedure name only, the IN list code shown below
-- can be modified to itemize the expected procedure names. Otherwise you must parse the
-- procedure_name parameter and replace the simple code below with code that will evaluate
-- all of the cases listed above.
if upper(procedure_name) in (
'WOLF_22.HELLO_WORLD'
) then
return TRUE;
else
return FALSE;
end if;
end wwv_flow_epg_include_mod_local;
/Regards,
Jari -
Charting within Web-PL/SQL Application - advice required please
Currently trying to enhance our Designer generated Web-PL/SQL application by including charting.
There is no provision to do this within Designer so are exploring other solutions, specifically using a server side servlet to render a chart as a gif, returning this to the client HTML page.
Has anyone got any recommendations on what to use to do this?
We've tried with limited success calling the Portal servlet (called chart) due to lack of documentation and relience on certain Portal procedures. We're currently experimenting with Oracle Chartbuilder, which looks promising, but would really like to know what the recommended or favorite solution is!
Any feedback appreciated!
Anthonyuser645399 wrote:
Right now, I am displaying a table in the web by selecting all the records from a particular table.
This is how I do it.Not a great way to display a report. This is not re-usable code. Difficult to maintain. Difficult to add or change the presentation of data.
The proper way to do it, will be to use a DBMS_SQL cursor. After the cursor is opened, you use the describe function on the cursor that returns the number of columns in the cursor, the names of the columns, and their data types.
This data is then used to fetch a column value from the cursor, and render it (as per its data type). This can easily be extended to make use of reporting templates and defaults and even style sheets to make rendering easy and flexible.
DBMS_SQL is detailed in the [Oracle® Database PL/SQL Packages and Types Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sql.htm#BABEDAHF] guide.
Should I include a search engine? or how should I go about it? Is there a way to break the table into smaller parts using the dealer id?Why not use APEX? The above method that I've described is what is employed by APEX. So instead of writing that yourself, having to deal with dynamic variable binding, pagination, web state and security and so on.. APEX does all of this, and more, for you. -
Integegrate APEX within existing Web PL/SQL application?
We have an old Designer-built Web PL/SQL application that we'd like to enhance by integrating new pages built with APEX - both applications reside on the same dataase, etc.
The current application uses database authentication and consists of a couple of frames - 'menubar' contains a main menu and is a set of static HTML files, whilst 'home' contains the web PL/SQL-generated pages. The generated pages are either holding a list of anchors to other web pl/sq pages (a 'local' menu) or a 'real' web pl/sql page itself. I'd like to introduce APEX pages into this second frame through the use of the generated anchors.
The application uses database authentication.
I am planning to introduce the APEX pages at the 'anchor' level, but I need to carry across the web pl/sql authentication to the APEX application. To do this, I *think* that the anchor will call a procedure that records the current user in a table and associates a token with that entry, it performs a redirect to the APEX page and passing the 'token' as an application variable parameter which the application uses it to find the user and deletes the table entry.
Is there a simpler mechanism that I should be using?Hi,
Have you upgraded Apex?
I assume you use XE EPG.
Have you grant execute privilege on procedure to DAD user ANONYMOUS?
GRANT EXECUTE ON WOLF_22.HELLO_WORLD TO ANONYMOUS;Have you changed wwv_flow_epg_include_mod_local that it allow execute WOLF_22.HELLO_WORLD?
And write schema.procedure at upper case to function.
If you have not upgraded Apex, run as SYS or SYSTEM
CREATE OR REPLACE function FLOWS_020100.wwv_flow_epg_include_mod_local(
procedure_name in varchar2)
return boolean
is
begin
-- Administrator note: the procedure_name input parameter may be in the format:
-- procedure
-- schema.procedure
-- package.procedure
-- schema.package.procedure
-- If the expected input parameter is a procedure name only, the IN list code shown below
-- can be modified to itemize the expected procedure names. Otherwise you must parse the
-- procedure_name parameter and replace the simple code below with code that will evaluate
-- all of the cases listed above.
if upper(procedure_name) in (
'WOLF_22.HELLO_WORLD'
) then
return TRUE;
else
return FALSE;
end if;
end wwv_flow_epg_include_mod_local;
/Regards,
Jari -
HTTP form post from Web Dynpro Java Application without opening new window
Hi Experts,
We are trying to submit form data to an external URL from Web Dynpro Java application. We are achieving this with the following piece of code.
try
strPrintContent="<html>"+
"<head>"+
"<script type=\"text/javascript\">"+
"function myfunc () "+
"{"+
"var frm = document.getElementById(\"paymentForm\");"+
"frm.submit();"+
"}"+
"</script>"+
"</head>"+
"<body onLoad=myfunc()>"+
"<form id=paymentForm method=post action=\""+merchantURLPart+"\">"+
"<INPUT type=hidden name=username value="+userName+">"+
"<INPUT type=hidden name=pass value="+passWord+">"+
"<INPUT type=hidden name=senderid value="+senderID+">"+
"<INPUT type=hidden name=dest_mobileno value="+mobile+">"+
"<INPUT type=hidden name=message value='"+msg+"'>"+
"<INPUT type=hidden name=response value="+response+">"+
"</form>"+
"</body>"+
"</html>";
IWDWebResource webResource = WDWebResource.getWebResource(strPrintContent.getBytes(),WDWebResourceType.HTML);
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(webResource.getAbsoluteURL(),"WBSEDCL");
window.show();
catch(Exception e)
wdComponentAPI.getMessageManager().reportException("Error : "+e.toString(),false);
But it opens another window. We dont need that. We have to stay on the same window. Please suggest what can be done.Hi,
You can create a HTML file with the request post parameters and the external URL something like this:
public java.lang.String GetRedirecturl( )
// External URL
String html = "<html><head></head><body onload=\"load()\"> " +
"<form id=\"form1\" action=\"https://www.abc.com/xyz.jsp\" method=\"POST\">" +
// Post Parameters
"<INPUT TYPE=\"HIDDEN\" NAME=\"Param1\"VALUE=\""+Param1Value+"\">"+
"<input name=\"sap-wd-resumeurl\" type=\"hidden\"/>" +
"</form> " +
"" +
"<script>" +
"function load(){" +
"var loc = window.location.search.substring(1);" +
"var queryString = loc.split(\"sap-wd-resumeurl=\");" +
"if(queryString.length > 0)" +
"{" +
"var resumeURL = queryString[1].split(\"&\");" +
"if(resumeURL.length >= 0)" +
"{" +
" document.forms['form1'].elements['sap-wd-resumeurl'].value= unescape(resumeURL[0])" +
"}" +
"}" +
"document.getElementById('form1').submit();" +
"}" +
"</script>" +
"</body> </html>";
String redirectUrl = "";
byte[] byteArrayHtmlData = null;
try {
byteArrayHtmlData = html.getBytes("UTF-8");
} catch (UnsupportedEncodingException e) {
wdComponentAPI.getMessageManager().reportException("Internal error occurred. Please try after some time",true);
IWDResource htmlResource = WDResourceFactory.createCachedResource(new ByteArrayInputStream(byteArrayHtmlData), "Redirect.html", WDWebResourceType.HTML, true);
redirectUrl = htmlResource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal());
return redirectUrl;
Hope this will be helpful.
Regards,
Anurag -
Adobe Form dumps in Web Dynpro ABAP Application but opens up by Report
Hello Experts,
I created a form and tested it by creating a report which contains following code,
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = lv_form_name "my form name
importing
e_funcname = iv_function_name.
*retrieve data in lt_items
call function iv_function_name
exporting
/1bcdwb/docparams = fp_docparams
it_item = lt_items
is_header = is_header
control_parameter = ls_control_parameters
importing
/1bcdwb/formoutput = fp_formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3.
However when I try to do it on click of a button in my Web Dynpro Application, it dumps (the action has very much the similar code).
The error is: USAGE_ERROR
SY-TITLE HTTP Control
SY-MSGTY E
SY-MSGID FPRUNX
SY-MSGNO 111
Thanks in advance for your help.
Best regards,
AbirHi Otto,
I try to paste the ST22 log below.
Short text
Exception condition "USAGE_ERROR" raised.
Error analysis
A RAISE statement in the program "SAPLFPCALL" raised the exception
condition "USAGE_ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
Source Code Extract
Line SourceCde
16 * Return of PDF is always possible.
17 IF ie_outputparams-device IS NOT INITIAL AND
18 ie_outputparams-device <> 'PRINTER'.
19 * Devices TELEFAX and MAIL are not allowed in many cases.
20 IF ie_outputparams-nodialog = c_false
21 OR ie_outputparams-preview = c_false
22 OR ie_outputparams-noprint = c_false
23 OR ( ( ie_outputparams-arcmode = '2' OR ie_outputparams-arcmode = '3' )
24 AND ie_outputparams-noarchive = c_false ).
25 * Dialog or no preview; preview only if no output or archiving requested.
26 MESSAGE ID 'FPRUNX' TYPE 'E' NUMBER '110'
27 WITH ie_outputparams-device RAISING usage_error.
28 ENDIF.
29 ENDIF.
30 ENDIF.
31
32 * Call the internal interface.
33 move-corresponding ie_outputparams to l_params.
34
35 call function 'FPCOMP_JOB_OPEN'
36 changing
37 ie_outpar = l_params
38 exceptions
39 cancel = 1
40 usage_error = 2
41 system_error = 3
42 internal_error = 4.
43 case sy-subrc.
44 when 0.
45 when 1. raise cancel.
>>>>> when 2. raise usage_error.
47 when 3. raise system_error.
48 when 4. raise internal_error.
49 endcase.
50
51 move-corresponding l_params to ie_outputparams.
52
53 endfunction.
Contents of system fields
Name Val.
SY-SUBRC 2
SY-INDEX 7
SY-TABIX 0
SY-DBCNT 0
SY-FDPOS 70
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE HTTP Control
SY-MSGTY E
SY-MSGID FPRUNX
SY-MSGNO 111
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20101110
SY-UZEIT 091449
SY-XPROG SSO2GETPARAM
SY-XFORM GET_PARAMETER
Chosen variables
Name
Val.
No. 20 Ty. FUNCTION
Name FP_JOB_OPEN
IE_OUTPUTPARAMS
PRINTER XX 00#䄀### #䄀### X ##00000000000000 00>
0000000000000000000000000000000000000000000000004000000040000000000000000000000000000000000000
0000000000000000000000000000000000000000000000001000000010000000000000000000000000000000000000
5544545255222222222222222222222222222222222223300000222000002222225222003333333333333322233344
029E4520880000000000000000000000000000000000000000000000000000000080000000000000000000000000C9
005000520049004E005400450052002000580058002000200020002000200020002000200020002000200020002000
SYST-REPID
SAPLFPCALL
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5454454444222222222222222222222222222222
310C6031CC000000000000000000000000000000
005300410050004C0046005000430041004C004C002000200020002000200020002000200020002000200020002000
%_SPACE
0
0
2
0
0020
SY-SUBRC
2
0000
0002
00000002
SY-REPID
SAPLFPCALL
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5454454444222222222222222222222222222222
310C6031CC000000000000000000000000000000
005300410050004C0046005000430041004C004C002000200020002000200020002000200020002000200020002000
%_DUMMY$$
0000
0000
2222
0000
0020002000200020
SY-MSGV3
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
SY-MSGNO
111
000
000
333
111
003100310031
%_VIASELSCR
0
4
04
SY-MSGV4
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
SPACE
0
0
2
0
0020
Application Calls
Index Calls
1 R=7 P=/sap/bc/webdynpro/sap/INM_WORKCENTER_APP/
Internal notes
The termination was triggered in function "ab_jfune"
of the SAP kernel, in line 3058 of the module
"//bas/720_REL/src/krn/runt/abfunc.c#3".
The internal operation just processed is "FUNE".
Internal mode was started at 20101110091356.
Lock Shared Objects
ModeLockRe Area Name
Instance Name Clt Lock Type
VersionId Label Include Line Time Stamp
1 CL_WDR_CONF_APPL_SHM
INM_WORKCENTER_APP. 102 R
178 5690 CL_WDR_CONF_APPL_SHBROKER=====CM001 9 20101110091356
2 CLUR_NW7_MESSAGE_AREA
E R
10 10 CLUR_NW7_MESSAGES=============CM003 11 20101110091356
3 CL_WDR_CFG_COMP_SHM
INM_WORKCENTER_COMP.AD4B75FF707A473CD26008949EBB0A69.07..E 102 R
11 12 CL_WDR_CFG_COMP_SHBROKER======CM006 29 20101110091359
Directory of Application Tables
Name Date Time Lngth
Val.
Program SAPMHTTP
SYST . . : : 00004612
\0\x0007\0\0\0\0\0\x0001\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0
SY . . : : 00004612
\0\x0007\0\0\0\0\0\x0001\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0
Program SAPLHTTP_RUNTIME
ICFBUFFER . . : : 00005624
ICFSERVICE . . : : 00004040
SAP 0000000000000000000000000DFFAEATGKMFLCDXQ04
Program CL_HTTP_SERVER================CP
RSJOBINFO . . : : 00000164
00000000000000
Program SAPLLANG
T002 . . : : 00000010
ES1EN|
Program SAPLSSFG
SSFARGS . . : : 00001734
Program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
INDX . . : : 00003104
102BMWD_SP_LEVEL \0\0\0 00000000
Program CONTEXT_X_TR_SYS_PARAMS
CONTEXTB . . : : 00002992
102EBTR_SYS_PARAMS 000007000100000000000000\0\0\0\0
TCONT . . : : 00000068
TR_SYS_PARAMS 20100623230418|
Program CL_WDR_TRACE_TOOL=============CP
INDX . . : : 00003104
102BMSWD_TRACETOOL_ACTIVEAR\0\0\0 00000000
Program SAPLSKWF_NAMESPACE
SKWF_URLIO . . : : 00000384
102BBMIME/sap/public/bc/ur/nw5/themes/custom
Program SAPLSDCL
SDOKIOCL . . : : 00000600
SDOKIOCLT . . : : 00000150
SDOKLOCL . . : : 00000754
00000000000000 0000000000
SDOKLOTAB . . : : 00000362
SDOKPHTAB . . : : 00000662
Program SAPLISOC
T002 . . : : 00000010
ES1EN|
Program CL_CALENDAR_DEFINITION_CALLER=CP
INDX . . : : 00003104
102ARCAL_DEF \0\0\0 00000000
Program CL_WDR_LS_JS_TIMESTAMP========CP
INDX . . : : 00003104
102BMCL_WDR_LS_JS_TIME... \0\0\0 00000000
Program CL_WDR_WINDOW=================CP
RSJOBINFO . . : : 00000164
00000000000000
Program CL_WDR_DELEGATING_VIEW========CP
RSJOBINFO . . : : 00000164
00000000000000
Program CL_CGPL_USER_OPTIONS==========CP
CGPLT_OPT_INDX . . : : 00003040
102OP* RPM \0\0 0
Program SAPLBDLS
T000 . . : : 00000214
102GCC:GTv1-5.IK.PLN Dev CltGDC CHF
Program SAPLSDEX
DD07L . . : : 00000120
/GLB/7PTIR_GLB_PROJSTATUS A00020000R
Program SAPLSSCU
USR02 . . : : 00000942
102ARAYCHA \0\0\0\02010032499991231AGCCSC_EU \0
Program SAPLPRGN
AGR_DEFINE . . : : 00000266
102TM15_GLB_XX_ZR4026A_PLN01
Program SAPLSDOC
DOKHL . . : : 00000306
TXLG1B0000062000009
DOKTL . . : : 00000296
Program SAPLSI63
IWBSETTING . . : : 00000260
Program SAPLSR11
TADIR . . : : 00000464
Program SAPLSUGU
CVERS . . : : 00000102
SAP_BW 702 0004 W|
Program SAPLSUG2
SVERS . . : : 00000144
702
Program CONTEXT_X_IWB_CLASS_PROPS
CONTEXTB . . : : 00002992
102IBIWB_CLASS_PROPS 000007000300000000000000\0\0\0\0
TCONT . . : : 00000068
IWB_CLASS_PROPS 20010206162330|
Program SAPLTIW1
IWTESTFCTS . . : : 00000052
|
Program SAPLSDCS
SDOKDOCSP . . : : 00000148
Program SAPLSDSD
DDSHOFFLD . . : : 00003020
IF/RPM/TS_ITEM_D_DATA_CUST YYGLB_SEVERITY
Program /1BCWDY/EI2AA7ZECUCSFD0NKHM6==CP
RSJOBINFO . . : : 00000164
00000000000000
Program SAPLSUNI
TFDIR . . : : 00000268
Program SAPLBDS_METHODS
BDS_LOCL . . : : 00000350
DEVC_STXD_BITMAP OTBDS_LOC3 BDS_POC3 BDS_RE
I really appreciate your help.
Many thanks and best regards,
Abir -
Designer6i: Document Templates preference Web PL/SQL
How change the default preference
I want change the default by use a templete
How use Templeate ?Hi!!
I have filed an enhancement for this. The bug # is 2377499. I shall keep you updated when the feature is added. -
How to insert application form id into the form template
Hi,
Is there a way to set the application form id into a form template designed from the LiveCycle Designer? Here is the detail description of my question:
(1) I am using LiveCycle Design to design a form template.
(2) I go to our application to deploy this form template. During the process, a form id will be generated and it will be associated with this form template.
(3) I would like to insert this generated form id into the form template, so that later when user fills out and submits the form, I will know what's the form id the submitted data belongs to.
Appreciate you kind help!!!Hi Justin,
Yes. The form ID will be generated by our application during the form deployment process (after the form is designed, it needs to be deployed to our application before it can be used.). So I was hoping there is a way to set the form ID into the form template design at that point. So that later when end user fills out and submits this form, I will know what form ID it is related to.
If I cannot do this at the deployment point, one way I can think of is to do it at the time when end user is downloading the form. I can return a "rendered" form (instead of opening up the form template directly) with the form ID information in it. But that means for every single form user opened we need to render it at run time to fill in the form ID, which is not performing and what I was trying to avoid.
Thanks for your help!
Anita -
Generating web PL/SQL Form header (MODSHD) including modulename
Hi all,
I want to generate a WEB PL/SQL form using a template.
The call to the stored function goes fine. I call package.function which returns a string, that is displayed. So far so good...
However, I want to display the name of the Module (or some other variable from Designer).
Can I pass that in some way to the function?
Thanks,
RobNever mind, I got it. Thanks i also have that problem. please send me your code.
Thanks. email me at [email protected] -
BEx Web - Inserting Tabs with multiple Web Templates
I encounter much difficulty to find consistent information on how to create a Web cockpit (BW3.5) by making use of embedded Web Templates (using web template web item).
In particular,
- How to define tab pages?
- How to insert an HTML document in one of these tab pages or in the body of a single Web template?
I would be glad if you could give me links to helpful documentation or share your own experience.
Best regards.
Laurent Querella
BI Consultant
ALTI BelgiumHi,
I can`t find the BW Expert coding, too.
But try out following coding.
This example template contains 4 tabs
1) Query (assign a Query to DP1)
2) Query View (assign a view to DP2)
3) Template (assign a template ID)
4) Template (0ANALYZER)
rgds Jens
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_PROPERTIES"/>
<param name="TEMPLATE_ID" value=""/>
TEMPLATE PROPERTIES
</object>
<HTML>
<!-- BW data source object tags -->
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_DATA_PROVIDER"/>
<param name="NAME" value="DATAPROVIDER_2"/>
<param name="DATA_PROVIDER_ID" value=""/>
DATA_PROVIDER: DATAPROVIDER_2
</object>
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_DATA_PROVIDER"/>
<param name="NAME" value="DATAPROVIDER_1"/>
<param name="DATA_PROVIDER_ID" value=""/>
DATA_PROVIDER: DATAPROVIDER_1
</object>
<HEAD>
<TITLE>BW Web Application</TITLE>
<link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript">
<!--
/* function goto_tab: Show all items, starting with tabname, Hide all other items */
function goto_tab(tabname) {
SAPBWOpenURL(SAP_BW_URL_Get()'&item=TAB*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');
/* DHTML function to set correct span-Tag visible
For each Tab in Tab-Header (head_TAB) check, if item TABx is visible
If Item is visible set Header as selected
Otherwise set corresponding span-Tag to not visible */
function set_actual_tab() {
i=0;
do {
i++;
if (document.getElementById('head_TAB'+i) != null) {
/* Check if Object tag is hidden */
var prop = SAPBWGetItemProp('TAB'+i);
var hidden=true;
if (prop != null){
for(j=1;j<prop.length;j++){
if (prop[j][0] == "HIDDEN") hidden = (prop[j][1]=='X');
if (hidden) {
document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);
else {
document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);
} while (document.getElementById('head_TAB'+i) != null)
-->
</script>
</HEAD>
<BODY>
<table cellspacing="0" cellpadding="5" border="0" id="tabheader">
<tr>
<td class="SAPBEXTbsTab" id="head_TAB1"><A href="javascript:goto_tab('TAB1')">Query</A>
</td>
<td class="SAPBEXTbsTab" id="head_TAB2"><A href="javascript:goto_tab('TAB2')">Query View</A>
</td>
<td class="SAPBEXTbsTab" id="head_TAB3"><A href="javascript:goto_tab('TAB3')">Template</A>
</td>
<td class="SAPBEXTbsTab" id="head_TAB4"><A href="javascript:goto_tab('TAB4')">BEx Web Analyzer</A>
</td>
</tr>
</table>
<table width="100%" class="SAPBEXTbsBdyEdg" cellspacing="0" cellpadding="5" border="0">
<tr>
<td valign="top" >
<P>
<span id="TAB1">
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TAB1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="BORDER_STYLE" value="NO_BORDER"/>
ITEM: TAB1
</object>
</span>
<span id="TAB2" ><object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TAB2"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
<param name="HIDDEN" value="X"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="BORDER_STYLE" value="NO_BORDER"/>
ITEM: TAB2
</object>
</span></P>
<P><SPAN id="TAB3"><object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TAB3"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
<param name="HIDDEN" value="X"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="TEMPLATE_ID" value="myTemplateID"/>
<param name="USE_ONLY_BODY" value=""/>
<param name="NAME_PREFIX" value="TAB3"/>
ITEM: TAB3
</object>
</SPAN></P>
<P><SPAN id="TAB4"><object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TAB4"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
<param name="HIDDEN" value="X"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="USE_ONLY_BODY" value=""/>
<param name="TEMPLATE_ID" value="0ANALYZER"/>
<param name="NAME_PREFIX" value=""/>
<param name="BORDER_STYLE" value="NO_BORDER"/>
ITEM: TAB4
</object></SPAN></P>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
/* This function call is needed to set the correct state */
set_actual_tab();
-->
</script>
</BODY>
</HTML> -
Need to Find Total number of InfoPart form in our Web application
Hello,
We have to find total number of Infopath forms in our web application. IS there any Power sheell Scripts or anuthing which can output the Infopath Forms location and file count .
Thanks
KundanHow about something like:
Get-SPWebApplication http://yourWebAppUrl |
Get-SPSite -Limit All |
Get-SPWeb -Limit All |
Select -ExpandProperty Lists |
Where { $_.GetType().Name -eq "SPDocumentLibrary" -AND -NOT $_.Hidden } |
Select -ExpandProperty Items |
Where { $_.Name -LIKE "*.xsn" }
Select {$_.Web.Url}, Url
The above will list all of the files. Do you need counts by library, by site or other?
Mike Smith TechTrainingNotes.blogspot.com -
My reader will not open a PDF file that I have downloaded from a government web site (an application form) - it states that the file is not good. I can open on the web site but not from my mac computer.
Maybe this: http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html ?
Do you have a link to that document? -
SQL Loader need to insert the input filename into output table
Hi All,
I've a small problem with my SQL Loader query. My sql loader should read a file and write the data into a file. Also this sql loader should read the filename and write it into the same table. Here's my control file code:
LOAD DATA
APPEND
INTO TABLE XXMW_STG_SOH_HEADER_UK
WHEN (1:4) = '7010'
TRAILING NULLCOLS
(WH POSITION(5:6)
,ITEM POSITION(9:26)
,PRODUCT_STATUS POSITION(33:34)
,BALANCE_ON_HAND POSITION(35:43)
,TO_SHIP_QTY POSITION(71:79)
,RUSH_TO_SHIP_QTY POSITION(80:88)
,RESERVED_QTY POSITION(175:183)
,SNAPSHOT_DATE POSITION(134:143) CHAR "TO_DATE(:SNAPSHOT_DATE,'YYYY-MM-DD')"
,SNAPSHOT_TIME POSITION(144:151) CHAR "TO_DATE(:SNAPSHOT_TIME,'HH24:MI:SS')"
,PROCESSED_IND CONSTANT "N"
,PROCESSED_DATETIME SYSDATE
,_FILENAME POSITION(184) CHAR TERMINATED BY WHITESPACE_
My program should read the filename dynamically (means a shell script is calling this .ctl file which is reading multiple input files) and insert into the filename field in xxmw_stg_soh_header_uk table.
Please let me know for any questions/clarifications.
Regards,
DebabrataWhile I think Blu's suggestion to use external tables is better, if you need to use SQL Loader, you could do something like this.
Create a "generic" control file with a placeholder for the filename, something like:
LOAD DATA
APPEND
INTO TABLE XXMW_STG_SOH_HEADER_UK
WHEN (1:4) = '7010'
TRAILING NULLCOLS (
WH POSITION(5:6),
ITEM POSITION(9:26),
PRODUCT_STATUS POSITION(33:34),
BALANCE_ON_HAND POSITION(35:43),
TO_SHIP_QTY POSITION(71:79),
RUSH_TO_SHIP_QTY POSITION(80:88),
RESERVED_QTY POSITION(175:183),
SNAPSHOT_DATE POSITION(134:143) CHAR "TO_DATE(:SNAPSHOT_DATE,'YYYY-MM-DD')",
SNAPSHOT_TIME POSITION(144:151) CHAR "TO_DATE(:SNAPSHOT_TIME,'HH24:MI:SS')",
PROCESSED_IND CONSTANT "N",
PROCESSED_DATETIME SYSDATE,
FILENAME CONSTANT ":FILE"I am assuming that your shell script is looping through a set of file names and loading each one. So make your shell script look something like:
FILES=`ls *.txt`
CTL=generic.CTL
for f in $FILES
do
cat $CTL| sed "s/:FILE/$f/g" > $f.ctl
sqlldr usr/passwd control=$f.ctl data=$f
doneThe line cat $CTL| sed "s/:FILE/$f/g" > $f.ctl will create a "custom" control file for each file and add the filename as a constant at the end.
John
Maybe you are looking for
-
Open Directory won't start after crash no logins
Server was crashed due to work in the room. OD will not start. I've tried every fix I can find, but the main problem is that this command will not work: sudo launchctl unload /System/Library/LaunchDaemons/org.openldap.slapd.plist I also have time mac
-
Is Airport Express the best way to extend Time Capsule wifi network?
I have a Time Capsule which I use for wifi as well as backups. I would like to extend its wifi range. Is an Airport Express the best way to do this? Or would an Airport Extreme get better range? Thanks.
-
Oracle 9i, dbsnmp tables
Hi: Data in two tables (mgmt_db_file_gtt and mgmt_db_size_gtt) under dbsnmp were deleted yesterday. Can you tell me how it was deleted, a script or a DBA? I have found a note: Why Dbsnmp Truncating Mgmt_db_file_gtt Table? Doc ID: 292280.1 " but I don
-
IPad iOS 8.1.3 won't work with HP P1102w's own network
Since I installed iOS 8.1.3 on my iPad a few days ago, wireless printing on HP P1102w won't work anymore. Although I did not activate Air-print, iPad found the printer, that has its own network, be it somewhat slowly. Printing worked allwright. In ge
-
Session problems due to abruptly closed browser window
Hi We have an application running which uses JSP,struts , tomcat and JMS. When the user logs in we store some values in the session which are very critical for the application to function. we have kept a logout button thru out the application. After