cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro Java and Adobe Interactive Form (Urgent)

former_member185879
Active Contributor
0 Kudos

Hi All,

Is it possible to send data to the bapi from Adobe Interactive Form through WebDynpro Java.

the exact Scenario is :

I had a link to adobe interactive form from webdynpro. if i click that link one RFC will be called and data for some of the fields in interactive form are filled throught that RFC.

i entered some data in the adobe interactive forms normal text input and i entered some data in dynamic table also.

My Question is : Is it possible the text input data as well as the data entered in dynamic table should be passed to BAPI.

Is it possible???

If yes can any one give an example for that??????

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Its very well possible to send data from interactive form and from the table to an RFC

To acheive this.

Create a context nodes for both interactive form and table.

Get the data from the context for the table.

IF you are working with adobe in offline mode Use the WDInteractiveFormHelper.transferPDFDataIntoContext(pdfSource, targetNode)

to load the data from interacctive form to your context.

Once the data is available as part of your context.

execute your rfc.

Regards

Ayyapparaj

former_member185879
Active Contributor
0 Kudos

thanks a lot for ur reply...

it is possible to do for dynamic table????

ie., once add button is clicked it should add one row in a table. and if remove button is clicked it should remove the corresponding row.

after doing all these process i have to press submit....

after pressing submit only all the data should go to bapi....

may be 20 rows will be there in that dynamic table...

In that scenario wdpformhelper will help?????

Waiting for ur reply

nikhil_bose
Active Contributor
0 Kudos

WDInteractiveFormHelper.transferPDFDataIntoContext(pdfSource, targetNode)

For this to work, you should be in 2004s SP15 or C.E

nikhiL

former_member185879
Active Contributor
0 Kudos

Hi Nikhil..

So, it wont work on SP11??? with 2004s...

Former Member
0 Kudos

Hi,

Have you tried what i have mentioned . If i am not wrong this api is available from nw04.

Regards

Ayyapparaj

nikhil_bose
Active Contributor
0 Kudos

yea ayyapparaj,

But I didn't get dynamic table values from adobe. I mean I got the parent data source node values correctly. But no subnode values.

correct me if I am wrong.

nikhiL

former_member185879
Active Contributor
0 Kudos

One more thing... it is purely an online scenario!!!

Former Member
0 Kudos

Hi,

WDCopyService.IWDCopyService.copySubtree(IWDNode source, IWDNode target)

Above method may help you to get the sub tree , I havent tried it.

Regards

Ayyapparaj

nikhil_bose
Active Contributor
0 Kudos

As per Documentation it is available from SPS10 onwards. I didn't get subnode values from

WDInteractiveFormHelper.transferPDFDataIntoContext(binary, IWDNode);

nikhiL

Former Member
former_member185879
Active Contributor
0 Kudos

HI,

i have created two value nodes with the name parent1 and parent2. Inside those nodes i have created two value attributes as vaName and vaAge in Context of Component Controller.

i have created two views. and mapped these contexts to both view..

In first i have entered values for parent1 attributes. once i pressed the button it should show the values in PDF.. there i have a button submit.

in properties of Interactive UI Element submit i wrote one method.. inside that i wrote as follows..

WDInteractiveFormHelper.transferPDFDataIntoContext(wdContext.currentContextElement().getPdfSource(),wdContext.nodeVnSampleParent2());

wdThis.wdFirePlugOutToNormalView();

and in first view i had one table. inside that i have to display the values of the parent2 attributes...

can u please check this out

Answers (1)

Answers (1)

nikhil_bose
Active Contributor
0 Kudos

Yes. It is possible.

You have to use Guided Procedures to retrieve data from interactive form.

This demo will help you to understand GP role:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/1ffe06f0-0a01-0010-60a7-a2593...

nikhiL

former_member185879
Active Contributor
0 Kudos

Hi Nikhil....

No, this is an webdynpro project... so, i should not GP here...In that case what is the solution???

waiting for ur reply...

nikhil_bose
Active Contributor
0 Kudos

As per my knowledge there are 3 ways:

1. use GP for interactive form process

2. use 2004s SP15 or C.E

3. you can pass this to ABAP

3: you can pass binary to RFC as XString and extract data in ABAP

/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher

nikhiL