cancel
Showing results for 
Search instead for 
Did you mean: 

Submit to Dynpro Java. How to distinguish submit types?

Former Member
0 Kudos

Good day.

I have PDF from, it's embedded to WDJ component. I have two submit button in the pdf form. I want to know what button is pressed.

I have a technical parameter in the context - SubmitType. I try to set it in the method click of a WD submit button:

$record.SubmitType = 1;
                      // DO NOT MODIFY THE CODE BEYOND THIS POINT - 802.20071213024549.437972.422152 - SubmitToSAP.xfo
  
                      ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                      // END OF DO NOT MODIFY

But the value in WD doesn't change. But if I use a standart button the value changes but it's impossible to submit the data. How can I resolve my task?

Accepted Solutions (1)

Accepted Solutions (1)

chintan_virani
Active Contributor
0 Kudos

Krill,

Please have a look at my replies in following thread.

Chintan

Former Member
0 Kudos

Thank you. I've added a button submitToSAP and invisible text field. In the click event of a button I set the text field value which binds to the SubmitType.

Everything is OK. Sadly it is not possible to set the value directly.

Answers (0)