Using FORM ENDFORM in ABAP OO

Hi,
I wrote the code like this .I am trying to use FORM which is defined in Report programm,But I am always getting error
message "Error at parameter 2 ":what change should i do for this. earlier I used the same code  in ABAP ( not ABAP OO) it was working.
First Programm :
DATA : l_t_OTIFARR TYPE STANDARD TABLE OF /bic/aYO_SID0100,
            w_table_to_be_read(30) type c.
w_table_to_be_read = '/bic/aYO_SID0100'.
  perform READ_ODS in program YBW1_OTIF__SI_INCLUDES
    tables SOURCE_PACKAGE
           l_t_OTIFARR
           using w_table_to_be_read.
****** REPPORT with FORM Definition
REPORT  YBW1_OTIF__SI_INCLUDES.
FORM READ_ODS
     TABLES SOURCE_PACKAGE structure /BIC/CS8YO_IGORD
            l_t_ODS type TABLE
      USING TABLE_TO_BE_READ TYPE C.
  refresh l_t_ODS.
  select * from (TABLE_TO_BE_READ) into table l_t_ODS
     for all entries in SOURCE_PACKAGE
   where /bic/ynv_order = SOURCE_PACKAGE-/bic/ynv_order.
ENDFORM.
Titled modified and code tags added by: kishan P on Oct 22, 2010 10:47 AM

I was wrong about the parameters not working. I didn't spot the TYPE keyword.
I've tested the idea that it's an OO problem, and still can't see that it is. With the following, I get no problem.
data : l_t_otifarr type standard table of t100,
            w_table_to_be_read(30) type c.
data: source_package type standard table of t000.
*       CLASS tst DEFINITION
class tst definition.
  public section.
    class-methods: main.
endclass.                    "tst DEFINITION
*       CLASS tst IMPLEMENTATION
class tst implementation.
  method main.
    select * from t100 up to 10 rows into table l_t_otifarr.
    w_table_to_be_read = 'T100'.
    perform read_ods in program ymabitest1
      tables source_package
             l_t_otifarr
             using w_table_to_be_read.
  endmethod.                    "main
endclass.                    "tst IMPLEMENTATION
start-of-selection.
  tst=>main( ).
YMABITEST1.
*&      Form  READ_ODS
*       text
*      -->SOURCE_PACKAGE    text
*      -->L_T_ODS           text
*      -->TABLE_TO_BE_READ  text
form read_ods
     tables source_package structure t100
            l_t_ods type table
      using table_to_be_read type c.
endform.
Edited by: Matt on Oct 22, 2010 4:57 PM

Similar Messages

  • Sap script - using form-endform

    I have used  follwing code in subroutine,but in quality control this is rejected because  of "structure" keyword.
    FORM  GET_TKNUM   TABLES      CT_INTAB  structure   ITCSY
                                                       CT_OUTTAB structure  ITCSY.
      IF CT_INTAB[] IS NOT INITIAL.
       LOOP AT CT_INTAB INTO LV_INTAB.
          READ TABLE CT_INTAB  INDEX 1.
          CHECK SY-SUBRC = 0.
          MOVE ct_INTAB-VALUE TO LV_REQNO.
          CLEAR CT_INTAB.
       ENDLOOP.
      ENDIF.
    Then i used following code but values are not coming from script.
    FORM SHIP_INFO USING CT_INTAB TYPE TABLE ITCSY
                         CT_OUTTAB TYPE TABLE ITCSY.
      IF CT_INTAB[] IS NOT INITIAL.
        LOOP AT CT_INTAB INTO LV_INTAB.
          READ TABLE CT_INTAB INTO LV_INTAB INDEX 1.
          CHECK SY-SUBRC = 0.
          MOVE LV_INTAB-VALUE TO LV_SHIPNO.
          CLEAR LV_INTAB.
        ENDLOOP.
      ENDIF.
    what is another way to define form?

    Try using 'LIKE'.
    LOOP AT CT_INTAB INTO LV_INTAB.
    ENDLOOP.
    FORM GET_TKNUM TABLES CT_INTAB LIKE ITCSY[]
                          CT_OUTTAB LIKE ITCSY[].
      IF CT_INTAB[] IS NOT INITIAL.
        READ TABLE CT_INTAB INDEX 1.
        CHECK SY-SUBRC = 0.
        MOVE CT_INTAB-VALUE TO LV_REQNO.
        CLEAR CT_INTAB.
      ENDIF.
    ENDFORM
    You may also refer to the below sample code  from ABAP HELP. (I could not find a hyper link to it though)
    TYPES: BEGIN OF FLIGHT_STRUC,
             FLCARRID LIKE SFLIGHT-CARRID,
             PRICE    LIKE  SFLIGHT-FLDATE,
           END   OF FLIGHT_STRUC.
    DATA: MY_FLIGHT TYPE TABLE OF FLIGHT_STRUC,
          IBOOK1    TYPE TABLE OF SBOOK,
          IBOOK2    LIKE TABLE OF IBOOK1,
          STRUC     TYPE SBOOK.
    PERFORM DISPLAY USING MY_FLIGHT IBOOK1 IBOOK2 STRUC.
    FORM DISPLAY USING  P_ITAB  LIKE      MY_FLIGHT[]
                        P_BOOK1 LIKE      IBOOK1[]
                        P_BOOK2 LIKE      IBOOK2[]
                        P_STRU  LIKE      STRUC.
      DATA: L_FLIGHT  LIKE LINE OF P_ITAB,
            L_CARRID  LIKE L_FLIGHT-FLCARRID.
      WRITE: / P_STRU-CARRID, P_STRU-CONNID.
      LOOP AT P_ITAB INTO L_FLIGHT WHERE FLCARRID = L_CARRID.
      ENDLOOP.
    ENDFORM.

  • Is it possible to use Adobe Interactive Forms in SAP (ABAP) Trial Version?

    Dear All,
    i need some help concerning the usage of Adobe Interactive Forms in SAP (ABAP) Trial Version.
    I installed SAP Netweaver 7.01 (ABAP Trial Version) and i would like to use the Adobe Interactive Form editor (transaction SFP). Is this trial version prepared for this? Is it possible to edit and test Interactive Forms in the ABAP Trial Version too?
    Somebody told me that he installed Adobe Lifecycle Designer 7.1 but the layout manager part of the editor shortdumped when he wanted to go back to other  parts of the editor or he wanted to save what he did...
    Is it enough to install Adobe Lifecycle Designer 7.1? Is there something else to install or configure?
    Thank you for your help in advance.
    All the best, P. Phil.

    Yes, you need the lifecycle designer installed.  That should be enough to work with the SFP transaction.  But to actually use the form, I think you do need the ADS(Adobe Document Services) which runs on the java stack.
    Regards,
    Rich Heilman

  • Can we create Interactive forms only with ABAP & without using GP,  or Java

    Hi,
    I would like to know if we can create Interactive forms only with ABAP & without using GP or Java. We want to develop an offline solution using Interactive forms, but would like to use only ABAP for creating the forms. All the documents so far either refer to creating the forms, in reference to / in sync with: ISR (Service Requests), GP (General Procedures) or Java. Can this be done with ABAP alone?
    Regards,
    Ramesh
    Edited by: Ramesh Nallabelli on Apr 16, 2008 12:02 AM

    Hello Ramesh,
    You should be able to create Adobe Interactive Forms using only the ABAP stack (without GP, Java, etc). Please refer to the thread below. Hope it helps.
    Re: help for-offline interactive forms based on sending receiving mails in ABAP
    Regards,
    Rao

  • Using Interactive forms in Webdynpro Abap

    Hi all,
    I need to learn using Interactive forms in Webdynpro Abap. Can any please tell me from where to start with and what are the things that needs to be installed extra in the client system.
    Also please tell me where i can get the tutorials on it..
    Thanks,

    Hi,
    try this.
    You can download the Adobe LiveCycle Designer installer from SAP Service
    Marketplace:                                                                               
    http://service.sap.com/installations                                                                               
    Entry by Application Group                                              
    -> SAP NetWeaver                                                        
    -> SAP NETWEAVER                                                        
    -> SAP NETWEAVER 2004S                                                  
    -> Installation and Upgrade                                             
    -> <Choose any OS and DB combination.>                                  
    -> Adobe LiveCycle Designer 7.1                                                                               
    Download this file and extract it to your local hard drive.             
    Regards, Heidi
    PS: See <a href="https://service.sap.com/sap/support/notes/962763">note 962763</a>
    Message was edited by:
            Heidi von Geisau

  • Logical databse call using FM LDB_PROCESS in ABAP WD

    hi
    i want to use LDB in a webdynpro application to read the data. i came to know that we can use LDB_PROCESS FM to achieve this.  we need to pass callback routines to this FM. as we can not write subroutines in ABAP OO, how do i do this. do i need a wrapper FM around LDB_PROCESS and call that in turn in the webdynpro method or is there any better way to do that.
    thanksl
    Edited by: sudhakar murthy on Oct 20, 2009 4:10 PM

    hi
    if you go through that help link you will find an example at the bottom where we need define some call back routines using FORM and ENDFORM. I can not do that in ABAP WD as WD is based on ABAP OO.
    thanks

  • Form - Perform and ABAP coding

    Hi:
    I have a requirement to get vendor address from database and print on the form. I could print only one field only Name1, but not details like Street or country Etc are not getting printed. Even if we pass multiple variables as input and putput variables using perform of form, I think we need to declare only one input as INTTAB  STRUCTURE ITCSY and one out put variable as OUTTAB  STRUCTURE ITCSY in the ABAP program. In the program I am using Index option like 1, 2 and modifying details of OUTTAB. Is it correct?.
    Still I am unable to print complete address on the form.
    For this I am unsing Perfom option in the form.
    Can you please help in the following:
    1) Can I pass one value vendor from form using perform and get back a structure from ABAP program?.
    2) I am using following:
             DEFINE &VENDOR_NAME& = ' '
             DEFINE &VENDOR_STREET& = ' '
             PERFORM GET_DATA IN PROGRAM Z_TEST
                       USING &VENDOR_NO&
                       CHANGING &VENDOR_NAME&
                       CHANGING &VENDOR_STREET&
             ENDPERFORM.
    For Printing I am using inthe form
                        &VENDOR_NAME&
                        &VENDOR_STREET&
    In the ABAP program I am using
    FORM GET_DATA TABLES INTTAB  STRUCTURE ITCSY
                         OUTTAB1 STRUCTURE ITCSY.
      IF SY-SUBRC EQ 0.
        SELECT SINGLE NAME1 STR_SUPPL1
           FROM ADRC
           INTO (V_NAME1,V_STR_SUPPL1)
           WHERE ADDRNUMBER = V_ADRNR.
        IF SY-SUBRC EQ 0.
    *- Name1
          READ TABLE OUTTAB1 INDEX 1.
          MOVE V_NAME1 TO OUTTAB1-VALUE.
          MODIFY OUTTAB1 INDEX SY-TABIX.
    *- Street
          READ TABLE OUTTAB1 INDEX 2.
          MOVE V_STR_SUPPL1 TO OUTTAB1-VALUE.
          MODIFY OUTTAB1 INDEX SY-TABIX.
      ENDIF.
    Can you please check above code and let me know if I am doing mistake anywhere?..like passing variables, printing variables on the form and ABAP sub-routine etc.
    Please do not copye again same code what is find in SAP ABAP help.
    Thanks in advance for your help.
    Thanks,
    Rama

    Naren:
    Your code did not work...
    Sorry I did not paste my complete code(when I posted message )as too much code might be confusing. Please find my code below:
    FORM GET_DATA TABLES INTTAB  STRUCTURE ITCSY
                         OUTTAB1 STRUCTURE ITCSY.
      DATA: V_ADRNR          LIKE LFA1-ADRNR,
                V_NAME1          LIKE ADRC-NAME1,
                V_STR_SUPPL1 LIKE ADRC-STR_SUPPL1,
                V_LIFNR             LIKE LFA1-LIFNR.
      READ TABLE INTTAB INDEX 1.
      V_LIFNR =  INTTAB-VALUE.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = V_LIFNR
        IMPORTING
          OUTPUT = V_LIFNR.
      SELECT SINGLE ADRNR
        INTO V_ADRNR
        FROM LFA1
         WHERE LIFNR = V_LIFNR.
      IF SY-SUBRC EQ 0.
        SELECT SINGLE NAME1 STR_SUPPL1
           FROM ADRC
           INTO (V_NAME1,V_STR_SUPPL1)
           WHERE ADDRNUMBER = V_ADRNR.
        IF SY-SUBRC EQ 0.
    *- Name1
          READ TABLE OUTTAB1 INDEX 1.
          MOVE V_NAME1 TO OUTTAB1-VALUE.
          MODIFY OUTTAB1 INDEX SY-TABIX.
    *- Name1
          READ TABLE OUTTAB1 INDEX 2.
          MOVE V_STR_SUPPL1 TO OUTTAB1-VALUE.
          APPEND OUTTAB1.
        ELSE.
          READ TABLE OUTTAB1 INDEX 1.
          MOVE 'NO NAME' TO OUTTAB1-VALUE.
          MODIFY OUTTAB1 INDEX SY-TABIX.
        ENDIF.
      ENDIF.
    ENDFORM.
    I am not sure where the mistake can be in the SAP-Form or in the ABAP Subroutine code....
    Thanks,
    Rama

  • Uploading data from Interactive form in Webdynpro ABAP

    Hello All,
    I am uploading data from an Offline interactive form to an ABAP WebDynpro application. Form is first downloaded, data is filled and now I am trying to upload the form to another WebDynpro application. Form DataSource is mapped to Context node with same data structure. However when I upload the form, form data does not pass automatically to specified context node.
    Do I miss any important step in between? I am on SAP NetWeaver 2004s SP10.
    Thanks,
    Nitesh Shelar.

    hi,
    the data is automatically passed to the context when the "interactive form" UI element is there in the view.
    when you just upload the pdf, just like that, it will treat it like a PDF file, not an interactive form....
    try using the same interactive form which you used to create the offline form.
    i hope this helps,
    regards,
    -ag.

  • To integrate the Adobe form in webdynpro ABAP

    Hi Experts,
                    How to use the adobe form in Webdynpro ABAP?
    Thanks & regads
        Vino

    That is quite the general question and I think if you search SCN you will find many resources - such as videos, tutorials, how-to guides, documentation - on the subject.  Perhaps just starting with the online Help and the associated links form the help article will get you started:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0f/128841e8231709e10000000a155106/frameset.htm

  • 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....

  • How can we create forms in hr abap?

    like in abap scripts,
    how can we create the forms in Hr abap..?
    what is the Tcode for that..?
    regards
    satish.v

    Hi,
    We have different types of forms...
    one type form can be designed using transaction PE51 .....ABAP code cannot be written.
    HRFORMS is the tcode for another set of forms. Mostly Smartforms are associated with these forms. Standard forms can be copied into customized forms and can proceed with customization. This is because standard forms get the data into internal tables which can be used in smartforms to display.
    Apart from these, similar to ABAP, Smartforms and SAPScripts can be used to develop any custom forms.
    Hope this helps.
    Thanks,
    Haritha

  • Difference between pdfsource & datasource in adobe forms - web dynpro abap

    Friends,
    Please let me know the difference between the adobe form attributes pdfsource and datasource, when used in Web Dynpro ABAP. What is the significance of specifying both and the difference between them.
    Points will be rewarded for helpful answers.
    Thanks.

    Hi,
    Pdfsource is a attribute defined to read the form. Suppose in an Application you need to read values from fields on the pdf form. In that case you give an attribute as a pdfsource which will contain all the data in XML format. You can read these values and assign to different data node. normally its helpful in reading offline forms.
    Datasource is a node containing one or many attributes which stores data at runtime. The fields on the interactive forms are bound to these attributes. When you give a context node as data source to the interactive form then it appears in the designer on the left handside in the data view. From there you can bind the fields on the form to the attributes in the context node.
    The difference between both is that a pdfsource is used to read the complete form in XML format with all the fields on it while the data source is used to transfer data from context to the fields on the form. Note that the datasource contains a node with multiple or single attribute and a field on the form can be bound to a single attribute.
    I hope it clears all your doubts.
    Regards,
    Vaibhav Tiwari.

  • Interactive form sample code(ABAP)

    I make an ABAP program using form FP_EXAMPLE_01 folowing training document "Printing Forms with Interactive Forms Based on Adobe Software" . But it can not run.
    I am new in Interactive form. Can you help me a full code sample to run this form FP_EXAMPLE_01, please.

    Error in adobe form
    check this.
    look at the Adobe page here in SDN:
    Use the Tcode : SFP
    https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm
    Check these links on Adobe forms
    http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/content.htm
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    http://www.sap.com/solutions/solutionextensions/pdf/BWP_Interactive_Forms_Adobe.pdf
    It contains lots of useful information, documentation, and e-learning materials teaching you the basics.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
    follow these links.
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    http://www.sapfinug.fi/downloads/2006/seminaari/uudet/SAP_Adobe.pdf
    https://weblogs.sdn.sap.com/weblogs/topic/45?x-o=50
    Interactive Forms based on Adobe software is SAP's new solution for forms development. Its first release has the focus on interactive use of forms. High-volume printing is supported in principle, but - being a new solution - the performance has not yet reached the same level as Smart Forms or SAPscript, two established solutions that had years to grow. Interactive Forms is the only solution that will continue to be enhanced with new features, while SAPscript and Smart Forms will be supported without limitations.
    When (or if) to move to Interactive Forms depends on your requirements. For interactive forms usage, i.e. the new functions, you have no choice, as the existing solutions don't support it. High-volume print scenarios need to be carefully analyzed to see whether your concrete requirements can be met at this point.
    However, it is possible to move to Smart Forms and design your forms in such a way that a migration at any point in the future would be but a small step. Smart Forms offers from Web AS 6.40 a migration wizard to Interactive Forms. Technically, everything can be migrated, but we recommend against things like ABAP program nodes, for example.
    You are not forced to ever go to Interactive Forms if you don't want to. It really depends on whether your client needs any of the new features in Interactive Forms. Also, if they are currently working with JetForms, they could enquire with Adobe directly what migration path they offer to the joint solution.
    go thru this links
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm
    example
    To get an overview idea about Adobe forms ,
    Using SFP Tcode , first you need to create a interface . in interface you can declare the import and export parameters and also the declaration part, coding etc : This is nothing but similar to Function module interface.
    And now we have to create the Form which is interactive. Create the form and enter the interface name which you have created in first step, so that the parameters , declarations of fields etc : will be copied and available in the form layout. So that you can drag and drop these declared fields ( dclared fields of interface ) to the layout.
    Create the context and layout in the form.
    The layout generated can be previewed and saved as PDF output.
    Now we need to integrate the driver program and the PDF form to get the final output as per the requirement.
    On activating and executing the form you will get a function module name just similar to smartforms.
    The driver program needs to call this FM.
    Refer to the below sample code :
    DATA : is_customer TYPE scustom.
    DATA : it_bookings TYPE ty_bookings.
    DATA : iv_image_url TYPE string.
    DATA : iv_sending_country TYPE adrc-country.
    DATA : it_sums TYPE TABLE OF flprice_t.
    DATA : docparams TYPE sfpdocparams.
    DATA : formoutput TYPE fpformoutput.
    DATA : outputparams TYPE sfpoutputparams.
    PARAMETERS : pa_cusid TYPE scustom-id.
    SELECT SINGLE * FROM scustom INTO is_customer
    WHERE id = pa_cusid.
    SELECT * FROM sbook
    INTO CORRESPONDING FIELDS OF TABLE it_bookings
    WHERE customid = pa_cusid.
    outputparams-nodialog = 'X'.
    outputparams-getpdf = 'X'.
    *outputparams-adstrlevel = '02'.
    CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
    ie_outputparams = outputparams
    EXCEPTIONS
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    OTHERS = 5.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    docparams-langu = 'E'.
    docparams-country = 'US'.
    docparams-fillable = 'X'.
    CALL FUNCTION '/1BCDWB/SM00000043'
    EXPORTING
    /1bcdwb/docparams = docparams
    is_customer = is_customer
    it_bookings = it_bookings
    IV_IMAGE_URL =
    iv_sending_country = 'US'
    IT_SUMS =
    IMPORTING
    /1bcdwb/formoutput = formoutput
    EXCEPTIONS
    usage_error = 1
    system_error = 2
    internal_error = 3
    OTHERS = 4
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION 'FP_JOB_CLOSE'
    IMPORTING
    E_RESULT =
    EXCEPTIONS
    usage_error = 1
    system_error = 2
    internal_error = 3
    OTHERS = 4
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Plzz reward if it is useful

  • Validating Input fields in Interactive Adobe Forms with Webdynpro ABAP

    Dear Friends,
    Am new to Interactive Adobe forms with Webdynpro Abap,
    My scenario is, I have few Input fields, i need to handle the Messages when am not entering values in any of the Input Field,
    and raise the message when i click on Save Button.
    I have tried with setting the field as Required in Form itself, but i can't set the Field as Mandatory.
    I don't know how to do, Please give some needed points, as well needed some Script/Formcalc code.
    Thanks,
    Pradeep.

    Hi Pradeep,
    You can validate the fields by using javascript/formcalc logic in onclick event of button.
    Please refer the below links
    Adobe Form -How to make an Input Field Mandatory
    Validate Intercive Adobe Form
    Hope it helps you.
    Regards,
    Rama

Maybe you are looking for

  • How to add a table in the header section

    I would like it to look similar to this: I would like for this to show on each page of the document.  This would be a multi-page standalone document.

  • Automation using perl?

    Hi All, We have a test automation framework build using perl. We want to automate a flex application and want to integrate it with this perl based framework. We cannot recompile the source code of this flex application. We can automate flex applicati

  • Help - Outlook Client Crashing

    Appologies if this has appeared before, but I am not an expert at using these forums. My Outlook (2003, all service packs), on XP Pro (all service packs), is crashing after about 6 or seven hours after the desktop redirector is activated. It might tr

  • ECC Install

    Hello all, The goal is only to install ECC 6.0 coding (i.e. ECC 6.0 IDES -but - without all of the default data). I run sapinst from 510335511_8 BS2005 SR3 Installation Master Linux x86 64 Then, I choose: ERP 6.0 Support Release 3 -> SAP Systems -> O

  • Configure FAX in cme

    Hi all I have cme 2921 router and 4-port FXO possible the configure FAX in fxo port ? I need purchase FXS card or ATM my cme version 9.0 Thanks