Fields Delimiting In Smartforms

Hello
Iam using a smartform for displaying some info. The problem is how do I limit the field length of the fields in the form.At present for some values the form is Ok but for some other values the fields are not alligned exactly in the form.How do I allign the fields..
Thanks
Vicky

Vicky,
You need to design the form in such a way that the alignment happens for the maximum length of the fields. It sounds like your problem is that alignment fails when you have full length data.
So, design the form keeping in view the full length of the field and that should rectify your issue.
Regards,
Ravi
Note - Please mark all the helpful answers

Similar Messages

  • Reference field in the smartform

    hello,
    can you help me to specify reference field in smartform.
    That means,
    i had created the structure in which there is a field VEMNG for which the reference field is VEMEH from reference table VEPO.
    Then i had written the program and created the internal table of type that structure and call the functional module which is calling the smartform by passing the internal table.
    Now after executing it is giving runtime error as VEMNG is not present in the smartform. That means we have to specify the reference field in the smartform for that field.
    i had specify in the smartform-global defination-currency/qty field as
    VEMNG  VEMEH   QUAN as field name, reference field and data type.
    But the error has come while doing syntaz check in smartform and the error is :- Global Definitions:Field "BRGEW" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement . . . . . . . . . .
    Please help me to resolve this error in the smatform.

    Hi ,
    If you r passing quantity and currency fields to smartforms then in
    Globaldefinitions-> currency fields
    u have to specify the fields as well as its uniot field .
    For example u r using field erfmg or menge then u have to use
    fieldname = it_itab-erfmg   and reference field as   it_mseg-erfme
    field name = it_itab-menge and reference field as it_mseg-meins
    and change the data type to curr  or  quan  as required .
    Regards

  • Add editable fields in a smartform

    Hi,
    I'm working with smartforms and i wonder to know if its possible to create a kind of blank fields that allow the user to insert some free text right before print the form?
    Thanks a lot in advance,
    Nuno Moreira

    Hi Manuel,
    Thanks for your reply... I'll do it.
    Best Regards,
    Nuno

  • Currency and quantity field allignment in smartforms

    hi experts
       i am facing problem in smartforms allignment for currency and quantity fields. these fields are not coming exactly on the same line of the other fields with char types. please help me resolving it.
    Moved to Crrect Forum
    Edited by: Vijay Babu Dudla on Apr 6, 2009 4:38 AM

    &wa_vbap-kwmeng(C)&
    adjust with left and right alignment.
    it will definately work.
    what happend? isn't ur problem solved?
    Edited by: MONIKA DHUMAL on Apr 6, 2009 4:38 PM

  • External field addition in smartforms

    Hi dis is vinod.I want information regarding adding a field in smartform without disturbing
    actual print program as we can do in scripts using 'ITCSY' structure ie using subroutine.can we add a field like that or not.If so how can we go ahead.
    Thanxs
    vinod

    HI vinod,
    can u please littilbit clear wht u want to add..
    u can insert text or data vriables even select quries in smartform without distrubing the print program.
    If u can tell wht exactly u want to do. then may be i can help u.

  • Field symbols in SMARTFORMS

    Hi all,
        I have to show the Item wise amount in a Purchase order thro SMARTFORM. I don't have any problem when the purchase order has currency 'INR'. But when the Purchase order contains foreign currency, I have to show the amount upto 4 decimals. How can I show amount upto 4 decimals only when the amount is in foreign currency?I have tried to create a field-symbol with type ANY.But it's showing error.Please help.

    try this
    &symbol(.N)& Display upto N decimal places
    other options:
    &symbol(Z)& Omit Leading Zeros
    &symbol(S)& Omit Leading Sign
    &symbol(<)& Display Leading Sign to the Left
    &symbol(>)& Display Leading Sign to the Right
    &symbol(C)& Compress Spaces
    &symbol(.N)& Display upto N decimal places
    &symbol(T)& Omit thousands separator
    &symbol(R)& Right justified
    &symbol(I)& Suppress output of the initial value
    reward if helpful

  • Field Lengths in Smartforms

    Hi All,
    How can we make the field lengths of all the fields to be displayed in smartforms of the same length so that they are aligned properly.
    Eg: V_field1 is of length 8,
          V_field2 is of length 2.
    Both are of the type Z table.
    How can this be done in smartforms to display both of same length.
    Thanks,
    Saher

    Hi,
    Use like below
    Eg: V_field1+(08)
    V_field2+0(2).
    Regards
    Jana

  • Field edit in Smartform

    Hi Experts,
    I'm working on smartform programming.
    I've heard that we can change the format of value by using & &. aren't we?
    For example,
    when we want to cut preceding zero,
    &field(Z)& then 0000010 is printed just 10.
    I've tried to use this but
    &field(Z)& is printed which is not expected.
    Is there any specific way to edit this kind of stuff?
    Please let me know.
    Thanks in advance

    I got the answer.
    First, choose a field that I want to print,
    Second, select the field.
    Third, click the button contains pencil.
    Fourth, Edit and click OK button.

  • PRINT A QUANTITY FIELD ON A SMARTFORM :((((

    Hi gurus,
    TABLE VBAP
    KWMENG     QUAN     15 3  - Cumulative order quantity in sales units.
    POSNR | MATNR | KWMENG
    I have this field (KWMENG) which i want to print it on a smartform and i can't :(. On my application program i have an internal table TB_VBAP, which has this three fields ( posnr, matnr, kwmeng ). The first two ( posnr and matnr ) are printed on the SMARTFORM, but KWMENG is not. Can someone pls give me an idea?
    Thanks all. Alex

    Hei guys, i've solved the problem:
    1. I declared a variable VC_KWMENG at Global Settings/Global Definitions/Global data:
          VC_KWMENG     TYPE     CHAR19  ( depends on your output variable )
    2. Before the output of the text i've created a PROGRAM LINES node with this statement:
        In INPUT PARAMETERS: ST_VBAP and VC_KWMENG
        In OUTPUT PARAMETERS: ST_VBAP and VC_KWMENG.
    and as code:
        WRITE st_vbap-kwmeng UNIT st_vbap-vrkme TO VC_KWMENG.
    3. In my text node, i've put &VC_KWMENG&.
    Worked fine, thanks all you guys.

  • Can we handle multiple fields delimiter in sql*loader

    Hi,
    Users wants to load the data from each of their individual system. But problem is when they save the csv file, due to their sytem setup some files gettng saved with pipe (|) seperated and on some system it is saved with comma (,) sepearted fields.
    Can we handle both these field seperator in control file?
    Please suggest
    Thanks,
    Rahul

    Rahul,
    I recommned you should use "|" as "," can be embedded in a text string. I guess you can pass a directive to use to deliver "|" delimited file :). If you want to handle both then you might have to write a shell script or bat to pass delimiter as an argument which will edit and replace your control file.
    Regards

  • How to pass custom z table field values to smartform

    hi i need to pass fields values from the table i created to already developed smartform..can anyone give me an example for this scenario

    Hi,
    You need to create an internal table in print program. Then fill the internal table using select statement. Now you need to declare One internal table in 'TABLES' tab of Form Interface in smartfrom.
    e.g.:
    IT_BKPF     LIKE     ZBKPF
    Now call the smartform in print program & pass the internal table(declared & filled in print prog) to the smartform.
    Ashven

  • Element/Segment/Sub Field Delimiter Problem

    Hi gurus,
    I have a requirement in oracle b2b 11g wherein a TP can send multiple inbound document of the same type/version (eg X12 810v 4010) with different delimiters. It does that by choosing different Sender ID at ISA/GS level for the same transaction set. So a partner can have multiple EDI Interchange Id, DUNS Nos., AS2 Identifier etc. which we have defined as the TP identifiers. Now my question is how do I manage this requirement at the TP level, because I can only override the Version Params which has the the Delimiters at the TP Document Def level and that can be done only once.
    Edited by: Sandeep_22 on May 30, 2012 12:41 PM

    Hi Anuj,
    Yup, that's what I thought initially, to have multiple TP for each of these scenarios, but the agony is this is for Inbound to b2b. Generally we have all the Delimiter information in the EDI file coming in and there are other EDI tools (Webthods specifically) which need not be fed in the delimiter information to parse the inbound EDI. So, I tried a POC in Oracle to NOT override any of the Delimiters and use the default ones. I unchecked the 'validate' option on the agreement and strangely to the least of my expectation, with all different EDI's I tried (having different delimiters) for same document type, b2b was successfully able to identify the agreement and parse the document into and XML representation without error.
    So for me it works without any extra efforts.
    Edited by: Sandeep_22 on Jun 7, 2012 11:17 AM
    Edited by: Sandeep_22 on Jun 7, 2012 11:17 AM

  • Currency field in Invoice Smartform

    Hi all,
    I am printing the invoice amount field in the customized LB_BIL_INVOICE smart form in a particular window, but there are blank spaces getting printed before the amount value.
    I have tried moving the value into a variable too, it doesn't work as it is printing 316453.32 instead of 316,453.32
    Do help me with this
    Regards,
    Anik

    Use this:
    &VARIABLE(C)&
    Check help.sap.com
    Regards,
    Valter Oliveira.

  • Compression of field length in smartform

    Hi,
    I want to compress a field which is 13 character long to 5 characters as the first 8 characters are null but its taking engaging extra space of a line when it displays it in form. How to reduce the field to 5 characters.
    Thanks
    Dhiraj

    Better you go with char field instead of displaying the numeric field.
    pass the value to character field and go for display.
    Regards,
    madan.

  • How to add fields in smartform

    Hi,
    I  would like to add some fields in standard smartform for outbound delivery ( VL03N ). Actually, I formatted smartform accourding to clent requirement. But I am not getting how to add some fields in that. Please, help me with any example.
    Thanks ...

    Hi Manoj,
    it depends: If the values for new fields are passed in any interface structures/tables, just add in the eight context.
    If not, you must insert a Program lines node.
    This tutorial may be helpful as your smartforms experience may be limited:
    [SAP Smart Forms (BC-SRV-SCR)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf]
    Regards,
    Clemens

Maybe you are looking for