SAP-Script- Program name

Hi!
If I have the name of a SAPScript , is it possible to find out the name of the program for it. I had to make chnages in the script for cnaging the spelling of a word there and change the date format form &rgup_bldat& to &rghu_zaldat&, which I did it in the script layout change. Now do i have to make the some changes in the program for it or not? If yes could someone help me in telling how to locate the program for the SAPscript.
I am preety new to script use.
Thanks

Hi Aarav,
This applies to all modules not only FI.
Se71-->Form name>display-->Form->Cjeck->texts>Symbol check---->It will display all programs where this form is being used.
Hope it helps you..
Regards,
KK

Similar Messages

  • Calling SAP script program in BAPI and want to display in html format

    Dear All,
    I am writing bapi and calling sap script program in it.
    I want output in html format pl suggest me
    same coding is working for report giving error in sapscript only.
    types: begin of tt_html,
                 html type w3html,
           end of tt_html.
    data: list_tab type standard table of abaplist.
    SELTAB-SELNAME = 'S_INVNO'.
    SELTAB-KIND = 'S'.
    SELTAB-SIGN = 'I'.
    SELTAB-OPTION = 'EQ'.
    SELTAB-LOW =  INVOICE_NUM1.
    SELTAB-HIGH = INVOICE_NUM2.
    APPEND SELTAB.
    submit ZSDRDINVPNBRPT with selection-table seltab
    exporting list to memory and return.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = MTAB_REPORT_LIST
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
        CALL FUNCTION 'WRITE_LIST'
         EXPORTING
           WRITE_ONLY       = 'X'
          TABLES
            listobject       = MTAB_REPORT_LIST
         EXCEPTIONS
           EMPTY_LIST       = 1
           OTHERS           = 2.
        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 'WWW_LIST_TO_HTML'
           TABLES
                HTML   = MTAB_REPORT_HTML
           EXCEPTIONS
                OTHERS = 1.
    LOOP AT MTAB_REPORT_HTML.
    ENDLOOP.

    For displaying output in html format,
    u can either use BSP ( Business Server Pages)
    or Webdynpro.
    Reward if helpful.

  • Sap script program without Nast

    Hi Friends,
    can we right a sap script program without taking nast table into consideration???
    Thanks and Best Regards.
    Kusum.

    Hi,
    Yes you can create an ABAP report with normal selection screen and output will be a sap script.

  • SAP Script Program Code

    Hello,
    I want to write a patch of code in SAP SCript which will fetch multiple lines of data(no of lines fetch is unknown). How can I do it? I tried Perform Endperform but it had limit to the varibales it can send back. I don't know the line items(values) it will return.
    i cannot modify print program? How can I do it?
    Thanks,
    Amol..

    If you do not want to modify the standard program and achive to display you can use sub-routine calls... firstly, you should identify the element that is displaying the line items and use your sub-routine call inside that element and display all the required fields.
    Note: you there is no element which call for line items, I guess there is no other alternative then modifying the driver program.
    Regards,
    SaiRam

  • Sap Script Programming.

    Hi Frnd's
    Can anybody send me the link to learn abt SAP Script.
    thanks in advance
    suganya.d

    Hi,
    check these links,
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRRDI/BCSRVSCRRDI.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCREDIT/BCSRVSCREDIT.pdf
    http://www.sappoint.com/abap/sscrtpex1.pdf
    http://www.sap-img.com/sapscripts.htm
    http://www.esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    Regards,
    Wasim Ahmed

  • How to find SAP Script Form name for an particular transaction

    Hi,
    I had an issue, in the transaction F110  Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
    Thanks in advance.

    >
    Muralidhar Medisetty wrote:
    > Hi,
    >
    > I had an issue, in the transaction F110  Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
    >
    > Thanks in advance.
    hey
    NACE is the transaction ..for this u must know the output type..
    Script for Cheque Printing and Payment Advice can be known from Transaction FBZP...
    FBZP -> paying Company Codes -> u will get Script used for Payment Advice
    FBZP -> Pmnt methods in company code -> u will get Script used for Cheque Print
    ....Give points if useful.....
    Edited by: Satyabrata sahoo on Oct 14, 2008 4:42 PM

  • How the Number of Document to be print is pass to SAP script program

    Hi,
      We are using std. program and form  for printing of  Invoices , sales order PO etc.  as in case while taking print out of biiling document  after entring proper message  type to the billing doucment we take print out , on VF02 screen  we have to give just accounting document number  then from top menu Billing document issued to output  then automatically the document get printed  for the h no. we have place on selection screen of VF02  I want to know How this number which we have enter on vf02 screen is pass to the program  in which block   sililarly in case of PO print with ME9F  we give the PO number then we select the check BOX  then when we click on print that Po is getting printed so by which field that PO number are pass to print program  acutally I want to make a Sapscript print program and from and i want to assign that to std. output type.
    regards,
      zafar

    Hi,
      Thanks for your reply  I have check the print program of and this include program INCLUDE RVADTABL. is common for most of the print profgrams this is declaration of nast and other tables in further processing is done whateverdat is ther is *NAST structure , can you plz give the e.g of only first part like  How to pass the value into this so that remaning all coding I can do ref. to the number which i will get in NAST  just wan to know  How to pass the PO number or SO number to NAST for further processing.
    regards,
    zafar

  • Error with small sap script program

    REPORT  ZFORM1                                  .
    TABLES : ZGTABLE.
    types:begin of warea,
          trackid type zgtable-trackid,
          artist type zgtable-artist,
          end of warea.
    data:itable like zgtable occurs 0 with header line.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    *   APPLICATION                       = 'TX'
    *   ARCHIVE_INDEX                     =
    *   ARCHIVE_PARAMS                    =
    *   DEVICE                            = 'PRINTER'
       DIALOG                            = 'X'
       FORM                              = 'ZFORM1'
       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                        = 'MAIN'
    *   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.
    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.
    Inside sapscript:
    /E MAIN
    P1 <B> Track id : </> &ITABLE-TRACKID&
    P1 <B> Artist   : </> &ITABLE-ARTIST&
    output:
    Trackid : 00000000000
    Artist  :
    Why the output is like that? I expect the output to be first record of the table.Please help me.

    Where is loop ( Internal table ),Just see the bold code
    REPORT  ZFORM1                                  .
    TABLES : ZGTABLE.
    <b>data : begin of itable occurs 0,
              trackid type zgtable-trackid,
              artist type zgtable-artist,
             end of itable .</b>
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
      APPLICATION                       = 'TX'
      ARCHIVE_INDEX                     =
      ARCHIVE_PARAMS                    =
      DEVICE                            = 'PRINTER'
       DIALOG                            = 'X'
       FORM                              = 'ZFORM1'
       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.
    <b>select  track id artist from zgtable into table itable.
    if sy-subrc ne 0.
    *message
    endif.
    loop at itable .
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'MAIN'
      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.
    clear itable.
    endif.</b>
    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.
    Thanks
    Seshu

  • How to know print program for SAP Script

    Hi friends,
    how to know print program for SAP Script form name ?

    Hi ,
      You can use the following code changes in the layout & see..
    You have to create a program Z_BC460_EX4_HF for that..
    /:PERFORM GET_NAME IN PROGRAM Z_BC460_EX4_HF
    /:  USING &CUST&
    /:  CHANGING &NAME&
    /:ENDPERFORM.
    Dear &NAME&
    The ABAP routine could be defined as follows:
    IMPORTANT: The structure itcsy must be used for the parameters.
    REPORT Z_HENRIKF_SCRIPT_FORM .
      tables scustom.
      form get_name tables in_tab structure itcsy
                           out_tab structure itcsy.
      read table in_tab index 1.
      select single * from scustom
        where id = in_tab-value.
      if sy-subrc = 0.
        read table out_tab index 1.
        move scustom-name to out_tab-value.
        modify out_tab index sy-tabix.
      else.
        read table out_tab index 1.
        move 'No name' to out_tab-value.
        modify out_tab index sy-tabix.
      endif.
    You could also fill the ouput parameter table this way
       READ TABLE out_par WITH KEY 'NAME1'.
       out_par-value = l_name1.
       MODIFY out_par INDEX sy-tabix.
    endform.

  • Program with sap scripts doent show any values

    While executing the program with scripts the output doesnt show values from the database. It simply shows the print preview with '&&' values. Pls help me
    Edited by: Gayathri Nair on Mar 12, 2009 8:11 AM

    Hi,
    Check your driver program
    1.you should have used OPEN_FORM with correct sap script form name
    2.have read the data into internal table and with in the loop-end loop you are calling WRITE_FORM
    with the element and the window type shpuld be MAIN to display the data.
    (use the same eleemnt in the MAIN WINDOW defined on the form) then only output will be printed.
    3.Have used the close form outside the loop-endloop.
    Please revert back in case of problem.
    PS:main reason can be the use of elements and the window type as I have also faced the same kind of problem.
    Pooja

  • SAP Script O/P is not comming

    Hi,
      when i make a t-code for my SAP-script Program it is not comming properly in print form.
      But when i run my print program in se38 it is comming proper out put.
      Plz help me what is the cause behind this isue.
    Regards,
    Sunil sahoo

    Hi Sunil,
    I have faced the same problem.
    1)First Check initial screen and specify appropriate start object --> select 2nd radio button (For Reports)
    2) On Seciond screen :-
         Please check all the fields
         Transaction text --> Give the specific text
         Program --> Give the report name
        Screen number --> 1000 (Keep it standard)
        Authorization object --> can be empty.
    3) GUI Support --> Tick all the check box.
    I hope this resolve your issue.
    Thanks & Regards,
    Lokesh.

  • Missing fields in the output while using SAP SCRIPT

    Hi,
    I am working on an issue where we are using F110 to print some checks, and for this we have created a custom sap script and we are using a std driver program RFFOUS_C, we have also maintianed a custom subroutine pool ZRFFOUS which will retrieve the missing data for the sap script which was not there in the std. program. Now we have applied a SP to our system and since then we are having a problem...when we are printing the chechks its missing some fields.
    Surpisingly, it is happening for all scripts like Dunning, invoice......
    These scripts are working good in production which is not applied patches.
    I have tried in all ways, did debug, data is there in tables and scripts are exactly same as in production.
    Could you please share any ideas regarding this? What would be the effect of patches?
    Thanks
    Sha

    Hi ,
    I think u r printing the Check through the Tr Code F110.
    In that program u r using the Standard Driver Program RFFOUS_C and u create a New Sap script.
    and also u also mantained the custom subroutine pool ZRFFOUS .  when ru giving printing u are  not able to print some  field.
    In this case  when u using the Standard driver Program RFFOUS_C in that program there is a Include Progran  * RFFORI01---- check  , 
    in this program it is calling the Standard Form (F110PRENUM_CHCK) i--e t042e-zforn .as shown in the below and it is calling the function module 'OPEN_FORM'._
    Please copy  the form  asZF110_PRENUM_CHCK and  and do the changes in that form . and we need to maintained the Form as Company code level  -- and it will shown this Table T042E (Company Code-Specific Specifications for Payment Methods)
    Please go to Transaction Code FBZP  and U can maitained the  New Sap Script Form Company Code Level.
    one thing while u calling your new subroutine pool ZRFFOUS  Please call  this subroutine in  your Sap Script form then only u can see all values in your Check.  and Actvate the Sap script .
    Like U can call your new  subroutine ZRFFOUS  in your New Sap script Program.
    /E   CHECK
    /:   PERFORM XXXXXXX IN PROGRAM XXXXXX''                  
    /:   PERFORM CHECK_NAME IN PROGRAM  ZRFFOUS
    /:   USING &XXXXXXX&                      
    /:   CHANGING &XXXXXX&                   
    /:   ENDPERFORM                              
    In the subroutine pool ZRFFOUS   u have to call  as
    FORM CHECK_NAME TABLES t_data_in  STRUCTURE itcsy
                                                   t_data_out STRUCTURE itcsy.
    xxxxx
    xxxxx
    xxxxx
    ENDFORM.
    In this case  when u using the Standard driver Program RFFOUS_C in that program there is a Include Progran  * RFFORI01---- check  , 
    in this program it is calling the Standard Form (F110_PRENUM_CHCK) i--e t042e-zforn .
        open check form
          CALL FUNCTION 'OPEN_FORM'
               EXPORTING
                    form     =  t042e-zforn
                    device   = 'PRINTER'
                    language = t001-spras
                    options  = itcpo
                    dialog   = space
               EXCEPTIONS
                    form     = 1.
          IF sy-subrc EQ 1.                "abend:
            IF sy-batch EQ space.          "form is not active
              MESSAGE a069 WITH t042e-zforn.
            ELSE.
              MESSAGE s069 WITH t042e-zforn.
              MESSAGE s094.
              STOP.
            ENDIF.
          ENDIF.
    I thing it will help u to solve this issue.
    Thanks.
    Gagan

  • SAP Script   ADDRESS....ENDADDRESS

    Hi,
    I have the following code in one window of my SAP Script
    /: ADDRESS
    /: NAME &SHIPINV-S2NAME1&, &SHIPINV-S2NAME2&, &SHIPINV-S2NAME3&
    All other address nodes
    /: ENDADDRESS
    All the 3 names are printed successfully.
    Now i want to add &SHIPINV-S2NAME4& to NAME node of ADDRESS. Since the length of the line in editor window is occupied by first 3 name fields I had to put my 4th field in next line.
    /: ADDRESS
    /: NAME &SHIPINV-S2NAME1&, &SHIPINV-S2NAME2&, &SHIPINV-S2NAME3&
    <b>/: &SHIPINV-S2NAME4&</b> <i>is this correct ??</i>
    All other address nodes
    /: ENDADDRESS
    But its not at all printing the 4th value (In debugger i checked the value s available in &SHIPINV-S2NAME4&). I am not sure about the syntax for next line in NAME node & also notation to use like /: or /( or space, or /= and so on. I tried many combinations but cudn't get thru it. So i am confused with NAME node of ADDRESS...ENDADDRESS
    Please help me out in this case.
    Thanks,
    Sail

    Hello if things don't work as suggested.
    Try this simple solution:
    /: DEFINE &NAME1& = &SHIPINV-S2NAME1&
    /: DEFINE &NAME2& = &SHIPINV-S2NAME2&
    /: DEFINE &NAME3& = &SHIPINV-S2NAME3&
    /: DEFINE &NAME4& = &SHIPINV-S2NAME4&
    /: ADDRESS
    /: NAME &NAME1& &NAME2& &NAME3& &NAME4&
    By the way Have you tried with this also:
    /: NAME &SHIPINV-S2NAME1& &SHIPINV-S2NAME2& ....S2NAME3& =       &SHIPINV-S2NAME4&
    Enjoy !!
    Message was edited by:
            Amarjit Singh

  • SAP Script from scratch.

    Hi friends.
    i want to develop sap script from scratch.
    please any one have good document for this, then please send me on <b>[email protected]</b>
    thanks in advance.

    Hi,
    Please have a look at the links,
    Sap Script Programming.
    SAP Scripts
    Regards,
    Hema.
    Reward points if it is useful.

  • SAP Script transfering between clients

    How to transfer a SAP script created in a clinet to a different client.
    Thank you,
    -Naveen.

    How to change development class of a SAPscript ?
    Use program RSWBO052
    R3TR DTEL Data Element
    Next balnk line
    Click FORM = Z_script_name
    f8 9 Execute -> double click and change the class
    FYI
    http://www.sapgenie.com/abap/tips_and_tricks.htm#How_to_change_development_class_of_a_SAPscript
    A tip for you , as you’re working on SAP scripts ..Go to se38->F4-> package = STXD and program type = 1. You’ll find all SAP scripts programs; )
    Thanks
    Saquib

Maybe you are looking for

  • Adobe document services communication problem

    Hello SDN a challenge: we have some problems with the Adobe Document Services. we have installed acording to the installationguide and checked this several times. However when we try to run the program FP_PDF_TEST_00 (which is a SAP-provided test pro

  • Time issue in calendaring applications (iCal & Entourage)

    I am experiencing some weird behavior when I edit or create new calendar entries in both iCal and Entourage. The event only shows the minutes filed (00-59) and no hour. I initially noticed the problem in Entourage and assumed it was an Office issue.

  • Canon 70D RAW file not recognized in PSE 11

    I tried opening a RAW file from my Canon 70D in my Elements 11.  It did not recognize it.  I read Elements 12 can read it.  Can I upgrade to 12 for free?  If not how can I get  my Elements 11 to open the RAW files?

  • Can't Get Mac App Store Notifications Working

    I've noticed recently that I've stopped seeing the red notification icon pop-up on my Mac App Store dock icon as it should be doing. I also haven't seen any Mac App Store notifications pop-up in the Notifications Center for quite some time as well. H

  • System Preferences Deleted?

    It says "You can't open the application system preferences because it may be damaged or incomplete" How do I fix this?