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: 

PO Document via email

Former Member
0 Kudos
161

Hi All,

The scenario is: Once the PO is created in R/3, it will send via email to the vendor as a PDF attached document by print program.

Now the requirement is along with this PO mail, we have to attach one more PDF document from the desktop. I will appreciate your help.

Thanks,

J Kumar.

10 REPLIES 10

former_member194669
Active Contributor
0 Kudos
102

Please confirm whether your print program runs in foreground mode?

aRs

0 Kudos
102

No its run in background mode...

Thanks,

J Kumar

former_member194669
Active Contributor
0 Kudos
102

Then access you desktop is not possible.

aRs

0 Kudos
102

Is there any other way to get the document...?

Thanks,

J Kumar

former_member194669
Active Contributor
0 Kudos
102

Then copy PDF file any application directory and upload the file.

If you are use SO OBJECT* SEND you have an option to send multiple attachments

of if u can also use CL_BCS class to send multiple attachments

aRs

0 Kudos
102

Thanks for your quick reply....

The problem is Im unable to pick the PDF document in the print prgm.

Is there any other way to attach the document with PO? (ie) Enhancement in ME21?

or Is it possible to make the print prgm as foreground?

Thanks,

J Kumar

former_member194669
Active Contributor
0 Kudos
102

Is the Desktop PDF is common to all vendors/PO? or is it different to each vendor/PO

aRs

0 Kudos
102

It is different to all Vendors/PO.

Thanks,

J Kumar.

former_member194669
Active Contributor
0 Kudos
102

I think you have to copy these files in the application directory or shared directory or file system.

I have doubt?

If you we are putting these PDF in application directory or shared directory or file system, then how will you select the PDF according to the vendor? is there any key identify?

otherwise.

I not fully sure about this solution.

Using GOS service you can attach desktop files in the PO. or you can desktop attach to custom GOS object.

After attachment whenever u need these PDF , read this service using GOS and attached to your mail.

or you can attach desktop files using BDS ie OAOR transaction.

( second suggestion is complex to implement)

aRs

0 Kudos
102

Can you explain briefly about the custom GOS object.

Thanks,

J Kumar.