SLIN - Extended Prog. check - Erorrs for VALUE, QUANTITY fields??

Hi Experts,
I need to get 0 in ERRORS column for the execution of SLIN to z_prog.
So, in this prog. am displaying some VALUES, QUANTITIES in ALV report.
So. When I run the SLIN for this z_prog. am getting the following ERROR texts
Use addition CURRENCY when outputting WA_ALV-VALUE
Use auxiliary field when outputting with MESSAGE
(You can hide the message using "#EC UOM_IN_MES)
Use addition UNIT when outputting WA_ALV-QUNTY
Use auxiliary field when outputting with MESSAGE
(You can hide the message using "#EC UOM_IN_MES)
pls. note that, I shild not hide them, as suggested ´by SLIN.
So,
1) pls. let me know that How to fix them?
2) Wht does it mean?
thanq
Edited by: Srinivas on Jun 11, 2008 12:58 AM

Hi Aii,
To avoid the error in EPC for Currency and Quantity u can use
addition of CURRENCY with single quot system will take the default currency
And for Quantity u can use NUIT with single quot
EXAMPLE
write:  wa_record-v_exbas currency '  '.
write:  wa_record-lgmng unit '  '.
We can use the decimal places also
write:  wa_record-v_exbas currency '  ' decimals 2
Regard
Anees Ahmed

Similar Messages

  • Purpose of Entry/Check Table and Currency Quantity Fields...!

    Hi......!,
    I want to know what is the purpose of this   Entry/Check Table and Currency Quantity Fields, while creating a table in DDIC .
    give me a clear explanation .....!
    best answers would be rewarded.
    thanks
    prasad

    Hi Prasad,
    All the Modules in SAP are inter related,
    So their Tables also must be related and must be valid
    and they are related to foreign key relation ships
    and also we can provide the list of input values using search helps
    to know what the search helps and check tables are assigned to the particular  field they provided the tab
    In the currency fields or quanitiy fields we only enter the amount but not the units,
    so the units are assigned if we provide the reference field and table , and so that tab is provided to check what are reference fields and tables and also to assign new fields
    hope I am clear
    Reward if helpful
    prasanth

  • Extended sytax check error for messages

    Hi I am doing a Extend syntax check for a report and i am getting fowloing error for the messages displyed in report. in the report the stranded message class' MESSAGE ID 00' is used. i am getting this error in extended check:
    No. of WITH fields of MESSAGE 398 for ID 00
      TEXT-001
    No. of placeholders in this message: 4
    Message: & & & &
    Highest placeholder number in long text: 4
    Long text:
    &CAUSE&
    Please suggest me how to correct the same. i tried taking the text element but too i am getting this messages.
    plz help me
    mahesh

    Hi Mahesh,
    The message number 398 of message class 00 has four place holder, which means its expecting you to pass 4 values in message statement. It seems you are pass just one parameter after TWITH .
    You can either pass SPACE for rest of parameters as
    MESSAGE s398(00) WITH 'TEST' space space space.
    or you can hide the message with "#EC *
    MESSAGE s398(00) WITH 'TEST' .                              "#EC *

  • Extended Program Check Warning For Syntax Check

    Warning:
    Syntax Check Warning
    This Warning only Displayed in SLIN
    WHERE lgtyp IN S_LGTYP.
      Messages :
      In "SELECT SINGLE...", the where condition for the key field "LGTYP" does not test  for equality .
      There fore the single record yuor searching may not be unique.
    IF NOT S_LGTYP[] IS INITIAL.
        SELECT SINGLE * FROM T301
         WHERE lgtyp IN S_LGTYP.----
    >IT SHOWING THIS LINE
        IF SY-SUBRC NE 0.
          MESSAGE E005(Z01).
        ENDIF.
    ENDIF.

    Hi Raghu,
    When you are using SELECT SINGLE, it is always better to use EQ in the condition than IN.
    Instead of using select-options S_LGTYP, declare a parameter: P_LGTYP and if possible re-write the select query as below:
    SELECT SINGLE * FROM T301 into lv_variable
    WHERE lgtyp EQ  P_LGTYP .
    Regards
    Deepa.

  • Extended Prog check

    in my program
    DATA : ts_cod   TYPE STANDARD TABLE OF   ty_cod,
           wa_cod   TYPE ty_cod.
    loop at itab
       READ TABLE ts_cod INTO wa_cod
                WITH KEY no =itab-no
                  BINARY SEARCH.
        IF sy-subrc <> 0.
          DELETE itab.
          CLEAR wa_cod.
        ENDIF.
    when I run Extended Program check , I am getting this error No read access to field string WA_CHEPCTYCOD          
    (The message can be hidden with "#EC NEEDED)          
    how to eliminate this error without add #EC needed...
    kindly help..
    thanks

    Hi,
    I guess this message is appearing because in your program you are passing the value to the work area WA_CHEPCTYCOD but this work area values are not used any in program.

  • Extended program check error for cl_salv_table= factory

    hi all,
    when performing Extended Program check, I am getting some warning message
    code
        DATA: lc_msg TYPE REF TO cx_salv_msg.
    *. Create Instance for ALV
      TRY.
          CALL METHOD cl_salv_table=>factory
            IMPORTING
              r_salv_table = go_alv
            CHANGING
              t_table      = ts_z3rl_docket.
        CATCH cx_salv_msg INTO lc_msg .
      ENDTRY.
    Error message;
    No Exception Handling After the CATCH Statement  
    (The message can be hidden with "#EC NO_HANDLER) 
    how to handle this message?? how to recitfy this?
    kindly help

    Basically, this message appears because, you are trying to CATCH the exception in the exception object, but you are not accessing this exception object. If you do want to give the  message, if you catch some exception, you should do like this:
    *. Create Instance for ALV
    TRY.
      CALL METHOD cl_salv_table=>factory
        IMPORTING
           r_salv_table = go_alv
        CHANGING
          t_table = ts_z3rl_docket.
      CATCH cx_salv_msg INTO lc_msg .
         lv_string = lc_msg->get_text( ).   " <
         message lv_string type 'I'.  "<
    ENDTRY.
    Or, if you don't want to handle the exception, you can do like this:
    TRY.
      CALL METHOD cl_salv_table=>factory
         IMPORTING
           r_salv_table = go_alv
         CHANGING
           t_table = ts_z3rl_docket.
      CATCH cx_salv_msg.      "#EC NO_HANDLER
    ENDTRY.
    Regards,
    Naimesh Patel

  • Table Name For 'Picked Quantity' Field in VL03 Transaction

    Dear All,
                 I am not able to find out 'Picked Quantity' Field in VL03 Transaction.Can anybody provide me Table name and field name for the same.
    Regards,
    Mayank

    Hi Mayank / Masha.
    Your requirement is to find out the picked quantity for the delivery document.
    Please note that this value can never be found from any table & what you will find are only structures.
    For this you need to use / run a function module to fetch the Picked Quantity
    Functional Module: WB2_GET_PICK_QUANTITY
    Goto Tcode SE37 & enter the function module.
    Further enter the delivery details in the screen
    I_VBELN   - Delivery Number
    I_POSNR  - Item Number
    And Execute.
    E_PIKMG - the picked quantity.
    If you require to find picked quantity for any report you can very well ask your ABAPer to include this function module in your program
    Hope this solves your requirement
    Regards,
    Dhananjay

  • How to check validation for a input field?

    For example, I need to check the validation of a field, if OK, then the field will be inputted, otherwise, there will rise a message, how can I implement that?
    Thanks and best regards,
    Anders

    Hi Andres,
    U can write a code in Request Processing--DO_VALIDATE_INPUT
    DATA: LR_BTADMINH       TYPE REF TO   CL_CRM_BOL_ENTITY.
      LR_BTADMINH  ?= ME->TYPED_CONTEXT->BTADMINH->COLLECTION_WRAPPER->GET_CURRENT( ).
        LV_ZZAFLD000057 = LR_ENTITY->GET_PROPERTY_AS_STRING( 'ZZAFLD000057' ).
    IF  LV_ZZAFLD000057 IS INITIAL.
    DATA: L7_MSG_SERVICE TYPE REF TO CL_BSP_WD_MESSAGE_SERVICE,
              LVSP_MSG_V1  TYPE STRING VALUE 'Spare in Progress'.
        L7_MSG_SERVICE = ME->VIEW_MANAGER->GET_MESSAGE_SERVICE( ).
        L7_MSG_SERVICE->ADD_MESSAGE(
            IV_MSG_TYPE       = 'E'
            IV_MSG_ID         = 'ZBSP'
            IV_MSG_NUMBER     = '008'
            IV_MSG_V1         = LVSP_MSG_V1 ).
    ENDIF.
    Regards,
    Lokesh.

  • How to truncate the decimals in the ALV report for the quantity field

    Hi All,
    I have to display a quantity field and units of measure in the ALV output. If the units of measure eq 'PC' i should not display the decimal places for quantity in the alv output, otherwise i have to display the decimals in the output. How to do this....any help would be highly rewarded. I knew that for this type of cases decimal_o will not work.

    Hi,
    Declare one more Internal table same as output table. In that intead of that quantity field, declare field_name(15) type c.
    data temp type i.
    Loop at itab.
    if field = 'PC'.
    temp = qunantity field.
    field_name =temp.
    else.
    field_name = quantity field.
    endif.
    endif.
    endloop.

  • Extended code check Warning : Do not use fields, field symbols globally

    Hello,
    During extended code check of a program, i get 20 related warnings
    Do not use fields, field symbols (GT_UPDTAB) globally                         
    Can be suppressed using pragma ##NEEDED (or pseudo comment "#EC NEEDED)               
    How can i correct this?
    The declaration and usage is as follows :
    DATA: BEGIN OF GT_FIELDTAB OCCURS 0.
            INCLUDE STRUCTURE DD03P.
            INCLUDE STRUCTURE CEFLD.
    DATA: END OF GT_FIELDTAB.
    GT_FIELDTAB-CONVEXIT = 'ALPHA'.
    How can i correct this?
    Regards,
    Remi

    Hi,
    refer this link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/frameset.htm
    and general declaration if field symbol:
    this will be very general:
    FIELD-SYMBOLS : <gf_table> TYPE ANY TABLE.
    or
    to do like a specific table from your program
    FIELD-SYMBOLS : <gf_table> TYPE itab.
    thanks & regards.

  • Removing leading zeros for the quantity field

    Hi all,
    In my script form there is a quantity field, of 13 and 3 decimals , on the out put its taking that much space un neccesarily,and messing up.
    how to make this adjustable in the provided space.
    It always 3 digits and 2 decimal points in our case.
    Please help me out,
    Thanks,
    Praveen

    Hi,
    For removing leading zeros
    &V_VARIABLE(Z)&
    Thanks,
    Naren

  • Transfering 4 decimals for a Quantity field

    I am working in a CRM system where we have a few custom fields that have 4 decimal places. How do I bring in all 4 decimal places into BW (Transfer Rules)? Is my only option to make the Infoobject set to "Float"? I prefer to show the values in my reports as 2.003.

    Hi Lakshman,
    The FORMAT is already set to QUAN and has all the properties which the datatype KWMENG has.
    Even the reference field also is set.
    Is there any conversion routine for this particular field?
    Regards
    Pradeep.
    Edited by: Pradeep Kumar on Apr 1, 2009 8:39 AM

  • Reference table / reference field for currency/quantity field in tables.

    Hello Sap Experts ,
    Am a newbie and not able to make head or tail of what reference table and reference fields are when related to currency / quantity fields.Someone if could explain to me with a small example it would be great.

    Hi,
    The currency and quantity field always require a reference table and field so that they can be entered in correct format.
    Whenever you use currency and quantity field while creating the table you need to provide their respective reference field and table.
    whenever you use currency and quantity in scripts or smart forms you again have to receive their value using variables referring to their reference table and reference field.
    hope it must have cleared some of your doubts.
    Thanks,
    Abhi

  • Description for value help field for custom infotype field

    Hi,
       I`ve got to include a field in custom infotype. This field has got a value help attached to it. The values to be displayed in the value help are stored in the domain of the field(in the dictionary).
    The requirement is that once I select a value from the F4 help, the description for that value should be fetched and be dispalyed on the screen.
      I`m using the FM "<b>AM_READ_TEXT_ON_DOMAIN_VALUE</b>" to read the description from the domain ,but unable to make it display it on the screen.
      Can anyone suggest me as what should I do for displaying the description in the custom infotype screen.
    Regards,
    Farhana

    Hi anji,
       While using the "GET_DOMAIN_VALUES", I do get all the values from the domain. But I want only description to be displayed when I select a Value for that field.Kindly help out..
    Eg:
    1-Individual
    2-Family
    Then the description should be displayed as Family when I select the value 2 from the value help.
    Regards,
    Farhana.

  • How to resolve Extended Systax check  Error..

    Hi All,
    In Syntax check i am not getting any errors,If  i have check Extended Syntax check I have got 2 error in SLIN ( Extended Syntax Check) Like
    ERRORS     :
    #Messages for MESSAGE(Error)
          Program:  ZMXXR600A  Row:    416
    No. of WITH fields of MESSAGE 021 for ID Z1: 1
    No. of placeholders in this message: 0
    Message: Non Statistical posting not allowed for Account 52979100
    No long text exists for this message
    (The message can be hidden with "#EC *)
          Program:  ZMXXR600A  Row:    418
    No. of WITH fields of MESSAGE 022 for ID Z1: 1
    No. of placeholders in this message: 0
    Message: Please use the same IO to credit and debit
    No long text exists for this message
    (The message can be hidden with "#EC *)
    The Code i write for this Eroors
    CASE SY-SUBRC.
              WHEN 0.
                MESSAGE S021 WITH P_FILE.     line :416
              WHEN 1.
                MESSAGE W022 WITH P_FILE.    line :418
              WHEN OTHERS.
            ENDCASE.
    P_FILE is declraed as;
    PARAMETERS: P_FILE   LIKE RLGRAP-FILENAME DEFAULT C_FILE.
    Can you give  some inputs to resolve the Errors ASAP.
    Thanks,
    Sridhar

    MESSAGE S021 WITH P_FILE. line :416
    WHEN 1.
    MESSAGE W022 WITH P_FILE. line :418
    in both messages & needed
    check 021 and 022 in both messages there is no <b>&</b> where you can place your actual value.
    for Ex: message 021
    Ex 1) hi print
    Ex 2) hi print <b>&</b>
    so now you can call this with
    1)MESSAGE S021 .
    2)MESSAGE S021 WITH P_FILE.
    as you not maintain & it is giving error for extended check so mention & where you want to print p_file
    or just call message with out passing P_file.
    Rewards if useful..........
            Minal Nampalliwar
    null

Maybe you are looking for

  • Photo Stream and MobileMe in iPhoto: I don't get it!

    Hi Photo Stream is on for iPhoto on my iMac, iPhone 4, iPad and iPod Touch. I'm somewhat confused about how to handle this feature - aside from the basic understanding that it syncs photos I take, say, on my iPhone, to all other devices without the n

  • String Array Constant Addition

    Is there an elegant way of marking the last element in a string array constant? i.e. I take an Array constant, and add a simple string to it, so that it becomes a String Array Constant. Now I add elements 1 and 2 and 3. But now I want to take element

  • Apple Remote Desktop - Users constantly appear and disappear in All Computers List

    I have a problem and I am thinking it is probably some kind of broadcast error on my network, but why not question Apple Remote Desktop in the process? Computers seem to flicker from available to unavailable. I think they are actually on. If I send a

  • Question re: website size

    I'm new to the Mac and Dreamweaver - a convert from MS FrontPage. I was thankful that DW was able to adopt my cluttered, bloated, FP website without any complaints. Now being able to shuffle pages and folders around with the Inspector, and have links

  • Upgrade 4.6C to ECC 6.0 - Key figures missing in Treasury drill down report

    Hello experts, We have upgraded from SAP version 4.6C to ECC 6.0. Due to this fact, we have converted all the TR-TM and TR-LO master data and transaccional data, using TPM_MIGRATION. However, when we start the tests in the system, we have noticed tha