Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Docviewer

Former Member
0 Kudos

Hi,

We are working in SAP4.7.We have the vendor invoice scanned and maintained in a different system.When we want to view the scanned invoice document from SAP transactions like FB02,FB03 a call has to be made to docviewer.exe with relevant parameters.

Does SAP support the call to Document viewer.exe?

Please let us know.

Thanks,

S.Banukumar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

SAP can call externally apps on the client machine using a few different Func Mods. Here is an example of one:

CALL FUNCTION 'WS_EXECUTE'

EXPORTING

CD = 'c:\BusReviewForDMs\'

PROGRAM = 'c:\BusReviewForDMs\DMBusRview.exe'

  • STAT = ' '

  • WINID = ' '

  • OSMAC_SCRIPT = ' '

  • OSMAC_CREATOR = ' '

  • WIN16_EXT = ' '

  • EXEC_RC = ' '

  • IMPORTING

  • RBUFF =

EXCEPTIONS

FRONTEND_ERROR = 1

NO_BATCH = 2

PROG_NOT_FOUND = 3

ILLEGAL_OPTION = 4

GUI_REFUSE_EXECUTE = 5

OTHERS = 6

3 REPLIES 3

Former Member
0 Kudos

SAP can call externally apps on the client machine using a few different Func Mods. Here is an example of one:

CALL FUNCTION 'WS_EXECUTE'

EXPORTING

CD = 'c:\BusReviewForDMs\'

PROGRAM = 'c:\BusReviewForDMs\DMBusRview.exe'

  • STAT = ' '

  • WINID = ' '

  • OSMAC_SCRIPT = ' '

  • OSMAC_CREATOR = ' '

  • WIN16_EXT = ' '

  • EXEC_RC = ' '

  • IMPORTING

  • RBUFF =

EXCEPTIONS

FRONTEND_ERROR = 1

NO_BATCH = 2

PROG_NOT_FOUND = 3

ILLEGAL_OPTION = 4

GUI_REFUSE_EXECUTE = 5

OTHERS = 6

0 Kudos

Banukumar,

Has your issue been resolved? If not, please provide more detail... if it is resolved, reward points and close the thread. Thanks.

0 Kudos

Hi John,

Thanks for the info.Right now,I don't have Docviewer.exe installed in my pc to check the answer given by you.But it is an useful answer and I hope it will solve my problem.

Thanks,

S.Banukumar