Aligning data in smartforms

Hi,
  I want to print data in a secondary window as follows.
Amendment number : 3                  date: 3-03-2008
Number :4444444444                     date: 3--3-2008
But the second date field is not aligning properly either it comes before the first date field or it comes after the first date field. i want both the date should start at the same coulmn.
please help me on this . pls be elaborative.
Thanks,
rose.
Edited by: camila phyrose on Feb 20, 2008 2:21 PM

Hi don't worry for this use tabs while writing in editor in Smartforms , tabs are made under a paragraph format we make tabs when we making a paragraph format and use that para fromat while writinfg field on editor on your smartforms
For tabs i give u an idea that tabs are used as a property of paragraphs for proper alingment of values or data in coloumns .
take tabs as the position from where u want to start printing data in coloumn
as for example
if ur first field is item no. than u have to alingned it as right alingment so it will start printing the value from right in coloumn so u decide that how many charcter is actullly it is taking so as for example it is of 10 character than give frst tab as on 10th in postion and type as CH while defining first coloumn , than suppose next field is description so u have to define it as left alingment so if first tabis at 10 and due to left alingment the positon of cursor is just after 10 becouse it is left alingned and previous one is right so start it from 12 as giving space of 1 or 2 character and do the same thing with using comman sence for other , but remember in this method of scripts u have to do one or more times trial and error so just do it once and practice it . this is very important.
just do one thing that if u r using tabs in paragraph format jsut chek that same para number u used for on ur editor while printing or not if it is ok than , in using tabs do right alingment for all value , quantity and no. fields in tabs while using tabs in editor u define tab after each field with two commas where u have to put tab or means from this field u have to strt ur next tab
*thank
if useful please please reward points.

Similar Messages

  • Display data in smartforms using report

    hi,
    i want to display data from smartform using report.
    i have a preview buttons in report when i select preview buttons displays in smarts
    regards
    amit

    design the smartform as per ur need and get  the function module generated by smartform and pass it to ur report programas below..
    case sy-ucomm.
    when 'smartform'.
    pass the f.m that is generated by system in smartforms
           CALL FUNCTION '/1BCDWB/SF00000265'
        EXPORTING
        ARCHIVE_INDEX              =
        ARCHIVE_INDEX_TAB          =
        ARCHIVE_PARAMETERS         =
        CONTROL_PARAMETERS         =
        MAIL_APPL_OBJ              =
        MAIL_RECIPIENT             =
        MAIL_SENDER                =
        OUTPUT_OPTIONS             =
        USER_SETTINGS              = 'X'
          DATE_L                     = s_fkdat-low
          DATE_H                     = s_fkdat-high
          PLANT_L                    = s_werks-low
          PLANT_H                    = s_werks-high
      IMPORTING
        DOCUMENT_OUTPUT_INFO       =
        JOB_OUTPUT_INFO            =
        JOB_OUTPUT_OPTIONS         =
        TABLES
          IFINAL                     = ifinal1[]
      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.
    endcase.

  • How can i open a PDF bank statement in numbers so that the rows and columns contain properly aligned data from statement?

    how can i open a PDF bank statement in "numbers" so that the rows and columns contain properly aligned data from statement?

    Numbers can store pdfs pages or clippings but does not directly open pdf files.  To get the bank statement into Numbers as a table I would open the bank statment in Preview (or Skim) or some pdf viewer.
    Then hold the option key while selecting a column of data.
    Then copy
    Then switch to numbers and paste the column into a table
    Then repeat for the other columns in the pdf document
    It would be easier (in my opinion) to download the QFX or CSV version from your bank

  • How can i print data in smartforms from ABAP program.

    Dear gurus:
    in my abap program i process require data, and saved in a internal table.
    how can l print the data in smartforms.?
    who can give me a code sample is better:)
    reward all helpful advise.

    Try this....
    1) Tcode --> SmartForms
    2) Form name --> Z_SF_TEST Create
    3) Under Global settings
    a) Form Interface  
        Table Tab
       ITAB LIKE EKPO
    b) GLOBAL Definitions
    WA_NETPR LIKE EKPO-NETPR
    In smart forms if we want to display quantity and currency fields. We can't directly display currency field and quantity fields
    For that we have to create an extra variable in global definitions
    Ex: netpr FIELD of EKPO
    CREATE program lines and specify WA_NETWR = itab-netpr.
    4) RT CLick on main Window
       CREATE --> TABLE
      Click Table painter
    DEFAULT %LTYPE will be Created
    a) If you want more like Header footer etc add by rt click on %LTYPE1
    Table (Tab)
    %LTYPE  Radio(SELECT) 5 CM 5 CM 6 CM
    CLICK on DATA (Tab)
    INTERNAL TABLE ITAB LIKE ITAB
    5)RT click on table control and create --> program lines
    General attribute (Tab)
    INPUT PARAMETER               OUTPUT PARAMETER
    itab                               WA_NETPR
    Code Area
    WA_NETWR = ITAB-NETPR.
    6) RT CLcick on table ctl and create 3 text to display the fields
    a) % text1 +button(insert field)
       FIELD name &itab-ebeln&
    Output options (tab)
    Check New line   LINETYPE   %Ltype1
    check new cell
    b) % text2
       & itab-ebelp&
    output options
    check new cell
    c) % text2
       & wa_netpr&
    output options
    check new cell
    <b>Report ac
    Tables ekpo.
    Data: itab1 like ekpo occurs 0 with header line.
    select * into table itab1 from ekpo.
    Call function module --> smart form function module and pass your internal table</b>
    Regards,
    SaiRam

  • How do I align data within a column?

    In the newly updated Numbers (Mac), I cannot find how to align data within a column.

    The justify data select the column by clicking the column header (the letter at the top of the column) then open the formatter (top right):
    then select the "Text" formatter and select the type of aligment you want:

  • To display execise number and date in smartform

    Hi Abappers,
    i want to display execise number and date in smartform and by using driver program also.
    i have taken fields from vbrk,vbrp and send to final internal table,but now i want to display execise number in my Smartform also.
    Thanking u,
    sri.

    Create a window inside window create text element inside that insert field your excise number and date field names.
    Go to form interface -> import parameters declare your internal table name type vbrp/vbrk.
    In your print program smart form function module pass this table.

  • Any Function Module to translate variable data in smartform

    Hi All,
    I am working with smartform.
    My requirement is, when user logins with Japan language.
    then all the data  ( text template and variable data )  should be in Japan .
    By using  SE63 ,i can translate only text data.  How about the variable data in smartform?
    Please suggest any solution.
    Regards,
    Kishan

    Hope you are passing the variable from print program. If not then do the same. and in the print program do the below thing.
       wf_spras = sy-langu.
    CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTP
          EXPORTING
               input  = wf_spras
          IMPORTING
               output = wf_language.
      SET LANGUAGE wf_language.
    wa_control_parameters-langu = wf_spras.
    PS : wa_control_parameter , you pass through control_parameters, in to the SMARTFORM calling FM .
    Make sure that the data, which u fill into the variable you are talking about in maintained in the log on language also.

  • How i can display i_tab data in smartform as required

    hi all
          i have tried a lot but not able to make logic for displaying data frm i_tab to SF as required ,
         my requirement is , i have data in i_tab as given below
    field 1, 2,3,4,  are TRNTYP   CHAPID   MATNR  MAKTX  OF J_1IEXCDTL respectivly.
    GRPO     8707.00   0025F     AC92 CON ROD FORGING.
    ARE1               1315F     CONNECTING ROD      
                       1315F     CONNECTING ROD      
                       1315F     CONNECTING ROD      
    DLFC               1315F     CONNECTING ROD      
                       1315F     CONNECTING ROD      
                       1315F     CONNECTING ROD      
                       1315F     CONNECTING ROD      
                       1315F     CONNECTING ROD      
                       1315F     CONNECTING ROD      
                       1315F     CONNECTING ROD      
           now i want to display this data on SF like as :
      <b>discription of 8700.00
      export against = ARE1
                  1315F              CONNECTING ROD      
                  1315F              CONNECTING ROD      
                  1315F              CONNECTING ROD      </b>
        Way to Display :-
               1.      Chapter id in one single line
               2.      then if TRNTYP is ARE1 or ARE3 it should display in second single
                        line. <b><not any other TRNTYP></b>
               3.      then field no. 3 & 4 of i_tab should come based on TRNTYP
       please guide me and help me , if possible help me with dummy code example
      or if not then help me to make logic by give hint,
                      <b>i have all related data in one single i_tab</b>
    Message was edited by: SACHIN
            sachin sharma

    Hi
    see this and do accordingly
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Here is the procedure
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    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.
    Smartform
    you can check this link here you can see the steps and you can do it the same by looking at it..
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SMARTFORMS STEPS.
    1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
    2. Create Table type(t_struct) of stracture in se11.
    3. In your program declare Internal table(Itab) type table of structure(struct).
    4. Define work area(wa) like line of internal table.
    5. Open Tcode Smartforms
    6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
    7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
    8. In form pages and window, create Page node by default Page1 is available.
    9. In page node you can create numbers of secondary window. But in form there is only one Main window.
    10. By right click on page you can create windows or Go to Edit, Node, Create.
    11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
    12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
    13. In table there are three areas Header, Main Area, Footer.
    14. Right click on the Main area create table line by default line type1 is there select it.
    15. Divide line into cells according to your need then for each cell create Text node.
    16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
    17. Save form and activate it.
    18. Then go to Environment, function module name, there you get the name of function module copy it.
    19. In your program call the function module that you have copied from your form.
    20. In your program in exporting parameter of function pass the internal table(itab).
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
    configure forms with data from an SAP System for the relevant business processes.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    What Transaction to start SAP Smart Forms?
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
    You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
    These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
    For Web publishing, the system provides a generated XML output of the processed form.
    Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    Reward if useful
    Anji

  • Aligning data in sap script

    hi guyz,
    how can i align data in sap script with spaces between..
    regards

    Hi,
    you have to create paragraph formats for this, in paragraph format you can define tab sapces.
    use that paragraph format in command box of ur window editor, where ever you want the space just use ',,'  which will apply tab space (the sapce you have declared).
    reward if useful,
    Thanks,
    Sreeram.

  • IOS: storeDouble / loadDouble crash on non 32bit aligned data

    Hi,
    Not sure if this is the right place to be posting this.
    Using HaXe, i've been playing with the storeDouble and loadDouble opcodes (much faster than ByteArray readDouble / writeDouble) and i've noticed that when compiled for iOS (ipa_test or ipa_debug), using either with a non 32bit aligned address into the ByteArray results in a full crash of the app. Using the interpreter (ipa_test_interpreter or ipa_debug_interpreter) works.
    In a way it's good that it crashes as it alerts you to the fact that you are using poorly aligned data, which results in degraded performance, but I thought i'd report it.
    Cheers,
    Dave

    This is the exact same thing I'm seeing on my iPhone 4.  Like you, I had initial problems with iOS5. It was a nightmare!  I eventually did get it on iOS5, and everything seemed OK, until these springboard crashed.  I have never jailbroken my phone either.  Wondering if you're on the east coast though, because my errors are happening just after 11am and 11pm, usually around 11:20pm every single cotten picken day!  It's driving me batty.  Don't have phone support anymore, but I'm still thinking about taking it into the Genius Bar.  I've restored from my backup, and I've set it up as a new device as well.  Still seeing the same thing no matter what I do!

  • How to pull the data into smartform after designing layout?

    how to pull the data into smartform after designing layout?

    call the smartform in your Driver program and pass your output internal tables in the smartforms paramaters
    Check the below Sample code.
    FORM label_print.
      DATA : g_fm_name TYPE rs38l_fnam,
             g_output  TYPE ssfcompop,
             g_control TYPE ssfctrlop,
             g_form TYPE tdsfname VALUE 'ZPRINT_LABELS',
             g_dest TYPE rspopname,
             g_printer TYPE rspoptype..
      REFRESH : i_out[],i_qals[].
      SELECT matnr maktx
             INTO TABLE i_out
             FROM makt
             FOR ALL ENTRIES IN i_mseg
             WHERE matnr = i_mseg-matnr
             AND   spras = sy-langu.
      SELECT prueflos objnr ersteldat erstelzeit matnr revlv charg mengeneinh
             INTO TABLE i_qals
             FROM qals
             FOR ALL ENTRIES IN i_mseg
             WHERE matnr = i_mseg-matnr
             AND   charg = i_mseg-charg.
    *FM to accept the device type and returns the short name of the output device
      CALL FUNCTION 'EFG_GET_PRINTER'
        EXPORTING
          x_no_dialog  = ' '
          x_obligatory = 'X'
        IMPORTING
          y_tddest     = g_dest
        EXCEPTIONS
          cancelled    = 1
          failed       = 2
          OTHERS       = 3.
    *device type name for the output device
      SELECT SINGLE patype                                  "#EC CI_NOFIELD
             FROM tsp03d
             INTO g_printer
             WHERE padest = g_dest.
    *printer setting
      g_control-no_dialog = 'X'.
      g_output-tdarmod = '1'.
      g_output-tdcopies = '001'.
      g_output-tddest = g_dest.
      g_output-tdprinter = g_printer.
      g_output-tdnewid = 'X'.
      g_output-tdimmed = 'X'.
      CLEAR wa_mseg.
      LOOP AT i_mseg INTO wa_mseg.
        READ TABLE i_out INTO wa_out WITH KEY matnr = wa_mseg-matnr.
    check for the status and filter the records
        CLEAR : wa_qals.
        LOOP AT i_qals INTO wa_qals WHERE matnr = wa_mseg-matnr
                                    AND charg = wa_mseg-charg.
          CALL FUNCTION 'STATUS_TEXT_EDIT'
            EXPORTING
              objnr            = wa_qals-objnr
              spras            = sy-langu
            IMPORTING
              line             = l_status
            EXCEPTIONS
              object_not_found = 1
              OTHERS           = 2.
          IF l_status CS 'LTCA' OR l_status CS 'SKIP'.
            DELETE i_qals.
          ENDIF.
        ENDLOOP.
        SORT i_qals BY ersteldat DESCENDING erstelzeit DESCENDING.
        IF i_qals IS INITIAL.
          l_msg = text-002.
        ELSE.
          READ TABLE i_qals INTO wa_qals INDEX 1.
          SELECT prueflos vbewertung
                 INTO TABLE i_qave
                 FROM qave
                 WHERE prueflos = wa_qals-prueflos
                 AND   kzart = 'L'.
          IF sy-subrc <> 0.
            l_msg1 = text-003.
          ENDIF.
          SORT i_qave.
          CLEAR : wa_qave.
          IF NOT i_qave IS INITIAL.
            READ TABLE i_qave INTO wa_qave INDEX 1.
            IF wa_qave-vbewertung = 'A'.
              l_msg = text-002.
            ELSEIF wa_qave-vbewertung = 'R'.
              l_msg1 = text-003.
            ELSE.
              l_msg1 = text-003.
            ENDIF.
          ENDIF.
        ENDIF.
        CLEAR : wa_ser03.
        READ TABLE i_ser03 INTO wa_ser03 WITH KEY mblnr = wa_mseg-mblnr.
    *Calling Smartform
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname           = g_form
          IMPORTING
            fm_name            = g_fm_name
          EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.
        LOOP AT i_objk INTO wa_objk WHERE obknr = wa_ser03-obknr.
    *Calling FM generated from the smartform
          DATA : l_date(10) TYPE c,
                 l_date1(10) TYPE c,
                 l_date2(10) TYPE c,
                 l_date3(10) TYPE c,
                 l_hyphen(1) TYPE c VALUE '-'.
          CLEAR : l_date,l_date1,l_date2,l_date3.
          l_date1 = wa_mseg-vfdat+0(4).
          l_date2 = wa_mseg-vfdat+4(2).
          l_date3 = wa_mseg-vfdat+6(2).
          CONCATENATE l_date1 l_hyphen l_date2 l_hyphen l_date3 INTO l_date.
          CALL FUNCTION g_fm_name
            EXPORTING
              control_parameters = g_control
              output_options     = g_output
              user_settings      = ' '
              g_matnr            = wa_mseg-matnr
              g_mat_text         = wa_out-maktx
              g_batch            = wa_mseg-charg
              g_rev              = wa_qals-revlv
              g_edate            = l_date
              g_lot              = wa_qals-prueflos
              g_qty              = wa_mseg-erfmg
              g_uom              = wa_mseg-erfme
              g_serial           = wa_objk-sernr
              g_smsg             = l_msg
              g_fmsg             = l_msg1
            EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
          CLEAR  g_output-tdnewid.
        ENDLOOP.
        IF sy-subrc <> 0.
          CLEAR : l_date,l_date1,l_date2,l_date3.
          l_date1 = wa_mseg-vfdat+0(4).
          l_date2 = wa_mseg-vfdat+4(2).
          l_date3 = wa_mseg-vfdat+6(2).
          CONCATENATE l_date1 l_hyphen l_date2 l_hyphen l_date3 INTO l_date.
          CALL FUNCTION g_fm_name
            EXPORTING
              control_parameters = g_control
              output_options     = g_output
              user_settings      = ' '
              g_matnr            = wa_mseg-matnr
              g_mat_text         = wa_out-maktx
              g_batch            = wa_mseg-charg
              g_rev              = wa_qals-revlv
              g_edate            = l_date
              g_lot              = wa_qals-prueflos
              g_qty              = wa_mseg-erfmg
              g_uom              = wa_mseg-erfme
              g_serial           = wa_objk-sernr
              g_smsg             = l_msg
              g_fmsg             = l_msg1
            EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
          CLEAR g_output-tdnewid.
        ENDIF.
      ENDLOOP.
      IF sy-subrc = 0.
        MESSAGE i000(zm).
      ENDIF.
    ENDFORM.                    " label_print

  • Problems with E-Recruiting Data Overview Smartforms

    Hello,
    We recently upgraded from E-Recruiting 3.0 sp12 to sp15.  During this upgrade we have noticed that our custom Data Overview Smartforms have not being displayed.  Instead the system is calling the original SAP delivered forms.  The problem is that in table T77RCF_UI_PARAM we have the parameters set to display the correct forms.  As strange as that sounds we were able to fix most of them by changing the case, i.e. from lower to upper or upper to lower, of the BSP application name.  We are still however having problems with one particular BSP application:
    <b>Name                         Paramtyp             Parameter</b>
    HRRCF_CAND_DOVR    DISPLAY_PDF     Z_ER_CANDIDATE_PREVIEW
    HRRCF_CAND_DOVR    SF_VIEW_CAND     Z_ER_CANDIDATE_PREVIEW
    The SAP delivered smartform is HRRCF_CANDIDATE_PREVIEW.
    This one, regardless of what case the BSP application is in, continually displayes the SAP delivered smartform.
    I have verified that the custom form is indeed active.  And we also went as far as appying oss notes:
    Note 1017662 - T77RCF_UI_PARAM: Application name is case-sensitive
    Note 1037121 - T77RCF_UI_PARAM: Length of Input Field ‘Parameters” too short
    Yet another twist to this is that when I log on as an Internal Candidate and click on the Data Overview link on the external candidate personnel page the custom form is displayed.  However, when I log on as an External Candidate and click on the same link the SAP delivered form is displayed.
    Could this have something to do with the type of roles assigned?  Just incase I verified that the roles for the External Candidate were indeed SAP_RCF_EXTERNAL_CANDIDATE and the internal role was SAP_RCF_INTERNAL_CANDIDATE.
    Any help would be appreciated!
    Respectfully,
    Ryan

    Well the error you are facing, that the external candidate does not see the custom smartform depends on a new BSP application that is delivered with SP14.
    You need to copy the customizing of hrrcf_cand_dovr to hrrcf_cdovr_ext.
    Regards

  • Format the date in Smartform

    Hi Experts,
              Please tell me how to format the date in Smartform...I mean if my date is
    '04.03.2007' ..I wanted to print it as 4 March,2007.
    Please reply me back..its urgent..

    hai
    plz check this code
    DATA :i_monthname   TYPE TABLE OF t247,
          w_monthname   TYPE t247,
          v_date        TYPE sy-datum,
          v_year        TYPE bkpf-gjahr,
          v_month       TYPE bkpf-monat,
          v_day(2)      TYPE c,
          v_ndate(11)   TYPE c.
    CALL FUNCTION 'MONTH_NAMES_GET'
      EXPORTING
        language    = sy-langu
      TABLES
        month_names = i_monthname.
    CALL FUNCTION 'CACS_DATE_GET_YEAR_MONTH'
      EXPORTING
        i_date  = sy-datum
      IMPORTING
        e_month = v_month
        e_year  = v_year.
    MOVE sy-datum TO v_date.
    SHIFT v_date BY 6 PLACES.
    v_day = v_date.
    READ TABLE i_monthname INTO w_monthname WITH KEY mnr = v_month .
    CONCATENATE v_day '-' w_monthname-ktx '-' v_year INTO v_ndate.
    WRITE:/ v_ndate , sy-datum.
    **Please reward suitable points***
    With Regards
    Navin Khedikar

  • Align data in html cfgrid CF9

    How does one align data wihtin a cfgrid in CF9?  Not sure of the correct .css style to change.  The Headeralign and dataalign only work for Flash grids.  Any help would be great, thanks in advance!

    How does one align data wihtin a cfgrid in CF9?  Not sure of the correct .css style to change.  The Headeralign and dataalign only work for Flash grids.  Any help would be great, thanks in advance!

  • How to find out the aligning Data dictionary table for a structure.

    Hi
    As the table controls are associated with strucures, the data input goes to the data dictionary table aligned to that structure. Is there any way we can find out the table related to that particular structure ?
    Thanks,
    Dhareppa

    Hi,
    The structure and its fields may be associated with multiple database tables.
    You can try by where-used list of the structure/field and then you can look and determine the table by hit and try method.
    Also as suggested above you can try get the SQL trace and then ypu can look for table associated behind the structure/fields I believe this is the best way to find the DB table.
    Thanks,
    Ravi

Maybe you are looking for

  • I Phone 4 After Upgrade to IOS 6.1.3 unable to connect wifi

    May i know that do anyone here experience the same issue as me as i unable to connect to my home wifi after i upgrade to IOS 6.1.3 on my I Phone 4. I have try reset and reboot my router and even reset my phone network setting but to no availability t

  • Document attachment to PO

    Dear Friends, Is there a log, that is maintained to log all the activities (who add and who delete) perfomed to the PO attachement. Tks Sujith

  • Font size difference in preview/export vs. design view

    In a very simple  project (Xcelsius Engage 2008) I've begun, I have noticed that upon previewing the project in Xcelsius or exporting to HTML, the font size is not the same as what I see when I am specifying/seeing in design mode.  Incidentally, I am

  • Where can i get osx lion

    Hi i have a macbook pro that came with osx lion and would like to uprgade my white macbook 2008 to osx lion 10.7 But i upgraded my macbook pro to 10.8 and i don't have osx lion on a cd or flash drive where can i purchase osx lion

  • Missing drivers and can't figure out what to install

    I have two missing drivers on a fresh install of windows 7 64 bit and can't seem to work out what they are. It's a HP notebook 2000 365DX They show up under 'Other Devices' one is BCM207020A and when I open it the info says Location Port_#0002.Hub_#0