Script not displayed threw driver program

script is not displayed threw driver program i have only one window n one main window n only text in tahat still its not displayed n gives error " Form zasi_sript4 language EN is not active a
no errors". code is below
*& Report  ZASI_SRIPT4P
REPORT  ZASI_SRIPT4P.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
   FORM                              = 'zasi_sript4'.
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 'START_FORM'
EXPORTING
   FORM                   = 'zasi_sript4'.
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                        = 'E1 '
  FUNCTION                       = 'SET'
  TYPE                           = 'BODY'
   WINDOW                         = 'MAIN'
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
   ELEMENT                        = 'E2'
  FUNCTION                       = 'SET'
  TYPE                           = 'BODY'
   WINDOW                         = 'window1'
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.
CALL FUNCTION 'END_FORM'
IMPORTING
  RESULT                         = zasi_sript4p.
EXCEPTIONS
   UNOPENED                       = 1
   BAD_PAGEFORMAT_FOR_PRINT       = 2
   SPOOL_ERROR                    = 3
   CODEPAGE                       = 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.
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.

Hi,
here you no need to write start form and end form
REPORT ZASI_SRIPT4P.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
FORM = 'zasi_sript4'. " change here
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 = 'E1 '
* FUNCTION = 'SET'
* TYPE = 'BODY'
WINDOW = 'MAIN'
IF SY-SUBRC 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'E2'
* FUNCTION = 'SET'
* TYPE = 'BODY'
WINDOW = 'window1'  "is this same window or different window? if same window ,give name as 'MAIN'
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.
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.
with regards
Naresh

Similar Messages

  • In sap scripts how to display the driver program

    Hi,
        I Want to know the sap scripts How to display the output to driver program

    Hi,
    Go to NACE Transaction.
    Select application for ex: if sales V1.
    Click on output types.
    Select the output type for ex : BA00
    Double click on Processing routines.
    There you can find the Driver Program name and Script/smart form name.
    Reward if useful.
    Thanks,
    Raju

  • Mozilla firefox does not display Notepad++ web programming

    mozilla firefox does not display notepad++ programming of web page and does not connect css files. Currntly programs using CSS + html5.

    Could you check in the lower right corner of Notepad++ what character encoding is being used for your documents. (See screen shot attached.) Some encodings, particularly UTF-16 encodings, have caused other users problems with external content not loading. It is best to use the same encoding for all of your pages, style sheets, scripts, etc.

  • K9N2 Bios not displaying BD drive on sata

    I get this annoying problem from time to time. My computer will freeze forcing me to warm boot. during the reboot process it hangs at the animation screen for a long time before continuing on to vista desktop. Sometime I have to move the mouse to make the animation move again other times I had to remove my USB Saitek X45. I looked in the BioS to see if i had something set wrong because I noticed a post boot there was no listing for my BD drive as being detected although it shows up in vista. I updated the bios but this still happens.

    no it only came with the utility CDs for writing media to disk that i could see i am currently searching lite-on site for a firmware update if available. god i hope it is not a bad drive but i did replace cables to see. i listed only the blu-ray drive but in actually it seems to stem from several different things from usb to god knows what else. i have read somewhere about logitech mice sometimes cause freezing at boot screen since it does sometimes start moving again if i move the mouse. so in all i have no idea what causes this. the drive is on sataII 4 and usually shows up just strange that vista is seeing it and it works normally until it freezes from either when i leave it on for a long time and take it out of selection screen when the screensaver is on. starting to think i just put together a nightmare.

  • How to find out the script name used in driver program

    Hi Folks ,
                 I want to find out the Scripts(print program) used in my driver pogram .
    How is it possible any Tcode availble for this ?
    Thanks ,
    Jaga.D

    Hi Jagadish,
    Go to transaction SE38 and open the program RSNAST00. There search for the subroutine TNAPR_LESEN.
    Set a break point at that subroutine and leave. When printing the data from a transaction to a script or form (Like VA01 or VL02N), debugger is started when the processing reaches the subroutine in RSNAST00. There double click on the field TNAPR-FONAM. continue step-by-step execution. The field will display the name of the script or form that is currently being used.
    Another way to do this is to go to transaction NACE and check the transaction for which you want to find out the script. There you will find the script and print program that have been set for a particular transaction.

  • HELP! date pass to script not display in date format

    hi all,
    i want to include final approver date into Puchase Order, and i call up a form, getting the date from CDHDR. however, when i return the date back to the script, the date display in PO are out of date format.
    original : 16.07.2007
    but it shows as : 20070716
    how am i going to change it to the actual proper format in script?
    very thanks for the help first.

    hi,
    but i have other date ( such as create date) which are showing correctly. the create date gets directly from table.
    i tried to use the SET DATE, but there is no charge on it. my actual code is as below:
    /:           PERFORM GET_TEST IN PROGRAM Z_TESTING6
    /:           USING &EKKO-EBELN&
    /:           CHANGING &UDATE&
    /:           ENDPERFORM
    PO            Release Date,,&UDATE&
    can only one help me. thanks

  • T2000 not displaying all drives

    Hey all, I was wondering if someone could help me out.
    I have 2 T2000 with 4 drives each system. Both setup the same. Drives 0 & 1 = 72GB and drives 2 & 3 = 146GB
    On the first system when i do 'format' it only shows 0, 1, & 2. raidctl is not being used
    on the second system, raidctl was being used, but i have deleted the raidctl config. but when i do 'format' it still shows target 2 as: 2. c0t2d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> and it also only shows 0, 1, & 2.
    how do i remove the LSILOGIC label? and how do i get it to show the last drive?

    Hi
    after deleting the raid save it
    any entry in the /etc/vfstab
    regards
    sundar

  • Mac not displaying hard drive

    hi.
    i am connected through my airport extreme but my mac doesnt seems to be displaying my hard drive that is hooked into the airport extreme...
    any help??????

    it was formatted on NTFS format....i called apple support was able to find out that AE don't support all this except mac formatted hdd..

  • Migration Assistant not displaying relevant drive

    I purchased a 1TB SATA internal HD for my Mac Pro tower last night, with the intention of making it my start up disc. Currently I have a 500GB HD in bay 1 of 4, with a secondary internal drive in bay 2. I put the new 1 TB into bay 3, slid the carrier shut, and launched Disc Utility and formatted the disc, no problem. I then launched Migration Assistant, with the intention of copying over all of my files from my 500GB current start up disc, over to the new 1 TB drive in bay 3. Afterwards, I was going to put the 1 TB drive into bay 1. Upon launching Migration Assistant, here is the first prompt that came up with two radio button choices:
    HOW DO YOU WANT TO TRANSFER YOUR INFORMATION?       
    • From another Mac, PC, Time Machine backup, or other disk?
    Transfer information to this Mac from another Mac or PC on the same network, a backup disc, or another startup disc.
    • To another Mac
    Transfer information to another Mac on the same network
    I selected the first radio button (top bulleted item above). I was then prompted to provide my password by M.A. When I did so, another window popped up with two more radio button choices:
    HOW DO YOU WANT TO TRANSFER YOUR INFORMATION?       
    • From another Mac or PC
    Transfer information to this Mac from another Mac connected to it, or from another Mac or PC on the same network.
    • From a Time Machine backup or other disk
    Transfer information to this Mac from a back disk or another startup disk
    Wanting to copy data over from my current startup disc, I selected the second radio button.
    When I did so, the only choice I had was HD 2, which I didn't want, or a Time Machine backup of my startup disc (HD1) which was done too long ago to make it a currently relevant.
    The big question is, after an hour of waiting for all the drives to be scanned, why wasn't the startup disc (HD1) offered on the list to choose from, instead of just the Time machine backup version of that same disc?
    Would placing the new 1 TB drive into bay 1 instead of bay 3 solve the problem?
    Thanks, Carl
    p.s. Using Lion 10.7.1

    Thanks again, John.
    While I was waiting for another reply, I tried something I had heard about that seems to have worked. I rebooted into Lion's Recovery Disc. I then launched Disc Utility and selected the Restore tab. The resulting window gives you a source disc field and a receiving disc field. I just selected the existing 500 GB startup as my source and my new 1TB drive as the receiver and hit restore. It copied file for file the entire contents over to my new drive in about an hour and a half. I renamed it HD 1, dropped it into bay 1, renamed HD 1 as HD 2 moved that into bay 2, and so on with the last internal drive. I set the startup disc in my Pref Panes as the new "HD 1".  It started up and remembered my username and password. So far, so good. Why do I get the feeling there's another shoe to drop? Maybe it's just my paranoia.
    Carl

  • Smartform Driver Programe

    Hi,
    I prepared a smart form by changing MEDRUCK into Smartform and doing some modifications, after that when i attach that to the output type in the NACE transaction and executing the corresponding transaction it was giving errors as Open form and Write form statements were not found .,
    in the attachment i had not changed the driver program ,
    please claify me weather i should copy that driver programe and do the modifications for that ? ?
    thans and regards.,
    P.Prasanth

    hi
      wat i am getting is like , earlier ur std. form was a sap script and that driver program is written for that ,
           Now u created a Smart form for fulfilling  ur requirment, but using same driver prg.,  sure it will not work.
    what i can suggest u that take that std. sap script in z-form,
    do ur changes in that as required and assign that to driver prg., insted of creating new driver prg for ur SF , becoz accuracy of std. driver prg. will be more then z-prg.
    if u have to hide some values from display ,then just made changes in SAP script only, but if u want some new info. to display on script then u have to make change in driver prg. also
    reward if helpful.

  • DRiver program for Purchase order smartform

    Hi,
    I am trying to use "smartform" for purchase order printout.
    But not getting any driver program to attach in NACE for this output type(NEU). Is there at all any standard SAP delivered program for this purpose ?
    If Yes, then what is it ?
    Thanks for your response..
    TS

    HI,
    Try this ..  
    goto the program  RS_ABAP_SOURCE_SCAN
    in the selection screen  give the form name in the search string  it will display the all driver programs .
    let me know any help....

  • Premier Pro CS6 not displaying Video

    Premier Pro CS6 is not displaying video.  Loads and plays clips with sound and all monitors work but no video displayed, installs them in timeline, exports - just does not display video in program or preview monitors nor will it scrub in the thumbnails (static images only). Just started all of a sudden for no apparent reason.  All valid file types, even previous projects that worked fine before display no video now.

    If you are on Windows it HAS been known to happen that a Windows Update will cause a video driver to have problems (more information when you ask a question is a good thing http://forums.adobe.com/message/4200840 so people will be able to help)
    It is "more usual" to need a video driver update, so good to know that a simple un/reinstall worked for you

  • Driver  program RFKQST00.

    I have one driver  program called ZRFKQST00IT  . it seems it is copied from std program RFKQST00.
    Now i have observed that there is some extra code in program RFKQST00.
    ( we have two 4.7 systems , in one system some extra code in program RFKQST00  and another system there is no extra code in  program RFKQST00  )
    I don't understand why ?
    Is that because of the patch aplying ?
    ( my boss toldto go to oss notes and we need to apply patches )
    The new code is in program RFKQST00 is :
    **Start of Classic WT in italy data declarations...
    DATA : CL_INVOICE TYPE C,
           CL_INVOICE_TAB LIKE KTAB OCCURS 0 WITH HEADER LINE,
           CL_PAID_INVOICE LIKE KTAB OCCURS 0 WITH HEADER LINE,
           CL_DOWNPAY_TAB LIKE KTAB OCCURS 0 WITH HEADER LINE,
           CL_IT_KTAB LIKE KTAB OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF CL_DOWNPAYCLR1_TAB OCCURS 0,
              KTAB LIKE KTAB,
              REBZG LIKE BSEG-REBZG,
              REBZJ LIKE BSEG-REBZJ,
              REBZZ LIKE BSEG-REBZZ,
           END OF CL_DOWNPAYCLR1_TAB.
    DATA : CL_DOWNPAYCLR2_TAB LIKE CL_DOWNPAYCLR1_TAB
                                      OCCURS 0 WITH HEADER LINE,
           CL_PARTPAY_TAB LIKE CL_DOWNPAYCLR1_TAB
                                      OCCURS 0 WITH HEADER LINE,
           CL_CLEARING_TAB LIKE KTAB OCCURS 0 WITH HEADER LINE.
    **end of Classic WT in italy data declarations...

    Now i have observed that why there is some extra code in program RFKQST00 whic is not present in driver program called ZRFKQST00IT.
    ( my doubt is one normally can't eliminate code while copying... ...Is this is because of patch applying)
    ( we have two 4.7 systems , in one system some extra code in program RFKQST00 and another system there is no extra code in program RFKQST00 )
    I don't understand why ?

  • Selection screen is not displaying if I use logical database CCLDB_AENR

    Hi Experts,
    If I use the logical database CCLDB_AENR in my custom program, it is not displaying my custom program selection screen. It is only displaying the logical database selection screen.
    some one help me how we can handle this.
    Thanks,
    Naresh.

    Hi Experts,
    If I use the logical database CCLDB_AENR in my custom program, it is not displaying my custom program selection screen. It is only displaying the logical database selection screen.
    some one help me how we can handle this.
    Thanks,
    Naresh.

  • Driver program name for script j_1i_57f4 challan

    hi .... plz i needed driver program name for delivery challan script : J_1I_57F4 . i tried to find it but since the output is displayed only from sp02 im unable to get its driver program name . i have to add certain fields in that form and corresponding logic in that form .
    thanks and regards .

    hi
    If u check the TNAPR table u will get the Driver Program as J_1I57FPN  , allu have to do is to Activate the SAP SCRIPT DEBUGGGER   and check the values  and also in the driver program above and check whihc values are coming and not.
    surya

Maybe you are looking for

  • Communication problem with Arduino UNO R3

    Hello, I'm using Labview 2011 to automate a part of the line used to sample's preparation linked to a mass spectrometer. I'm using an Arduino UNO R3 which is linked to valves and I'm supposed to talk to it via numerical signal in order to open or clo

  • Time machine won't back up external hard drive

    Hello, Due to my internal memory becoming full, I have connected an external hard drive to store my iPhoto Library. There is no problem with this however, I cannot seem to get Time Machine to back up the external drive. It is on the "excluded" list,

  • Codec for Quicktime

    I exported a Quicktime Movie from Final Cut Pro. It was shot at DVCPOR HD 1080p24 23.98. Quicktime says it doesn't have the appropriate software to play it. What do I do to be able to play it? Is there a free codec to download or something?

  • 'Request timed out' on Application Loader

    I cannot upload my binary using Application loader. Error message is either 'request timed out' or 'connection lost' during the "Sending API usage to iTunes Connect". (Upload worked yesterday, my internet connection has not changed).

  • Acrobat x will not act as default viewer

    i can not get web browser adobe links to point to acrobat x as my default viewer. it will only open in reader.