ABAP style FORM..ENDFORM in BSP ...?

Hi, guys!
I'm rather new to BSP world. Could someone help me with the following question:
Is it possible to use ABAP style
=====================
FORM abc
     USING abc1
     CHANGING abc2.
ENDFORM.
=====================
in BSP and accordingly to call it via PERFORM let's say in Layout of BSP?
Or maybe there is something instead of this?
Thanks in advance,
--- Kaspars
P.S. In particular case I'm not using MVC format (just htmlb, abap and javascript in layout; and abap in OnInitialization event handler).

look at the link reg using subroutine in BSP:
Re: Subroutines in BSP ??????
<i>Is it "suggested" or is it mandatory to use class/methods</i>
Its not mandatory to use class/method. But BSP is developed based on class/methods, so you cant avoid using class & methods..
Raja T

Similar Messages

  • Calling an ABAP WebDynpro Popup from a BSP view

    I need to know if the following is possible.
    I have a requirement to call an ABAP WebDynpro Popup from a BSP view.
    When the Popup is triggered (eg via pushbutton) the BSP will pass data to the Popup, before the Popup is closed the Popup will pass data back to the BSP to be displayed in the BSP view.
    I do not want to rely on Portal Events as Portals may not be used, would really appreciate a clean simple solution.

    Hi,
    any webdynpro application has a URL behind it. Haven´t you tried to call that URL with Javascript code ??
    script language="Javascript"
          url = "test_page.htm" + "?field=" + param;
          window.open(url, "F4window", "width=400, height=400");
    /script
    You can pass data to the WD application using parameters as I show you after the "?".

  • How to write Form - Endform in between Function - Endfunction

    Hi Experts,
    I need to write some code in between form & endform in an Include(User-exit)
    This form ---endform doesnot have perform [ Perform is inside a standard Code ] . I tried using Generate pool subroutine. It is also not helping.
    The call for this perform is inside Standard Code.Pls tell how to write Form-Endform between Function -
    Endfunction.
    thanks
    surbhi

    No no no. You're committing after each row! soany
    other session running the same query will see the
    changes you're making. Your session will equallysee
    changes caused by running this query in those
    sessions.Other session, yes, but current session will only see
    the changes once it has completed the current
    statement. Otherwise my "rn" column would not have
    gone up sequentially in the above example. it would
    have gone
    1st row rn = 1 (all rows get updated by 1:-
    2,3,4,5,6,7,8,9,10,11)
    2nd row rn = 3 (all rows get update by 1:-
    3,4,5,6,7,8,9,10,11,12)
    3rd row rn = 5 (all rows get update by 1:-
    4,5,6,7,8,9,10,11,12,13)
    4th row rn = 7 (all rows get update by 1:-
    5,6,7,8,9,10,11,12,13,14)
    5th row rn = 9 (all rows get update by 1:-
    6,7,8,9,10,11,12,13,14,15)
    6th row rn = 11 (all rows get update by 1:-
    7,8,9,10,11,12,13,14,15,16)
    7th row rn = 13 (all rows get update by 1:-
    8,9,10,11,12,13,14,15,16,17)
    8th row rn = 15 (all rows get update by 1:-
    9,10,11,12,13,14,15,16,17,18)
    9th row rn = 17 (all rows get update by 1:-
    10,11,12,13,14,15,16,17,18,19)
    10th row rn = 19 (all rows get update by 1:-
    11,12,13,14,15,16,17,18,19,20)
    So the fact the commit happens each time the rows get
    updated, isn't effecting the currently running select
    statement.
    No, actually you DO see the other session changes. This is because it is AUTONOMOUS transaction, and this a function.
    Test by adding:
    create or replace function incvals return number as
    pragma autonomous_transaction;
    v_val number;
    begin
    update t set rn = rn + 1;
    select max(rn) into v_val from t;
    dbms_lock.sleep(1); --add this line
    commit;
    return v_val;
    end;
    And test in two sessions.
    You will NOT get sequential ascending.
    >
    Think about the effect of two parallel sessionsboth
    running this query at the same time, and ask isthis
    sensible?Gawd, no, of course not. Like I said, I'd never use
    this sort of thing myself. I'm just wondering what
    on earth the OP is trying to achieve.
    :)Glad to hear it.

  • Problem in writing form-endform in Smartform

    Hi,
    I am writing following FORM-ENDFORM in Form routines and Perform in Initialization of global definitions
    in smartforms.
    FORM GET_STD_TEXTS USING V_LANG
    CHANGING
    T_DAMAGE_TRANSIT TYPE STANDARD TABLE OF TLINE.
    DATA:lt_lines LIKE tline OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    id       = 'ST'
    language = V_LANG
    name     = 'Z_DAMAGE_TRANSIT'
    object   = 'TEXT'
    TABLES
    lines    = lt_lines
    EXCEPTIONS
    OTHERS   = 8.
    IF sy-subrc = 0.
    T_DAMAGE_TRANSIT[]  = lt_lines[].
    ENDIF.
    ENDFORM.
    PERFORM GET_STD_TEXTS USING V_LANG
    CHANGING
    G_DAMAGE_TRANSIT.
    In global definitions I have defined :
    G_DAMAGE_TRANSIT TYPE TLINE
    V_LANG TYPE NAST-SPRAS
    <b>But there is something worng. I am getting following error:
    Global Definitions: "OF" has already been declared already</b>

    This solves the problem partially now I don't get any error when I do syntax check for form-endform.
    But still I get error saying G_DAMAGE_TRANSIT is not internal table in PERFORM.
    PERFORM GET_STD_TEXTS TABLES
    G_DAMAGE_TRANSIT
    USING V_LANG.
    In global definitions I haved defined:
    G_DAMAGE_TRANSIT TYPE TLINE.
    Please help....

  • Adobe Forms in a Bsp

    Hi All
    Can you use Adobe interative forms in a Bsp application i.e. can you imbed an adobe form in a bsp view ?
    Any information on this would be of great help.
    Thank you
    Darren

    Hi Darren,
    You can use Adobe forms embedded in a BSP page. Refer this blog by Thomas Jung:
    /people/thomas.jung3/blog/2005/07/13/lessons-learned-from-adobe-forms-development
    Hope this helps,
    Regards,
    Ravikiran.C

  • How to put water mark in web dynpro abap Adobe forms

    Hi
    Can any body tell me how to put water mark in web dynpro Abap adobe forms ,
    actually I need to print water mark as back ground in gray color.
    Points will be rewarded of Helpful answer..!
    Regards,
    Sidram

    Hi,
    for more information about layout options in forms, go to your form in transaction SFP, layout view and choose Help -> Adobe LifeCycle Designer Help. There you find information on page layout, e.g. " Objects can be placed anywhere on a master page, inside or outside the content area. As a general rule, do not place objects inside the content area unless your intention is to have other objects laid down on top of the master page objects when the form is rendered. If you are setting up a watermark, place it inside the content area. "
    Besides, there's an Adobe forum where you might get more information for such Adobe questions.
    Regards, Heidi

  • Is ABAP expression FORM - PERFORM can be used in SAP BI 7.0 transformation

    Hello
    Is ABAP expression FORM - PERFORM can be used in SAP BI 7.0 transformations or method odf class is a recommended approach?
    Thanks

    SAP BI 7.x Transformations use OO ABAP where the logic that you enter into the tranformational routines (Start Routine, Characteristic Routines and End Routine) are inside METHODS. PERFORM and FORM are procedural-based ABAP and cannot be used in METHODS.
    CLASS-METHOD and Function Modules are your best bets for processing outside of the transformational routine. As for performance, we use both and haven't found any signicant difference between the two (our custom Function Modules usually perform only slight better than our custom METHODS).

  • Dropdown code in ABAP adobe form

    Hi All,
    I am trying to desing a dropdown can any one help in writing code for it.
    1) I designed ABAP Adobe form with ZCI layout & display type as activeX
    2) In layout editor I tried to use Standard->Drop-down list or
        WebDynpro ActiveX->Value Help->drop down list or
        WebDynpro native->Value Help->drop down list.
    3) I bind drop down with context element ($record.NODE1.DATA[*].PERNR)
        contect structure is as:
    ---Node1
    Pernr
    3) Then I tried to write code in 'WDDOINIT', but it is giving error
    >>>>Access via 'NULL' object reference not possible
    Please guide me in completing code for dropdown value help.I want to fill itab-a into node1-pernr:
    method WDDOINIT .
      DATA lo_nd_node1 TYPE REF TO if_wd_context_node.
      DATA lo_el_node1 TYPE REF TO if_wd_context_element.
      DATA ls_node1 TYPE wd_this->element_node1.
    * navigate from <CONTEXT> to <NODE1> via lead selection
      lo_nd_node1 = wd_context->get_child_node( name = wd_this->wdctx_node1 ).
    * @TODO handle not set lead selection
      IF lo_nd_node1 IS INITIAL.
      ENDIF.
    * get element via lead selection
      lo_el_node1 = lo_nd_node1->get_element(  ).
    * @TODO handle not set lead selection
      IF lo_el_node1 IS INITIAL.
      ENDIF.
    * get all declared attributes
      lo_el_node1->get_static_attributes(
        IMPORTING
          static_attributes = ls_node1 ).
    DATA: BEGIN OF itab,
           a TYPE persno,
          END OF itab.
    DATA: wa_itab LIKE itab.
    DATA: t_itab TYPE STANDARD TABLE OF itab.
          wa_itab-a = '1'.
          APPEND wa_itab TO t_itab.
          wa_itab-a = '2'.
          APPEND wa_itab TO t_itab.
          wa_itab-a = '3'.
          APPEND wa_itab TO t_itab.
          wa_itab-a = '4'.
          APPEND wa_itab TO t_itab.
    ******--pernr
    *****  ls_node1-pernr = '80000086'.
    ******--Send the values back to the node
      lo_el_node1->set_static_attributes(
       EXPORTING
        static_attributes = ls_node1 ).
    endmethod.

    }

  • Differentiate between button events in WD ABAP Interactive form ?

    Hi ,
       I have a senario in which I have  2 buttons in a Webdynpro ABAP Interactive form.
    Button1 is to fectch some values from the back and set in the context so that it is populated in the form.
    Button2 is submit button which calls a BAPI in the backed..
    I need to differentiate between the events of these 2 buttons in my Webdynpro ABAP onSubmit event..
    Is there any way to differentitate which button I have clicked in the form.. ????
    Thanks
    Siva

    Hi Sivaraj,
    you can try defining an action on OnCheck action. I think it should work.
    If it doesnt work then, define an attribute in the context, and place it on the form, make this field invisible. Then on click on button set some values in this attribute. Read the attribute value in the ABAP. And perform the action according to that.
    Hope this helps,
    Amit

  • Add Button in ABAP Adobe form/ add onSubmit CLICK event????

    Hi All,
    I designed using ABAP webdynpro.
    I added WebDynpro ActiveX or WebDynpro Native submit button.
    Then I added CLICK under onSUBMIT events of view.
    And added code under ONACTIONCLICK.
    But it is not working. I check old post's saying to use  " Utilities->Insert WebDynpro Script" in layout,
    but in my case " Utilities->Insert WebDynpro Script" in layout is coming as inactive so can not able to
    add that.
    Can any one guide me how can i use Buttons on my Adobe ABAP interactive form?
    Thanks

    method ONACTIONCLICK .
      wd_this->fire_o1_plg(
    endmethod.

  • WD ABAP Interactive form to xml to xstring

    Hi All,
    I have created one WD ABAP interactive form with a submit button. After user enter the values in the form, once submits, it should trigger a workflow and I should send the whole PDF form as an attachment to a workitem.
    For triggering  work flow is not a problem. But this pdf should be generated again at workitem attachment.
    For converting to PDF and attachming the pdf to workitem I already have a business object.But now the problem is I have to generate the XML file from the context values and send this as xstring to my program, so that by using this value, it will re genarate the pdf with this updated values.
    So, i need a way to generate xml out of user filled interactive form
    and pass it as xstring.
    Appreciate your help.
    Regards,
    Ravi

    Hi ravi,
    These are the function modules  which converts table to String and the String to Xstring.
             SOTR_SERV_TABLE_TO_STRING  "Table to String
             SCMS_STRING_TO_XSTRING "String to Xstring
    For triggering work flow is not a problem. But this pdf should be generated again at workitem attachment.
    For converting to PDF and attachming the pdf to workitem I already have a business object
    Can you tell me how you are attaching document to Workflow and how you are triggering workflow on click of Submit button and what is the businees object to send the attachements to workitems.

  • Drop down list button in the WDP Abap interactive form

    Hi Gurus,
    I wanted to implement the drop down list button in the WDP Abap interactive form. Once the users clicks on the drop down button, an RFC should be called and display the details under the drop down button. Please give me the logic with code. Its very urgent...please help me. Please note that it is in WDP Abap interactive forms. We are using NW2004S, ECC6.0.

    hi david,
    all the UI elements in the adobe form are generally connected to your web-dynpro Context.
    whatever you type in the online adobe form is reflected in the respective context attributes of the dynpro Context of the view where "ur Interactive form UI element is".
    that means you can yourself fill the contents of ur interactive form by working on the get/set methods of the context attributes.
    Likewise you can clear the form by setting all context attributes to blank eg ""
    with regards,
    -Amol Gupta

  • ABAP Web Dynpro v/s BSP

    Hi All
    Can you pls tell the difference between ABAP Web Dynpro v/s BSP.
    Regards
    DM

    Hi madan....
    <u><b>Web Dynpro for ABAP</b></u>
    <i><b>Features</b></i>
    Web Dynpro ABAP is the SAP standard UI technology for developing Web applications in the ABAP environment. It consists of a runtime environment and a graphical development environment with special Web Dynpro tools that are integrated in the ABAP Workbench (SE80).
    Web Dynpro offers the following advantages for application developers:
    The use of declarative and graphical tools significantly reduces the implementation effort
    *Web Dynpro supports a structured design process
    *Strict separation between layout and business data
    *Reuse and better maintainability by using components
    *The layout and navigation is easily changed using the Web Dynpro tools
    *Stateful applications are supported – that is, if the page is changed, the data that is required remains intact so that you can re-access the data in the entire application context.
    Note that stateless applications are not possible.
    *Automatic data transport using data binding
    *Automatic input check
    *Automatic operation of the Web Dynpro application using the keyboard
    User interface accessibility is supported
    *Full integration in the reliable ABAP development environment
    <u><b>BSP</b></u>
    BSP applications are standalone Web applications with presentation, workflow and application logics that are self-contained in terms of function.
    In many ways, BSPs are similar to the server page technologies (xSP)from other software manufacturers, such as Active Server Pages (ASP)from Microsoft and Java Server Pages (JSP) from Sun Microsystems.
    This technology has become relatively widespread in the field of Web development thanks to its various advantages.
    regards,
    get back for more help
    vijay
    Message was edited by: Vijayasarathy Raghunathan

  • Serial # in Tablour Style form

    I want to show serial # in my tablor style form
    Regards
    Shahzaib ismail

    Shahzaib,
    In the item's property page, set the property Calculation Mode as Formula, and the Formula property as *:SYSTEM.TRIGGER_RECORD*. Then it will be OK.
    Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Interview style forms

    Does Acrobat have any kind of plug-ins to create an interview style form similar to the kind Turbo Tax offers?
    Question 2: is there any way in Acrobat to create forms so some fields appear (or not) depending on an answer inputted in a specific field?
    Thanks for any help you can provide. I oversee over 400 forms and would love to use either or both of the above to provide better forms.

    Hi Nancy,
    I'm work at the company George mentions above (WindJack Solutions) that developed
    AcroDialogs. If you visit our AcroDialog product page at that link, we have a downloadable PDF Demo of an interview type form-filling solution for PDFs using custom dialogs called "Form Wizard Example." Very similar to how TurboTax and other complex forms work by having the user answer questions in panels that then insert the data into the appropriate fields in the form.
    Adobe also has a product in the LiveCycle product line called "Form Guides." If you have Acrobat Professional 8 it is part of the LiveCycle Designer program that comes in the box with Acrobat. The only caveat is that while you can create the form guides in LiveCycle Designer for your form, you must purchase a LiveCycle Server product to deploy them. I'm not sure of the cost, but that line of servers is typically in the many thousands of dollars. You'll need to contact an Adobe sales person for pricing.
    Hope this helps,
    Dimitri Munkirs
    WindJack Solutions
    www.pdfscripting.com
    www.windjack.com

Maybe you are looking for

  • Why can't I connect to my home WiFi network with my new iPad Mini?

    Why can't I connect to my home WiFi network with my new iPad Mini when I can connect to free WiFi networks at cafes and public areas?

  • Export from Outlook 2011 for mac to mac address book

    As I'm not in a corporate setting any longer, and i'd like to simplify, moving all outlook files -- contacts, mail, reminders, all that -- to address book and ical. Is there a simple elegant way to do this?

  • Issue when Bursting to Email in BI Publisher

    We have a requirement in BI Publisher to burst a report to email and to shared folder. We are able to successfully do the same. But we are facing the following issues We need to change the name of the file sent as attachment. When we are bursting to

  • Printing with Hp psc 1110 all-in-one

    Hello, is the first time for me with macbook problem and I hope to find the solution because the question is drive me crazy ... I've tried to install a printer HP psc 1110 all-in-one, but after te installation of driver and software when i start to p

  • How to Integrate Oracle Access Manager 11g with Siebel Call Center 7.8

    I need to change the DB authentication to SSO for Siebel Call Center 7.8. I just found a document about integrationg OAM 10g with Siebel 7 (http://download.oracle.com/docs/cd/B28196_01/idmanage.1014/b25347/siebel.htm#Siebel). However, because it's ma