List of ouputs in MM?

hi
Somebody can tel me common list of outputs in MM , that has to be developed in SAP.
And what are the configuration has to be done for the same with support of ABAp consultant.?????
Explain with more details in short ...
Thanks

>
MM group wrote:
> hii
>
> Apart from this , some thing has to be done in NACE transaction??
>
> Explain steps ..
>
> Thanks
NACE is transaction used for Output determination for Output control or message control.
check out these links:
http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm
about NACE and output types
NAST is used for message status.
it is a system table.
it contains 82 fields.
NACE
You can track the form and the print program used for that form
The Tcode NACE is used to link the Standard SAP forms (SCRIPTFORM or SMARTFORM) or the customized form or the new form to its respective print programs. Also the output types, Form entry are linked with their forms and print programs. In short term, i can tell u that configuration or customization of forms to print programs, assigning output types, form entry to the forms are done using this Tcode.
NACE is used to create output type while creating the output type you will mention forms, and driver program.
that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
so check in NAST, TNAPR table
http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm
Condition records in NACE?
and
NACE is used for message control customizing.
Take a look at the following link
http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm
and also
NACE is used for message control customizing.
Take a look at the following link
http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm

Similar Messages

  • ICON with field contents in case of ALV GRID

    please have a look at the program. the output of the program display ICONS with the field contents.
    I wanted the same functionality in case of GRID layout.
    But in case of GRID layout I am only getting ICON without field contents.
    In this Example
    if I use ALV LIST the ouput will be STACk ICON with X
    IF I use ALV GRID the output will be STACK ICON.
    REPORT ZTEST_SO1 .
    type-pools : slis.
    data : result(25).
    types : BEGIN OF Ty_MARA,
            gv_flag type char25,
            end of ty_mara.
    data : gt_mara type standard table of ty_mara,
           wa_mara type ty_mara.
    DATA : gt_fieldcat type slis_t_fieldcat_alv,
           wa_fieldcat type slis_fieldcat_alv.
    wa_fieldcat-fieldname = 'GV_FLAG'.
    APPEND WA_FIELDCAT TO GT_FIELDCAT.
    CALL FUNCTION 'ICON_CREATE'
      EXPORTING
       name                        = '@3B@'
       TEXT                        = 'X'
       INFO                        = 'YY'
       ADD_STDINF                  = 'X'
    IMPORTING
       RESULT                      = wa_mara-gv_flag.
    IF sy-subrc EQ 0.
    APPEND WA_MARA TO GT_MARA.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
       I_CALLBACK_PROGRAM             = 'ZTEST_SO1'
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
      I_STRUCTURE_NAME               =
      IS_LAYOUT                      =
       IT_FIELDCAT                    = GT_FIELDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
      IT_EVENTS                      =
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
      TABLES
        t_outtab                       = GT_MARA
    EXCEPTIONS
      PROGRAM_ERROR                  = 1
      OTHERS                         = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Read the documentation of FM ICON_CREATE, the purpose of the Function module is entirely different from what you are using it for.
    To print Icons in ALV (Using FMs ) all you need to do is to send the Icon name in the field.
    Also parameters TEXT and INFO of FM ICON_CREATE seem to be flags, that are appended to the icon name so that when you set it on the screen the appropriate info or Text is shown.

  • Re: PO Email

    Dear Friends
    I have created Purchase Order and triggering  release strategy for release but after the relasing of release strategy by approval the email alert not coming to me.
    where we can see the settings and what will be the possiblities
    Regards
    Sri

    Hi,
    If work flow configure for PO release, then before release PO for your release Code, Your user ID(you) will get mail alert to release PO. But now you need a mail alert after releasing of PO, just consult workflow consultant.
    To send PO to vendor after release,Use t.code: NACE, select application EF, & select your Output type and set dispatch time to 4 (send immediately when saving the application).Also set condition record in MN04?MN05, set set dispatch time to 4.
    Now try sending mail.
    Check the links:
    Re: List of ouputs in MM?
    MM Purchase Order IDOC NEU output type configuration
    Regards,
    Biju K

  • Mx400d-64 (ms-8852) install problem

    I have PIII 1 gig pc with asus cusl2-i815e board running windows xp pro os.
    When I install the above card the pc is starting at 16 color mode low refresh rate. I could not change the color or the monitor type. Windows indicate the driver is installed ok, but the information about the vga chip type, memory are not listed.
    When I put back my old crad (Nvidia Vanta) everything is starts ok
    Pls help me to fix this problem

    I didn’t have any devices in 1st or last slots, even though I change the PCI device in slots 2nd & 3rd, to 4th & fifth, but  still the problem persists. I noticed which I didn’t declare earlier, i.e when I examined the following;
    Display Properties  (Default Monitor ) and properties, under this there is new tab appearing as “VgaSave Properties”. Within the “VgaSave” properties when I checked out, the resources tab “Conflicting device list” appears. It reads as follows;
    Conflicting device list
    Input/ouput Range 03B0-03BB used by Intel® 82815 Processor to AGP Controller-1131
    Input/ouput Range 03C0-03DF used by Intel® 82815 Processor to AGP Controller-1131
    Memory Range 00A0000-000BFFF used by Intel® 82815 Processor to AGP Controller-1131
    Pls help me to solve this problem.
    Regards
    Isfahan

  • Send the list ouput of ALV  or normal report to e-mail

    how to send the list ouput of ALV  or normal report to e-mail?

    Already SAP is providing the option to send output to email
    For ALV
    Go to Print Preview> list> send to --> mail receipient
    if it is normal list
    list> Save/Send> office

  • Need help with ouput of a list or array of numbers input from user

    I'm only a few weeks into learning java, so this may seem simple to some, but...
    I am trying to write a program that will receive numbers from a user,
    and then list, add, average those numbers. I've got the program to
    work except for listing the numbers that were input.
    Can someone help guide me????
    i've left the code I've tried in as comments.
    Enter an integer value, the program exits if the input is 0:
    20
    Enter an integer value, the program exits if the input is 0:
    40
    Enter an integer value, the program exits if the input is 0:
    60
    Enter an integer value, the program exits if the input is 0:
    80
    Enter an integer value, the program exits if the input is 0:
    0
    Total numbers entered: 4
    The array of numbers is: 0 0 0 0
    The sum is 200
    The average is 50
    The maximum number is 0
    The minimum is 0
    Here is my code:
    * Title:        Reads integers and finds the total, average, maximum of the input values
    * Description:
    * Copyright:    Copyright (c) 2002
    * Company:      Duke Court.
    * @author Mary Davenport
    * @version 1.0
    public class part3page6
      public static void main(String[] args)
      int data = 0;
      int sum = 0;
      int countnum = -1;
      int maximum = 0;
      int minimum = 0;
      int average = (countnum - 1);
      do
          System.out.println("Enter an integer value, " +
            " the program exits if the input is 0:  ");
          data = MyInput.readInt();
          sum += data;
          countnum++;
        } while (data != 0);
          //in order to figure the max & the min it appears that the
        //program will need to utilize arrays to store the individual numbers
        //that are input from the user.
        //create an array of the input data
        int[] number = new int[countnum];
        //creat a list of the input data
        int []myList = {data};
        //lists how many numbers entered
        System.out.println("Total numbers entered:  " + number.length);
        //list array of numbers -- this is giving me [I@3179c3,
        //instead of 20, 40, 60, 80 when I use "new int[countnum]"
    //     System.out.print("The array of numbers is: "
    //      + new int[countnum]);
        //list array of numbers:  this is giving me " 0 0 0 0 "
           //instead of 20, 40, 60, 80  with the following for statement
           // (number[i] + " ")
        System.out.print("The array of numbers is: ");
          for(int i=0; i<number.length; i++)
            System.out.print(number[i] + "  ");
      //list mylist of numbers from input, 20, 40, 60, 80
      //output is The list of numbers is: [I@3179c3
    //  System.out.print("The list of numbers is: " + myList);
        System.out.println();
        System.out.println("The sum is " +  sum);
        average = sum/countnum;
        System.out.println("The average is " + average);
        System.out.println("The maximum number is " +  maximum);
        System.out.println("The minimum is " +  minimum);

    When you input the data you need to save it to the array. Currently you are not saving the value you are just adding it
    ArrayList nums = new ArrayList();
       do
           System.out.println("Enter an integer value, " +
             " the program exits if the input is 0:  ");
           data = MyInput.readInt();
    nums.add(new Integer(data));
           sum += data;
           countnum++;
         } while (data != 0);

  • How can i change the color of  header in ouput list of alv?

    My output list heading is 'LIST OF COST CENTERS DATA' How can i change the color of that.
    I was searched in forum but i didn't get.if it is silly question please forgive me.

    we can change the header text color, by using the html font tag.
    < htmlb :tableView id               = "flights"
                                 table            = "<%= controller->it_flight %>"
                                 headerText       = "<font color='red'>Flight Details</font>"  <----are you talking abt this
                                 headerVisible    = "True"
                                 hasLeadSelection = "FALSE"
                                 footerVisible    = "FALSE"
                                 visibleFirstRow  = "1"
                                 onRowSelection   = "onRowSelection"
                                 iterator         = "<%= controller %>"
                                 selectedRowIndex = "<%= controller->row %>"
                                 width            = "100%"
                                 design           = "ALTERNATING" >

  • Unable to see field lable in alv list in Ztable contents ouput

    Hi Experts,
                         I m unable to see some of the field labels(few are displaying n few r not displaying) in ALV list (in user parameters)  whn i excute the table contents in an ztable in abap dictonary.
    regards
    harish

    Hi,
    maintain the column name in the fieldcat.
      gt_fieldcat_chld-fieldname = 'BAND'.  " mantion your field name
      gt_fieldcat_chld-scrtext_l = 'Band'.  " mention the description
      or you can use gt_fieldcat-COLTEXT = 'Band'.
      gt_fieldcat_chld-outputlen = 5.
      gt_fieldcat_chld-ref_field  = 'BAND'.
      gt_fieldcat_chld-ref_table = 'ZVP_ITM_QTY_BAND'.
      APPEND gt_fieldcat_chld.
    Let me know if this helps.
    Regards,
    Janaki

  • Formating technique problem in list ouput

    hi friends .
    iam doin a report  i want blank output if there is no value in date ,and quantity field and also iam calculating when the result is in
    negative it should display -2 but its displaying 2- can any body pls help me.
    reagrds
    farukh

    hi
    if ur using scripts u can use like this
    <b>&ITCDP-TDULPOS& 100.00-
    &ITCDP-TDULPOS(<)& -100.00</b>
    in abap reports chk these formatting options
    WRITE - Formatting options
    Options:
    ... NO-ZERO
    ... NO-SIGN
    ... NO GROUPING
    ... DD/MM/YY
    ... MM/DD/YY
    ... DD/MM/YYYY
    ... MM/DD/YYYY
    ... DDMMYY
    ... MMDDYY
    ... YYMMDD
    ... CURRENCY w
    ... DECIMALS d
    ... ROUND r
    ... UNIT u
    ... TIME ZONE tz
    ... EXPONENT e
    ... USING EDIT MASK mask
    ... USING NO EDIT MASK
    ... UNDER g (only with WRITE)
    ... NO-GAP (only with WRITE)
    ... LEFT-JUSTIFIED
    ... CENTERED
    ... RIGHT-JUSTIFIED
    Note
    The formatting options UNDER g and NO-GAP are intended only output to lists and therefore cannot be used with WRITE ... TO.
    Option
    ... NO-ZERO
    Effect
    If the contents of f are equal to zero, only blanks are output; if f is of type C or N, leading zeros are replaced by blanks.
    Option
    ... NO-SIGN
    Effect
    The leading sign is not output if f is of type I, P or F.
    Option
    ... NO GROUPING
    Effect
    If f has the type I or P, the thousand separators are omitted.
    Option
    ... DD/MM/YY
    Option
    ... MM/DD/YY
    Effect
    If f is a date field (type D), the date is output with a 2-character year as specified in the user's master record. Both of these formatting options have the same value.
    Option
    ... DD/MM/YYYY
    Option
    ... MM/DD/YYYY
    Effect
    If f is a date field (type D), the date is output with a 4-character year as specified in the user's master record. Both of these formatting options have the same value.
    Option
    ... DDMMYY
    Option
    ... MMDDYY
    Effect
    Date formatting like the additions ... DD/MM/YY and ... MM/DD/YY, but without separators.
    Option
    ... YYMMDD
    Effect
    If f is a date field (type D), the date is output in the format YYMMDD (YY = year, MM = month, DD = Day).
    Option
    ... CURRENCY w
    Effect
    Correct format for currency specified in the field w.
    Treats the contents of f as a currency amount. The currency specified in w determines how many decimal places this amount should have.
    The contents of w are used as a currency key for the table TCURX; if there is no entry for w, the system assumes that the currency amount has 2 decimal places.
    Option
    ... DECIMALS d
    Effect
    d specifies the number of decimal places for a number field (type I, P or F) in d. If this value is smaller than the number of decimal places in the number, the number is rounded. If the value is greater, the number is padded with zeros.
    Since accuracy with floating point arithmetic is up to about 15 decimal places (see ABAP number types), up to 17 digits are output with floating point numbers (type F). (In some circumstances, 17 digits are needed to differentiate between two neighboring floating point numbers.) If the output length is not sufficient, as many decimal places as possible are output. Negative DECIMALS specifications are treated as DECIMALS 0.
    Example
    Effect of different DECIMALS specifications:
    DATA: X TYPE P DECIMALS 3 VALUE '1.267',
          Y TYPE F            VALUE '125.456E2'.
    WRITE: /X DECIMALS 0,  "output: 1
           /X DECIMALS 2,  "output: 1.27
           /X DECIMALS 5,  "output: 1.26700
           /Y DECIMALS 1,  "output: 1.3E+04
           /Y DECIMALS 5,  "output: 1.25456E+04
           /Y DECIMALS 20. "output: 1.25456000000000E+04
    Option
    ... ROUND r
    Effect
    Scaled output of a field of type P.
    The decimal point is first moved r places to the left (r > 0) or to the right (r < 0); this is the same as dividing with the appropriate exponent 10**r. The value determined in this way is output with the valid number of digits before and after the decimal point. If the decimal point is moved to the left, the number is rounded.
    For further information about the interaction between the formatting options CURRENCY and DECIMALS, see the notes below.
    Example
    Effect of different ROUND specifications:
    DATA: X TYPE P DECIMALS 2 VALUE '12493.97'.
    WRITE: /X ROUND -2,   "output: 1,249,397.00
           /X ROUND  0,   "output:    12,493.97
           /X ROUND  2,   "output:       124.94
           /X ROUND  5,   "output:         0.12
    Option
    ... UNIT u
    Effect
    Formats a value according to the unit specified in the field u.
    The contents of f are treated as a quantity. The unit specified in u determines how many decimal places should be output.
    If f has more places after the decimal point than determined in u, the output value will only have the number of decimal places determined by u, unless the operation truncates digits other than zero.
    If f has fewer places after the decimal point than determined by u, the option has no effect.
    The contents of u are used as a unit in the table T006, but if there is no entry, the formatting option has no effect.
    The field f which is to be output must have the type P. This option is used for table fields which have the Dictionary type QUAN, or for fields defined with reference to such fields ( DATA ... LIKE ...).
    This formatting option excludes the options DECIMALS and ROUND.
    Example
    Suppose the unit 'STD' has 3 decimals
    DATA HOUR TYPE P DECIMALS 3 VALUE '1.200'.
    WRITE (6) HOUR UNIT 'STD'. "output:   1,2
    HOUR = '1.230'.
    WRITE (6) HOUR UNIT 'STD'. "output: 1,230
    Option
    ... TIME ZONE tz
    Effect
    Outputs f as a time stamp with reference to time zone tz.
    f must have type P(8) (short form) or type P(11) with 7 decimal places (long form). tz must have type C(6). You can specify the type exactly by using DATA ... LIKE ... with reference to the appropriate elements of the structure TZONREF in the ABAP Dictionary.
    It is assumed that the time stamp f is in UTC time (see GET TIME STAMP FIELD f). The system then uses the time zone tz to determine the difference from UTC time and converts the time stamp. If tz has the initial value ' ', the time stamp is output in UTC time
    Outputting a time stamp in long form requires 27 characters, the short form requires 19. The date (corresponding to a date output with length 10) is formatted according to the setting in the user master record. There is a space between date and time. In the time part (corresponding to a time output with length 8), the system inserts ':' as a separator. If you output a time stamp in its long form, the system separates seconds and fractions of seconds using a comma. If you use an output length shorter than the default, all separators in both the time and date parts are omitted. If the time stamp is still too long, the system omits the spaces between the date and the time. After this, the output is truncated from the right-hand end. If you specify a date formatting option that uses separators, these are not suppressed, even when you shorten the output.
    If the time stamp f is inconsistent, or the system cannot find the time zone tz, it places a '*' as the first character of the output. The time stamp f is then output without taking the time zone into account (in other words, as UTC time). The output is shifted one character to the right, and the last character is omitted.
    If time zone tz does not exist, you may need to create (or recreate) it in table TTZZ.
    You may not use the TIME ZONE option with CURRENCY, DECIMALS, EXPONENT, NO-SIGN, NO-GROUPING, NO-ZERO, ROUND or UNIT.
    Example
    Effect of the TIME ZONE option:
    DATA: S_TST  TYPE timestamp,
          L_TST  TYPE timestampl.
    SET COUNTRY 'US'.
    GET TIME STAMP FIELD S_TST.   " S_TST = 19971224111245
    GET TIME STAMP FIELD L_TST.   " L_TST = 19971224111245,1234567
    WRITE: S_TST TIME ZONE 'UTC+12', " 12/24/1997 23:12:45
        /, L_TST TIME ZONE 'UTC+12', " 12/24/1997 23:12:45,1234567
        /, (18) S_TST TIME ZONE 'UTC+12', " 24121997 231245
        /, (26) L_TST TIME ZONE 'UTC+12', " 24121997 231245,1234567
        /, S_TST TIME ZONE 'UTC+12' DD/MM/YY, " 12/24/97 23:12:45
        /, S_TST TIME ZONE 'no tz ' DD/MM/YY. " *12/24/97 11:12:4
    Option
    ... EXPONENT e
    Effect
    The field e defines a fixed exponent for a floating point number (type F). The mantissa is adjusted to the exponent by moving the decimal point and padding with zeros. With EXPONENT 0, the exponent specification is suppressed.
    However, if the output length is too short to accommodate all digits before the decimal point, the standard output format is used.
    Example
    Effect of different EXPONENT specifications:
    DATA: X TYPE P VALUE '123456789E2'.
    WRITE: /X     EXPONENT 0,    "output:     12345678900,000000
           /X(10) EXPONENT 0,    "output:  1,235E+10
           /X     EXPONENT 3,    "output:  12345678,90000000E+03
           /Y     EXPONENT -3,   "output:  12345678900000,00E-03
           /Y     EXPONENT 9,    "output:  12,34567890000000E+09
           /Y     EXPONENT 2
           /Y     DECIMALS 4.    "output:     123456789,0000E+02
    Option
    ... USING EDIT MASK mask
    Effect
    Outputs f according to the formatting template mask.
    Without this addition, f is output in the standard format for that particular type or with a format defined in the ABAP Dictionary. The addition allows you to define a different format.
    You can specify the formatting template as follows:
    '_'represents one character of the field f
    or one digit with type P or I
    'V'only with fields of type P or I:
    output of leading sign
    'LL'at beginning of template:
    left justify (standard)
    'RR'at beginning of template:
    right justify
    '==conv'perform output conversion conv
    ':', ...separator
    (all other characters)
    When formatting, the characters '_' in the template are replaced from the left ( 'LL') or from the right ('RR') by the characters or digits (type P or I) of the field f.
    Notes
    When using a template, you must specify the an explicit output length because otherwise the implicit output length of the field f is used. Usually, the template is longer than the implicit output length.
    If the leading sign is to be output with a field of type P or I, you must specify the wildcard character V at the desired place. If this character does not appear in the template, no leading sign will be output if the value of f is negative.
    When formatting a field of type P with decimal places, the value is not aligned with a character in the template representing the decimal point (either a period or a comma). If you want to have this character in the output, you must insert it in the correct position in the template and define the formatting from the right. If there is no character for the decimal point in the template, no such character is output.
    Fields of type F are first converted to the standard format and the resulting sequence is then copied to the template in the case of a field of type C.
    You implement the user-specific conversion conv with a function module called CONVERSION_EXIT_conv_OUTPUT, e.g. CONVERSION_EXIT_ALPHA_OUTPUT for the conversion of numeric values with leading zeros to a format without leading zeros for type C fields. If a Dictionary field is output and the domain of that field defines a conversion routine, this is executed automatically. For a description of the conversion, refer to the documentation of the appropriate function module.
    Example
    Formatted output of the time:
    DATA TIME TYPE T VALUE '154633'.
    WRITE (8) TIME USING EDIT MASK '__:__:__'.  "Output: 15:46:33
    If the output length "(8)" was not specified here, the output would be "15:46:" because the implicit output length for the type T is 6.
    Option
    ... USING NO EDIT MASK
    Effect
    Switches off a conversion routine specified in the ABAP Dictionary.
    Option
    ... UNDER g
    Effect
    Output of the field f begins at the column from which the field g was output. If this happens in the same output line, the output of the field g is overwritten.
    Note
    After UNDER, the field g must be written exactly as the reference field in the previous WRITE statement, i.e. with an offset and length if necessary. The exception to this rule is if g is a text symbol. In this case, the reference field is determined by the number of the text symbol (not by the text stored there).
    Example
    Align output to the reference fields:
    FIELD-SYMBOLS <FNAME>.
    ASSIGN 'First Name' TO <FNAME>.
    WRITE: /3 'Name'(001), 15 <FNAME>, 30 'RoomNo', 40 'Age'(002).
    WRITE: /   'Peterson' UNDER 'Name'(001),
               'Ron'      UNDER <FNAME>,
               '5.1'      UNDER 'RoomNo',
           (5) 24         UNDER TEXT-002.
    This produces the following output (numbers appear right-justified in their output fields!):
       Name          First Name     RoomNo    Age
       Peterson      Ron            5.1         24
    Option
    ... NO-GAP
    Effect
    Suppresses the blank after the field f. Fields output one after the other are then displayed without gaps.
    Example
    Output several literals without gaps:
    WRITE: 'A' NO-GAP, 'B' NO-GAP, 'C'.  "Output: ABC
    If NO-GAP was not specified here, the output would have been "A B C" because one blank is always implicitly generated between consecutive output fields.
    Option
    ... LEFT-JUSTIFIED
    ... CENTERED
    ... RIGHT-JUSTIFIED
    Effect
    Left-justified, centered or right-justified output.
    For number fields (types I, P and F), RIGHT-JUSTIFIED is the standard output format, but LEFT-JUSTIFIED is used for all other types, as well as for templates.
    Examples
    Output to a list (WRITE):
    DATA: FIELD(10) VALUE 'abcde'.
      WRITE: / '|' NO-GAP, FIELD LEFT-JUSTIFIED  NO-GAP, '|',
             / '|' NO-GAP, FIELD CENTERED        NO-GAP, '|',
             / '|' NO-GAP, FIELD RIGHT-JUSTIFIED NO-GAP, '|'.
    Output: |abcde     |
            |  abcde   |
            |     abcde|
    Formatting in a program field (WRITE...TO...)
    DATA: TARGET_FIELD1(10),
          TARGET_FIELD2 LIKE TARGET-FIELD1,
          TARGET_FIELD3 LIKE TARGET-FIELD1.
    WRITE: '123' LEFT-JUSTIFIED  TO TARGET-FIELD1,
           '456' CENTERED        TO TARGET-FIELD2,
           '789' RIGHT-JUSTIFIED TO TARGET-FIELD3.
      WRITE: / '|' NO-GAP, TARGET_FIELD1 NO-GAP, '|',
    / '|' NO-GAP, TARGET-FIELD2 NO-GAP, '|',
    / '|' NO-GAP, TARGET_FIELD3 NO-GAP, '|'.
    Output: |123 |
    | 456 |
    | 789|
    Note
    Setting date format und decimal character
    Every user can specify in his/her master record (User defaults) how the date is to be formatted on output and whether the decimal character should be a comma or a period. You can also set these output parameters for a particular program by using the statement SET COUNTRY.
    Notes
    Specifying several formatting options
    You can use the additions of the first group (NO-ZERO, NO-SIGN, DD/MM/YY etc., CURRENCY, DECIMALS, ROUND, EXPONENT) simultaneously, provided it makes sense. You can combine the additions UNDER and NO-GAP with all other additions in any permutation; however, they are not taken into account until the field f has been formatted according to all the other options.
    Templates, conversion routines and alignment
    If you want to format a field using a special conversion routine , all the other additions (apart from UNDER and NO-GAP) are ignored. This also applies if the conversion routine is not explicitly specified, but comes from the ABAP Dictionary.
    If you want to format a field using a template, the system first takes into account the options of the first group, and then places the result in the template. However, if you specify one of the date-related formatting options (DD/MM/YY etc.), the template is ignored.
    Finally, the formatted field or the template is copied to the target field according to the requested alignment. For type C fields, it is the occupied length that is relevant, not the defined length; this means that trailing blanks are not taken into account.
    Combined usage of CURRENCY, DECIMALS and ROUND
    The rounding factor (from the right) in
    WRITE price CURRENCY c ROUND r DECIMALS d
    results from the formula
    rounding factor = c + r - d.
    If DECIMALS is not specified, d = c applies.
    You read this formula in the following manner:
    The field price is supposed to be of ABAP type P (or I); it contains a currency amount. The CURRENCY specification expresses how many decimal places price is to have and may differ from the definition of price (the decimal point is not stored internally, but comes from the type attributes of price). Normally, price is output with as many decimal places as the field has internally according to the type attributes or the CURRENCY specification. You can override this number of output decimal places with DECIMALS. The addition ROUND addition moves the decimal point r places to the left, if r is positive, otherwise to the right. This means that a $ amount is output with ROUND 3 in the unit 1000 $.
    According to the above formula, there can also be a "negative" rounding factor; then, the corresponding number of zeros is appended to the amount price on the right using the "rounding factor". However, the value of "rounding factor" must be at least equal to -14.
    Currency fields and DATA with DECIMALS
    If the field price is normally formatted with decimal places (e.g. fields for currency amounts), these are treated like a CURRENCY specification when rounding, if CURRENCY was not expressly specified.
    If present, the DECIMALS specification defines how many decimal places are to be output after rounding.
    If the DECIMALS and the (explicit or implicit) CURRENCY specifications are different, rounding takes place according to the above formula, even if no ROUND specification was made (i.e. r = 0).
    If a field in the DATA statement was declared with DECIMALS n, WRITE treats it like a currency field with n decimal places.
    Examples
    Sales in pfennigs or lira: 246260
    Unit TDM or TLira with 1 decimal place.
    DATA SALES TYPE P VALUE 246260.
    WRITE SALES CURRENCY 'DEM' ROUND 3 DECIMALS 1. "    2,5  TDM
    WRITE SALES CURRENCY 'ITL' ROUND 3 DECIMALS 1. "  246,3  TLira
    Sales in pfennigs or lira: 99990
    Unit TDM or TLira with 1 decimal place.
    SALES = 99990.
    WRITE SALES CURRENCY 'DEM' ROUND 3 DECIMALS 1. "   1,0  TDM
    WRITE SALES CURRENCY 'ITL' ROUND 3 DECIMALS 1. " 100,0  TLira
    Sales in pfennigs or lira: 93860
    Unit 100 DM or 100 lira with 2 decimal places:
    SALES = 93860.
    WRITE SALES CURRENCY 'DEM' ROUND 2 DECIMALS 2. "   9,38 HDM
    WRITE SALES CURRENCY 'ITL' ROUND 2 DECIMALS 2. " 938,60 HLira
    Sales in pfennigs: 93840
    Unit 1 DM without decimal places.
    SALES = 93860
    WRITE SALES CURRENCY 'DEM'         DECIMALS 0. " 938    DM
    Sales in pfennigs: 93860
    Unit 1 DM without decimal places.
    SALES = 93860.
    WRITE SALES CURRENCY 'DEM'         DECIMALS 0. " 939    DM
    Exceptions
    Non-Catchable Exceptions
    Cause: CURRENCY parameter in the WRITE statement is not of type C
    Runtime Error: WRITE_CURRENCY_ILLEGAL_TYPE
    Cause: Rounding parameter is less than -14
    Runtime Error: WRITE_ROUND_TOO_SMALL
    Cause: UNIT parameter in the WRITE statement is not of type C
    Runtime Error: WRITE_UNIT_ILLEGAL_TYPE
    plz reward if useful

  • How to delete particular row in ALV list display

    Hi All,
    My requirement is :
    I am displaying ouput using lav list dispplay befor the first colomn i am displaying check box. i defined my own pf status here . in pf status i have 3 buttons .
    1 select all
    2 deselect all
    3 delete.
    First two options are working fine when i click select all it is selecting all the rown in a program(selectiong all the check boxex) like working fine for deselecting all.
    3 optioin  Delete when i click delete option it has to delete partcular row in a list display and at the same time this entry should delete from the table. this is my requirement. for the third point(delete) option i dont have any logic. anybody can suggest me or send me the sameple code. i am sending my code below.if possible please modify the code and resend it to me.
    type-pools : slis.
    tables : zuser_secobjects.
    data : t_header1 like zuser_secobjects.
    data : begin of it_secobjects occurs 0.
            include structure t_header1.
    *data :  box,
           input(1) type c,
    data :   checkbox type c,
            flag type c,
          end of it_secobjects.
    data : wa_ita like line of it_secobjects.
    *data : it_secobjects like zuser_secobjects occurs 0 with header line.
    data : i_field type slis_t_fieldcat_alv with header line.
    data : w_field like line of i_field.
    data : i_sort type slis_t_sortinfo_alv.
    data : w_sort like line of i_sort.
    data : it_filt1 type slis_t_filter_alv with header line.
    data:
    i_tabname type tabname,
    i_repid like sy-repid,
    is_lout type slis_layout_alv.
    data :   it_filt type slis_t_filter_alv   with header line,
             it_evts type slis_t_event        with header line.
    DATA : is_vari type disvariant.
    constants :   c_default_vari value 'X',
                  c_save_vari    value 'U',
                   c_checkfield type slis_fieldname     value 'ACTION',
                   c_f2code     type sy-ucomm           value '&ETA'.
    data : chk_box type slis_fieldname.
    selection-screen: begin of block b1 with frame title text-t01.
    parameters : p_appln type zuser_secobjects-appln.
    parameters : p_user type usr02-bname, "zuser_secobjects-appln_user,
    p_partnr type zuser_secobjects-appln_partner,
    p_ptype type zuser_secobjects-partner_type default '02',
    p_upostn type zuser_secobjects-user_position,
    p_sdate like likp-erdat default sy-datum,
    p_edate(10) default '12/31/9999',
    p_revnum type zuser_secobjects-revnum,
    p_cted type zuser_secobjects-created_by,
    p_cdate type zuser_secobjects-creation_date,
    p_ctime type zuser_secobjects-creation_time,
    p_chnby type zuser_secobjects-changed_by,
    p_cdate1 type zuser_secobjects-changed_date,
    p_ctime1 type zuser_secobjects-changed_time.
    selection-screen: end of block b1.
    form user_command using p_ucomm like sy-ucomm
    rs_selfield type slis_selfield.
    *DATA :   it_filt type slis_t_filter_alv   with header line.
      case p_ucomm.
        when 'SELECT_ALL'. " SELALL is the FCODE of ur push button
          loop at it_secobjects into wa_ita.
            wa_ita-checkbox = 'X'.
            modify it_secobjects from wa_ita.
          endloop.
      rs_selfield-refresh = 'X'.   "<-  ADD THIS
      when 'DESLCT_ALL'.
        loop at it_secobjects into wa_ita.
            wa_ita-checkbox = ' '.
            modify it_secobjects from wa_ita.
          endloop.
      rs_selfield-refresh = 'X'.   "<-  ADD THIS
        is_lout-f2code               = c_f2code.
        is_lout-box_fieldname        = c_checkfield.
        is_lout-get_selinfos         = 'X'.
        is_lout-detail_popup         = 'X'.
        is_lout-detail_initial_lines = 'X'.
    when 'HIDE_DEL'.
          rs_selfield-exit  = 'X'.
          it_filt-fieldname = 'ACTION'.
          it_filt-tabname   = '1'.
          it_filt-valuf     = 'X'.
          it_filt-intlen    = '1'.
          it_filt-inttype   = 'C'.
          it_filt-datatype  = 'CHAR'.
          it_filt-valuf_int = 'X'.
          it_filt-sign0     = 'E'.
          it_filt-optio     = 'EQ'.
          if it_filt[] is initial.
            append it_filt.
          else.
            modify it_filt index 1.
          endif.
         perform display using i_object.
    PERForm  ALV_LIST_DISPLAY.
    WHEN 'SHOW_DEL'.
          rs_selfield-exit = 'X'.
          free it_filt.
    PERForm  ALV_LIST_DISPLAY.
    when 'SAVE1'.
           select * from zuser_secobjects where
                        appln = zuser_secobjects-appln
                  and   appln_partner = zuser_secobjects-appln_partner
                  and   partner_type = zuser_secobjects-partner_type
                  and   start_date = zuser_secobjects-start_date
                  and   end_date = zuser_secobjects-end_date.
          endselect.
          if sy-subrc eq 0.
            message e000(ZV) with 'Duplicate Entry'.
          endif.
      endcase.
    endform.
    *&      Form  delete
    form delete.
      data : begin of is_secobjects occurs 0.
              include structure zuser_secobjects.
      data : checkbox type c.
      data : end of is_secobjects.
      is_secobjects-checkbox = 'X'.
      modify is_secobjects
        from it_secobjects
        transporting checkbox
      where checkbox = 'X'.
    endform.
    *&      Form  get_data
    form get_data.
      select * from zuser_secobjects
      into table it_secobjects.
    endform.                    " get_data
    *&      Form  prepare_fieldcatalog
          text
    -->  p1        text
    <--  p2        text
    form prepare_fieldcatalog.
      clear: w_field,i_field.
      refresh:i_field.
      i_field-key = 'X'.
      i_field-col_pos = 1.
      i_field-ddictxt = 'S'.
      i_field-seltext_s = '@11@'.
    i_field-checkbox = 'X'.
      i_field-input = 'X'.
      i_field-fieldname = 'HEADER'.
      i_field-outputlen = 0.
      append i_field.
      clear i_field.
      w_field-fieldname = 'APPLN'.
      w_field-tabname = 'IT_SECOBJECTS'.
      w_field-seltext_l = text-m01.
      w_field-outputlen = '10'.
      w_field-col_pos = 1.
      append w_field to i_field.
      clear w_field.
      w_field-fieldname = 'APPLN_USER'.
      w_field-tabname = 'IT_SECOBJECTS'.
      w_field-just = 'C'.
      w_field-seltext_l = text-m02.
      w_field-outputlen = '7'.
      w_field-col_pos = 2.
      append w_field to i_field.
      clear w_field.
    endform.                    " prepare_fieldcatalog
    *&      Form  ALV_LIST_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    form alv_list_display.
      i_repid = sy-repid.
      is_lout-box_fieldname = 'CHECKBOX'.
      it_filt-fieldname = 'ACTION'.
      call function 'REUSE_ALV_LIST_DISPLAY'
           exporting
                i_callback_program       = i_repid
                i_callback_pf_status_set = 'PF_STATUS_SET'
                i_callback_user_command  = 'USER_COMMAND'
                is_layout                = is_lout
                it_fieldcat              = i_field[]
                it_filter                = it_filt[]
                 it_events                = it_evts[]
                i_default                = c_default_vari
                i_save                   = c_save_vari
                is_variant               = is_vari
           tables
                t_outtab                 = it_secobjects.
    endform.                    " ALV_LIST_DISPLAY
    *&      Form  display
          text
         -->P_I_OBJECT  text
    form display using    object.
      case object.
    ENDCASE.
    endform.                    " display
    thanks,
    maheedhar.t

    HI
    In my program checkbox(before the record is displayed)
    I used following lines to display checkbox .
      i_field-key = 'X'.
      i_field-col_pos = 1.
      i_field-ddictxt = 'S'.
      i_field-seltext_s = '@11@'.
      i_field-checkbox = 'X'.  <- Using this command i am getting checkbox
      i_field-input = 'X'.
    when i select this checkbox i press delete option then this entry will remove from internal table and refresh the screen and at the same time i will click on save button this ztable has to update according to that action.
    this is my requirement.
    thanks,
    maheedhar.

  • Related Item link is broken in DispForm.aspx for a task in Workflow Tasks list if file name contains " ' " (single quote)

    Description:
    We have created a custom workflow in Microsoft Visual Studio 2013 and SharePoint 2013. This Workflow is associated with a Document library.
    This Workflow starts as soon as any new item is created OR updated in Document library and creates a Task in Workflow Tasks list.
     Related Item link is not working in following scenario -
    Upload a file that contains “ ' “
    in its name, in a document library
    Navigate to Workflow Tasks list
    Open View Item form (DispForm.aspx ) of  Task Created by workflow then click on link in Related Item fields
    OUPUT:
    Related Item link  truncates after “ ' “
    Eg.
    Original Link: http://<Site URL>/Documents/te'st.txt
    Related Item Field: http://<Site URL>/Documents/te
    Is this known bug in SharePoint 2013 OR any hotfix available to fix it.

    Hi,
    As I tested per your description, I can reproduce the issue as well.
    From what I have found out, it seems SharePoint resolve single quote into different code in different place. During the test, if I set Task Name to Document Name, single quote will be resolved to &#39; , if I set some field to Document encoded URL, single
    quote will be resolved to %27 . For now, I haven't found out any article talking about this issue.
    As workaround, we may find out a way to change the Related Item field. However, it is OOB field in workflow task (SharePoint 2013) content type, and this content type cannot be modified in form.
    I'd suggest you add new column to get document url and place in the form in Task content type settings.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Trying to print ABAP List in Unix

    I am new to SAP and I am trying to print using unix as my host spooler.  I am printing to a Xerox machine connected to a print server.  I am just trying to print the test ABAP list you get when you go into SPAD and select Utilities/ouput devices then select ABAP List.  When I print this I get nothing but ABCD and a bunch of numbers.  I am trying to figure if the ABAP list is supposed to be that way or if something is wrong with my driver.

    Hello Rodney,
    What device type did you specify in the SPAD Output Device definition?  You need to make sure you select a device type which is compatible with the printer.  If the printer supports postscript printer language, then you need to select the 'Post2' or 'postscpt' device types.  If the printer support PCL, then test with 'hplj4' device type.  Most likely the currently selected device type is not compatible with the printer and therefore creates a print file which the printer cannot interpret.
    Regards,
    Nathan

  • Grouping of invoices using invoice list

    I have advised my client to use SD>Billing>Invoice List>Maintain output for invoice list to achive grouping of invoices
    i noticed under
    SD>Billing>Assemblin groups
    one is assembling group of billing documents
    and other one is Assembling group of invoice list
    Please tell me only the difference of both and where and through which t code to see the ouput of assigned billing doucment
    now after configuring  SD>Billing>Invoice List>Maintain output for invoice list i see ZPGR for invoice with F group type coming in VG02, should use VG02 to manually assign billing document..
    Regards
    Siva

    Hi,
    The functionality of ASSEMBLING GROUPS is different. It is used for Processing logs for the Billing documents with the group F and R for invoice lists.
    If you want to create the INVOICE LIST you can cr eate it in the transaction code VF21 for all the blling documents which have same payer and the billing date.
    In the same tcode you can the Output assigned to it, if all the settings in NACE are done.
    Please chcek, if this is what you require, else please clarify the question.
    regards,
    santosh

  • Report- formatting of output list. -urgent

    Hi experts,
    i have done report in where i hv to display more than 20 fiedls to display. I report output list is around 300 chacertes when i am prinint the report it is printing only  132 chac per page. Remaring 168 is not printing. How can i do this one. How to print total ouput in page. The max size of print page is 132 chac .
    its and urgent requiremnt to me.
    <b>useful answers surely awarded with points</b>
    regards,
    sunil kumar.

    Hi ,
    At start of the report program add LINE SIZE which will be required for your display examople
    REPORT ztest_rep NO STANDARD PAGE HEADING
                                          LINE-SIZE 1023 .
    Above id the "ztest_rep program and line size will define the number of the characters that will be output as in this case it will be 1023 char...
    Reward points if usefull....
    Message was edited by:
            SOURABH MALHOTRA

  • How to increase the font size of  print ouput in SAP 4.7

    Hi,
    How to increase the font size of the ouput of Write statement on PRINT ?  in 4.7
    THANKS IN ADVANCE
    MOOSA

    You can do that using the PRINT-CONTROL Statement.This will only work when you send the list to the printer.Sample code is as below :
    REPORT zfont NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
    Start of print-control
    NEW-PAGE PRINT ON.
    PRINT-CONTROL FUNCTION 'SF000'.
    WRITE: / 'This is CPI 20'.
    SKIP.
    PRINT-CONTROL FUNCTION 'SF020'.
    WRITE: / 'This is CPI 6'.
    SKIP.
    PRINT-CONTROL FUNCTION 'SF008'.
    WRITE: / 'This is CPI 12'.
    Depending on your SAP printer device, this may also work
    PRINT-CONTROL FONT 1 LPI 6.
    you can try to change font and LPI numbers
    WRITE: / 'font 1 lpi 6'.
    PRINT-CONTROL FONT 2 LPI 6.
    WRITE: / 'font 2 lpi 6'.
    PRINT-CONTROL FONT 3 LPI 6.
    WRITE: / 'font 3 lpi 6'.
    End of print-control
    NEW-PAGE PRINT OFF.
    *--- End of Program

Maybe you are looking for

  • How can I see my contacts from my phone on my iPad

    How can I see my contacts from my phone on my iPad

  • How can I get my website to display the same in multipul browsers?

    I am having trouble displaying my webpage in different browsers. I have run it through html & css validators and they can't pick up on any faults which would through the site out of line. When I display the same code on different computers, different

  • Blank Row in table during Master Data Load

    I am having some success with my master data loads, but when I maintain the master data I have noticed that every table has had a blank row inserted. Does anybody know why and what I should do with the row (i.e. delete it)?

  • Partition Key Date Format

    Hi All We have table which is range partitioned on a Date field with the following date format PARTITION "P200905" VALUES LESS THAN (TO_DATE(' 2008-08-03 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN') But whenever the user is insertin

  • Macbook pro not working without battery

    my macbook pro not working if i remove the battery & if the battery is empty my macbook pro not working before charging