SMARTFORMS AGAIN!!

I HAVE CREATED A SMARTFORM WITH FORM N CODE SEPARATELY IN THE PRINT PROGRAM.I HAV TAKEN A TABLE N POPULATED IT WITH THE DATA IN THE PRINT PROGRAM(PP).AND I HAV DECLARED THAT TABLE IN THE TABLE INTERFACE IN THE FORM.WHEN I CALL THE FIELD FROM THE TABLE IN THE FORM IT IS NOT DISPLAYING THE DATA.LIKE IF I HAV EKPO-EBELP , IT IS DISPLAYING 5 0'S INSTEAD OF THE DATA.ANY SOLUTION FOR THIS??
THANKING U IN ANTICIPATION.

hi Sirisha,
First debug and check if your program is getting the value in the internal table. If it has proper values then check the table field names that you have used in the smartform. I think you are using a field that has some value (5) and this is the reason why you are getting that value in your final display.
Hope this helps.
Regards,
Richa.

Similar Messages

  • Print preview + sending smartform through attachment

    Hello experts,
    I have one smartform whose output is to be sent as email attachment.
    THe porblem is that i need to have preveiw also with email funtionality.
    When i give GETOTF paramter as 'X',it doesnot show preview and when i m passing it as blank,then it is not triggering a mail.
    May we have both functionalities at the same time.
    If yes ,how?

    Hi Anurodh,
    1. First call the smartform passing GETOTF as X and  NO_DIALOG as X, by doing this you get the the OTF table which you can send as an attachment.
    2. next once you are done with your mail send logic, call the smartform again only for preview
    even this looks like a redundant one but there is no way out.
    hope this helps.
    venkatesh.

  • Smartform in spool

    Hi,
    Smartform output is not appearing properly when viewed in spool but good in PDF. Is it due to the printers?
    I tried with different printers but no luck. Please tell me what might be the reason and how to resolve this.
    Thanks.

    hi try to change the printer type in you user data settings(own data).
    and check your smartform again.
    ex: from lp01 to wine(windefault)
    hope this helps,
    regards,
    kool.

  • Smartforms have different FM,Program Name in different system

    Hi,
    I have created few Smartforms in our DEV system & imported to QAS & PRD.
    Here I found the Smartform - Function Module, Programs names are different in each system.
    Smartform: Z_SD_INV_LETTER_V3
    Sys                     Function Module
    DEV                       /1BCDWB/SF00000006
    QAS                       /1BCDWB/SF00000002
    PRD                       /1BCDWB/SF00000002
    On import the changes are reflected correctly in the corresponding Function Module & programs
    in each system.
    1. I want to know why there is a change in version of the Function Module/Program in each system.
    2. How are the changes been applied on importing to each system as the version differs.
    Regards
    Vincent

    Hi Guys,
    Thanks for your answers...
    From my investigation found that few tests smartforms was created in DEV system, which was the cause of the problem. My Smartform present versions across the landscape looks as follows:
    Smartform: Z_SD_INV_LETTER_V3
    Sys     Function Module
    DEV    /1BCDWB/SF00000006
    QAS   /1BCDWB/SF00000002
    PRD    /1BCDWB/SF00000002
    In order to maintain all the function module name to be the same across the landscape, is there anything that can be done
    in DEV as follows:
    Smartform: Z_SD_INV_LETTER_V3
    Sys     Function Module
    DEV    /1BCDWB/SF00000002
    QAS   /1BCDWB/SF00000002
    PRD    /1BCDWB/SF00000002
    Like something I could reset the internal number range for the smartforms & load the smartform again and activate or so...?. Please let me know...
    Regards
    Vincent

  • Smartforms Debugging

    How to attach break point at loop statement in smartforms.

    Hi Manmeet,
    Follow these steps.
    1. Execute the smartform.It will open a FM in se37 screen.
    2. Press Display.
    3. Press find(CTRL+F).
    4. Enter command here at which you want to put the break point.
    5. Select the radio button 'in main program'.It will open the point at which you want to put the breakpoint.
    6. Put the breakpoint here and execute the smartform again.It will stop at the point where you put the breakpoint.
    If you face any problem reply this thread.
    Regards,
    Mukesh Kumar

  • Smartforms debug

    Hello,
    how to debug smartforms.
    i need the steps for debugging smartform.
    regards,
    karan

    Hi Karan,
    Follow these steps.
    1. Execute the smartform.It will open a FM in se37 screen.
    2. Press Display.
    3. Press find(CTRL+F).
    4. Enter command here at which you want to put the break point.
    5. Select the radio button 'in main program'.It will open the point at which you want to put the breakpoint.
    6. Put the breakpoint here and execute the smartform again.It will stop at the point where you put the breakpoint.
    Use SMARTFORM_TRACE to trace smart forms.
    Thanks,
    Vinay

  • Error while printing the dunning form

    Hi all,
    I have a smartform for printing dunning form in FI from tcode F150...but while I schedule and try to take the print the job log entry shows error as "Form Z_DUNNING language EN is not active and has no errors".
    Can anyone tell why this error is comming, because I have checked the smartform and have activated it without any errors?
    Do help as its urgent.
    Regards,
    Anu.

    Hi,
    One more idea ...
    sometimes even though the smartform is active the error occurs which may be due to transports ....
    try generating  the smartform again in the first screen of the tcode SMARTFORMS ....from the menu ...smartforms-->generate ...
    then check ...
    regards,
    Ram

  • Excise duty & VAT need to print  seperately in PO printing

    We are able to print Value of ED & VAT combinly but the client requires it seperated.
    Any solution pls.

    Hi,
    Tax values won't be populated into any tables at the time of PO creation.  You need to get the conditions like Excise Duty and VAT by using Functiona Modules like CALCULATE_TAX_ITEM or CALCULATE_TAX_FROM_NET_AMOUNT (check for your requirement suitability) in Smartform again and print the conditions as desired.   If you use FM CALCULATE_TAX_FROM_NET_AMOUNT , you need to export the following parameters to the FM
    EKKO-BUKRS
    EKKO-WAERS
    EKPO-NETPR
    EKPO-MWSKZ
    This is only the way to get the Taxes to be printed on smartform.  Hope it helps.
    Revert back if any queries.
    regards,
    Mallik

  • Function module not showing my itab

    hi
    am working on smartforms  in se38 i declared an internal table it_regup after decalrations and select statements i went to smart forms i looped there and am displaying i called tht function moudule after calling SSF_FUNCTION_MODULE_NAME and in the i gave all the parameters and in tables it_regup = it_regup1 everything is fine .
       in the main program as i had to show multiple vendors i declared an itab for print options itab TYPE STANDARD TABLE OF pa0001
       and i declared it below the tables
                             it_regup = it_regup1
                               itab = itab
    as now i had done with the smartform  i want to transport it so before tht i want to declare the itab in smartforms global definitions so i declared tht there thinking it will come when i call the smartform so tht i can pass it in SE38 but only it_regup is comming the second one itab is not comming
    why? i already declared it in global definitions?
    thanks in advance
    cheers
    uday

    after activating that smartform, you need to call the smartform again in your program. It cannot get reflectedautomatically. Delete that small part of the code from the report and call the FM again after getting its value from SSF_FUNCTION_MODULE_NAME.
    This wud solve ur problem.
    Thanks
    Nayan

  • Abap sub

    hi guys, i have a set of questions in abap. kindly answer. looking forward for ur available guidence.
    1. how to do BDC for transcation code FA00.
    2.how to debugg smartforms
    3.in reports selection screen, does the text elements get transported along with the program

    Hi,
    2.Follow these steps.
    1. Execute the smartform.It will open a FM in se37 screen.
    2. Press Display.
    3. Press find(CTRL+F).
    4. Enter command here at which you want to put the break point.
    5. Select the radio button 'in main program'.It will open the point at which you want to put the breakpoint.
    6. Put the breakpoint here and execute the smartform again.It will stop at the point where you put the breakpoint.
    Use SMARTFORM_TRACE to trace smart forms.
    Regards,
    Priyanka.

  • Printing same Smartfom using single click on PRINT for many employee no.

    Hi All,
    This is my first question that i'm posting in the forum, hope u dont disappont me.
    We made a smart form for HR-pay slip. It is working fine for one employee, but when a range of employees are selected it asks a print preview screen each time for every single employee. We managed to get rid of the pop up print preview screen but still on clicking PRINT, it prints first emp. smart form, then back (F3), and again print for second emp. HR people need to run this for hundreds of employee and cannot click print for each one of them.
    So, all I wanted was that somehow on clicking PRINT the very first time it shall print for all the range of employees given.
    Step.1.Get pernr.
    Call SSFfunction module name for smartform ZHR_PAYSLIP
    go back to (Step.1) picking the next pernr given while execution

    Hi Vivek,
    Thanks for your response, now i feel a member of the forum.
    I am just a beginner in Smartforms.
    Ur reply made me realise that i had not used SSF Open N SSF Close FM.
    the fraction of the code is:
    ========================================
    GET pernr.
    CALL FUNCTION 'HR_READ_INFOTYPE'.
    PERFORM process_pernr                                     "VKIK032705
        USING pernr-pernr pn-paper pn-permo payty payid bondt mc_incl
          pnpabkrs[] subrc.
    IF exp_frm EQ false.
         CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
             EXPORTING
               formname             = 'ZHR_PAYSLIP'IMPORTING
              fm_name                  = formname
         control-no_dialog = 'X'.
           control-PREVIEW = 'X'.
             output_options-tdnoprint = 'X'.
             output_options-tdnoprev = 'X'.
             output_options-tdimmed = 'X'.
             output_options-tdiexit = 'X'.
         CALL FUNCTION formname
             EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
            CONTROL_PARAMETERS         = control
       NO_DIALOG                 =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
            OUTPUT_OPTIONS             = output_options
      'output_options added by himanshu 6.12.2006
            USER_SETTINGS              = ' '
               v_amount                   = v_amount
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
    ENDIF.
    ===========================================
    so u see as i have embedded the Call SSF FM stmnt. it executes the smartform for one pernr (personnel no.) and when it fetches the next pernr in the stmnt. GET PERNR, it executes the smartform again.
    Is there a way when the smartform can call itself so that the output is successive and i dont have to press back button each time to see the payslip of the next personnel no.
    Also plz advise where shall I use the SSF_Open and SSF_Close FMs.

  • Data changing with change of printer..

    Dear All,
    I am facing a problem of data changing (Description which is a column) in the table defined in the main window of a smartform by changing the printer.
    We have a printer defined for dotmatrix printers and other is LP01.
    Presently in our application we are using Dotmatrix printer for output. The printing was fine till today. today we have seen that description is repeating for some rows at randomly.
    When we check the same with LP01 (which is of type HP laser jet ) the print is fine, that is description is not repeating.
    This problem occuring randomly and we could not reproduce the error in quality or development systems.
    Please give your valuable inputs on this, what could be the problem and how can we rectify this..
    Thanks in advance
    Ravi

    Hi Frank,
    Thank you for the reply.
    Transported the smartform again by making a small change.
    Printer and page formats also reimported in production.
    But of no use..
    Regards..
    Ravi

  • Authentication fails to inner layers on SharePoint 2013

    Hi All,
    My SharePoint 2013 site fails to authenticate the site and inner layers on desktop machines and mobile devices. To clear my point, i have a sharepoint site and i have integrated K2 smartforms (e forms provided by K2 BlackPearl BPM tool) using Script editort
    -> IFrame. So when i open sharepoint site, it asks for the credentials. after entering the credentials and then when i open the page which has K2 smartform again asks for the credentials. Are there any configurations to be provided to avoid asking credentials
    multiple times. Please suggest.
    Appreciate your help.
    Thanks,
    Srikanth
    Best Regards, Srikanth Ch

    Hi  Srikanth,
    According to your description, my understanding is that your users need to be authenticated twice after you integrated  SharePoint 2013 with K2 smartforms.
    For your issue, you can integrate K2 smartforms and SharePoint Single Sign On:
    http://peterblommendaal.wordpress.com/2013/01/23/k2-smartforms-and-sharepoint-single-sign-on/
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • What is sand SAND BOX ?

    Hi all,
      Will you explain me about sand box. What it is and what is the use of it.
    Thanks
    Ravi Kumar.

    Thanks Amit,
    My another doubt is.
    Need is to send the smartform to FAX.
    My code is like this:
    'TELEFAX' TO gs_control_param-device,
    ls_kna1-telfx TO gs_output_options-tdtelenum,
    ls_kna1-land1 TO gs_output_options-tdteleland,
    gv_tdtitle TO gs_output_options-tdtitle.
    issue is, when the smartform is sent to fax, tha nast table is not updating.
    the nast-vstat value remained '0'.
    I used NAST_PROTOCOL_UPDATE function module also.
    even though the NAST-VSTAT is not changing. My need is to check the vstat, if vstat is '1' then it should not issue the smartform again.
    Thanks
    Ravi Kumar

  • Save smartform in a table/sap system and to reuse it again

    Hi Exoerts,
    I want a functionality to save smart form say in a table. The user can any time move back and can re-check the smart form.
    Is it possible in SAP ?
    Thanks in advance for your support.

    Hi Niki,
    I did not understand the requirement.You mean table to see the smartform name ?.
    Regards,
    Madhu.

Maybe you are looking for

  • Drill Down Report (Denes Kubicek)

    Hi Denes and everyone I would like to create a drill down report. I have 5 tables namely: 1. Method (method varchar2(60) PK) 2. Category (cat varchar2(60) PK, method varchar2(60) FK) 3. Skill_type (type varchar2(60) PK, cat varchar2(60) FK, method va

  • How to get cell data of datagrid?

    I try to get data of first cell in a row when user clicks on any row in the datagrid. It might be simple but I can not do it. Please tell me how to do. Thank in advance.

  • Half-page, 2 per page layout won't print

    Brother HL-4070CDW stopped printing Half-page or 2 per page layout after installing Snow Leopard 10.6.2 (with Brother driver update of 11/9/09). Anyone else have this problem, solution?

  • Permission restrictions on file access

    Just a note that I thought people might find useful. When trying to restrict access so that users could not download primary representations from fcsvr by simply dragging an asset out of the FCSvr window onto their desktop I found that regardless of

  • Help please with my email and BB

    I have had to change my password with my gmail account, and now im not recieving any emails through my handset. When Im going on orange blackberry interent service its saying the password is invalid.