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

Similar Messages

  • Purpose of RSTXTRAN program for SAP-Script ?? ??

    Purpose of RSTXTRAN program for SAP-Script ?? ??
    when it is required to run that program ?

    Hi sarit,
    Purpose of RSTXTRAN program for SAP-Script Transfer of SAP script Texts to a Correction.
    The report RSTXTRAN allows a set of SAP script texts (or the text key) to be transferred to a correction or repair of the transport system. The name of the correction/repair can either be transferred as a report parameter, or the correction/repair can be selected later in a selection window. The text key can be qualified generically using the asterisk character (*).
    When the report has been executed, the list of selected texts appears. Individual texts can be deselected in this list. When the function "Continue" is executed, the final list of texts which are to be transferred is displayed. The transfer of texts to the correction/repair can now be activated by the appropriate function, and must be confirmed in a dialog box.The requirements for this as follows.
    There is a correction/repair in which the selected text keys can be entered, if it is not being processed. The report can only insert text keys in corrections or repairs, not however in transport requests. However, the objects contained in a correction can be transferred to a transport request with the correction and transport system transaction.
    It should also be noted that the report selects texts in the current client, but that the transport system generally exports texts from client 000.
    When the report has been executed,the output can be a list of the selected texts. Information about whether transfer to the correction/repair was possible is displayed for each text key.
    Reasons for failed transfer include
    o the correction/repair is currently being processed
    o the correction/repair does not exist
    For Example
    All German standard texts with the ID ST, whose names begin with SAPSCRIPT, are to be entered in the correction B20K009999. The report parameters are then assigned values as follows:
    o Correction: B20K009999
    o Text object: TEXT
    o Text name: SAPSCRIPT*
    Thanks,
    Usha

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

  • Alignmnet Issues with SAP Script

    Hi All i have an issue with SAP script i have few columns in the script where in the values in the column changes dynamically.For example the value of second column in the first row can be 5 characters and the value of the same in the 2nd row can be of 10 characters and it keeps varying for every row but the max length of it would be 20 characters.
    Now the issues is with the second column as the text in this column keep varying the text in the same row after the second column keep moving either towards right or towards left depending on the text in the second column,Can any one help me as how  can i fix this issue.
    Looking for your valuable inputs.
    Regards
    Hari Krishna.

    Hari,
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802d91454211d189710000e8322d00/frameset.htm
    Even though it is not the solution,I guess this link will be helpful.
    K.Kiran.

  • Search print program and sap script

    hii , how can i find  trigring print program and sap script  for a particular  purchase order.
            regards  Aditya
    Edited by: aditya shrivastaba on Apr 14, 2008 9:59 AM

    Hey,
    First go with Me22 or 23 with po that you had, and then check with output type for that in the transaction. After that go to TNAPR table and check the corresponding form and print program.
    Or else, go with NAST table in that put PO num in 123456 and put in OBJKY field in nast table. It will give you the output type of it, so that u can find the print program and lay out in TNAPR
    Many thanks,
    Raghu.

  • Slicers don't show any values (Excel 2010)

    Hi all,
    my slicers on a pivot table (originating from a SSAS Cube) don't show any values at all. Nothing. I've tested it with all available dimensions of the SSAS cube.
    If i disconnect the cube and use "hard" values it works without any problem. With hard values from other sheets and integrated pivots it works totally fine. Just the live-connection to the cube is causing these problems. It also doesn't work with
    the standalone slicers.
    Does anybody have an idea how to solve the issue?
    BR
    Bjoern
    // has nobody encountered this problem?

    Thank you for your feedback, but I've solved the issue by now.
    Apparently, the empty slicers resulted from a setting in the defaultmember propery in the SSAS cube itself. When i tried to update the slicer i've received this error message (but only one time!, the second refresh didnt produce the error message):
    "Unable to retrieve information from DIMNAME slicer(s). in some cases, this can be due to a custom value in the DefaultMember property for an attribute of the dimension."
    So, afterwards i've set the defaultmember parameter in the respective dimension in the cube to nothing (inserted no value) and reprocessed the cube. Et voilà - it works totally fine.
    Thank you for your help!

  • Problem with SAP Script FAX output

    Hi Friends,
    I have problem with SAP Script Fax output.
    After I issued output using the messge type, the print preview format shows me correct alignments and the right data. But when I go to List display using the menu bar functions from the print preview screen, the list is showing me the right data, but all the alignments at the main window went wrong.
    How do I rectify this problem? I need correct alignments in both form display and list display.

    Hi Sasidhar,
    Have you tried with different fax machine.
    Regards,
    Atish

  • What is print program for sap script?

    some of the print program of sap script.
    and also guide me to use that program

    for which sapscript ?
    you can use table TNAPR to find the print program and layoutset for output types. Maybe it will help you.
    regards,
    Hans

  • Passing value from a program to sap script ?

    Hello Friends,
    While defining the header,footer or address window to assign a text we goto text element and assign it.
    Now is there any way where we can pass the value from the program.
    Eg : I want to pass the value for address from the abap editor to the address window in a sap script instead of assigning the address using the text element in sap script. Is it possible?
    Regards,
    Ranjith

    You can have subroutines in script.
    if you have any fields used to get address then using that fileds you can retrieve the address by defining subroutines in your form
    Reward points if useful.
    Regards,
    Nageswar

  • Invoice List SAP script - Problem with SAP script functionality

    Hello Friends,
    I am working on SAP script - Invoice List SD_INVOICE_LIST. The invoice list contains the underlying billing documents. As per the standard functionality, in the line items, its printing the underlying billing documents with the net value. My requirement is to dig these line items into another level, meaning, I need to display the line items of billing documents  as well(like material, material description, quantity, net price and net value of that item etc).
    The billing linte item informatin is stored in VBRP table and the VBRP structure is not at all defined in the print program of SD_INVOICE_LIST (I.E.RVADIL01). Change of standard SAP program is not an option for me here.
    In the external subroutine we can fetch these line items for each billing document in the invoice list. However, my question here is how to take these line items back to the sap script and print them in SAP script (We can print one line item but how to loop these fetched lines and print them on SAP script. Any help in this regard would be greatly appreciated.
    I think there is no standard smart form exist for the invoice list. Please also let me know if there is any standard smart form available for INVOICE List.
    Thanks in advanace for any help in this regard.
    Best regards,
    Siva

    Hi
    As you cannot change the standard, you will have to see if there are any enhancements provided in the print program. if not you have to copy into a custom one and do changes accordingly.
    Thanks,
    Venkatesh

  • BPC 5 MS version -Park and Go Offline Report is not showing any values

    Hello Everyone,
    I have some reports that I created using EVGTS  and EVDES  in BPC and need to send to users who are not connected to BPC. I have attempted to save the reports via park and go with the offline option selected so that the report would not be connected to BPC. The users came back to me saying that when they opened the reports all of the cells are showing  #Name instead of the values when they open the reports. I have saved the reports to my desktop then closed out of BPC totally and opened the reports in native Excel and they display fine on my desktop. I then sent the offline report to my personal email address and opened it on my laptop which doesn't have a BPC installed on it and I got the same error as my users.   We are close to go live and will definitely need to have this functionality working for the reports in Excel to be distributed to a lot of users who are will not have access to BPC.
    Any help would be greatly appreciated!!
    Eleasha

    Have you searched on the support site for any notes on this? I have had similar problems, related to specific builds of BPC 5.1 and specific versions of MS Excel.
    I'd recommend you file a message with SAP Support, indicating the specific versions of Excel for which the report does work offline (your own machine, apparently) and does not work.
    I know that a few BPC versions ago, the park-and-go feature definitely worked when sending the Excel file to a user without the BPC client installed. It's possible that this is no longer true, but I wasn't aware of the change.

  • RDI File to be generated with SAP Script

    Hello ,
    We need to generate RDI file for a SAP Script in transaction VA11.Please can  anyone let me know do we have to do the settings through configuration or programmatically in the SAP Script.
    Regards
    Amruta Prayagi

    Hi Amruta,
    i was just describing what is usually done for invoices, purchase orders ...etc.
    Get the aid of a functional. He will know the right place in parametrization where one can assing the print program to the sapscript form.
    Thus you will have:
    1.- one standard program assigned to one standard sapscript form
    2.- one Z program (copy of the standard one) assigned to one Z sapscript form (copy of the standard one but with the RDI settings)
    He will know as well how to create a message class for each one of the sapscripts.
    Thus you will have:
    1.- one message class for the standard program and sapscript
    2.- one message class for the Z program and the Z sapscript.
    Have a look at the output of an invoice or a purchase order because it can provide you a clearer idea.
    When you want to get the output you´d need to choose between the different outputs formerly described.
    You cannot have both at the same time.
    You can have a pdf or a fax or an RDI or an ordinary spool but one by one, that is, (re)processing the message as muck as you like.
    Hope to have somehow helped.
    Best regards.

  • Report with SAP Script

    hi guys,
      if i need to develop a report for purchase order using SAP script..how can that be possible???what is the name of the SAP script and how can we find that script???
    regards
    kalpana

    Hi Kalpana,
             The standard SAP Script form for PO is MEDRUCK,
    If You want to modify that form means take a copy of that form and modify it.
             The print program for MEDRUCK is SAPFM06P.
    You can get this Print programs from TNAPR table.
             Have you ever worked in VK01 transaction or created an IDOC. If Yes,it will be easy to print the form.
    with regards,
    Kalpanashri Rajendran

  • Sap Script - putting dynamic height value in box command

    Hello All,
    In SAP scirpt I have to display a table which might have variable number of line items. So in box command I cannot mention the height statically.
    Is it possible to specify that dynamically like by using a variable and incrementing it every time the element is called from the loop?
    Thanks
    Indrajit

    no in SAP-SCRIPT this aint possible. But you could do this in an external perform, and have your incremented value back, tho since a external perform is beeing called from the form, the box statement might already have been interpreted.
    this again would mean that this way wouldnt work as well then.

  • Problem with sap script table in main window

    hi all,
    i have created a sap script  for which output is in 7 pages.
    except first page all the remaining pages are giving the correct output.
    the problem with the first page is iam not not getting vertical lines in the table which is in the main window of page 1.
    iam getting the vertical lines correctly in the mainwindow table of all the remaining pages.

    Hi,
    It's simple,
    Pre- U should had declared a second page for the same window with header, main & footer.
    now
    First when u r looping the internal table provide no of rows eg Row 1 TO 10. in the Loop ( Data Tab)
    or
    when defing TEXT Go to PC Editor and mention all the fields Under  PROTECT -  ENDPROTECT.
    This would solve the issue.
    Thanks
    Ravi

Maybe you are looking for

  • MiniWAS620 Installation-Need help

    Hi All, I had installed Netweaver640 from SAP successfully and then I bought a book and got WAS620 CD's. To install this I learnt that I need to delete SAPDB folder. System was not allowing to delete. So I reinstalled my XP OS. Now I could install al

  • 10g R2 dbca fails in Solaris 10

    Hi, I am facing the following problem in Solaris 10 SPARC 64 bit machine. 1.     Downloaded Oracle 10g R2 installable from oracle 2.     Created user oracle and group dba and modified project settings and permissions as per quick installation guide 3

  • Can I group charts with objects in Numbers 3.0?

    In Numbers 2.1 I could group charts with objects and text.  I can't get this to work in Numbers 3.0.  The objects will group but not the charts. I used this to create marked-up charts in Numbers and paste them into a Pages document. (I just purchased

  • Horizontal Scroll in TableView cell

    Hi, I'm creating an app where I will be displaying data in a tableview. I need to be able to show a variable amount of data which is stored in a mutable array (I was thinking in the forms of labels) and have it all in one cell. The table itself also

  • No Keep in Dock option

    Hi, new user here. We're running eMacs in a small school computer lab (15 total), on 10.4.11. When I log in to any eMac as a workstation (where I log in with administrative rights), I'd like to add applications to the dock. However as I drag the apps