2009 Jul 20 6:11 AM
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
2009 Jul 20 6:48 AM
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
2009 Jul 20 6:50 AM
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
2009 Jul 20 7:35 AM
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