Skip to Content
0
Former Member
Nov 29, 2013 at 09:50 AM

Triggering an event in SAP through SAP Adobe form Button

679 Views

Hello experts,

I have one requirement to trigger an event from SAP Adobe form Script editor for the back end SAP System. My scenario is online for SAP Adobe form. Once the button is triggered in the Adobe form, the same event should be called in side the SAP System and then after some processing logic will happen and will return some value to the Adobe form text fields through context binding.

Note: I dont want to use ABAP Webdynpro for this, I am using the ISR native control button 'ISR On-Form event Button' in the layout. And I am using a BADI QISR1, which has been implemented with the Method SCENARIO_PROCESS_USER_COMMAND.

I have tried a lot but the event is not triggered in the SAP system.

In Adobe Script editor the below code has been written,

data.#subform[3].ISR_FormEventButton::enter - (FormCalc, client)

$record.CONTROL_PARAM.ISR_EVENT = "CUSTOM_EVENT"

data.#subform[3].ISR_FormEventButton::click - (JavaScript, client)

ContainerFoundation_JS.SendMessageToContainer(event.target, "SAPSubmit", "", "", "", "");

this.access = "readOnly";

Kindly guide with some suggestion so that the BADI would trigger.

Waiting for earliest reply.

Of course I would be thank full and reward points to them who would be providing the appropriate solutions.

Thanks & Regards,

Sriyash