Help in Sap script(se71)

Hi
i Wan to know if i have Z-layout how i can know from which standard program it copy
Thanks
Have a nice day

Hi,
After creating a Z from a standard user can modify everything including description of the script / program. So there is not such direct way to determine that.
For scipts maybe u can try to look into T-code NACE and see related scripts.
Also, TNAPR table can be used.
Regards,
Vivek

Similar Messages

  • Hi all....... help in SAP SCRIPTS

    pls help me out and tel me how to work with SAP SCRIPTS
    i want complete detailed procedure for it

    Hi Deepthi,
    Sap Scripts can be created using the transaction code SE71.The Layout set consist of different elements like Pages, Windows, Page Windows, Character String and Paragraph. The contents to be displayed in the window are written in text elements. The Driver program should be created in SE38.The components of the driver program are
    Table Statements- Here you will declare the table name from where the data has to be brought in.
    Data Statements- Here you can declare the variables or the internal tables that you may use
    Select Statements- After declaring the variables, internal table you use the select statement to select the required data from the table
    Open_Form- After selecting the data you open the layout set in which you want to display the data. In the Open_Form Function you mention the layout set name open.
    Write_Form- then you display the data in the layout set using the Write_Form function. Here you specify the Element Name and the window in which you display the data.
    Close_Form- After displaying/Printing the Data you close the form. i.e. the layout set using the close form Function.
    You can check this link to develop a simple sap script.
    http://www.thespot4sap.com/articles/SAPscript_Introduction.asp
    http://sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
    Reward points if it is useful.
    Thanks,
    Geeta

  • Step by step procedure to design  a form using SAP Scripts (SE71)

    Hello Experts, I am new to SAP Scripts ...I am interested to learn SAP Scripts,
    Please help me out to learn SAP Scripts  by giving some example codes.
    Thanks and Regards,
    Shaik.

    check the following link for the same.
    SAP Script, Change form , SE71
    Regards,
    Gauravjit
    Reward points if the link is helpful

  • Help regarding SAP SCRIPT

    Hi!
      can any one help me regarding SAP SCRIPT. i unable to write a print program for sap script . can any one can send me sample code using ITCSY structure.
    Thanks in advance.
    Thanks & Regads,
    DurgaPrasad.k

    Hi,
    refer this to write print program:
    <b>The Print Program</b>
    Structure of a print program
    OPEN_FORM function
    CLOSE_FORM function
    WRITE_FORM
    START_FORM function
    END_FORM function
    CONTROL_FORM function
    The print program is used to print forms. The program retieves the necesary data from datbase
    tables, defines the order of in which text elements are printed, chooses a form for printing and
    selects an output device and print options.
    <b>Function modules in a printprogram:</b>
    When you print a form you must used the staments OPEN_FORM and CLOSE_FORM. To combine
    forms into a single spool request use START_FORM and END_FORM.
    To print textelements in a form use WRITE_FORM. The order in which the textelements are printed,
    is determined by the order of the WRITE_FORM statements. Note: for printing lines in the body, you
    can also use the WRITE_FORM_LINES function module.
    To transfer control command to a form use CONTROL_FORM.
    <b>Structure of a print program</b>
    Read data
    Tables: xxx.
    SELECT *
    FROM xxx.
    Open form printing - Must be called before working with any of the other form function modules.
    Must be ended with function module CLOSE FORM
    call function 'OPEN_FORM'.....
    To begin several indentical forms containing different data within a single spool request, begin each
    form using START_FORM, and end it using END_FORM
    call funtion 'START_FORM'.....
    Write text elements to a window of the form
    call function 'WRITE_FORM'.....
    Ends spool request started with START_FORM
    call funtion 'END_FORM'.....
    Closes form printing
    call function 'CLOSE_FORM'...
    OPEN_FORM function
    Syntax:
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
      APPLICATION                       = 'TX'
      ARCHIVE_INDEX                     =
      ARCHIVE_PARAMS                    =
      DEVICE                            = 'PRINTER'
      DIALOG                            = 'X'
      FORM                              = ' '
      LANGUAGE                          = SY-LANGU
      OPTIONS                           =
      MAIL_SENDER                       =
      MAIL_RECIPIENT                    =
      MAIL_APPL_OBJECT                  =
      RAW_DATA_INTERFACE                = '*'
    IMPORTING
      LANGUAGE                          =
      NEW_ARCHIVE_PARAMS                =
      RESULT                            =
    EXCEPTIONS
      CANCELED                          = 1
      DEVICE                            = 2
      FORM                              = 3
      OPTIONS                           = 4
      UNCLOSED                          = 5
      MAIL_OPTIONS                      = 6
      ARCHIVE_ERROR                     = 7
      INVALID_FAX_NUMBER                = 8
      MORE_PARAMS_NEEDED_IN_BATCH       = 9
      SPOOL_ERROR                       = 10
      OTHERS                            = 11
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    <b>Some important parameters:</b>
    FORM Name of the form
    DEVICE PRINTER : Print output using spool
    TELEFAX: Fax output
    SCREEN: Output to screen
    OPTIONS Used to control attrubutes for printing or faxing (Number of copies, immediate output....
    The input for the parameter is structure ITCPO.
    CLOSE_FORM function
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
    TABLES
      OTFDATA                        =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SEND_ERROR                     = 3
      SPOOL_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.
    Paramerters:
    RESULT Returns status information and print/fax parameters after the form has been printed.
    RESULT is of structure ITCPP.
    WRITE_FORM function
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
      ELEMENT                        = ' '
      FUNCTION                       = 'SET'
      TYPE                           = 'BODY'
      WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      OTHERS                         = 9
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Some important parameters:
    ELEMENT Specifies which textelement is printed
    WINDOW Specifies which window is printed
    TYPE Specifies the output area of the main window. This can be:
    TOP - Used for headers
    BODY
    BOTTOM - Used for footers
    FUNCTION Specifies whether text is to be appended, replaced or added
    Example of how to use the WRITE_FORM function module together with a script.
    Form layout of the MAIN window
    /E INTRODUCTION
    Dear Customer
    /E ITEM_HEADER
    IH Carrier, Departure
    /E ITEM_LINE
    IL &SBOOK-CARRID&, &SPFLI-DEPTIME&
    /E CLOSING_REMARK
    <b>The print program</b>
    Writing INTRODUCTION
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT                  = 'INTRODUCTION'
    FUNCTION                 = 'SET'
    TYPE                     = 'BODY'
    WINDOW                   = 'MAIN'
    EXCEPTIONS
    OTHERS                   = 8
    Writing ITEM_HEADER
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT                  = 'ITEM_HEADER'
    FUNCTION                 = 'SET'
    TYPE                     = 'BODY'
    WINDOW                   = 'MAIN'
    EXCEPTIONS
    OTHERS                   = 8
    Set ITEM_HEADER into TOP area of main window for subsequent pages
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT                  = 'ITEM_HEADER'
    FUNCTION                 = 'SET'
    TYPE                     = 'TOP'
    WINDOW                   = 'MAIN'
    EXCEPTIONS
    OTHERS                   = 8
    Write ITEM_LINE
    LOOP AT .....
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT               = 'ITEM_LINE'
    FUNCTION              = 'SET'
    TYPE                  = 'BODY'
    WINDOW                = 'MAIN'
    EXCEPTIONS
    OTHERS                 = 8.
    ENDLOOP.
    Delete ITEM_HEADER from TOP area of main window
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT                  = 'ITEM_HEADER'
    FUNCTION                 = 'DELETE'
    TYPE                     = 'TOP'
    WINDOW                   = 'MAIN'
    EXCEPTIONS
    OTHERS                    = 8
    Print CLOSING_REMARK
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT                  = 'CLOSING_REMARK'
    FUNCTION                 = 'SET'
    TYPE                          = 'BODY'
    WINDOW                   = 'MAIN'
    EXCEPTIONS
    OTHERS                    = 8
    START_FORM function
    CALL FUNCTION 'START_FORM'
    EXPORTING
      ARCHIVE_INDEX          =
      FORM                   = ' '
      LANGUAGE               = ' '
      STARTPAGE              = ' '
      PROGRAM                = ' '
      MAIL_APPL_OBJECT       =
    IMPORTING
      LANGUAGE               =
    EXCEPTIONS
      FORM                   = 1
      FORMAT                 = 2
      UNENDED                = 3
      UNOPENED               = 4
      UNUSED                 = 5
      SPOOL_ERROR            = 6
      OTHERS                 = 7
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    END_FORM function
    CALL FUNCTION 'END_FORM'
      RESULT                         =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SPOOL_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.
    CONTROL_FORM function
    The CONTROL_FORM function module alows you to create SapScript control statements from within
    an APAB program.
    Syntax:
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    command         =
    EXCEPTIONS
      UNOPENED        = 1
      UNSTARTED       = 2
      OTHERS          = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Example:
    Protecting the text element ITEM_LINE
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    COMMAND = 'PROTECT'.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    TEXELEMENT = 'ITEM_LINE'.
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    COMMAND = 'ENDPROTECT'.
    rgds,
    latheesh
    Message was edited by: Latheesh Kaduthara

  • Need help in sap script

    Hi,
    I have just now started to learn sap script.I want to know good book to learn sap script.If possible send some sample programs.
    thanks in advance.

    Simple SAP script code:
    Driver program:
    *& Report  ZMADHU_PROGRAM                                              *
    REPORT  ZMADHU_PROGRAM.
    DATA: I_EKPO TYPE STANDARD TABLE OF EKPO WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001..
    PARAMETERS: P_EBELN LIKE EKPO-EBELN.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECT * FROM EKPO
    INTO CORRESPONDING FIELDS OF TABLE I_EKPO
    WHERE EBELN = P_EBELN.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
      APPLICATION                       = 'TX'
      ARCHIVE_INDEX                     =
      ARCHIVE_PARAMS                    =
      DEVICE                            = 'PRINTER'
      DIALOG                            = 'X'
       FORM                              = 'ZMADHU'
       LANGUAGE                          = SY-LANGU
      OPTIONS                           =
      MAIL_SENDER                       =
      MAIL_RECIPIENT                    =
      MAIL_APPL_OBJECT                  =
      RAW_DATA_INTERFACE                = '*'
    IMPORTING
      LANGUAGE                          =
      NEW_ARCHIVE_PARAMS                =
      RESULT                            =
    EXCEPTIONS
      CANCELED                          = 1
      DEVICE                            = 2
      FORM                              = 3
      OPTIONS                           = 4
      UNCLOSED                          = 5
      MAIL_OPTIONS                      = 6
      ARCHIVE_ERROR                     = 7
      INVALID_FAX_NUMBER                = 8
      MORE_PARAMS_NEEDED_IN_BATCH       = 9
      SPOOL_ERROR                       = 10
      CODEPAGE                          = 11
      OTHERS                            = 12
    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 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'HEADING'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      CODEPAGE                       = 9
      OTHERS                         = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT i_ekpo.
    *v_count1 = v_count1 +
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'ITEMS'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      CODEPAGE                       = 9
      OTHERS                         = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
    TABLES
      OTFDATA                        =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SEND_ERROR                     = 3
      SPOOL_ERROR                    = 4
      CODEPAGE                       = 5
      OTHERS                         = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    SAP Script:
    create the window main with two with appropriate size.
    in the text include following lines.
    /E HEADING
       Items     Item Description     Net Price
    /E ITEM
      &i_ekpo-ebelp&,,&i_ekpo-txz01&,,&i_ekpo-NETPR&
    AND activate both driver prg and script.
    execute the driver program

  • Sap script - se71 - change in form

    Hi I tried to change as below but it giving me error as below. please provide me the solution.
    change Code in script:
    /: DEFINE V_QMATA.
    /: PERFORM GET_QMATA IN PROGRAM ZRVADEK01 USING &VBLKP-MATNR&
    /: USING &VBLKP-WERKS&
    /: CHANGING &V_QMATA&.
    /: ENDPERFORM.
    /: IF &V_QMATA& EQ 'Z0001'.
    /E
    /: ENDIF.
    Error when i syntex check for sap script:
    ( Check by Go to text -> check)
    Symbol expected
    Too many parameters
    Code in Calling program ( This program is my printing program)
    form get_qmata TABLES fp_it_intab STRUCTURE itcsy
    fp_it_intabb structure itcsy
    fp_it_outtab STRUCTURE itcsy.
    data : v_matnr like marc-matnr,
    v_werks like marc-werks,
    v_qmata like marc-qmata.
    READ TABLE fp_it_intab INDEX 1.
    CHECK sy-subrc EQ 0.
    MOVE fp_it_intab-value TO v_matnr.
    READ TABLE fp_it_intabb INDEX 1.
    CHECK sy-subrc EQ 0.
    MOVE fp_it_intabb-value TO v_werks.
    select single qmata from marc into v_qmata where matnr = v_matnr
    and werks = v_werks. .
    READ TABLE fp_it_outtab INDEX 1.
    CHECK sy-subrc EQ 0.
    READ TABLE fp_it_outtab INTO wa_outtab WITH KEY name = 'I_QMATA'
    BINARY SEARCH.
    IF sy-subrc EQ 0.
    wa_outtab-value = v_qmata.
    move v_qmata to fp_it_outtab-value.
    MODIFY fp_it_outtab INDEX sy-tabix transporting value.
    ENDIF.
    endif.
    endform.

    hi
    chk this
    /: DEFINE V_QMATA.
    /: PERFORM GET_QMATA IN PROGRAM ZRVADEK01
    /: USING &VBLKP-MATNR&
    /: USING &VBLKP-WERKS&
    /: CHANGING &V_QMATA&.
    /: ENDPERFORM.
    /: IF &V_QMATA& EQ 'Z0001'.
    /E
    /: ENDIF.
    FORM GET_QMATA TABLES input  STRUCTURE itcsy
                                           output STRUCTURE itcsy.
    endform.
    regard
    nawa

  • Sap scripts se71 symbols

    Hi Guys,
    I would like to ask how the Program Symbols work.
    E.g. I have a symbol 'XADR-FAX_number' but no table or structure 'XADR' exist in the system. How can I find out from where the script takes the value for this symbol?
    Many thanks,
    Jan

    Standard symbols are stores in the table  TTDTG (SAPscript: Standard Symbols for Word Processing)
    Chk this help for more details.
    http://help.sap.com/saphelp_40b/helpdata/pt/d1/8033c3454211d189710000e8322d00/content.htm

  • Help on SAP script

    hi,
    I was trying script program for single page. so when I am calling the function 'open_form' ...i mean when i double clicked on it....i was taken to the module page....but i was not able to change the exporting parameters...though I know what to change....also i cudn't get the module code in the program....
    **it's like I am kinda stuck after going to the module page.....can someone tell me what am I supposed to do after that.......

    hi singh,
    i guess u have to read it properly.....i am not trying to change anything....trying to learn writing a script program....I have already learnt ABAP...but kinda had a long break...so I almost forgot most of it....trying to recollect it.....and as a process I am getting stuck...
    and Yes.....If I know everything in ABAP I don't need to register in the forum....
    Mr.sanjeev singh......if possible try to help me learning it......but never discourage me

  • Help in sap script

    Highlighted LLC text should come exactly below KOENIGSDROS....
    how to do it....also attaching the script code in  other sshot...
    Plz help...

    Hi DARSHAN panchal,
    continous text always starts at the start of the window and ends at the end of the window. If the text is too long for 1 line, it will start in the next line at the start of the window.
    so wether redesign your windows, by outsorcing your leading text into a seperate window. Or split your variable so it does not extend your window-size
    if &GC_ADDRNAME2(40)& <> ''.
    ,, &GC_ADDRNAME2(40)&
    endif.
    if &GC_ADDRNAME2+40(10)& <> ''.
    ,,&GC_ADDRNAME2+40(10)&
    endif.
    regards
    Stefan Seeburger

  • Reg : modification in sap script driver prog

    Hi folks,
    need some help regarding sap scripts
    i havecopied the standard layout medruck to my layout
    and made some changes.
    now i have to modify the driver program
    in the tnapr table the driver prog for medruck is
    given as sapfm06p
    but when i see the source code for that in the
    editor
    evrthing is like included functions there
    in the incuded there is a form named with "entry_neu"
    which has some code calling few functions
    but...
    there is no openform,no write form etc.
    where should i give the name of the form name that i have
    i have developed(changes made to the copy of the medruck)
    where should i make the changes in the prog
    how about going at modifying the driver program
    do i have to assign the o/p type using the tcode nace.
    please give me the steps
    please treat it as very urgent
    expecting a promt responses from u
    thanks & regards,
    annamreddy

    We modified the driver program because there was a requirement to add stuff that was not available in the standard driver program.  Here is what we did.
    First,  Copied the SAPFM06P program to SAPFZM06P.  Did not copy all of the includes. Copied only the FM06PE02 include program to ZFM06PE02.
    Second,  in the include ZFM06PE02,   there is a form call ENTRY_NEU,  this is the entry point to print the form, notice that there is a function module in this form called ME_PRINT_PO.  This is the function module that will print the PO.  Eventually, you will want to call a Z version of that funciton module.
    Third,  copy the entire funtion group MEDRUCK into ZMEDRUCK.  This is the function group which has the function module ME_PRINT_PO.  Don't copy the includes into Z versions.  You don't need to modify all of them.  Only copy them when needed.  Save and Activate.
    Finally,  go back to that include program ZFM06PE02,  now make the call to ME_PRINT_PO to the Z version, in my case it is ZME_PRINT_PO.  Save and activate.
    Make sure that you change your configuration in SPRO to use the SAPFZM06P program instead of the standard.  Now your form should be printing from the custom driver program.  Modify away!!!!
    Please don't forget to award points for helpful answers.  Thanks.
    Regards,
    Rich Heilman

  • SAP Script Translation

    Hi All,
            Need help in SAP Script translation.
    I have to change some hardcoded text from one language to another language.
    I went to SE63 and changed the text, but the changes are not added into transport request.
    Is there anyway to include the changes into the transport request? Please reply back...

    Hi,
    Other way would be to create a new request all together for the form. SE03----->Include object in tran req..Write click... execute. Click radiobutton Selected Objects. Add a new line at the bottim. FORM give form name in front of it. Tick the sequare box. F8. Click on Save in req.
    Transport this request.
    Reagards
    Raju Chitale

  • SCRIPT SE71

    Sir,
    MY client want to convert SAP-SCRIPT ( SE71 ) out put directly in PDF format. He don't want to use standard program
    RSTXPDFT4 for PDF.  AND through that he want to send E-Mail in PDF format.
    Thanks & Regards,
    Manoj Pise.

    Hello,
    Once it is converted to OTF (as per the previous attachment), you can call the function module u2013 u2018SO_DOCUMENT_SEND_API1u2019 to send the OTF as pdf attachment via mail.
    Refer the below WIKI to get more idea on the function module if you are not much comfortable:
    http://wiki.sdn.sap.com/wiki/display/ABAP/SendingMails-HomePage
    Regards,
    Selva K.

  • Help needed in SAP Scripts

    Hello all,
    I am trying to learn SAP Scripts. I have created one form named as 'zfm1' using SE71.
    Using SE 38 I have created a PRINT PROGRAM also which contains FM's like Open_form,Start_form,Write_form etc. When activated it is not displaying any error.
    But in o/p it is asking for a device and by def.it is showing LP01 in o/p device.
    Can anybody please guide me in this ahead?
    How can I see the Windows created by me?
    Thanks and regards,
    Harish

    hi,
    just give device as LP01 and press print preview.

  • Not able to edit my Sap script form using se71 ?

    I have been working on SAP Script say ZKI_FORM using se71 in polish language.
    Today When I try to make changes as usual, it is not allowing me to go into change mode . It is giving Error in object Editing like below.
    " Changes to Repository or cross-client Customizing are not permitted
    Choose 'Display object' or 'Cancel'. "
    My functional consultant doesn't know why it is happened like that ? Even my team lead doesn't know this.
    COULD ANY BODY PLEASE SUGGEST HOE TO GO TO CHANGE MODE OF THE SCRIPT FORM AND MAKE MY CHANGES  ?
    THANKS IN ADVANCE .

    hi
    Give the form name ..
    menuiten--> utilities --> convert original language
    Step by step for copying form.
    give the standard form name in SE71 and language as DE
    click create.
    popup come... check radibutton copy from original..
    given the zformname and green check.
    save it and back.
    give the zformname again and language DE and click change..
    go to menuitem Utilities --> Convert original language
    give new language to EN.. green check..
    SAve and BACK.
    give zformname and language as EN and change..
    there u can do all modifications..
    Or use SE76 give formname and source language and target language...
    then change and press SAVE.
    Regards
    SAB

  • Please help for using perform in SAP script

    As subject.
    My sap script code as below:
    /: PERFORM GET_CHAMT_DATE IN PROGRAM ZRAP004
    /:USING    &SPELL-WORD&
    /:CHANGING &SPELL-WORD&
    /:ENDPERFORM
    My program ZRAP004 code as below:
    FORM get_chamt_date USING u_iword TYPE spell-word
                       CHANGING u_oword TYPE spell-word.
    CONCATENATE u_iword '&#20803;&#25972;'(t01) INTO u_oword.
    endform.
    This form is for check printing.
    It's by standard function 'F110' to excute check printing.
    But when i finished this transaction. System return error message as below:
    <b>This routine contains 2 formal parameters, but the current call
    contains 4 actual parameters.</b>
    Please help. Thanks a lot!!

    Hiii
    PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
    /:USING &EKKO-EBELN&
    /:CHANGING &CDECENT&
    /:ENDPERFORM
    The report :
    REPORT zkrpmm_perform_z1medruck .
    DATA : BEGIN OF it_input_table OCCURS 10.
           INCLUDE STRUCTURE itcsy.
    DATA : END OF it_input_table.
    déclaration de la table output_table contenant les
    variables exportées
    DATA : BEGIN OF it_output_table OCCURS 0.
           INCLUDE STRUCTURE itcsy.
    DATA : END OF it_output_table.
    DATA : w_ebeln LIKE ekko-ebeln,
          w_vbeln LIKE vbak-vbeln,
          w_zcdffa LIKE vbak-zcdffa.
    FORM CDE_CENT
    FORM cde_cent TABLES input output.
    it_input_table[] = input[].
    it_output_table[] = output[].
    READ TABLE it_input_table INDEX 1.
    MOVE it_input_table-value TO w_ebeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
               input  = w_ebeln
          IMPORTING
               output = w_ebeln.
    SELECT SINGLE zcdffa FROM ekko
    INTO w_zcdffa
    WHERE ebeln = w_ebeln.
    it_output_table-name = 'CDECENT'.
    MOVE w_zcdffa TO it_output_table-value.
    MODIFY it_output_table INDEX 1.
    output[] = it_output_table[].
    ENDFORM.

Maybe you are looking for

  • How do I set the default Hero image in a Muse slideshow widget when using Free Form Thumbnails?

    Hello, I am trying to find out how to set the default Hero image when using a Muse slideshow widget and in the Layout section I have the "Free Form Thumbnails" box checked. In other words, when the page loads I want to define which image displays as

  • An issue of deploying war file on tomcat 5.5

    Hi, I know the regular process to deply a war file is like this - stop tomcat server, remove your previous war file and directory, say abc.war and dir abc, copy your new version abc.war into webapps and restart tomcat server. However, I found an inte

  • Get id to task in Sharepoint Designer workflow 2013

    Hi I am using 'Approval Process Action'. The workflow assigns approval task to several approvers. And it creats multiple tasks for that.  When I use current task: ID variable, I can only get the latest task ID.  How to get task ID for each approver.

  • Qosmio X300 asking for Username and password

    Good evening I just bought I Toshiba laptop and m really not tech. I bought it new and sealed from ebay but it is asking for a password!! Username it is telling me it was zjmarkeecomp and its hint for the password is iggy. Does this mean it was used

  • How to look a filled out form?

    Hi. I want to create a form, when completed and saved by the applicant (using Adobe Reader) should be looked from further editing. Is this possible?