HAP_MAIN_DOCUMENT INPLACE
Hi Experts,
Im experiencing some problems with my appraisals: because of security reasons, the documents of the appraisals must not be launched using a popup (external window...). So I have changed LPD_CUST and indicate that the appraisal should be opened INPLACE. This is working fine and when I click on a document in the MSS POWL, the document is displayed INPLACE. The problem comes when the user Save&Exit the document or change the status --> The document get closed and also the whole window! and the user must start again the IE etc...
Is there any solution in the FPM, Iview, etc.. to indicate to the HAP_MAIN_DOCUMENT that is working INPLACE so It is not necessary to close the window but to come back to the POWL?. I didn´t find anything!
Im on EHP4, with EP of course.
Thanks!
Fernando.
check the class CL_HRHAP00_STARTPG_POWL in Actions method how it's handling button event actions.
Similar Messages
-
Excel empty with 'excel inplace' option
Hi everyone,
in order to show my alv data in an excel format, with 'excel inplace' option, this sheet appears empty. However, if i choose to download the data into a excel file, it appears right.
Do you know the reason of this?
ThanksImplement OSS Note 782922 - Excel Inplace: Header Sheet contains garbage characters.
This will require installation of SAP GUI Patch Level 8.
Also , You can try be installing SAP GUI with all options checked. -
I found than Inplace update from 2012 to 2012 R2 are supported. I also found 2012 R2 will support SharePoint Foudation 2010 with SP2 (4.0.7116.5000).
But I cannot find if we perform an Inplace update from a Windows 2012 Server running SharePoint 2010 (Sp2) to R2 will be successful.
As anyone done that?
Thanks.
Real
Réal DoréHi ,
On Windows Server 2012 R2, Microsoft supports only the SharePoint Server 2010 SP2 slipstream media configuration and not the RTM version of that configuration. For full SharePoint functionality and support, you must have the February 2014 cumulative update
(CU) or a later CU installed.
Additionally, only a new SharePoint Server 2010 SP2 slipstream installation that has the February 2014 CU or a later CU installed is supported on Windows Server 2012 R2. Microsoft
does not support a Windows in-place upgrade for this scenario.
For your scenario, I suggest you create a new SharePoint Foundation 2010 with SP2 on Windows Server 2012 R2, then migrate the content to new SharePoint 2010.
More information, please refer to the link:
http://support.microsoft.com/kb/2724471/en-us
I hope this helps.
Thanks,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support -
Excel Inplace - Update SAP R/3 tables from Excel Data
Hi,
I developed a report displaying using Excel inplace. After user finished editing the Excel workingsheet, I called method get_ranges_data of interface I_OI_SPREADSHEET to get data contents. But this method or almost all the methods of this interface requires user hit a enter key after edit a cell. Without hit a enter key or click different cell, this method will not be able to get any data contents.
Is there a way I can force a user click or enter event?
An example is apprieciated.I have not tested this, but you might try the following.
The inline excel should be created from a template. And in the excel VB code should exists which call a customer event in Workbook_SheetChange. This code is executed each time a change occurs on the worksheet.
so in you r worksheet you should have the following code:
Private Sub Workbook_SheetChange(ByVal Sh As Object, _
ByVal Source As Range)
' runs when a sheet is changed
Call ThisWorkbook.Container.SendCustomEvent("DATA_CHANGE")
End Sub
this event you can catch in SAP, and reread the data from excel.
so now each change in excel triggers an event in SAP.
Not sure it works, but worth a try.
Joris. -
In my system, when i open ALV report in Excel inplace. Excel opens report but button "Close and Return to ALV (1)" and "Exit excel" is disabled, how can it appear enabled?
When i press key "ALT+TAB" excel menus and icons desapear, and when press "/" SAP menus appear in strange mode.
If Excel is open in windows with one worksheet before open Excel in SAP ALV inplace, sometimes an error occured.
Excel 2007
SAP ECC6.0
SAP GUI for Windows - file version 7100.2.8.1039 or 7100.2.9.1039
Anyone help me.hello
This program checks the paths, installation, and Registry keys of the desktop office applications and OCX files used in SAP Desktop Office Integration. Its results are useful to SAP if you report problems using Desktop Office Integration.
"C:\Archivos de programa\SAP\FrontEnd\SapGui\Testtools\Check_DOI.exe"
Hernando -
Hi,
I am having a report which is being shown in ALV grid. I am having one checkbox in selection-screen namely 'Excel Inplace'.If this checkbox is checked then report should be shown in excel-inplace format.
Please guide me how to achieve this.
I am having below constraints:
1. Here I can't save variant in excel-inplace format and use it while execution, because user can save other variants too(may be with less fields) and use it.
2. I have copied the standard program RFBILA10 and modifying according to my needs. This program is using FM 'REUSE*. So going for ABAP-OO will be difficult here.
Thanks,
Vinod.You need to use method SET_VIEW_EXCEL.
Call this right after SET_TABLE_FOR_FIRST_DISPLAY.
PS pl remember this is protected method you need to inherit this
a® -
ALV to Excel inplace and return issue High
Folks;
I have delveloped and ALv program that uses standard SAP access to EXCEL inplace but also contains the selection button process to allow individual line items to be selected to be used for another process within the report.
I can click the Excel Icon and the ALV report downloads and displays properly in Excell inplace. The isue starts, when I manipulate the data in Excel inplace (sort data, sum totals and then display only sums) then click on VIEWS -> SAP LIST Viewer.
This causes one of three conditions to occur;
Either their system will lockup, cancels out all SAP sessions and leave Excel running in the background without any indication that it is still running, or the system will cause a dump.
I even tried with the SAP ddemo program BCALV_TEST_FULLSCREEN_LAYOUT and the same thing occurs with SAP programs.
Has anyone run accross this and found a solution? SAP Notes does not appear to have anything on this.
Thanks for any assistance.
MikeHi Michael:
I can reproduce what you say.
Maybe the problem is not from SAP, but from Excel. If you check the windows tasks (CTRL + ALT + DEL) and windows tasks, you will see that CPU is dedicated to Excel. If you finish the Excel process, then you get a blank screen in SAPGUI, and the transaction locked, but you can cancel transaction.
Sorry for not giving a solution, but is just a clue.
Regards
Jordi -
Still no data in Excel InPlace
Hi.
No data is being displayed when I use the Excel view in an ALV from 'REUSE_ALV_GRID_DISPLAY', but this is not the usual problem.
I have the recommended settings in Excel in Tools > Macro > Security.
The View tab of Change Layout in the ALV lists the templates sap_om.xls and sap_mm.xls.
Trying Excel InPlace for different users and different PCs seems to show that the problem lies with the PC and not the user.
I have re-installed Excel and SAPgui on my PC, but the fault remains.
My SAPgui is 6.20 patch level 42.
My Excel is 2002 SP-2.
What could be the problem?
Thanks,
JohnI have a possible answer to my own question.
I have re-installed my Kaspersky Anti-Virus for Windows Workstations software.
It is now version 5.0.712. I don't know what it was before.
Now when I try to use Excel InPlace, I get a Kaspersky dialog box four times, warning about a potentially dangerous macro, and advising me not to execute it. If I allow the execution of each macro, then Excel InPlace works.
So it seems possible that Excel InPlace was not working before because my anti-virus software was silently preventing the execution of the macros.
Can anyone confirm that this can happen?
Thanks,
John -
Manipulating data in Excel inplace via ALV grids
Hi everybody,
I want to create a report which displays data in an Excel file (Excel inplace).
To solve the problem I have created a custom layout and uplodaded it via the report BCALV_BDS_MAINTENANCE to the BDS. The written report loads the data into an ALV grid, opens Excel inplace and displays the data in the custom layout. This works fine but for one exception: You can only upload an internal table to the ALV grid, consequently no additional information about the selected data itself (e.g. given by a custom selection screen) can be presented in the grid. What I need is a way which adds strings to the excel file not in an internal table.
Is there a way to to this? Is this possible with ALV grids or do I have to use OLE?
Thanks in advance.
Greetings, DanielDaniel,
Its the TOP_OF_PAGE. See below.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid <<<
i_callback_top_of_page = 'TOP-OF-PAGE' <<<
TABLES
EXCEPTIONS
program_error = 1
OTHERS = 2.
And then for the call back form.
FORM top-of-page.
ALV Header declarations
DATA: t_header TYPE slis_t_listheader,
wa_header TYPE slis_listheader.
wa_header-typ = 'S'.
wa_header-info = 'Text goes in here'. <<<<<
APPEND wa_header TO t_header.
CLEAR wa_header.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header.
ENDFORM.
This will add header to your ALV.
Execute the program again and open the same in excel. you will now see the strings/text in the layout.
Hope this helps.
Ravi.
Message was edited by: Ravi Gopan -
Appraisal process. addiing a custom button and methods in HAP_MAIN_DOCUMENT
Hi,
I want to add one button in VW_BODY_VIEW of component HAP_MAIN_DOCUMENT.
Is it possible in configuration level or I have to use enhancement points?
and the smae way, I have to create one more view in this component.
Just want ti confirm whether to go with Enhancement point or with configuration level.
Regards,
sarath.hi ,
u can use enhancements for the existing standard WD ABAP components .
u can add code at the PreEit and PostExit of the existing method.
refer SAP online help :
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/f4b9422e0fb911e10000000a1550b0/frameset.htm
regards,
amit -
Document Viewer: Show document inplace using "view_document_from_table"
Hello,
i am trying to show a pdf-document on a dynpro using i_io_document_viewer.
As long as I don't activate "show_inplace", it works fine. The document is correctly shown in an external browser window. So the parameters i export seem to be allright. But when I set show_inplace='X' nothing happens - neigther the document is shown nor I get an error. I think my way to create the control and the container could be the problem...
Name of my Custom Control at the dynpro: CC_DOCUMENT
my_viewer TYPE REF TO i_oi_document_viewer
my_custom_container TYPE REF TO cl_gui_custom_container
Code:
CALL METHOD c_oi_container_control=>get_document_viewer
IMPORTING viewer = my_viewer.
CREATE OBJECT my_custom_container
EXPORTING container_name = 'CC_DOCUMENT'.
CALL METHOD my_viewer->init_viewer
EXPORTING parent = my_custom_container.
CALL METHOD my_viewer->view_document_from_table
EXPORTING show_inplace = 'X' "With ' ' it works...but of couse NOT inplace :-(
type = 'application'
subtype = 'pdf'
size = file_size
CHANGING document_table = file_table
Does anybody see my mistake? I've been searching for hours -.-
Thank you for helping,
Best regards, margger
Edited by: margger on Mar 22, 2011 2:51 PMHey Andrea,
thank you for your answer. The problem is that the .pdf is only a test file - later there will be images, movies, pdf-documents, ...
So the integration of the document viewer would be nice. And, like I said, showing the document works, but not embedded in my dynpro.
Regards,
margger -
Errors when using inplace schema evolution
Hi, i have been having some issues when attempting to use inplace schema evolution to add a new element into an existing xsd file currently registered on the database and was looking for some help with this if possible.
Firstly, Oracle details are as follows :
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production"
TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - ProductionThe xsd registered on the database is called truncheadtest2.xsd :
<?xml version="1.0" encoding="UTF-8"?>
<!--W3C Schema generated by XMLSpy v2009 sp1 (http://www.altova.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
<xs:element name="title">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:element>
<xs:element name="clientRiskEventHeader" xdb:defaultTable="EVLN_CLIENTRISKEVENTHEADER">
<xs:complexType xdb:SQLType="EVLN_CLIENTRISKEVENTHEADER_T">
<xs:sequence>
<xs:element ref="title" xdb:SQLName="TITLE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>registered via :
BEGIN
DBMS_XMLSCHEMA.registerSchema(
SCHEMAURL => 'http://xmlns.kfis.co.uk/testevheader/xsdin/truncheadertest.xsd',
SCHEMADOC => XDBURIType('/public/web_quotes/header/xsd/test/SchemaTest/truncheadtest2.xsd').getCLOB());
END;i have then created a new xsd, to add the new element to the xsd (using minoccurs to allow backwards compatibility between xml files conforming to the 1st xsd and this new xsd), called truncheadtestfn3.xsd :
<?xml version="1.0" encoding="UTF-8"?>
<!--W3C Schema generated by XMLSpy v2009 sp1 (http://www.altova.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
<xs:element name="title">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:element>
<xs:element name="forename">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:element>
<xs:element name="clientRiskEventHeader" xdb:defaultTable="EVLN_CLIENTRISKEVENTHEADER">
<xs:complexType xdb:SQLType="EVLN_CLIENTRISKEVENTHEADER_T">
<xs:sequence>
<xs:element ref="title" xdb:SQLName="TITLE"/>
<xs:element ref="forename" minOccurs="0" xdb:SQLName="FORENAME"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>I can run the following code to create the difference doc between the 2 versions of the schema document, without errors:
DECLARE
schemaDiff XMLType;
res boolean;
BEGIN
SELECT xmlDiff
xdburitype('/public/web_quotes/header/xsd/test/SchemaTest/truncheadtest2.xsd').getXML(),
xdburitype('/public/web_quotes/header/xsd/test/SchemaTest/truncheadtestfn3.xsd').getXML()
INTO schemaDiff
FROM dual;
IF (dbms_xdb.existsResource('/public/web_quotes/header/xsd/test/SchemaTest/header.xml')) THEN
dbms_xdb.deleteResource('/public/web_quotes/header/xsd/test/SchemaTest/header.xml');
END IF;
res :=
dbms_xdb.createResource('/public/web_quotes/header/xsd/test/SchemaTest/header.xml',schemaDiff);
dbms_xmlschema.inPlaceEvolve('http://xmlns.kfis.co.uk/testevheader/xsdin/truncheadertest.xsd',schemaDiff,2);
END;
/ which creates the following xml file:
- <xd:xdiff xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<?oracle-xmldiff operations-in-docorder="true" output-model="snapshot" diff-algorithm="global"?>
- <xd:insert-node-before xd:node-type="element" xd:xpath="/xs:schema[1]/xs:element[2]">
- <xd:content>
- <xs:element name="forename">
- <xs:simpleType>
<xs:restriction base="xs:string" />
</xs:simpleType>
</xs:element>
</xd:content>
</xd:insert-node-before>
- <xd:append-node xd:node-type="element" xd:parent-xpath="/xs:schema[1]/xs:element[2]/xs:complexType[1]/xs:sequence[1]">
- <xd:content>
<xs:element ref="forename" minOccurs="0" xdb:SQLName="FORENAME" />
</xd:content>
</xd:append-node>
</xd:xdiff>However, when i then run the inplace schema evolution code for option 1, i get the following error:
Error report:
ORA-22324: altered type has compilation errors
ORA-22328: object "WEB_STAGING"."EVLN_CLIENTRISKEVENTHEADER_T" has errors.
PLS-00215: String length constraints must be in range (1 .. 32767)
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 173
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 231
ORA-06512: at line 17
22324. 00000 - "altered type has compilation errors"
*Cause: The use of the ALTER TYPE statement caused a compilation error.
*Action: Correct the error reported and resubmit the statement.I am getting this issue when attempting to add any string value to the existing xsd and i was wondering if you had any idea what the issue was here and how i could resolve this.
Thanks.Hi,
When you use INPLACE_TRACE flag, it traces the operations that would be performed with option 1.
If you look at the trace file produced in this case, you'll see where the error is coming from :
------------ QMTS Executing SQL ------------
ALTER TYPE "TEST"."EVLN_CLIENTRISKEVENTHEADER_T" ADD ATTRIBUTE "FORENAME" VARCHAR2 CASCADE NOT INCLUDING TABLE DATA
/The mandatory length specification is absent.
I thought adding an explicit xs:maxLength restriction would solve the problem, but it happens the generated DDL still lacks the length specification.
After some tries, I found that the issue seems related to the usage of ref elements in the schema.
On a side note, it's not the first time we see problems associated with ref (Cf. how do i get xml db to work right with imported or included schemas?).
The workaround is to use a named type.
I've also added an xdb:defaultTable annotation to the top-level element ("title") so that the registration process doesn't generate a table for it :
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
<xs:element name="title" xdb:defaultTable="">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:simpleType name="forenameType">
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="clientRiskEventHeader" xdb:defaultTable="EVLN_CLIENTRISKEVENTHEADER">
<xs:complexType xdb:SQLType="EVLN_CLIENTRISKEVENTHEADER_T">
<xs:sequence>
<xs:element ref="title" xdb:SQLName="TITLE"/>
<xs:element name="forename" type="forenameType" minOccurs="0" xdb:SQLName="FORENAME"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema> -
Inplace Word document into SAP in ECC 6.0 (it runs in 4.6)
We are in the process of upgrading from 4.6C to ECC 6 and have encountered an unusual situation.
In 4.6 system, we have a Z report which charge a word template (integrated in SAP Screen) with some data about employees. This programs doesn't run in ecc 6.0.
Doing a debbug, we change the parameter inplace (before had 'X', now we've clear it) of the following methods, and now it runs, but take out, in a Microsoft Word window, the template with the data.
CALL METHOD control->init_control
EXPORTING r3_application_name = text-bas
inplace_enabled = inplace
inplace_scroll_documents = 'X'
parent = container
register_on_close_event = 'X'
register_on_custom_event = 'X'
no_flush = 'X'.
and
CALL METHOD document->open_document
EXPORTING open_inplace = inplace
document_url = item_url.
Does anybody know how we can do for maintain the old presentation way (without an external Word Window)?
Thanks and Best regards.
Abel Raya.Refer to Note 160892
A modification is described in the below with which more than 120 value fields are allowed for an operating concern. SAP does not accept responsibility for problems resulting from the implementation of this modification.
Pre-Requisite
Before you increase the number of the characteristics or value fields, check whether all characteristics and value fields of the operating concern are required.
I guess, there is no increase in the number of value fields in ECC6 standard over 120. -
Excel inplace (ALV) with Excel 2010
Hi,
we have changed our workstation to windows 7 and Office 2010. Now i have a problem
with excal inplace of ALV. When i switch to excel inplace I don't find any way to save or save as the excel.
The button "datei" isn't activ.
Has anyone an idea?
We use GUI 720 patch 4.
Regards, DieterA simple workaround working is to "Customize the Quick Access Toolbar" in Excel 2010 itself from the File (Backstage) menu. add the "Save As" icon which carried forward in SAPGUI Excel inplace and now users can at least choose where to save their work as needed.
Edited by: neil_mukh on Feb 1, 2011 1:06 PM
Edited by: neil_mukh on Feb 1, 2011 1:06 PM -
Excel 2010 inplace not showing File tab
Wondering if anyone else having an Excel 2010 inplace issue not showing the File ("Backstage") tab to allow Save or Save As operations? Noticed others searched SAP xSearch help with similar Excel 2010 search terms but nothing relevant returned...
We're on ERP 6.04, NW 7.01sp5, SAPGUI 7.20sp2 with Excel 2010 running on XP sp3.
Thanks in advance (and full points) for any resolution ideas or issue confirmations before opening an OSS ticket :>>
Scott Aamodt wrote:
> Patrick,
>
> In response to your Excel 2010 issue above our users have not had similar "crash" issues at all in the SAP technical environment I originally posted above. If you have the same EHP4 and SAPGUI 7.20 as we and have that issue I'd check your Excel installation again before opening a ticket with SAP.
>
> Scott
Is the "File"-Button now working in your environment or not?
(We don't use SAPGui 7.10 and EHP ... but we will upgrade in a few month)
Note 1408098 looks like there is no solution for the crash-issue, right?
The only solution/workaround is to put the icons into the quickmenu-bar.
Best Regards,
Patrick
Maybe you are looking for
-
I accidentally deleted a download and would like to know how to recover an album
I don't know how it happened, but when I go in to play one of my albums it says the info isn't there anymore because my ******* deleted it! I'd just like to know how I can recover or get a new download of my album without having to buy it again...
-
Problem while creating a PO in Sourcing..
Dear SRM Gurus, We have implemented BBP_DOC_CHECK_BADI for checking the PO and we are triggering some error messages when some conditions of PO are not satisfied.. BADI is working fine and the error messages are triggered and displayed..still when we
-
Hi ADF Experts, I am using Jdev 11.1.1.7.0 version While I am running my application. I am getting the below exception in weblogic console <RegionRenderer> <encodeAll> The region component with id: pt1:r1 has detected a page fragment with multiple ro
-
Reversing distributions of a Matched PO
I have distributions from 1-8, and this is matched to a PO. No I had reversed distribution 8 : 404.80 to distribution 10: -404.80 And I had reversed distribution 8: 404.80 to distribution 12: -404.80 and then calculated tax with distribution 13: -60.
-
After "Hello World" - my first adventure in accepting user input
Hey I'm trying to teach myself java and I'm attempting to move on from printing hello world to the screen :) I've written the following: import java.io.*; public class firstapp { int value1, value2, result; public static