Application Development and Automation 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: 
Read only

Docviewer

Former Member
0 Likes
572

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
Read only

Former Member
0 Likes
537

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
Read only

Former Member
0 Likes
538

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

Read only

0 Likes
537

Banukumar,

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

Read only

0 Likes
537

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