PROBLEM IN FILED BESG-DMBTR IN SMART FORMS

Hi All,
I have a problem in smartforms
I have created a structure using bkpf& bseg,
i have defined a itab like the above structure.
I am getting data for select query into this itab.
then loop at itab into a work area.
everything isworking fine except,
if i am trying to display wa-dmbtr, i am getting the message like
Reference field WA_DISP-DMBTR unknown in form.
Message no. SSFCOMPOSER601
appropriate points will be rewarded.
Regards
Arun kumar

Hi Arun,
Try this:
Declare a variable of type dmbtr & assign the value of wa-dmbtr to variable & pass the variable. One time i also faced the same error for currency field.
Ashvender

Similar Messages

  • Problem in output type determantion in smart forms

    Hi all,
    I have one problem in smart forms mentioned below:
    In this program RVADOR01 i hav used RVORDER01 for displaying the output in the output type determination(print preview) for a particular quotation no.
    In VA23 for a particular quotation I clicked on preview button and i got d output for smart form(RVORDER01).
    Can u plz tell me where i can find that in which part of d program(RVADOR01) is d QUOTATION NO called.
    so that i dont want to hard code the quotation no in the program.
    Thanks
    Regards
    SANJAY CHOBDAR

    not really helping you on the issue, but some things here need clarification i sense.
    Outputtype determination has actually NOTHING to do with print preview.
    In output type determination the output types for the actual document get determined via output schema which is assigned to either documenttype or itemtype.
    RVADOR01 is the SAP-standard (SAP-SCRIPT) driver program for offers/orders.
    RVORDER01 is the SAP-standard SAP-SCRIPT form for offers/orders.

  • Problem in multiple printing in the Smart Forms

    Hi Experts,
    From the driver program I am passing Internal table with multiple records for employee,
    But the smart forms is printing only single form for the employee.
    Could you please suggest what need to be done in order to print multiple forms for employee.
    Regards,
    IFF

    IF sy-tabix EQ 1 .------>only for first loop it will give dialog box
          CALL FUNCTION fm_name
            EXPORTING
              user_settings      = 'X'
              vbeln              = it_vbeln-vbeln
              pdf                = r2
              rbiclear           = c3
            IMPORTING
              job_output_options = job_out
              einv               = einv.
        ELSE.
               c_par-no_dialog = 'X'.----
    > if u set this then u will not get dialog box again and again
           out_opt-tdnoprev = 'X'.
            out_opt-tddest = job_out-tddest.
            out_opt-tdprinter = job_out-tdprinter.
          CALL FUNCTION fm_name
            EXPORTING
              control_parameters = c_par
              output_options     = out_opt
              user_settings      = space
              vbeln              = it_vbeln-vbeln
              pdf                = r2
              rbiclear           = c3
            IMPORTING
              job_output_options = job_out
              einv               = einv.
        ENDIF.

  • Not to print Zero values in SMART Forms

    Hi all,
    I have a problem there is a field in SMART FORMS if it is having a zero value it should not print value as 0.00 instead there should be a blank. How to print blank instead of Zero value.
    Waiting for helping hands in this problems. Thanks in Advance.
    Abdul

    Hi Mohammed
    Could you please try like ( I ) after the field .
    this suppresses the initial values.
    i.e : &wa_data(I)&
    Hope this helps
    Regards
    Caglar
    Message was edited by:
            Caglar Ozkor

  • Smart Forms Logo Print

    Hi,
    There seems to be a problem with printing my Logos on Smart Forms. In the Print Preview it shows but when I print the same it does not show in the printout, but a dark band gets printed. Also I tried to see the same in SE78 The print preview comes but when I take a print out nothing gets printed but just a number gets printed. I think there has to be some printup setting which I havent looked up can anyone please tell me.
    Regards
    Yao Chhang

    hi yee,
    that''s not a problem with layout design or abap code,
    that's a problem with printer(some printers only can support for this functionality) or with printer setting.
    regards...
    seshu.

  • Print string in Smart Form

    hi, i have a problem while print long string in smart form.
    If the string is too long to display in one line,
    it is split into another line.
    However, the words are also split into two lines.
    For example,
    my string is "this is a long string",
    when it is printed , it become
    "this is a lo
    ng string"
    Does anyone know how to solve this problem?
    Would u pleas tell me, thanks a lot.

    Hi,
    U better to maintain standard text in SO10
    Then call the text into the SF.
    I think it will work
    Regards,

  • Problem in converting smart form into PDF

    HI Experts,
                      I am using a Function Module CONVERT_OTF for converting smart form into pdf file for send it to with attachment.
    But i got a error when i am using that FM.
    Runtime Errors         CONVT_NO_NUMBER
    unable to interpret *292 as a no.
    Is that because my file size too large about 13 pages of PDF?
    and when i run it for other smart forms which have 2 or 3 pages of PDF, its working perfectly.
    can anyone tell what is problem with that FM?
    Thanks
    Shakun

    Hi,
    I had the similar issue and after analysis I have that this is the issue by not passing the IMPORTING parameter of the Function Module "BIN_FILESIZE". Please try to pass some variable to this paramter and then this will be completely rectified.
    DATA ; v_filesize     TYPE i.
    *--Convert OTF data to PDF data
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = v_filesize
        TABLES
          otf                   = it_otfdata
          lines                 = it_pdfdata
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.
    Please verify whether this reolves the problem for you.
    Regards,
    SRinivas

  • Smart forms Print preview problem

    Hi
    Experts,
    I am working in CRM2007. I am creating number of different type Smart forms for our client requirement. All Smart Forms working fine in WEB GUI. In Web GUI there have two buttons; one is print buttons and another one is Print Preview buttons.  When we press print buttons it is directly go to printer for printing service order or service invoice or sales order or sales invoice whatever user is selected. Means working fine print buttons. And in case when we press print preview button it is open selected forms in PDF format; it is also work fine in our desire. But problem is here PDF format front size; which is very small. And after looking the PDF format if we select for print out of this PDF form; the print out orientation is Landscape and front size is very small. Now my question to all of experts u2026u2026u2026.How I change PDF front size and orientation? u2026u2026u2026u2026u2026u2026any type of BSP Enhancement or functional setting is required? Please Experts help meu2026u2026u2026u2026u2026u2026u2026u2026..
    Regards
    Tarapada  D.

    please CRM Experts give me some answer!!!!!!!!!!!!!!!

  • Smart Form problem with address layout

    Hello everyone,
    I need your help please for a smart form problem. We need the address layout for great britain with street1, street2 etc. but currently street2 is alligned before street1.
    We are using the FM ADDRESS_INTO_PRINTFORM (SAP standard address node) and according to the documenation the layout for GB is different as we see it currently.
    We have checked the sold-to and all contact persons, they have as country GB and language EN maintained.
    In customizing for address screen layout there is nothing chosen (tested to set up Europe, but did not change anything).
    For the customizing 'specify my countries...' we have maintained GB as country with the address layout key 006, vehicle country key GB and language key EN.
    For the described setting shouldn't there be designed the address in our smart forms according to 006? Anyhting in customizing we missed?
    Thanks a lot for your answers.
    Torsten

    Hi,
    Try to use line priority of FM, below is a brief of documentation. You can read it more in FM documentation:
    Control Parameters
    See also the parameter documentation.
    ADDRESS_TYPE - Address type (from 3.0C)
    There are three types of address:
    Address type '1': addresses of firms or organizations; the address
    structure which is used in most SAP applications as 'Address'.
    Address type '2': address of a person
    Address type '3': work address, usually the address of a contact person
    in a company
    The default value SPACE for the address type is handled like type '1',
    and is needed for the upwards-compatibility of the function module.
    Which parameters are used for which address type is explained in the
    ADDRESS_TYPE parameter documentation.
    The three character "address layout key" of the recipient country (LAND1) controls which of the available country-specific routines is used to format addresses for the country in question. This key is stored in field T005-ADDRS and is entered in Customizing under Global settings -> Set countries -> Define countries, on the detail screen under "Address layout key".
    Keys for customer routines in the SAP enhancement SZAD0001 can be
    maintained via the transaction SM30 (extended table maintenance),table
    name T005A, in the customer name range, and be assigned in country customizing.
    The address attributes are passed in the structures ADDRESS1 (type 1), ADDRESS2 (type 2), ADDRESS3 (type 3) or ADRSWA_IN (type SPACE).
    NUMBER_OF_LINES (ADRSWA_IN-ANZZL)
    The number of lines available for the address layout. If the number of
    lines is not sufficient for the complete layout of an address, then
    lines are consecutively suppressed according to the rules of the country in question. Use the parameter LINE_PRIORITY (ADRSWA_IN-PRIOR) overrules the standard sequence in which the output lines are to be suppressed.
    LINE_PRIORITY (ADRSWA_IN-PRIOR)
    If not equal to SPACE, this field overwrites the standard sequence in
    which the lines are suppressed if the available number of lines ANZZL is
    insufficient.
    The standard sequence is defined as follows:
    Type 1:   'AP43HRT7I86LC2BS5O'       (GB:  'APRT4327I86CBS5LO')
    Type 2:   'APHRT7I86LCBS5O'          (GB:  'PRT7I86CBS5LO')
    Type 3:   'APF43HR7I86TLC2BSND5O'    (GB:  'APRT4327I86CBS5LNDIO')
    where (if they occupy a line of their own):
    A = Title
    P = Mandatory empty line 1
    F = Function of the contact person in the company
    4 = Name 4
    3 = Name 3
    H = Different city
    R = Region
    T = District
    L = Name of country
    C = Postal code
    T = District
    7 = Street 3 (field STR_SUPPL2)
    I = Street 5 (field LOCATION)
    8 = Street 4 (field STR_SUPPL3)
    6 = Street 2 (field STR_SUPPL1)
    L = Country
    C = Postal code
    2 = Name 2
    B = PO Box
    S = Street or PO Box
    5 = c/o name
    N = Name (and title) of a person
    D = Department
    O = City
    Which of these attributes are available for maintenance can vary. All
    fields exist in Business Address Services.
    STREET_HAS_PRIORITY (ADRSWA_IN-WAREN)
    'X': Street has priority over PO Box (delivery address for example)
    ' ': PO Box has priority over street. This is the default value.
    regards,

  • Problem while sending fax through a SAP Smart Form

    Hi,
    I am trying to send fax through a smartform but it is not working, please see the details below.
    I am calling the Function Module "SSF_FUNCTION_MODULE_NAME" in a PAI event.  After storing the FM name "/1BCDWB/SF00000029"in a local variable "ls_frm_name", I am using that for printing the Form and at the same time to fax out the same by passing the following export parameters.
    control_parameters type ssfctrlop with values
      la_ssfctrlop_struc-device      = 'TELEFAX'.
      la_ssfctrlop_struc-no_dialog   = 'X'.
      la_ssfctrlop_struc-langu       = ls_supplier_info-spras.
    output_options type ssfcompop with values
      ls_ssffaxop_struc-tdteleland   = ls_supplier_info-land1.
      ls_ssffaxop_struc-tdtelenum    = lfa1-telfx.
      ls_ssffaxop_struc-tdfaxuser    = syst-uname.
      ls_ssffaxop_struc-tdnoprint    = 'X'.
    along with "fax_details  = ls_zap1_fax_details" declared as interface parameters to the Smart Form.
    But the Function Module is throwing following exception and not sending any Fax.
    SY-MSGID-->OL
    SY-MSGNO-->356
    SY-MSGV1-->NOAUTHORITYCHECK
    Do I need to pass any other values to the FM, I felt that this is not an authorization problem after debugging.
    Can any one please help me in handling this exception and send the fax,
    Thanks,
    Srinivas.
    Edited by: Venkata Srinivas Inavilli on May 20, 2008 2:40 PM

    may it be that in those cases where it doesnt work, that you got no fax number?
    Since it works soemtimes, it seems there are no errors, but rather in some cases some important info is missing, fax number may be one of thsoe important info in a FAX scenario.

  • Send Smart Forms within emails (html) Problems with format

    Dear all,
    the ABAP report SF_XSF_DEMO1 is a demo report which converts a certain smart form into HTML and then sends it as an email in html format.
    Sending the email is possible without any problems but I am wondering about the email format.
    <a href="http://www.imgbox.de/show/img/e4QvgzsS4L.jpg" title="Bilder hochladen">This screenshot shows how the email looks like.</a>
    I am not happy with the email layout as the Smart Form "SF_XSF_DEMO1" is designed in a different way.
    What do I have to adapt within the report in order to send an email that really looks like the Smart Form? Or is it a customizing issue?
    (I would like to avoid having to send the Smart Form as PDF attachment...)
    Thanks for you help!
    Kristian Kindler

    Hi Kristian,
    When ever you send a smartform output as an HTML email, the system generates automatic style sheets which are not supported in many email clients such as Outlook 2007, hence you will face a formatting issue. We faced the same issue and had do it it like this:
    Build a BSP page similar to the output which you want to send as an email. Now you can use the BSP URL to send the html email using cl_bcs class.
    I have documented this in my article below-
    http://divulgesap.com/blog.php?p=NDA=
    Hope it helps.
    Regards,
    Ravikiran

  • Problems in sap script/smart forms

    what are the major problems will come in real time about smart form and sap script?

    Hi there.
    Question 1:
    Use font MICR_C for MICR CMC-7 or MICR_E for MICR E-13B
    http://help.sap.com/saphelp_nw04/helpdata/en/90/78f078030211d399b90000e83dd9fc/frameset.htm
    Question 2:
    /: SET DATE MASK = 'DDMMYYYY'
    http://help.sap.com/saphelp_nw04/helpdata/en/d1/8034d4454211d189710000e8322d00/frameset.htm
    Question 3:
    /E BOX_ELEMENT
    /: POSITION WINDOW                       
    /: POSITION YORIGIN &Y& LN 
    /: SIZE HEIGHT &HEIGHT& LN    
    /: BOX FRAME 10 TW
    /: BOX XPOS  '0.0' CM  WIDTH 0 TW FRAME 10 TW
    Question 4:
    &symbol(C)&
    http://help.sap.com/saphelp_nw04/helpdata/en/d1/8034d4454211d189710000e8322d00/frameset.htm
    Question 5:
    See SAP Note 129581.
    Best regards.
    Valter Oliveira.
    Edited by: Valter Oliveira on May 30, 2008 4:42 PM

  • A strange problem in smart form?

    Hi,
       I met a strange problem in my smart form. When I click "Check" button in each window of each page, system said "Window (my window name) does not fit onto page(height)". Even I create a new page and a new window in it, it still said this error when I click "Check" button in the new window.
       I have tried to enlarge or reduce the window's size, but this error still occured. But I can activate the form correctly. And there is a syntax error in the generated program:
       FORM %EV2.
        LOOP AT INTO .
        CALL FUNCTION 'SSFCOMP_TABLE_ROW_BEGIN'
        EXPORTING I_LINE_TYPE = 'LINE2'
      You can see there's an error in loop statement.
      Could you tell me the reason and how to solve it?
      Thanks a lot!

    hi
    good
    as you have maneioned in your error  you have said that you have created your own window,but the check box as you mentioned which check box that it it is output options tab check box or in the condition tab check box.
    in the general attribute select the secondary window from the dropdown box and output options tab select the page size as you need .
    i hope you will get some output .
    thanks
    mrutyun

  • Sorting problem in smart form

    Hi,
    Good day guys
    Ive dev the smart form for workshop invoice..  everything fine but they need sort the stracture one which is LBBIL_IT_GEN.
    so ive created the custome stracture ZLBBIL_IT_GEN and added the numaric field at end of the strc.
    move-corresponding gs_it_gen to ZLBBIL_IT_GEN1.
    lv_num = lv_num + 001.
    ZLBBIL_IT_GEN1-MTART = GV_MTART.
    ZLBBIL_IT_GEN1-num = lv_num.
    sort ZLBBIL_IT_GEN1 by num.
    Move-corresponding ZLBBIL_IT_GEN1 to gs_it_gen.
    I think, it wont be work out. bcoz stracture doent hold the data..... how to over come the problem.. sorting is very imp for fun guys..
    regards
    chandu

    Hi,
    Actually ive a condtion.. if the material type [mtart] is "yser" .. in the material column should be blank.. the the material type is zrsa. then it needs to print materail and description.
    Material              Description
                                 xyz
                                  abc
                                  laptop
    123                        abc
                                  compu
    456                         pen
    678                        book
    if see the  the  5 th item get the blank ..so there is prob.. first needs to gets the all blanks then print  one who having the mateiral and description.
    but its prints right way.. bcoz its comes based on material type.. but need to sort this....
    how to do it..plz let me know
    thanks
    chandu.P

  • Smart form o/p problem

    Hi experts,
    I copied one smart form and did some modifications in that form and this form
    included in the same program.The form is syntacically correct and it is activated.
    When execute the program the o/p is not displaying.There are no errors in the program or in form.
    What is the problem.

    Hi,
    Debug the driver program and put brk point on ssf_function_module _name and give the new smartform name when it comes to this point,so it will take this form and generate the output.
    Regards,
    Amruta
    Edited by: amruta1 on Feb 26, 2010 8:30 AM
    Edited by: amruta1 on Feb 26, 2010 8:32 AM

Maybe you are looking for

  • My iPod Touch won't sync, charge and is not recognised in Computer

    Hi, I have tried all the support suggestions on the Apple site, but my iPod Touch, that is less than 6 months old, does not come up on My Computer when connected, will not charge on the pc, wall charger or car charger, and will not sync. All I get on

  • Badge icon disappears after 2.0 Update

    After installing the Podcasts 2.0 update I noticed that the badge icon for the number of unread podcasts had disappeared. I  am an experienced iPhone user and went through the normal trouble shooting steps of syncing, uninstalling an reinstalling, bu

  • No Quicktime Movie in Browser Just Sound in Leopard

    New Macbook Pro, Leopard, Archive and install. Went to the Apple site today to watch the Leopard tutorial. All I could do is listen. No video. Tried a couple of other sites (Lynday.com) same issue. Quicktime in the browser (Safari) doesn't seem to wo

  • Migration CAN´T PARSE BIG PROCEDURES!!!!

    Migration can´t parse Procedures bigger than 250kb!! How can i resolve this problem??? Tks, Paulo Portugal.

  • Axis label, Legend and Title

    Hi, I am new to DIAdem, I have been struggling for too long so I have decided to ask for some help, I hope someone can help me. I am writing a script to plot a graph and add axis labels, Legend and Title. So far I have just been able to draw the grap