SAP script element not called

Hi friends,
Window contains - elements -800, 801, 802
I am calling an element 800 in a window which is called from print program (checked in debugging) followed by 801 but in form it is not called (does not display the hard code values i have shown).
it halts at element 800 on pressing F5 (on other elements also ).
It executes main window first followed by all other elements.
But after executing main it executes only element 801 but not 800.
Regards,
GURU

Hi GURU,
"I am calling an element 800 in a window" - you can only call a text element from a driver program. SAPScript will process only one element per window automatically, thats's the so-called DEFAULT element. Everything in a window text appearing before the first explicit(/E) element definition is the default element.
If your program does not call 801 but you want to appear it after 800, then remove the 801 element definition and make it part of 800.
Regards,
Clemens

Similar Messages

  • Why last  4 lines of  every page in sap script are not coming ,it is not o

    pls give some solution why last  4 lines of  every page in sap script are not coming ,it is not over flowing to next page even? it is any page format related problem or coding problem?

    Hi,
    Use PROTECT ENDPROTECT statement it displays hole paragraph in to the single page and also to over come this issue.
    Regards
    Md.MahaboobKhan

  • /sap/bc/webdynpro/sap/ags_workcenter was not called due to an error

    Hi,
    I get the following error when I click on Exception Analysis for one of our managed system.
    Solution Manager Diagnostics -> End to End Analysis -> Select the Managed system and click on Exception Analysis
    The URL http://kressapcrm.in.kres.keane.com:8000/sap/bc/webdynpro/sap/ags_workcenter was not called due to an error.
    Note
    The following error text was processed in the system SOL : Exception condition "COMMUNICATION_ERROR" raised.
    The error occurred on the application server KRESSAPCRM_SOL_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: EXECUTE of program CL_IGS_CHART_ENGINE===========CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/CBUSINESS_GRAPHICS======CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C7STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C7STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system SOL in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server KRESSAPCRM_SOL_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server KRESSAPCRM_SOL_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 999 -u: E2E_ADMIN -l: E -s: SOL -i: KRESSAPCRM_SOL_00 -w: 0 -d: 20100107 -t: 164340 -v: RABAX_STATE -e: RAISE_EXCEPTION
    Regards
    Shailaja

    >
    shailaja stalin wrote:
    > (...)
    > The URL http://kressapcrm.in.kres.keane.com:8000/sap/bc/webdynpro/sap/ags_workcenter was not called due to an error.
    > Note
    >
    > The following error text was processed in the system SOL : Exception condition "COMMUNICATION_ERROR" raised.
    > The error occurred on the application server KRESSAPCRM_SOL_00 and in the work process 0 .
    > The termination type was: RABAX_STATE
    > The ABAP call stack was:
    > Method: EXECUTE of program CL_IGS_CHART_ENGINE===========CP
    > Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/CBUSINESS_GRAPHICS======CP
    > Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    > (...)
    Please check the configuration and version of the IGS.
    Regards,
    Ruediger

  • SAP Script is not getting called for GI Output type WA03

    Dear All,
    I have designed one SAP script for goods issue output type WA03 for Tcode Migo.
    I have assigned the form name in NACE. But the problem is it is not picking my form, It is giving some Express document error. I am not able to know how the transaction is picking up the form since it is not going to the standard program even though i have kept breakpoint there. Can anybody let me know how the print program (SAPM07DR)is getting called from MIGO.
    print program  name is SAPM07DR.  Standard Script name is WASCHEIN.
    Regards,
    Ravindra Jain

    HI Ravi,
    Did you check the entry in NACE. I think you need to configure the Driver program and sap script there. just try to put a session break point and check why it is not picking.
    Thanks,
    Chidanand

  • SAP Script output not displayed

    Hello,
    Print preview of purchase document does not show the output. Only "test print only" is displayed on all pages.
    I can see the data passed to SAP Script in debug. The print is created using output control, ( Save or create of PO ).
    What could be the possible reason for the same?
    Even if i try to use the option of "printing test" direct from script no text elements/language are displayed.. "test print only" is displayed.
    kindly help.

    Hi,
    I am not sure what your current support pack is. This sounds like the problem described in the SAP Note:
    1243485 - Unprinted variables and lines of a SAPscript form
    Can you apply the code correction of Note #1243485?
    Regards,
    Aidan

  • Invoice SAP SCRIPT is not printing Customer master text.

    I was given a SD-invoice#  XXXXXXXXX, which has problem with in it's SAP SCRIPT --> is the text is taken from  "customer master data head office text" is not printed on the SCRIPT out put.
    1). What I don't understand by going to /nvf03 --> by giving invoice number , then how can I view the script output ?
    The text is supposed to print in footer ...however the coding inthe FOOTER window is
    /:   INCLUDE 'Z_FOOTER_SO_4700_INV' OBJECT TEXT ID ADRS LANGUAGE 'IT'
    So, do I need to add coing for text of customer master data ?
    Any idea about text and field name ?
    THANKS IN ADVANCE.

    Hello,
    To see the output go to /VF03, enter the billing document number but don't press enter. Go to Billing Document in the menu bar, Issue Output to, select a line and do a print preview (if there's nothing there, the doc hasn't been printed before).
    To print the text, ask somebody to navigate to where it is in SAP. Double click on it, choose Got -> Header. This will give you all the information you need for the INCLUDE.
    The INCLUDE statement you have is for a standard text (trans: SO), not the "customer master data head office text".
    Michael
    Edited by: Michael Evershed on Sep 26, 2008 10:41 PM
    Edited by: Michael Evershed on Sep 26, 2008 10:41 PM

  • SAP Script LVSTALISTE not printing VEKP fields

    Hi all,
    The SAP script LVSTALISTE does not print out any field in the packaging section. All the fields in this section come from the table VEKP.
    Is there some special config that needs to be done to activate the printing of the fields from this section? Because as it is now all the data from the VEKP table is not printed in the form.
    Any suggestions would be greatly appreciated.

    Hi,
    Check the CONFIG
    You can trigger Picking list print automatically based on Config settings(SPRO) for movements .
    Logistics Execution->Warehouse Management->Tools->Develop Forms->Assign Forms->Assign Forms for Stock Movements
    Or you can use LX21 along with print idicators for printing picking list seperately.
    Logistics Execution->Warehouse Management->Tools->Develop Forms->Assign Forms->Assign Forms for Print Indicators
    or else debug the the SCRIPT and check if the values are populated inside.

  • Java script callback not called from plugin code

    Hi,
    I am having a plugin which works on FF 3.6. I am trying to make it work on FireFox 4/5. My java script callback for resize is getting called only for first time from plugin code and second time onwards its not getting called. We are using Gecko 2.0 plug-in library.
    I found two bugs in Firefox which may cause call to invalid callback.
    https://bugzilla.mozilla.org/show_bug.cgi?id=664682
    https://bugzilla.mozilla.org/show_bug.cgi?id=653083
    I think because of these two bugs my callback is not getting called. Is there any update for FireFox 4/Firefox5 with the fix for above two issues?
    Thanks,
    Rohit

    The first Bug is listed as a duplicate of the 2nd Bug you posted.
    I don't see any information in the Bug report about which version is going to specifically get the patch. Firefox 4 isn't supported any longer, and I can only assume that with an '''''Importance:''''' of '''normal''', that it won't be "pushed" to Firefox 5. AFAIK, with the new Fast Release schedule only security bugs are going create a situation where a '''''dot#''''' release is going to be made, and other Bugs that have been patched might then be included. With the current release schedule it's going to be 6 weeks between versions, vs the previous 12 to 14 months, or so.
    You may want to try a 6.0 beta to see if it is fixed there.

  • Sap scripts : logo not display

    Hi,
    i have imported a logo with se78.
    i'm using BITMAP 'XXX' OBJECT GRAPHICS ID BMAP TYPE BMON.
    When i'm printing the logo is here but in preview mode, this bitmap is not display.
    somebody have an idea?
    Thanks

    Hi,
    1st check your window size, just try to enlage your window and check it once.
    Why dont you go for GRAPHIC window, just try with that also.This Graphic window will take care of size and every thing.
    Thanks.
    If this helps you reward with points.

  • Can we call the window in runtime in SAP Scripts  ?

    Hi
    Can we call the window (without placing the window in the layout at design time) in runtime in SAP Scripts 
    Thank You

    Hello,
    Calling a window at runtime is not posible.
    Let me know what u want to do exactly.
    Regards

  • Variable in SAP SCRIPT

    Hi Guys,
    I want to print a variable Value from Print Program to SAP SCRIPT, I tried to print it in between && but they still dont have any value while debugging SAP SCRIPT and not also in print out....Suggest somthing.
    Cheers....!!
    Sid

    Hi,
         Debug your program and c whether you are getting your value there. If yoes, check if you have used the function module OPEN_FORM and passed the correct name of the SAP script. Then check if you have used Write_Form and are you passing the correct Text Element Name.
    You would  not have used one of them. Hence the problem.
    Check and revert back.
    Thanks
    Nayan

  • Need info about a Error in SAP Script !

    Hi,
         I am getting the following error.
    "WRITE_FORM is invalid, START_FORM is missing".
    Actually I have already start the form using start_form function. I am using write_form inside a loop.
    What cud be be the possible probs.
    Thank you.
    Senthil

    Hi
      Check out the parameters that you r passing in the Write_form and Start_form with the paramters that you r passing in the sap script form.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'TEXT1'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    check these values with the value you r passing in the sap script form.
    and similarly you check the start form also.
    I hope this will help you to solve your prob.
    Thanks
    Mrutyunjaya Tripathy

  • ABAP Subroutines in SAP Script forms

    Hi Friends,
    Can any give an example on using ABAP Subroutines in SAP Scripts
    how to call ABAP  subroutine IN FORM  and how to define form statement in abap program
    thanks in advance
    Points for sure
    Regards
    Vijaya

    Hi,
    you have to write
    perform formname in program zprogram
    using  &var1&
    using &var2&
    changing &var3&
    endperform
    in se38 create program zprogram of subroutine pool ttype
    and
    write the
    form
    endform there
    egcode for  a subroutne for changing the amount into indian words
    PROGRAM  ZFII_SR_PAYMNT_CHCK.
    declaring the variables which are necessary
    DATA:
      G_AMOUNT       TYPE PC207-BETRG,          " having  amount value
      G_SPELL_AMOUNT(60)  TYPE C, " LIKE     SPELL-WORD,  " amount in words
      G_SPELL_AMOUNT1(60) TYPE C,        " spell structure
      G_WHTAX TYPE BSAK-QBSHB,   "
      G_QBSHB TYPE BSAK-QBSHB, " FOR COLLECTING THE WITH HOLDING TAX
      G_ZUMSK TYPE BSAK-ZUMSK.
    *DECLARING THE INTERNAL TABLES FOR THE OUTPUT TO BE DISPLAYED.
    TYPES : BEGIN OF T_INPUT_TABLE.
            INCLUDE STRUCTURE ITCSY.
    TYPES : END OF T_INPUT_TABLE.
    TYPES : BEGIN OF T_OUTPUT_TABLE.
            INCLUDE STRUCTURE ITCSY.
    TYPES: END OF T_OUTPUT_TABLE.
    DATA: GWA_INPUT_TABLE  TYPE T_INPUT_TABLE.
    DATA: GWA_OUTPUT_TABLE TYPE T_OUTPUT_TABLE.
    DATA: GIT_INPUT_TABLE TYPE STANDARD TABLE OF  T_INPUT_TABLE.
    DATA: GIT_OUTPUT_TABLE TYPE STANDARD  TABLE OF  T_OUTPUT_TABLE.
    TYPES : BEGIN OF T_ITEM,
              BUKRS TYPE BUKRS,
              BELNR TYPE BELNR_D,
              GJAHR TYPE GJAHR,
              WT_WITHCD TYPE WT_WITHCD,
              WT_QBSHB TYPE  WT_WT1,
             END OF T_ITEM,
           IT_T_ITEM TYPE STANDARD TABLE OF T_ITEM.
    DATA :  GIT_ITEM TYPE IT_T_ITEM,
            GWA_ITEM TYPE T_ITEM.
    GET_SPELL_AMOUNT
    FORM GET_SPELL_AMOUNT  TABLES  INPUT STRUCTURE ITCSY
                                   OUTPUT STRUCTURE ITCSY.      "#EC CALLED
    CLEARING OFF THE VARIABLE USED IN PROGRAM.
      CLEAR:  G_AMOUNT,
               G_SPELL_AMOUNT.
    *clearing the internal tables which we have used.
      CLEAR:
       GIT_INPUT_TABLE,
       GIT_OUTPUT_TABLE.
    *REFRESHING THE INTERNAL TABLES.
      REFRESH:
       GIT_INPUT_TABLE,
       GIT_OUTPUT_TABLE.
    *initially assigning the memory vaules to our internal tables.
      GIT_INPUT_TABLE[]  = INPUT[].
      GIT_OUTPUT_TABLE[] = OUTPUT[].
    *reading the table input to get the amount value.
      READ TABLE GIT_INPUT_TABLE INTO GWA_INPUT_TABLE   INDEX 1.
      IF GWA_INPUT_TABLE-VALUE CA 'X'.
        REPLACE ALL OCCURRENCES OF 'X' IN GWA_INPUT_TABLE-VALUE WITH '0'.
      ENDIF.
    *THIS IS IMPORTANT PART AS IT IS CONVERTING THE
    *CHARACTER FIELD INTO CURRENCY FIELD.
      SHIFT GWA_INPUT_TABLE-VALUE LEFT DELETING LEADING SPACE.
      TRANSLATE GWA_INPUT_TABLE-VALUE USING ', '.
      CONDENSE GWA_INPUT_TABLE-VALUE NO-GAPS.
      G_AMOUNT = GWA_INPUT_TABLE-VALUE.
    *calling the function moudle which will
    *covert amount into words (indian format ).
    *i.e in crores, lakhs, thousands
      DATA: L_SPELLAMOUNT(255) TYPE C,
            L_ONLY(255) TYPE C.
      CLEAR: L_SPELLAMOUNT, L_ONLY.
    *here the amount should not be more than
    99,99,99,999.99 . if it is greater than
    *this amount this function module will not work
    *so give the amount which is lessthan or equal to
    *above said amount.
      IF G_AMOUNT LT '1000000000'.
        CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
          EXPORTING
            AMT_IN_NUM         = G_AMOUNT
          IMPORTING
            AMT_IN_WORDS       = L_SPELLAMOUNT
          EXCEPTIONS
            DATA_TYPE_MISMATCH = 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.
      ENDIF.
      CONDENSE L_SPELLAMOUNT.
      TRANSLATE L_SPELLAMOUNT TO UPPER CASE.
      CONCATENATE L_SPELLAMOUNT 'ONLY' INTO L_ONLY SEPARATED BY SPACE.
    *moivng the field name into table field.
      GWA_OUTPUT_TABLE-NAME = 'G_SPELL_AMOUNT'.
    *assigning the amount in words to the variable.
    *the reason  behind splitting the word into two parts
    *is--- in the scripts the whole string is not getting
    *printed. So we are splitting it into two parts so that
    *it will print the whole string.
      G_SPELL_AMOUNT = L_ONLY+0(60).
      G_SPELL_AMOUNT1 = L_ONLY+60(60).
    G_SPELL_AMOUNT  = L_SPELLAMOUNT.
    *MOVING THE AMOUNT IN WORDS TO FINAL WORK AREA.
      MOVE G_SPELL_AMOUNT TO GWA_OUTPUT_TABLE-VALUE.
    *MODIFYING THE INTERNAL TABLE FORM THE WORK AREA.
      MODIFY  GIT_OUTPUT_TABLE FROM GWA_OUTPUT_TABLE INDEX 1.
    *FOR THE SECOND RECORD I.E FOR THE NEXT 60characters
      GWA_OUTPUT_TABLE-NAME = 'G_SPELL_AMOUNT1'.
      MOVE G_SPELL_AMOUNT1 TO GWA_OUTPUT_TABLE-VALUE.
      MODIFY  GIT_OUTPUT_TABLE FROM GWA_OUTPUT_TABLE INDEX 2.
    *assigning the total output table to the memory .
      OUTPUT[] =  GIT_OUTPUT_TABLE[].
    ENDFORM.                    "GET_COMPADDR
    thanks & regards,
    Venkatesh

  • Question on form printing in SAP scripts

    Hi,
    I would like to know whether it is possible to print color logos in forms using sap scripts or not ?
    If possible, please provide the steps for uploading a color logo into the form using a sap script.
    Is the color of the logo displayed only in the printout or can it seen in the print preview as well after uploading the logo?
    If anybody has good material on sap scripts, pls mail the same to my email id - [email protected] .
    Thanks & Regards,
    Vijay

    Hi,
    First you have to import the logo into SAP through TCode SE78 (if it is a BMP file) and using program RSTXLDMC (if it is of TIFF file).
    Go to SE78 -> Double click Graphics -> double click BMAP -> then go to Menu Graphic then select Import. Then give the name and description. Then choose whether it should be in colour or black and white. This completes the process of importing the logo into SAPscript.
    Then you can use the name of this object in SCRIPTS .IN Sap script, YOu can include text object(if you have uploaded the image using rstxldmc) or include graphic if you have used se78 in text elements section of the Page windows.
    SAPScripts
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    http://www.sappoint.com/abap/ssintro.pdf
    http://www.sappoint.com/abap/sscript.pdf
    http://www.sappoint.com/abap/sscript.pdf
    http://www.sappoint.com/abap/lsetssap.pdf
    http://www.sappoint.com/abap/sscrtpex1.pdf
    http://www.sap-img.com/sapscripts.htm
    http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
    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
    Other Links
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp
    http://www.allsaplinks.com/dialog_programming.html
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://www.geocities.com/ZSAPcHAT
    Regards,
    Priyanka.

  • Name of sap script form

    hi ,
    If I am calling a subroutine from a SAP SCRIPT ....and I want the name of the sap script which is  calling it ... means there is a subroutine which more that one script calls ...if I want to find out which one is calling it how can we find that out.for example like sy-cprog or sy-repid..is there anything????? pls advise

    Hi,
    I hereby attach the source code of a pgm which may be used to do a 'search' operation in source code of the SAP Script.Please note that this is not my pgm, I had downloaded from one of the sites. Unfortunately I neither remember the name of teh site nor the name of the author. However I have been using it without any problems.
    REPORT ZSEARCH_ITEMS_IN_SAPSCRIPT
           NO STANDARD PAGE HEADING LINE-SIZE 208.
    *=======================================================================
    * Omschrijving : Searching different items (e.g. strings, field, text,
    *                program-names etc..) in sapscript forms
    * Auteur       : Angelo Hoppenbrouwer
    * Datum        : 07-11-2001
    *======================================================================*
    TABLES: STXL,
            TLINE.
    DATA BEGIN OF BDCDATA OCCURS 100.
            INCLUDE STRUCTURE BDCDATA.
    DATA END OF BDCDATA.
    DATA BEGIN OF LINES OCCURS 100.
            INCLUDE STRUCTURE TLINE.
    DATA END OF LINES.
    DATA: BEGIN OF STXL_ID,
            TDOBJECT LIKE STXL-TDOBJECT,
            TDNAME   LIKE STXL-TDNAME,
            TDID     LIKE STXL-TDID,
            TDSPRAS  LIKE STXL-TDSPRAS,
          END OF STXL_ID.
    DATA: BEGIN OF KOP,
            TXT(208),
          END OF KOP.
    DATA: I_STXL LIKE STXL OCCURS 10 WITH HEADER LINE,
          I_TAB(40) OCCURS 10 WITH HEADER LINE,
          CLIENT LIKE SY-MANDT,
          H_FIELD(40),
          H_VALUE(40),
          H_LINE LIKE SY-LINNO,
          H_OFFSET TYPE I,
          H_REGEL(70) TYPE C,
          H_TEL TYPE I,
          H_TOT TYPE I,
          H_POS TYPE I,
          H_POS1 TYPE I,
          H_POS2 TYPE I,
          H_LEN TYPE I,
          VORIGE_TDSPRAS_TDNAME(71) TYPE C,
          HUIDIGE_TDSPRAS_TDNAME(71) TYPE C,
          P_NAAM LIKE RSEUX-CP_VALUE,
          H_TXT1(40),
          H_TXT2(40),
          H_WINDOW(132),
          H_STRING(40),
          H_STRING1(40),
          H_STRING2 LIKE H_STRING1,
          H_LINE1 LIKE LINES-TDLINE,
          H_LINE2 LIKE H_LINE1.
    SELECTION-SCREEN BEGIN OF BLOCK ZOEK_ITEM
                           WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: PA_ITEM1 RADIOBUTTON GROUP ITEM DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 4(16) TEXT-011.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: PA_ITEM2 RADIOBUTTON GROUP ITEM.
    SELECTION-SCREEN COMMENT 4(16) TEXT-012.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: PA_ITEM3 RADIOBUTTON GROUP ITEM.
    SELECTION-SCREEN COMMENT 4(16) TEXT-013.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: PA_ITEM4 RADIOBUTTON GROUP ITEM.
    SELECTION-SCREEN COMMENT 4(16) TEXT-014.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: PA_ITEM5 RADIOBUTTON GROUP ITEM.
    SELECTION-SCREEN COMMENT 4(16) TEXT-015.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK ZOEK_ITEM.
    SELECTION-SCREEN BEGIN OF BLOCK ITEM_WAARDE
                           WITH FRAME TITLE TEXT-002.
    PARAMETERS: PA_STR(40) OBLIGATORY,
                PA_MANDT LIKE SY-MANDT DEFAULT SY-MANDT.
    SELECTION-SCREEN END OF BLOCK ITEM_WAARDE.
    SELECTION-SCREEN BEGIN OF BLOCK FORM
                           WITH FRAME TITLE TEXT-003.
    SELECT-OPTIONS: SO_NAME  FOR STXL-TDNAME  NO INTERVALS
                                              DEFAULT 'Z*'
                                              OPTION CP,
                    SO_SPRAS FOR STXL-TDSPRAS NO INTERVALS
                                              DEFAULT 'NL'.
    SELECTION-SCREEN END OF BLOCK FORM.
    START-OF-SELECTION.
      CLIENT = SY-MANDT.
      CLEAR: H_STRING1, H_STRING2.
      IF NOT PA_ITEM1 IS INITIAL.          " Standaardtekst
        CONCATENATE 'include' PA_STR INTO H_STRING1 SEPARATED BY ' '.
        H_TXT1 = 'standard text'.
      ENDIF.
      IF NOT PA_ITEM2 IS INITIAL.          " Tabel (+veld)
        CONCATENATE '&' PA_STR INTO H_STRING1.
        H_TXT1 = 'table (+field)'.
      ENDIF.
      IF NOT PA_ITEM3 IS INITIAL.          " Hulpveld
        CONCATENATE '&' PA_STR '&' INTO H_STRING1.
        H_TXT1 = 'variable'.
      ENDIF.
      IF NOT PA_ITEM4 IS INITIAL.          " Programma
        CONCATENATE 'in program' PA_STR INTO H_STRING1 SEPARATED BY ' '.
        H_TXT1 = 'program'.
      ENDIF.
      IF NOT PA_ITEM5 IS INITIAL.          " String
        H_STRING1 = PA_STR.
        H_TXT1 = 'string'.
      ENDIF.
      CONCATENATE '"' PA_STR '"' INTO H_TXT2.
      FORMAT COLOR COL_HEADING INTENSIFIED ON.
      CONCATENATE 'Use of'
                  H_TXT1
                  H_TXT2
                  'in forms'
                  INTO KOP SEPARATED BY ' '.
      WRITE: / KOP.
      ULINE.
      FORMAT COLOR COL_HEADING INTENSIFIED OFF.
      WRITE: /         'Clt',
              005      'Form',
              036      'Lang',
              041(030) 'Window',
              072(002) 'Fm',
              077(132) 'Row'.
      ULINE.
      FORMAT COLOR COL_NORMAL INTENSIFIED ON.
      STXL_ID-TDOBJECT = 'FORM'.
      STXL_ID-TDID = 'TXT'.
      SELECT * FROM STXL CLIENT SPECIFIED
              WHERE MANDT    = PA_MANDT
                AND RELID    EQ 'TX'
                AND TDOBJECT EQ 'FORM'
                AND TDID     EQ 'TXT'
                AND TDNAME   IN SO_NAME
                AND TDSPRAS  IN SO_SPRAS.
        MOVE-CORRESPONDING STXL TO I_STXL.
        APPEND I_STXL.
      ENDSELECT.
      SORT I_STXL.
      CLEAR HUIDIGE_TDSPRAS_TDNAME.
      CLEAR VORIGE_TDSPRAS_TDNAME.
      LOOP AT I_STXL.
        STXL_ID-TDNAME  = I_STXL-TDNAME.
        STXL_ID-TDSPRAS = I_STXL-TDSPRAS.
        STXL_ID-TDID    = I_STXL-TDID.
        CONCATENATE STXL_ID-TDSPRAS STXL_ID-TDNAME
                    INTO HUIDIGE_TDSPRAS_TDNAME.
        IF HUIDIGE_TDSPRAS_TDNAME <> VORIGE_TDSPRAS_TDNAME.
          CONCATENATE STXL_ID-TDSPRAS STXL_ID-TDNAME
                                      INTO VORIGE_TDSPRAS_TDNAME.
          REFRESH LINES.
          CLEAR H_TEL.
          IMPORT TLINE TO LINES FROM DATABASE STXL(TX)
                                     CLIENT   I_STXL-MANDT
                                     ID       STXL_ID.
          LOOP AT LINES.
            IF LINES-TDFORMAT = '/W'.
              H_WINDOW = LINES-TDLINE.
            ENDIF.
            SEARCH LINES-TDLINE FOR H_STRING1.
            IF SY-SUBRC <> 0 AND H_STRING2 <> SPACE.
              SEARCH LINES-TDLINE FOR H_STRING2.
            ENDIF.
            IF SY-SUBRC EQ 0 AND LINES-TDFORMAT NE '/*'.
              H_POS = SY-FDPOS.
              IF NOT PA_ITEM1 IS INITIAL.
                ADD 8 TO H_POS.
              ENDIF.
              IF NOT PA_ITEM4 IS INITIAL.
                ADD 11 TO H_POS.
              ENDIF.
              H_LEN = STRLEN( PA_STR ).
              H_STRING = LINES-TDLINE+H_POS(H_LEN).
              IF H_TEL EQ 0.
                HIDE I_STXL-MANDT.
                HIDE STXL-TDNAME.
                HIDE I_STXL-TDSPRAS.
                WRITE: /001 I_STXL-MANDT,
                        005 STXL-TDNAME HOTSPOT ON,
                        036 I_STXL-TDSPRAS,
                        041 H_WINDOW(30).
                CLEAR STXL-TDNAME.
              ELSE.
                WRITE: /041 H_WINDOW(30).
              ENDIF.
              WRITE: 072 LINES-TDFORMAT.
              H_POS1 = 77 + H_POS.
              H_POS2 = H_POS + STRLEN( H_STRING ).
              IF H_POS EQ 0.
                CLEAR H_LINE1.
              ELSE.
                H_LINE1 = LINES-TDLINE(H_POS).
              ENDIF.
              H_LINE2 = LINES-TDLINE+H_POS2.
              H_POS2 = H_POS2 + 77.
              WRITE: 077       H_LINE1,
                     AT H_POS1 H_STRING COLOR COL_HEADING,
                     AT H_POS2 H_LINE2.
              H_TEL = H_TEL + 1.
              H_TOT = H_TOT + 1.
            ENDIF.
          ENDLOOP.
          IF NOT H_TEL IS INITIAL.
            ULINE.
          ENDIF.
        ENDIF.
      ENDLOOP.
      FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
      SKIP 1.
      WRITE: / 'Number of hits:', H_TOT.
    AT LINE-SELECTION.
      CHECK STXL-TDNAME <> SPACE.
      GET CURSOR FIELD  H_FIELD
                 VALUE  H_VALUE
                 LINE   H_LINE
                 OFFSET H_OFFSET.
      CHECK H_FIELD = 'STXL-TDNAME'.
      CHECK I_STXL-MANDT = SY-MANDT.
      REFRESH BDCDATA.
      PERFORM BDC_DYNPRO USING 'SAPMSSCF'      '1102'.
      PERFORM BDC_FIELD  USING 'RSSCF-TDFORM'  STXL-TDNAME.
      PERFORM BDC_FIELD  USING 'RSSCF-TDSPRAS' I_STXL-TDSPRAS.
      CALL TRANSACTION 'SE71'  USING BDCDATA.
      CLEAR STXL-TDNAME.
    *&      Form  BDC_DYNPRO
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.                               " BDC_DYNPRO
    *&      Form  BDC_FIELD
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR BDCDATA.
      BDCDATA-FNAM = FNAM.
      BDCDATA-FVAL = FVAL.
      APPEND BDCDATA.
    ENDFORM.                               " BDC_FIELD
    *Comment Angelo:
    *Selection-texts:
    *PA_ITEM1
    *PA_ITEM2
    *PA_ITEM3
    *PA_ITEM4
    *PA_ITEM5
    *PA_MANDT     Client
    *PA_STR       Search-item
    *SO_NAME      Form
    *SO_SPRAS     Language
    *Text-symbols:
    *001     Selection search-item
    *002     Value
    *003     Selection form(s)
    *011     Standard text
    *012     Table (+ field)
    *013     Variable
    *014     Program
    *015     String
    Once you copy the above mentioned program.Just run this pgm with the parameters:-
    Selection search text: String
    Search text: PERFORM name_of_the_subroutine
    Selection Forms: Z*
    Language: E
    & it will display all the SAP Scripts from where this routine is being called.
    I hope this helps,
    Regards
    Raju Chitale

Maybe you are looking for

  • Win 8.1 sfc /scannow returns Windows Resource Protection could not perform the requested operation.

    I am running Windows 8.1 Pro. I have been experiencing problems that lead me to believe the my component store is corrupted. When I run sfc /scannow sfc immediately comes back with "Windows Resource Protection could not perform the required operation

  • Excel Save As dialog not appearing for one user

    Hi, My company uses a payroll application called Cintra. It's possible to run a report in this application and export it to Excel. When one of the users exports a report and clicks File > Save As > Browse nothing happens. All other users get the Save

  • I am unable to view videos, "you need to install Adobe Flash"

    I downloaded the "Download the free Flash Player Now!" and the videos still aren't viewable, I have rebooted the computer, and it stays the same. It is Windows 7 Professional, if that matters... I need to fix this soon. Thanks, Shockwave flash object

  • Final Cut Express 3.5

    Hi, Just getting back into converting some more old video tapes using my Dazzle Hollywood DV Bridge.. I upgraded from FCE 2.0 to 3.5 and I noticed the dwindling list of qualified devices (DV Converters).. FCE 2 worked fine for me but now I notice the

  • Sparseimage???

    After installing Leopard I now have a sparseimage of my old system. How do I transfer all data to Leopard from Tiger?