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

Adding different output formats to VF31

Former Member
0 Likes
1,107

Hi

I am trying to add multiple output options to the VF31, reprint billing

Currently VF31 does ahtwver the previous format was

Such as if the doc is sent to printer, it will only send to printer but not to anything else

So users should be able to send docs to email, fax or printer no matter the previous operation

Any help is appreciated

thank you all:)

Solen

Hi

I am trying to add multiple output options to the VF31, reprint billing

Currently VF31 does ahtwver the previous format was

Such as if the doc is sent to printer, it will only send to printer but not to anything else

So users should be able to send docs to email, fax or printer no matter the previous operation

Any help is appreciated

thank you all:)

Solen

3 REPLIES 3
Read only

Kanagaraja_L
Active Contributor
0 Likes
916

First Go to VF02 Transaction, Assign the Ouput type in the menubar GOTO->HEADER->OUTPUT then give the output type and Medium (Here either you can choose FAX/MAIL) save the Billing document.

Now you can access the Billing number from VF31 then select the appropriate TRANSACTION MEDIUM in the selection screen.

Kanagaraja L

Read only

Former Member
0 Likes
916

Hi,

In the driver program..Check if the tcode is VF31 then you can forciably send the document to all the outputs..

FYI.. the same driver program will be calledin the back grd that is used for the VF01/ VF02

IF sy-tcode = VF31.

Call the FM fnam for all output types

ENDIF

Regards,

Aditya

Edited by: aditya on Jul 20, 2009 11:22 AM

Read only

0 Likes
916

Thank you for your information

i debugged the code and found out that

there is a join on table nast based on the message type

so i will try to remove the join on the message type and then add the message type that i got from the user

this means that i need to create a z program out of vf31,and modify

cheers all