Skip to Content
author's profile photo Former Member
Former Member

Calling OninputProcessing of other page

HI,

How to call oninputprocessing of other page ?

I have a 2 BSP pages . A and B. When i click a button in page A, page B is appread as popup. And when i click button from page B, some content is transfred from B to A's Intilization and Layout. Thats fine.

But i want the field value in OninputProcessing.How to do ?

I want something like this ...

if the fieldA = 'Yes' go to oninputprocessing ( not by triggering any button) and

fieldB = 'No' no need to proceed..

Thanks,

Kanal

Edited by: SAP user on Jun 18, 2008 4:54 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 08:59 AM

    Hi SAP User,

    After coming back to page A, you can put following javascript code in your layout to trigger OnInputProcessing without clicking any button.

    htmlbSubmitLib('htmlb',this,'htmlb:button:click:null','<form_name>','<button_id>','myClickHandler',0)

    Regards,

    Salil

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Yes, this javascript will get execute when page will get loaded. However, you have to put condition on that.

      For button_id, you create one button with id (you can hide this button) it is just to get one button event.

      And, I think this is the simple one.

      Regards,

      Salil

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.