Archive Link - Close viewer window after workitem excecution

sanjiv bajpai sanjiv_bajpai at yahoo.com
Mon Nov 6 11:15:29 EST 2000


Klaus,
       Capture the the winid of the image window in a
variable while opening the image and call the
following function at the end of your method
'ARCHIVWINDOW_CLOSE' using the variable winid.
 
Sanjiv
--- "Schaffer, Klaus" <kschaffer at kpmg.com> wrote:
> Hello,
>
> We're on a 4.0B System and implemented an early
> archiving scenario for
> invoices. During the workflow enabled process of
> verification the users
> often get a user decision and the archived invoice
> is displayed via a
> parallel method in the Archive Viewer. As we
> installed an archive of a
> company called Saperion we are using its viewer.
> Problem is, that we want
> the archive viewer close automatically after a user
> has executed the user
> decision (approval/denial), but it doesn't work.
> What I've tried so far:
>
> I used the standard method of object type IMAGE,
> WindowClose and configured
> it as a method after workitem excecution, but it
> didn't work. Well, I
> discovered that this is a dialog method, so I just
> copied it, implemented it
> in my subtype ZIMAGE as a backround method but it
> doesn't work either. The
> method is using the function module
> ARCHIVWINDOW_CLOSE, which is also
> mentioned in the documentation for this purpose.
> I tried the same just for fun with the standard
> archivelink viewer from SAP
> and the window is closing without any problem, even
> without the method
> WindowClose.
>
> Further on in the customizing of the application and
> protocols in the
> archive link directory of the IMG , Transaction
> OAA4, there is also a menu
> point Close Window. Is it there where I have to put
> in OLE-commands which
> tell the viewer application to close the window?
> Does the above mentioned
> method use these entries to close the window or are
> the both independent?
>
> Has anyone used the windowclose functionality or
> experienced the same
> problems? Any hints are highly appreciated.
>
> Bye. Klaus
>
>
>
> --
>                   E-Mail Disclaimer
>
> Der Inhalt dieser E-Mail ist ausschliesslich fuer
> den bezeichneten
> Adressaten bestimmt. Wenn Sie nicht der vorgesehene
> Adressat dieser
> E-Mail oder dessen Vertreter sein sollten, so
> beachten Sie bitte, dass
> jede Form der Kenntnisnahme, Veroeffentlichung,
> Vervielfaeltigung oder
> Weitergabe des Inhalts dieser E-Mail unzulaessig
> ist. Wir bitten Sie,
> sich in diesem Fall mit dem Absender der E-Mail in
> Verbindung zu
> setzen. Aussagen gegenueber dem Adressaten
> unterliegen den Regelungen
> des zugrundeliegenden Angebotes bzw. Auftrags,
> insbesondere den
> Allgemeinen Auftragsbedingungen und der
> individuellen Haftungs-
> vereinbarung. Der Inhalt der E-Mail ist nur
> rechtsverbindlich, wenn er
> unsererseits durch einen Brief entsprechend
> bestaetigt wird. Die
> Versendung von E-Mails an uns hat keine
> fristwahrende Wirkung. Wir
> moechten Sie ausserdem darauf hinweisen, dass die
> Kommunikation per
> E-Mail ueber das Internet unsicher ist, da fuer
> unberechtigte Dritte
> grundsaetzlich die Moeglichkeit der Kenntnisnahme
> und Manipulation
> besteht. Wir werden daher keine vertraulichen Daten
> unverschluesselt
> per E-Mail ueber das Internet versenden.
>
> The information contained in this email is intended
> solely for the
> addressee. Access to this email by anyone else is
> unauthorized. If you
> are not the intended recipient, any form of
> disclosure, reproduction,
> distribution or any action taken or refrained from
> in reliance on it,
> is prohibited and may be unlawful. Please notify the
> sender
> immediately. All statements of opinion or advice
> directed via this
> email to our clients are subject to the terms and
> conditions expressed
> in the governing KPMG client engagement letter. The
> content of this
> email is not legally binding unless confirmed by
> letter. The sending
> of emails to us will not constitute compliance with
> any time limits or
> deadlines. We also like to inform you that
> communication via email
> over the internet is insecure because third parties
> may have the
> possibility to access and manipulate emails. For
> this reason we will
> not send any confidential information via email over
> the internet,
> unless encrypted.
 
 
__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/
 


More information about the SAP-WUG mailing list