Skip to Content
0
Former Member
Aug 03, 2009 at 05:40 AM

Convert Script to PDF using RVADOPFO, w/o using spool and send via email

170 Views

I want to convert output type script to pdf using the standard include RVADOPFO in the program. The output type is defined as medium '5' and comm starategy is also defined as INT(email) as want to send the output via email.

Now the Include RVADOPFO contains ADDR_KEY-ADDRNUMBER & ADDR_KEY-PERSNUMBER. Where to maintain this info and how to pass in the include..below code is in the include..

IF NOT NAST-TCODE IS INITIAL AND NAST-NACHA EQ '5'.

  • ... use stratagy to get communication type

CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE'

EXPORTING

STRATEGY = NAST-TCODE

  • ADDRESS_TYPE =

  • ADDRESS_NUMBER = VBDKA-ADRNR

  • PERSON_NUMBER = VBDKA-ADRNP

ADDRESS_NUMBER = ADDR_KEY-ADDRNUMBER

PERSON_NUMBER = ADDR_KEY-PERSNUMBER

IMPORTING

COMM_TYPE = LVS_COMM_TYPE

COMM_VALUES = LVS_COMM_VALUES

  • TABLES

  • STRATEGY_TABLE =

EXCEPTIONS

ADDRESS_NOT_EXIST = 1

PERSON_NOT_EXIST = 2

NO_COMM_TYPE_FOUND = 3

INTERNAL_ERROR = 4

PARAMETER_ERROR = 5

OTHERS = 6.

Please provide solution asap. Thanks in advance