cancel
Showing results for 
Search instead for 
Did you mean: 

Send Back An Interactive Form with updated Vendor Details

Former Member
0 Kudos

Dear SDN,

We have a requirement of sending back an Adobe Form after the user updates some fields as an email or to the universal work list of the sender?

The step is:-

1. Receive Adobe form.

2. Update Fields.

3. Send back to the sender as an email//UWL.

The receiver of the Adobe Forms may not have SAP Access so whats the work around? Can javaMail API be used without the Dynpro ? Can Guided procedure help ? Or may be a webservice to send the mail ?

Please suggest.

Anirban.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

for sendinf email you can add a button on interactive form and use click event:

var myDoc = event.target;

try {

myDoc.mailDoc({

bUI: false,

cTo: "email@aa.com",

cCC: "",

cSubject: "Subject",

cMsg: ""

});

} catch (e) {}

Michal

Former Member
0 Kudos

Hi,

Thanks a lot, but when i apply to the button, i save .I get an error in script as:-

Syntax error near token '{' line 2,column 5

May be i have missed out some parameters.

Please help.

Anirban

Former Member
0 Kudos

Hi,

Michal > thanks for this useful info!

Anirban > choose JavaScript instead of FormCalc. Also, the 'cCC' parameter shoud be written 'cCc'.

Regards,

Francois

Former Member
0 Kudos

Thats Great of you Guys, I am a new comer in this,

How to choose or change from "JavaScript instead of FormCalc". Yes i get this in the error pop up.

Thanks again,

Regards,

Anirban.

Former Member
0 Kudos

<img src="https://weblogs.sdn.sap.com/weblogs/images/251678743/ald.jpg" width="330" height="392" border="0" alt="image" />

Former Member
0 Kudos

Hi,

I changed it to JavaScrip from Top.Saved the file to desktop. Put the data, and pressed the send button. But i donot get a mail. Any other settings needed?

Regards,

Anirban.

Former Member
0 Kudos

Hi,

I see that the event is assosaited with click as :-

On Top i have it as :-

-


data.#subform[0].Button1::click - (JavaScript, client) -


whereas you have Form.subform

Does it make a difference?

Regards,

Anirban.

Former Member
0 Kudos

Thnaks a lot, Its working.This is just Great Help i Got today from SDN.

Thanks again and have a Nice weekend.

Regards,

Anirban

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

This offline scenario is a very interesting question, which is one of the most common we receive from our partners and customers.

I've wrote <a href="/people/francois.gendebien/blog/2007/03/22/sap-interactive-forms-by-adobe-offline-scenarios-possibilities">an SDN blog</a> on this which can help you. Of course, don't hesitate if you have any additional question!

Regards,

Francois

Former Member
0 Kudos

Hello,

Yes, its my exact requirement. Do you have any how to guuide on this?

Or may be you can send any details? Can you throw any lights in terms of Guided procedure steps to do this ?

Regards,

Anirban

Former Member
0 Kudos

Hi,

Well, as stated in the blog, it depends on your scenario. So there's no howto guide at the moment.

Business logic and PDF (by email) sending has to be developed on your backend side. I suggest you to read the Interactive Forms tutorials in the Webdynpro for Java section for first steps.

It's also possible to trigger a guided procedure with the help of an interactive form (with the help of a posting on a address specific to the GP). For this, you can check the CAF (Composite Application Framework) tutorials here on SDN.

Regards,

Francois