Regarding the Smartforms

HI All,
Its an very urgent requirement . I have to create the second page in smartforms in that i need to print the text , so iam creating the second page in that i placed the normal window , in that i created the text , but in attributes i keeping blank not mentioning like first, second , if i place the second page in the attributes its not issuing the printpreview , Please give the solution and get the rewards points more.
Thanks

In the first page you put a COMMAND element..
In that you Explicitly call  the second page
(There you can mention the conditions for second page to trigger)
To create a Command element.. Right click on the page window and create a Command... In that you can find 'NEXT Page Command'..in the next tab of that command Window you can define a condition for Making that Second Page Trigger..
One more point is that without a main window a page will not trigger automatically..
u have to call it explicitly

Similar Messages

  • Regarding the SMARTFORMS ( Return sales Order Form )

    Hi All,
    i need to develope a smartform from Scarch onwrds for Return Sales Order form.
    If any one have material for how to devleope a SMARTFORM. and also any one idea on standard SMART for Sales order form, please help me.
    Regards
    Gangi

    Hi,
    Here are the links for step by step material for SMARTFORMS
    http://sap.niraj.tripod.com/id67.html
    Check these links for sample program.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/smartform%20in%20abap.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/tutorial%20with%20code%20sample%20on%20smart%20forms.pdf
    Regards
    Sudheer

  • Regarding the text in the smartforms.

    HI EXPERTS,
    i m working on the smartforms ,i have to display the text as a column heading in the forms i.e "Amount of
    one increment granted from 01.07.95" as this text is very lengthy due to which my rows are getting heighted as i m using table for populating it in the forms,what i want that is there any way to get it condensed so that the distance between "amount    &     of " for example will be reduced.
    plz help me sort out this problem.

    hi,
    Goto SMARTSTYLES and Create a appropriate style there.
    Create a Paragraph Style with lower Font and hence the Area will be reduced.
    Apply that style to  the text of the Heading
    Regards
    Sumit Agarwal

  • Barcode is not getting printed in the SmartForm

    Hi All,
    I am trying to print BARCODE in a SMARTFORM but it is not getting printed.
    I have created a barcode ZTest_Barcode from the transaction SE73. Then I have created a Character Format C1 with this barcode ZTest_Barcode.
    In the SmartForm I have applied this character format like this <C1>&WA_VBAK-VBELN&</C1>.
    But in the preview of this SmartForm barcode is not getting printed while this field is printing like <C1>220<C1>.
    I have also tried with some SAP barcodes like BC_CD39, C128A_01, etc. But the result is same.
    Please help me to resolve this issue.
    Regards,
    Avaneet

    hi avaneet,
    check this site for barcode.
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    it may help you.
    thanks
    Sachin

  • F110: Automatic payment supports the smartforms instead of script.?

    Dear All,
    I have a requirement on smartforms.
    I want to configure the smartform instead of script in F110 at company code level.
    Whether I need to do code changes on driver program RFFOUS_C, because this program supports only script.
    Please let me know how to do it?
    Thanks & Regards,
    Bala.

    Bala Kumar,
    SPRO => Automatic Outgoing Paymenst =>Payment Methods / Bank Selcetion for Payment Program => Set Up All Company Codes for Payment Transactions => Check for your Company Code => Go for Paying Company Code (Click It) => at the bottom you'll see Forms. Mention your form there.
    In case if you wish to use Driver Program RFFOUS_C, i think you should make a z copy and alter as per smartform.
    Anmol Saxena.

  • How to set border lines in table and also in template in the smartforms ?

    How to set border lines in table and also in template in the smartforms ?
    As I have to create table with following detals
    total row = 3
    row1 = 3 column
    row2 = 6 column
    row3 = 9 column
    for 2nd and 3rd row data to be fetched using coding.
    so can anybody explain me what should i use
    Table or Template ?
    and I want the border like excel format.
    Can anybody suggest me ?
    Thanks
    naresh

    if the data is multiple i.e. line items choose table.
    if the data is single i.e. fixed choose template.
    Create table
    >  Draw u r no lines
    > choose option select pattern
    > select display framed patterns
    Choose u r required one.
    out lined, or full lined. u can choose option.
    same procedure to be followed for template also.
    with regards,
    Kiran.G

  • Create a new line in the smartforms

    Hi Guys,
    Please let me know to create a new line in the smartforms.
    I tried creating a window with the height length is 0 cms.
    It is allowing to create a line.

    Hi,
    First I need to include the LOGO and next line I need to make a line.
    What do you mean by 'making a line '?
    Is it an empty line?
    If it is just a blank line, while creating the text below the logo just give one line space and then type in your text.
    Regards,
    Shailaja

  • Error while executing the smartform!

    Hello,
    I am trying to see the output of the Invoice smartform 'LB_BIL_INVOICE' to check the layout.
    Am asked the value for the parameter 'IS_REPEAT' a single parameter. For which I gave both Space and 'X'. But still am getting the error, 'FORMATTING_ERROR'. Please adivse me what could I be doing wrong.

    First, please check whether the Smartform is 'Activated' perfectly or not. Second step is check the format, sometimes we give the format which will not supported.
    Please let me the outcome.
    Regards,
    Subho

  • Print program for the smartform for selecting the output type (email/fax)

    Hi All,
    Requirement :I have to create a print program for the smartform where the output type may be print out,email or fax ,so i need to put the condition for selecting the output type (like printout,email,fax).
    can any body please let me know how  to put the condition for selecting the desired  output type ?
    Thanks in advance
    Rahul

    Hi
    It is not the output type that has to be changed
    it is the MEDIUM which you have to change and configure
    for printout medium is 1
    for FAX medium is 2
    for MAIL it is 7.
    so instead of printout change the medium to 2 or 7 for the same output type and attach to the same driver program and smartform/form.
    Reward points for useful Answers
    Regards
    Anji

  • Smartforms : Repeation of data on the smartforms, but in ABAP is correct.

    Hi all,
    I am fetching the data on the smartforms by ABAP program, but when it is comming on the smartforms, it is repeat.
    In the ABAP program, i have a internal table which is contain the some fields, and in the smartforms, i am using the table ->Program lines ->Text to show the data. so how am i correct it.?
    Regards,

    Hi,
    I have a internal table with data as:
    doc no            ref. no          posting_key             amount
    1002               po/0012          31                         15000
    1002               po/0012          40                          1000
    1002               po/0012          50                          500
    and i have a four variable as: netamt, grsamt, tdsamt & othamt.
    then i have a condition as :
    IF WA_FINAL-BSCHL = '31'.
      NETAMT = WA_FINAL-DMBTR.
    ENDIF.
    IF WA_FINAL-BSCHL = '40'.
      GRSAMT = WA_FINAL-DMBTR.
    ENDIF.
    IF WA_FINAL-BSCHL = '50'.
      TDSAMT = WA_FINAL-DMBTR.
    ENDIF.
    READ TABLE T_FINAL INTO WA_FINAL
      WITH KEY BELNR = WA_FINAL-BELNR.
      OTHAMT = WA_FINAL-DMBTR.
    alter this conditon i want to show the data on the smartforms as:
    srno.        docno         refno     netamt(net amt)          grsamt(gross amt)        tdsamt(tds amt)          othamt (other amt)
    Regards,

  • Help regarding attaching smartform to a report program for QM module

    Hii,
    I have developed a certifiacate of analysis smartform for QM module and i attached it to a output type ...but i need to attach this smartform to a standard report RQCAAP01. can anyone help me what customizations i should do in report program in order to attach smartform.
    Regards,
    Venkat Akella.

    I attached smartform in NACE to LQCB output type but i should also make changes in report program RQCAAP01..can u please let me know what customizations i should do in tht report program to attach the smartform..

  • Problem in converting to PDF (in the smartform)

    Hello Eddy and Jashandeep,
            Fought for a while with the smartform and called it in my BSP Application.But here i faced a problem.The sequence is as follows -->
    1, I Created a smartform and wrote the code as given by 
       Mr.Eddy(weblog on PDF by Craig) in my BSP Application.
    2, I executed my BSP Application.
    3, Got the tableview on the page.
    4, Selected the 4rth Radiobutton in the list and then pressed Display.
    5, My application went for a dump saying :
       <b>"An exception with the type
        CX_SY_DYN_CALL_ILLEGAL_TYPE occurred, but was neither
        handled locally, nor declared in a RAISING clause"</b>
    Could u guys tell me what was the problem in my case.
    a. I think that there is problem in my Smart form!! 
       In my application I have the final table containing  
       18 fields.
       But in smartform i declared the table in the
       forminterface of type mcdata as i cannot define my 18
       fields type in the interface.
    SO a type mismatch may occured due to this and a dump was generated ...i guess it  is so....
    PLease help me to come-out of this problem.
    2, Plz help me in understand the following toooo.....
       Why do we have <b>6 radio buttons</b> for the PDF
       conversion ?
       a. The requirement is to download the table into a PDF.
          Can U plz tell me what is the purpose of each
        radiobutton.
    And a browse option is also given.
    <b>Why is this required when we have the content to be downloaded to PDF on the page itself in the form of a table ?</b>
    Regards,
    Deepu.K

    Hi Manasa,
           I did that.
    It's working in the SmartForm and in now it's working in my layout also.
    But,the spool output is not the output of my table-view.
    can u tell me what may be the reason ?
    Regards,
    Deepu.K

  • Problem in displaying data in the smartform output.

    Dear Freinds,
                    I have a requirement as per my requirement i have to display the employee dependents details in the smartform output.
    I have taken a table in smartform and collected all teh employee dependents details . Each dependents his own  details around 8 fields. so iam displaying in the smartform it is working till now no problem ........iam getting data as below
    Dependentrelation | dependentname|passportno|expirydate|visano|visadate|visa expire date| ResidenceNo|Residence issuedate|
    spouse                 | Raja                   |123456       |10/09/2009|122233|10/01/2009|10/01/2010 | 1001             |10/01/2009
    These are the one of the dependentds details iam having till now , like this i have another dependts details. Now the problem i have
    to add some fields to this list ( to this internal table) ...........if iam adding one more feild data is getting truncated as i dont have any more fields to add to right in the horizontal line........how can i solve this issue and how can i add further fields to this list
    like date of birth of the dependents and gender
    please could any one tell how i can solve this issue.
    regards
    divya.

    If this is a Tablethen only thing you can do is re-size the grid and font size to adjust your data. Like, displaying HEADINGS & DATAs in 2 rows instead of 1, etc.
    Nothing else can be done. Otherwise you have to trim down the data to adjust in one page.

  • Problem in sending the Smartform Output as PDF through Mail

    Dear All,
    I am sending the Smartform Output as an attachment by converting it into PDF. But when I am recieve this attachment I am unable to open the PDF file, it is giving error that FILE IS DAMAGED. Below is the code:
    REPORT  Y_SEND_MAIL2.
    TABLES: vbrk, vbrp.
    TYPE-POOLS: abap.
    DATA: it_vbrk TYPE TABLE OF vbrk WITH HEADER LINE.
    DATA: i_formname      TYPE       tdsfname,
          i_fm_name       TYPE       rs38l_fnam,
          it_vbak TYPE TABLE OF vbak WITH HEADER LINE,
          it_ekko TYPE TABLE OF ekko WITH HEADER LINE.
    DATA:  is_bil_invoice TYPE lbbil_invoice,
           output_options      TYPE ssfcompop,
           control_parameters  TYPE ssfctrlop,
           e_devtype           TYPE rspoptype,
           job_output_info     TYPE ssfcrescl,
           bin_file            TYPE xstring,
           lines               TYPE TABLE OF tline WITH HEADER LINE,
           doctab_archive      TYPE TABLE OF docs WITH HEADER LINE,
           filelength          TYPE i,
           bin_filesize        TYPE i,
           docs          TYPE TABLE OF docs WITH HEADER LINE.
    *"Types
    TYPES: t_document_data TYPE sodocchgi1,
           t_packing_list TYPE sopcklsti1,
           t_attachment TYPE solisti1,
           t_body_msg TYPE solisti1,
           t_receivers TYPE somlreci1,
           t_pdf TYPE tline.
    *"Workareas
    DATA :w_document_data TYPE t_document_data,
          w_packing_list TYPE t_packing_list,
          w_attachment TYPE t_attachment,
          w_body_msg TYPE t_body_msg,
          w_receivers TYPE t_receivers,
          w_pdf TYPE t_pdf.
    *internal tables
    DATA : i_document_data TYPE STANDARD TABLE OF t_document_data,
           i_packing_list TYPE STANDARD TABLE OF t_packing_list,
           i_attachment TYPE STANDARD TABLE OF t_attachment,
           i_body_msg TYPE STANDARD TABLE OF t_body_msg,
           i_receivers TYPE STANDARD TABLE OF t_receivers,
           i_pdf TYPE STANDARD TABLE OF t_pdf.
    DATA: BEGIN OF line_bin,
             data(1024) TYPE x,
          END OF line_bin.
    DATA: data_tab_bin LIKE STANDARD TABLE OF line_bin.
    So please suggest a solution.
    Regards,
    Vishal

    Continued:
    SELECT-OPTIONS: s_vbeln FOR vbrk-vbeln,
                    s_fkdat FOR vbrk-fkdat OBLIGATORY DEFAULT sy-datum.
    SELECT * FROM vbrk
    INTO TABLE it_vbrk
    WHERE fkdat IN s_fkdat
          AND vbeln IN s_vbeln.
    i_formname = 'Z_SD_JINDAL_INVOICE10'.
    output_options-tddest        = 'LP02'.
    output_options-tdimmed       = 'X'.
    output_options-tdnewid       = 'X'.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname           = i_formname
      IMPORTING
        fm_name            = i_fm_name
      EXCEPTIONS
        no_form            = 1
        no_function_module = 2
        OTHERS             = 3.
    IF sy-subrc <> 0.          "checking subrc
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.                     "IF sy-subrc <> 0
    READ TABLE it_vbrk INDEX 1.
    IF sy-subrc = 0.
      is_bil_invoice-hd_gen-bil_number = it_vbrk-vbeln.
    ENDIF.
    control_parameters-no_dialog = 'X'.
    control_parameters-getotf = 'X'.
    CALL FUNCTION i_fm_name        "'/1BCDWB/SF00000097'
      EXPORTING
       control_parameters         = control_parameters
       output_options             = output_options
       user_settings              = space
       is_bil_invoice             = is_bil_invoice
    IMPORTING
       job_output_info            = job_output_info
    TABLES
       it_vbak                    = it_vbak
    EXCEPTIONS
       formatting_error           = 1
       internal_error             = 2
       send_error                 = 3
       user_canceled              = 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.
    *FORM convert_otf_2_pdf.
      CALL FUNCTION 'CONVERT_OTF_2_PDF'
    *      EXPORTING
    *        USE_OTF_MC_CMD               = 'X'
    *        ARCHIVE_INDEX                =
        IMPORTING
          bin_filesize                 = bin_filesize
        TABLES
          otf                          = job_output_info-otfdata[]
          doctab_archive               = docs[]
          lines                        = lines[]
        EXCEPTIONS
          err_conv_not_possible        = 1
          err_otf_mc_noendmarker       = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    *      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *ENDFORM.                    "convert_otf_2_pdf

  • Call RFC INSIDE THE SMARTFORM

    Hi Experts,
    i want to know , is it possible to call the RFC in side the smartform. In my requirement, i need some data from ECC system to display in the smartform of the CRM.
    currently i am trying to call outside the smartform and pass to the same, but smartform is triggered from actions and due to other constrints i am not able to to do so..
    hence kindly suggest me the other options  or is it possible to fetch the data from the ECC to CRM usinfg the RFC inside the smartform.
    Thanks in advance
    Pradeep

    Hi,
      I hope yes you can write the RFC fm code inside the layout of the smartforms, but the problem is if RFC could not able to fetch the data from R/3 some times, or if it could not able to find the right records then it will return with error / blank records. To avoid all this kind of problems its better to write the same code in your driver program. In case if you dont get the data from R/3 then you can control the layout set from triggering.
    Regards,
    Satya

Maybe you are looking for

  • How do I import songs from different computers with home sharing?

    I am trying to share music from my Macbook Pro to my father's Mac Desktop. I was able to get the 'home sharing' to work; I can see and play my father's music and he is able to play mine too. I was trying to import the songs but I am not able to copy

  • App-V 5.0 SP2 and Office 2013 Publishing Problem

    Hi I have a big problem with app-v 5.0 and Office 2013, the thing is that I have published it globally to a RDS servers in my farm and I have 4 different configuration xml's to publsih the package. I'm also using app-locker to prevent the users that

  • Verizon and it's lack of custoemr focus.

    I have had one of the most difficult and frankly worst customer experience with verizon I can recall in recent history. I have compliand several times about my verizon locking up and needing to rebooted at least 2 or 3 times a day. If the modem does

  • Problem on receiving calls

    I am using iphone 5 for one year know. recently calls stopped coming i can only make calls what could be the problem?

  • How to fetch Positon and Job text for the employee

    Hi all, How can I fetch the Postion and Job text from the infotype HRP1001 contains in last fields. When I'm picking it takes from the last latest record, but in PA30 picks the next to the latest records some times. Please help me in this. Thank you!