Reg smartforms

Hi all
atter giving the values in the selection screen, i am generating the output in Smartforms. After coming back to selection screen , i am changing the values in the seletion screen ., But the output of the forms remains same as the previous one.
What could be the solution?
Regards
karthik

clear the variables and refresh internal table.For going back to selection screen give leave to transaction <tcode>.

Similar Messages

  • Reg smartforms -  creating a new page for each customer number

    Dear friends,
    This is a sample program for smartform.
    Below is my coding ...
    TABLES : KNA1.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
    TYPES : BEGIN OF ZFS_KNA1,
            KUNNR TYPE KNA1-KUNNR, 
            NAME1 TYPE KNA1-NAME1,
            ORT01 TYPE KNA1-ORT01,
             END OF ZFS_KNA1.
    DATA : ITAB TYPE STANDARD TABLE OF ZFS_KNA1 INITIAL SIZE 0,
           WA TYPE ZFS_KNA1.
    SELECT KUNNR NAME1 ORT01 PSTLZ LAND1 FROM KNA1 INTO TABLE ITAB WHERE KUNNR IN S_KUNNR.
    Now i am having one secondary window (cusotmer number) and main window(name and city).
    I am able display list of cm nos, names and city in one page.
    But i want to display name, city and number of customer in one single page.
    suppose 5 customer numbers are there.....then 5 seperate pages should be displayed.
    pls help me.
    Regards,
    S. Vinod

    Hi,
    In your loop node... you have sort criteria....
    give the fieldname of the customer number KUNNR and check the check box under the begin of sort event...
    An event node is created... under that event  node... create command node for triggering new page and dont forget to tick the checkbox for " not on first page" in the conditions tab....
    and under that you can create text elements to display the data
    regards
    padma

  • Reg : smartform in abap-hr

    hi ,
    In hr-abap we have the smartforms i.e hrforms i got the standard smartform... SAP_PAYSLIP_US ... is this smartform wat we use is same as in abap... smartform or different.. also i need the information related to this smartform SAP_PAYSLIP_US.. and driver program....

    Hi
    RPCEDTX0 is the standard program which takes of Remuneration Statements(payslips) for payroll. It has a include RPCEDSZ9 which can control the form routines of the form which is used as a payslip. However, the selection of form which can be used a payslip is controlled from IMG settings. You can always edit this form using a smartform if you are using SAP_PAYSLIP_US as your payslip.
    Which version of SAP you are working on?
    Regards
    Waz

  • Reg smartform background n print prob?

    hi experts
    i have a requiremnt my sf has to run in backgorund mode by default. how to make it ?
    and i have to put a check box on my selection screen for print if the user checked it print should come . how to get this functionality?
    thanks & regards

    Hi Deepu,
    Refer to my post below thread
    Re: smartform into pdf...
    Regards,
    Sravanthi

  • Reg : SMARTFORM name and DRIVER PROGRAM

    Dear Gurus,
    Can anybody help me out in providing standard SMARTFORM name and also driver Program for
    'ANNUAL MAINTENANCE CONTRACT CONFIRMATION' in CS(Customer Service) module.
    Cheers,
    Loverboy K

    Hi,
    there is on a standard system no smartform for you. So you have to do your thing with the standard sapscript.
    However there have been some BestPractices projects at SAP. There they have a lot of standard smartforms. Maybe you can download them from SAP somewhere the name will something
    with MMCON or MMDLS in it.
    you have to find out yourself because i do not have it here to send it to you.
    Gr., Frank

  • Reg SMARTFORM emailing n fax options?

    hi friends
    i have to run my smartform in background mode and there is a requirement to fax and emailing
    the output. how to make my form run in background , email n fax ?
    thanks & regards
    thirupai
    Edited by: rafi md on Dec 20, 2008 1:32 PM

    HI
    you may use the FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF' to convert the fom
    into PDF.
    But first to get the printed form from the spool, use FUNCTION
    'RSPO_FIND_SPOOL_REQUESTS'.
    Then you may send it to your PC, email, fax, etc by reading the record in
    the lines of table IT_PDF_OUTPUT.
    Note: You may also use program RSTXPDFT4 as a reference to get code
    examples which uses different functions to perform the creation of PDFand
    download the form to the PC,etc.
    An example:
    CALL FUNCTION 'RSPO_FIND_SPOOL_REQUESTS'
    EXPORTING
    RQOWNER = SY-UNAME
    TABLES
    SPOOLREQUESTS = SPOOL_REQUESTS.
    READ TABLE SPOOL_REQUESTS INDEX 1.
    GD_SPOOL_NR = SPOOL_REQUESTS-RQIDENT.
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
    EXPORTING
    SRC_SPOOLID = GD_SPOOL_NR
    NO_DIALOG = C_NO
    IMPORTING
    PDF_BYTECOUNT = GD_BYTECOUNT
    PDF_SPOOLID = PDFSPOOLID
    BTC_JOBNAME = JOBNAME
    BTC_JOBCOUNT = JOBCOUNT
    TABLES
    PDF = IT_PDF_OUTPUT
    EXCEPTIONS
    ERR_NO_OTF_SPOOLJOB = 1
    ERR_NO_SPOOLJOB = 2
    ERR_NO_PERMISSION = 3
    ERR_CONV_NOT_POSSIBLE = 4
    ERR_BAD_DSTDEVICE = 5
    USER_CANCELLED = 6
    ERR_SPOOLERROR = 7
    ERR_TEMSEERROR = 8
    ERR_BTCJOB_OPEN_FAILED = 9
    ERR_BTCJOB_SUBMIT_FAILED = 10
    ERR_BTCJOB_CLOSE_FAILED = 11.
    CHECK SY-SUBRC = 0.
    Hope this will help send you in the right direction
    Regards
    Alok

  • Reg : Smartform translation

    Hi,
    In our smartform we are trying to print this French text  “mise en œuvre” , but Adobe is having problem in reading this special character "œ ", so it prints as # .
    Please suggest some solution to overcome this .
    Thanks & Regards,
    Keerthi vasan.M
    Edited by: keerthi vasan on Mar 17, 2008 10:34 AM

    how it is done please explain
    I have got the same problem

  • Reg: smartform in modulepool screen

    Hi Experts,
    I have a requiremnet like smartform display in modulepool screen.
    requirement like : firsthalf in  modulepool screen and second half  have to display the smartform.
    is there any option to display hte smartform .

    Hi the easiest way is to convert the SSF in a PDF ( ..OTR.. )
    after converting start the web browser in a hidden Container >  show the PDF in the Web Browser....
    a) seperate Window (outside gui )
    b) in a Container of the dynpro

  • Reg.Smartforms development

    dear Experts
    We are in need of develop Smartform,I have no idea about that.and I cann't understant easily what 1st I have create to take printout,and how to database connectivity with the form.
    Please guide me step by step.
    Thanks
    Rajakumar.K

    Links:
    step by step  4 smartforms
    smartform step by step material required

  • Reg: Smartforms Table Painter

    Hi  Folks,
    In the smart forms in the main window I have used table for printing data of the internal table.  Also for giving the borders in the table I have used the framed patterns in the table.
    So I have declared the main window sizes same as paper size and in the main window it contains only the table.
    I have created a table in the smart forms and I was doing the loop of internal table data.
    So when in the internal table contains one line item currently it was printing like this.
    1     23     45     56     76
    But my requirement is like this if the internal table contains one data, still the boxes should be extended upto end of page.
    1     23     45     56     76
    In the smart forms table painter is there any setting is there so that I can extend the boxes up to the end of page if data was not present in the internal table also.
    Or how can I will print the boxes in the smart forms and each box contains the print the data of the internal table.
    Please help me on the above issue and let me know for any clarifications.
    Thanks in advance.

    there is not such setting in smartform...
    you can append blank lines in the itab..
    e.g if page can hold 10 line items from itab
         and you are passing oly 5 lines of data
         then append 5 blank lines at the end of itab..
    in this case you need to take care for numeric fields.. as black fields will display zeros... so convert them in char field and then append blank lines...

  • REG: Smartforms BAR Code

    Hi,
    I need a PACK list where I need to generate the BAR CODE . The BAR CODE should have the following information:
    Sale Order Number | Header/Line item Number | Handling Unit Number.
    All should be generated in the BAR CODE .
    Can someone please explain the whole process in this regard
    Thanks and Regards
    Srikanth.P

    Hello Srikanth,
    In SE73, you can see number of barcode format available and hope, you know how to choose a suitable one or create a new one if required.
    In the smartform transaction and in your style, you can create a barcode character format with the above selected barcode.
    In the smartform, just create a variable and concatenate Sale Order Number | Header/Line item Number | Handling Unit Number into the new variable. Display the same using the above barcode character format.
    Hope, I answered to your query. Please let me know if you have any concerns or more queries.
    Regards,
    Selva K.

  • Reg:Smartforms Change editor problem

    Dear All,
    If i am designing the smartform i am displaying some table fields from different tables. For example
    &vbrp-posnr& in to my change editor. when i am drag & drop on that particular fields that time when i
    am activating my smartform  i am seeing 2 to 3 lines of  # symbols i am getting without my knowledge.
    If i want to delete the unwanted # symbols i can't able to do that one. What i have to do?
    Thanks,
    Sankar M

    Hi
    There are two types of editor in general. The one we use generally in Scripts....and the other one is Word Pad editor. It just like working on a word document. So, now which is the one you are working on? Or in the text element you are just dragging the field into the text element??
    Regards,
    Vishwa.

  • Reg Smartforms-NACE

    Dear all
    I have developed a SMARTFORM for RFQ and  i have devlo[ped a driver program for that also. When i  taking print out  only layout is coming , no data  is coming .,, 
    From the standard program , i have copied the  the line
    FORM entry_neu USING ent_retco ent_screen.
    endform.
    Inside that i have writen my logic.  But when i am executiong and taking the printoyt , i am getting an error as  Proceesing routine ENTRY_NEU doe not exist in ZMM_AGREEMENT(driver pgm)
    What could be the error ?
    Has anyone  faced this???
    Regards
    Karthikeyan.P

    Dear Madhan Doraikannan
    I have not copied fully . I am wrting my own logic. Only that Form routine ENTRY_NEU i have copied frm tht standard. is it  right??  If not plz send me some sample coding
    FORM entry_neu USING ent_retco ent_screen.
    *FORM entry_neu USING p_ebeln ent_screen.
      DATA: l_druvo LIKE t166k-druvo,
             l_nast  LIKE nast,
             l_from_memory.
            l_doc   TYPE meein_purchase_doc_print.
    CLEAR ent_retco.
      IF nast-aende EQ space.
        l_druvo = '1'.
      ELSE.
        l_druvo = '2'.
      ENDIF.
      DATA:v_fname TYPE rs38l_fnam.
      GET PARAMETER ID 'ANF' FIELD p_ebeln.
      SELECT ebeln ebelp txz01 matnr meins ktmng
        FROM ekpo INTO CORRESPONDING FIELDS OF TABLE it_ekpo
        WHERE ebeln = p_ebeln .
      LOOP AT it_ekpo INTO wa_ekpo .
        SELECT SINGLE eindt FROM eket
          INTO wa_ekpo-eindt
          WHERE ebeln = wa_ekpo-ebeln AND
                ebelp = wa_ekpo-ebelp .
        MODIFY it_ekpo FROM wa_ekpo TRANSPORTING eindt.
        CLEAR wa_ekpo.
      ENDLOOP.
      SELECT SINGLE lifnr waers FROM ekko
        INTO (l_lifnr, l_waers)
        WHERE ebeln = p_ebeln.
      SELECT SINGLE bedat FROM ekko
        INTO l_bedat
         WHERE ebeln = p_ebeln.
      SELECT SINGLE angdt FROM ekko
        INTO l_angdt
         WHERE ebeln = p_ebeln.
      SELECT SINGLE adrnr FROM lfa1
        INTO l_adrnr
        WHERE lifnr = l_lifnr.
      SELECT SINGLE name1 city1 po_box country FROM adrc
        INTO (l_name1, l_city1, l_pobox, l_country)
        WHERE addrnumber = l_adrnr .
      SELECT SINGLE landx FROM t005t
        INTO l_landx
        WHERE spras = 'EN' AND
              land1 = l_country .
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZMM_RFQ_SEALBID1'
        IMPORTING
          fm_name            = v_fname
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      CALL FUNCTION v_fname
        EXPORTING
          p_ebeln = p_ebeln
          l_lifnr = l_lifnr
          l_name1 = l_name1
          l_city1 = l_city1
          l_pobox = l_pobox
          l_landx = l_landx
          l_waers = l_waers
          l_bedat = l_bedat
          l_angdt = l_angdt
        TABLES
          it_ekpo = it_ekpo.
    ENDFORM. "entry_neu
    This is my coding
    Regards
    Karthikeyan.P

  • Reg : smartform assign in NACE transaction

    Hi Guys,
    I have a requirement in NACE transaction :
    I have a created one module pool program, in that i am calling two different smartforms. i need to assaign NACE transaction to see the preview or print options.is there any solution how to assign two smartforms in one NACE transaction.

    Hello,
    well you could make two separate codes for calling smartforms and use different output types for each abap program.

  • Reg smartform

    Hi,
    i copied std delivery smartform to z smartforms, in text there is using include text, i want to see the content of that text, how to see that one,,
    pls help

    Hi,
    Go to transaction SO10.give the Text ID as seen in the Include text in smartform.and serach for relevent Text Name by using F4 option. See if you find what you are searching for.
    Regards,
    Bhavin

Maybe you are looking for