Smartform problem

hi all,
    I execute a print job in a program and I got a system runtime error(the print job is smartform). The message shows that a parameter defined in smartform was not specified. acturely, the path is global settings->form interface-> table..
   GT_IN_TABLE     LIKE     ZCO_PRODUCT
I wonder what's wrong, thanks in advance!

Hi,
Check the print program where the smartform is called. I think the smartform is expecting a table of type ZCO_PRODUCT. You need to pass this as a parameter to your smartform under tables.
For e.x.
CALL FUNCTION '/1BCDWB/SF00000073'
EXPORTING
IMPORTING
TABLES
GT_IN_TABLE = some_table_name
EXCEPTIONS
if sy-subrc <> 0.
endif.
Hope this helps.
Regards,
Pulkit

Similar Messages

  • SMARTFORM: PROBLEM WITH PRINTING SAME HEADER IN PAGES FOR A NON-FINISH LIST

    Hi, guys!
    I hope you can help me as well as many other times.
    I have a Smartform which contains a header,body and a footer in a page.
    This is a form for a report, which we have a column header and the positions. the problem is that if a current account haven't finish in that list (see the example)
    ASD
    ASDASDASDASD
    ASDASDASDASD
    MY REPORT
    ACCOUNT      | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |                <-- COLUMN HEADER
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |12.12            |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123123.23    |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.1233      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |21222.23      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.23          |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |1212.12        |
    PAGE 1
    in the next page, we don't want to repeat the columns header. just only continue printing the lines...
    ASD
    ASDASDASDASD
    ASDASDASDASD
    MY REPORT
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.1233      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |21222.23      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.23          |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |1212.12        |
    PAGE 2
    Has anyone encourage this issue? What can I do? remember is a smartform.
    please help us!!
    thanx

    Guys.
    Remember that the columns header won't be printed only if the lines per account continues. I mean, the column header printing depends on the number of lines that are being printed.
    If at the end of a previous page the list (for example the positions that belong to this account) still continues for an account, then in the next page the column header musn't be printed, just only continue printing the rest of the positions. As you notice this case would be found in any number of pages during the rest of the report.
    I'm agree with all your solutions but this only functionin some cases for the first page.
    I look forward to hearing from you.
    If I'm clear now, please help me!
    Thanks guys!

  • Smartform - problem in displaying text in a page

    Hi experts,
         I am developing an invoice printing in smartforms.Here i am facing one problem.
    i am displaying line items in a table in the footer window.In that table footer i am displaying some text (text contains 8 lines).
          Here if the number of line items are below 3 the text in the footer of the table printing correctly in the 2nd page.
         But if the number of line items are above 3 the text in the footer of the table in footer window is not printing correctly (4 lines in the text is printing in 2nd page remaining 4 lines are not moving to 3rd page).
    Regards,
    Navaneeth.

    Hi
    Generally we use MAIN WINDOW for printing the line itesm data which is not constant.
    Depending on lines it moves to next page.
    You are saying that you are using footer window. It seems that you have taken the height of that window as 3 Lines
    where you wants to print the lines if it is more than 3 ? naturally it goes to next page.
    So you increase the footer window height to a max of the line items, or reduce font.but even if it is not a constant data naturally it goes to next page.
    You have to use the footer window for printing some constant data in the footer like Signature, and address etc.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Smartforms - problems with output preview when vedor has different languag

    Hi all,
    The output preview does not work when vendor has different communication language then english?
    Exact description of the problem described by the functional people:
    "For the Latin America countries that use the SMARTFORM today, we have noticed that if the vendor has ‘communication language’ English, the PO is displayed fine in the ‘Output preview’ in iShop. However, if the vendor has communication language e.g. ES maintained in the vendor the output preview fails. We would like to have it so that even if the the vendor has a different communication language than EN maintained on the vendor the PO should be able to be displayed in the ‘output preview’ of the SRM system."
    So has enyone encountered this problem before? All help is appriciated!
    Thanks in advance!
    /Armin

    Well the problem was that the language pack with Sapnish language was not installed.
    Thanks for the answer 2p 2u!

  • Smartform Problem in Displaying a string data

    Hi Friends,
                     I am facing a problem while displaying a string data in smartform. Actually it is a one of the field's data in an internal table. It is a STRING field type of length 0. While populating in an internal table it is having a all the data(Around 700 char data). But while displaying in a smartform surprizingly only few characters(Around 225 char data). How can i overcome this problem?
    Regards,
    Sekhar.J

    Hi
    try this and see
    Declare some Variables of 72 char each and split that long string data of internal table text field into them and display these variables strings one below other in smartform
    var1 = itab-text+0(72)
    var2 = itab-text+72(72)
    var3 = itab-text+144(72)
    like that
    and display one below other in smartform.
    &VAR1&
    &VAR2&
    &VAR3&
    Reward points for useful Answers
    Regards
    Anji

  • Smartforms Problem

    In smartforms i converted one BMP file to TIF file and uploaded to Text using standard program RSTXLDMC.
    Now the issue is how to use the standard text in my smart form to print the image.
    i know how to use the TIF image directly but i want to know how to use standard text to get the image
    Pls let me know if it is possible or not.

    Exactly thats what i am using now but want to know whether is it possible by using TEXT instead of creating Graphics node.
    In graphics we can use both .bmp as well as .tif files but not text.So what is the solution of using TEXT Ids in Smart forms.
    Thanks for all your answers but still i didn't get the solution to my problem.
    Regards,
    Chandra

  • Smartform problem with field in table

    Hi everyone,
    I have  a strange issue.
    I created a table within a smartform.
    That table has a row with few fields.
    Somehow, value of field 5 appears in field 4 (near value of field 4).
    Of course, value of field 5 is meant to be displayed in its own column (column 5).
    column4    |    column5
                    |value4    value5
    This problem doesn't occur everytime.
    After lot of debugging, I did not get to any conclusion.
    Thanks for any help.
    Regards.

    Hi ,
    check  the order of fields you are declaring in internal table and order in which they are retrieved in select query should match, else u can use move-corresponding fields of  - in select query. Also try adjusting the column length  in  line type of the smartform
    Regards,
    Vinod

  • Smartform problem with FS [short dump]

    Hi Abapers,
    Am using <FS> in my smartform
    it is using as Work area.
    Bcoz my line item data Containing Amount and Quantity fields.
    so when am not using <FS> i.e., if am declaring WA like <struc>
    then its giving error message like Quantity does not exist.
    when for is printing.
    so thats why am using <FS> as my Work area.
    when am looping my table data into <FS>.
    for my main window table.
    so when ever am having no line item data with respect to my Selection screen.
    Then my line item internal table is empty in my driver program.
    so when it comming to smartform <FS> is empty
    then my form is going to Shortdump.
    so how can i over come that it should not go to shortdump
    even my line item data is not having records.
    Pls give me any solution .....!
    Thanks & Regards,
    Rajeshk

    Thanks for ur immd. response.
    Actually am not having problem with Quantity and Currency fields.
    My form is executing alright.
    But ,
    when ever am having no line item data with respect to my Selection Criteria.
    Then my line item internal table is empty in my driver program.
    so when it comming to smartform <FS> is empty
    then my form is going to Shortdump.
    I think you under stood my problm.
    ThankQ

  • Smartform: Problem with pages -  some do not load

    Hi,
    I am developing a 5 page Smart Form.
    Currently 1 page has been developed, with all 5 having the same header (1 logo and 3 windows).
    The 1st page has 1 main window and the 2nd page has another. Every page will have a different main window.
    The problem is that even though page 1 is configured to go to page 2, page 2 doesn't load, even though I have a header and main window there as well.
    Am I doing something wrong?
    Do I only need 1 main window, containing everything that spreads to all pages?
    How is this supposed to work? Please help.
    Thanks,
    John

    John,
    Here is a link which will teach you step by step
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    More links
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    Step by Step creation of Smartforms
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    FAQs
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    also see
    http://www.****************/InterviewQ/interviewQ.htm
    http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm
    http://www.techinterviews.com/?p=198
    http://www.techinterviews.com/?p=326
    http://www.sap-img.com/abap/answers-to-some-abap-interview-questions.htm
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.geekinterview.com/Interview-Questions/SAP-R-3/ABAP
    http://sap.ittoolbox.com/documents/popular-q-and-a/abap-sample-interview-questions-3240
    http://www.sap-img.com/abap/abap-interview-question.htm
    http://www.allinterview.com/Interview-Questions/ABAP.html
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    Regards,
    Satish

  • Smartform - Problem with COURIER font

    Hi All,
      I assigned a COURIER font to a field in smartform. The font in the printout is not the same as font shown in Smartstyle preview. Please suggest your ideas to solve this problem.
    Thank you.
    Regards,
    Ramesh

    Hi,
    The Courier font style works like that only. even if you do in MS-word also it will look different.
    it will display / print bigger fonts when you take the prints compared to preview
    please reduce the size of the font to 8 or 9 which is good to display
    or use HELVE which will look like ARIEL
    REgards
    Shiva

  • Smartform - problem with main window

    Hi all,
    I have following windows in my smartform first page.
    First Page
      -> secondary window 1
      -> secondary window 2
      -> main window
           1 template1
           2 template2
           3 command node
      -> secondary window 3
    I have the same windows in  my next page. I am using the command node in main window for some specific condition to implement page break to next page. I am getting the next page with all the contents from the secondary windows but for some reason the main window in second page is not diplayed.
    Please help me. Waiting....

    Hi Raju,
      One possible solution can be... first fix number of rows in a page. Then in the INITILIZATION use DESCRIBE command on your internal table. Then divide the number of lines by the number of line you have already fixed to be printed on a page. This will give the number of pages.
      Now what you can do is... in your first page take a table node. In that create a  table line with 13 columns and place the first 13 columns in that.
    Then take a ALTERNATIVE node with condition sy-page = the number of pages which you have already calculated.
    For this ALTERNATIVE node in the TRUE node take a COMMAND NODE  with NEXT_PAGE(second page) in GO-TO-NEW-PAGE field.
    And in the FALSE node take another COMMAND NODE with FIRST_PAGE(current page) in the GO-TO-NEW-PAGE field.
    Untill unless you will reach the last page(which we have calculated) this condition will become false and hence the COMMAND NODE in the FALSE node will trigger and the current page will be triggered. This completes the printing of 13 columns for all your internal table rows.
    Now in the NEXT_PAGE(second page) take another TABLE node and again create a new table line with the next 13 columns(14 to 26). And assign NEXT_PAGE in the Next Page field of this page(next page... hope you are not confused ). This will print the remaininig 13 lines.
    But the problem with this solution is that the user has to sort the pages after getting the printouts and also the number of rows that will be printed are fixed on a page.
    Thanks and Regards,
    Bharat Kumar Reddy.V

  • SMARTFORM problems with special characters

    Hi everybody,
    only to know if somebody knows how to fix a problem printing special characters in a smartform, instead of some characters the smartform display (Print preview)  and prints interrogative symbols <b>"?"</b>.
    If someone knows about this problem, it will be helpfully for me,
    thanks and have a good day

    HI
    To display Special characters in Smartforms ...
    goto text editor of the perticular text node.
    in the text editor, Click INSERT - Characters - Displayable Characters.
    a new window will open showing all characters...if ur required character is not
    present, click on non-dispalyble character button , it displays all the characters
    and their respective numbers...select ur required character .
    Check it, if it is helpfull reward points..
    Thanks
    REGARDS
    DINESH

  • Smartforms problem wuuu :(

    Hi there Smartformers. I've got strange problem with my SF.
    The problem is that I added 2 tables to SF. 1st is a header, 2nd is a table content.
    Problem is that when I pass itab to 2nd (content) table-object I got 'formatting error'.
    ... but when I do a REFRESH itab in program code before calling Smartforms FModule - I don't get 'formatting error' ...
    ... how can I find the reason ?
    itab structure is the same in program and in SForms ... It's sth like:
    MATNR -> MATNR
    SSTUF -> CHAR 2
    PARAM -> CHAR 10
    VALUE_OLD -> KBETR
    VALUE_NEW -> KBETR
    can You give me some tip how can I locate an error ? Greetings. P.

    Since you are using the Amount, you need to give the Currency field for that amount field.
    Go to Global Definitions and tab Currency / Qaunt. fields.
    Regards,
    Naimesh Patel

  • Smartforms problem ? intersection of template boundaries

    hi,
    in my smartform project; i am using several templates.and many of them have intersection with each other.the question is;some boundaries which are intersected with each other are visible but some of them are not.do u have any ideas?

    HI,
    If the windows are intersecting with each other also not a problem, that windows should be print. check out correctly.there might some other problem
    Regards
    Sudheer

  • SmartForms - Problems with Text Element

    Hello guys!
    I was adjusting a SF for the BID_INVITATION scenario (SRM) when i stopped in front of a problem.
    I included the word "Data" in a Text Element that there was already, but, my new word doesn't appear in the Form.
    Anyone know what is happening?
    Is there any thing especific in the Text Element to permit that my new word appear?
    Thanks in advance.
    Hugs.
    Danilo Cardoso

    Hi
    Check If you activated the smartform and also check if there are any conditions in the condition tab of the text element.
    Vishwa.

  • Smartform problem how to make second page main window dynamic?

    Hi SAP Community,
    I am facing a problem with designing a smartform. I have taken a table in the main window of the first page, and the main window length varies according to the number of entries in the table. If the records are more than that can be adjusted in the first page then the ramaining records move to the second page main window. After the second page main window i have defined a window which i have marked to get displayed after the main window, but the problem i am facing is that that the second page main window is geting overlapped with the window defined to come after it. Can any one help me with how to control the length of second page main window dynamically.
    Regards,
    Tushar

    Hi,
    Normally, to trigger next page the main window is mandatory.
    However, if the contents of main window are not sufficient enough to move over to next page then the next page would not get trigerred.
    Moreover, please check whether the table of contents in the first page are also existing in the next page otherwise you need to trigger a new page by using a command.
    Also please direct the next page of SECOND page to SECOND itself and check.
    Regards,
    Ram

Maybe you are looking for

  • HP Pavilion dv6 1444ee Recovery Disc Issue

    Hi, I created three recovery discs soon after I purchased my laptop..The Recovery Disc #1 was inside the optical disc tray while I was resolving some issues on a Linux distro called Backtrack5..Playing around with linux' bootloader and when I tried b

  • Need help on Collecting Objects in Transports

    Hi All, I am collecting the Application Component for Transporting.While Collecting , i have given the grouping as "Neccessary Objects". But while executing,it is acting as a "Data Flow Before". It is installing all the below Objec ts.Please help on

  • OSB - Simple passthrough

    I'm sorry to ask what's probably going to sound laughably trivial, but I'm a bit stuck. I've created a simple ADFbc web service using one of the tutorials out there and I have the basic getEmp1, createEmp, updateEmp SOAP methods. I'm trying to follow

  • MacOS launches the wrong binary when clicking on .app

    I developed a MacOS application that contains several binaries inside myapp.app/Contents/MacOS I noticed that after a crash of my application, MacOS sometimes doesn't launch the correct binary. Even if the Info.plist is correctly pointing to the good

  • Code giving error

    HI gurus, I am working on a requirement wherein User wanst to see the specific material group qty in the sales order. I wrote following code which  but i thin i am not able to define th elogic correctly:-                   Zmat_sa_tm = E_S_RESULT-zma