Field symbols for fetching ME51N screen data

Hi,
I need to fetch ME51N or ME52N screen data.
In old Transaction (ME51,ME52) there is this code that work:
data:wa_eban like eban.
data:wa_rm06b like rm06b.
data:va_epstp like rm06b-epstp.
data:va_knttp like eban-knttp.
field-symbols <va_eban> structure eban default  wa_eban.
field-symbols <va_rm06b> structure rm06b default wa_rm06b.
assign ('(SAPMM06B)EBAN') to <va_eban>.
assign ('(SAPMM06B)RM06B')  to <va_rm06b>.
move <va_rm06b>-epstp to va_epstp.
move <va_eban>-knttp to va_knttp.
if not <va_eban>-loekz  is initial.
      exit.
endif.
This code is used in a FIELD EXIT for compare Data in some Fields.
In the New Transaction i can't use this code because EBAN and RM06B is empty and return null.
Can any one tell me if there are Program/Structure combination that return EBAN and RM06B Data?
Or alternatively whether any better method available for fetching screen data?
Thanks & Regards
Angelo

For more Info see this thread, similar problem is solved, but in ME52N change some things.
Re: Field symbols for fetching ME21N screen data
Thanks & Regards
Angelo

Similar Messages

  • Field symbols for fetching ME21N screen data

    Hi,
    I need to fetch ME21N screen data,i.e,line item data( material number),for which i have written code as below:
    IF SY-TCODE = 'ME21N' OR
       SY-TCODE = 'ME22N'.
    ematn = '(SAPLMEGUI)MEPO1211-EMATN'.
    ENDIF.
    FIELD-SYMBOLS : <fs1> TYPE ANY.
    ASSIGN (ematn) TO <fs1>.
    But data is not coming to <fs1>.
    Can any one tell me whether any mistake in above statement.
    Or alternatively whether any better method available for fetching screen data?
    I need to use this data in a pricing routine.
    Thanks & Regards
    Seshagiri.

    Hi,
    The combination of both these can be used-
    we can read the screnn fields using this FM-
    DYNP_VALUES_READ
    ***TO READ VALUES
    CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                DYNAME                   = W_PROG
                DYNUMB                   = W_DYNP
                TRANSLATE_TO_UPPER       = 'X'
           TABLES
                DYNPFIELDS               =  T_DYNPRO.
      READ TABLE  T_DYNPRO INDEX 1 INTO FIELD_VALUE.
      W_CARRID = FIELD_VALUE-FIELDVALUE.
    Paricularly for Material numbers this aslo shoud be used -
    CONVERSION_EXIT_MATN1_INPUT
    Thanks & Regards,
    Chandralekha.

  • Need Help in Field Symbol for Dynamically passing  table field value

    Hi All,
    In my internal table I am having data.
    I am dynamically forming table field name and substitute for the another table field name to pass DATA.
    but I am getting the Variable name insted of Value ie Data.
    I am using Field Symbol for this.
    data:
    Field-symbols <TS> type any.
    field1 type string.
    LOOP AT TABLEFIELDS INTO WA_TABLEFIELDS.
                READ TABLE  TEST  WITH KEY NAME = WA_TABLEFIELDS-FIELDNAME.
                IF SY-SUBRC = 0.
                  CONCATENATE 'WA_' WA_TABLEFIELDS-TABNAME '-' WA_TABLEFIELDS-FIELDNAME INTO  Field1.
                  Assign Field1 to <TS>.
                    ALL_VAL-VALUE = <TS>
    "After substituting the <TS>  into ALL_VAL-VALUE  field I need a DATA to be passed but the variable name is appending"*    
             APPEND ALL_VAL.
                ENDIF.
              ENDLOOP.
    kindly how to pass the value into the table.
    Thanks in advance.
    San

    Hi,
    pls assign a break point in
    CONCATENATE 'WA_' WA_TABLEFIELDS-TABNAME '-' WA_TABLEFIELDS-FIELDNAME INTO Field1.
    Assign Field1 to <TS>.
    ALL_VAL-VALUE = <TS>
       " Put a break point here and check for the value in <TS>.
    if <TS> contains value then create a work area for ALL_VAL AND PASS the Field-Symbol to that and then  append thw wa into the table...
    Hope this works out!!
    thanks

  • Field symbols for tables used under tables tabstrip in bapi

    Hi all,
    I am created a bapi and under tables tabstrip i have given  3 tables,
    Inside the bapi , i have written a perform statement which returns these 3 tables .
    PERFORM bapi_sales TABLES it_valid it_error it_errorc USING testrun.
    how can we create field symbols for these tables ?
    Regards
    Nagarah

    hi,
    goto: system-utilities- debug system
    A.
    Message was edited by: Andreas Mann

  • Using Field symbol to fetch data from another program

    I have a requirement where i need to fetch value  of a field from one of the function pool so i have written a sample progam to check the logic but its doest seems to work its giving dump.
    Basically i want to know how to use <programname><fieldname> with fieldsymbol.
    REPORT ztest1.
    DATA test(25) VALUE 'ggg'.
    submit ztest.
    report ztest.
    constants: lv_memory(25) type c value '(ZTEST1)TEST'.
    field-symbols: <fs2> type char25 .
    assign (lv_memory) to <fs2>.
    write : <fs2>.
    I am getting same field symbol assignment dump

    Hi Rahul,
    You can use this concept in between the FUNCTION MODULES where both are
    under same FUNCTION GROUP ( as both the FM's have same global memory area ).
    And also if you are calling an FM or method from your program  ,you can have the data of the calling program in that called FM or METHOD.
    Hope this may help you.
    Regards,
    Smart Varghese

  • Define Field Selection for Move-In Contract Data

    In Move-In customization, in IMG activity u201CDefine Field Selection for Move-In Contract Datau201D when you go for u201CField Selection u2013 Modifiable Fieldsu201D Screen (Transaction is EQ07), I am seeing four buttons as follows.
    u2022     Modified
    u2022     Influencing
    u2022     Screen Groups
    u2022     Influences
    I would like to know the applications of that buttons.
    Also, if I click the u201CModifiedu201D button, it takes me to another screen in which I am seeing seven buttons as follows.
    u2022     New Values
    u2022     Delete Value
    u2022     Influencing
    u2022     Modifiable
    u2022     Screen Groups
    u2022     Influences
    u2022     View
    It would be really great if someone explain me about this.
    Thanks,
    Meenakshi Sharma

    hi meenakshi
      here are some data 4 u
    modified---if u  click that  u  will come to  know whther  any  field is modifies  or not previosuly
    influence--after u  make a modification the effect  or the change is shown  in  influences
    screen  gpr os nothing  but  all the main  and sub screens involved for a particular  transaction
    influencing field is something  like u   have some connection  witht that  field,for example click  screen  grp and screen  modification in  contract and  then  click infuencing u  can  see the  2 fields whch  are set  as influeincg  fields for contract
    u  can  change the selection  fro  i/p  to  diaply and save it  and see the changes or details showed  by  clicking  each  button..hope u  willl finds a lot urself
    kr
    raj

  • Field symbol for order type

    Hi all.
    i have a condition on which i need to use the field symbol in which depending on the condition,my subscreen should be displayed.
    i have SAPLMEGUI as a main standard program and MEPO_TOPLINE-BSART is a field which is attached to this std program.
    Also,if this BSARt becomes UB(order type in purchase orders) then only it should go to subscreen.i tried doing it like below,but not getting solution.
    please help.
    data: GV_OKCODE_FIELD type char35 VALUE '(SAPLMEGUI)MEPO_TOPLINE-BSART'
    FIELD-SYMBOLS <MEPO_TOPLINE-BSART> TYPE ANY.
    ASSIGN GV_OKCODE_FIELD TO <MEPO_TOPLINE-BSART>.
    IF <MEPO_TOPLINE-BSART> = 'UB'.
    endif.

    Hello,
    You can try something like this:
    FIELD-SYMBOLS: <FS> TYPE BSART.
    ASSIGN COMPONENT BSART OF STRUCTURE MEPO_TOPLINE TO <FS>.
    IF <FS> = 'UB'.
    " Your Code
    ENDIF.
    BR,
    Suhas

  • Passing value from field symbol / variable type ref to data to variable

    hey ,
    DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA: RT_CARRID TYPE REF TO DATA.
      FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE
    .* Retrieve the data from the select option
      RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_WEIGHT).
    Assign it to a field symbol
      ASSIGN RT_CARRID->* TO <FS_CARRID>.
    how can i pass RT_CARRID or <FS_CARRID> to a varible with type vbap-netgrw ( net weight ) ?
    thanks
    ASA

    >
    ASA MOKED wrote:
    > hey ,
    >
    >
    > DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
    >   DATA: RT_CARRID TYPE REF TO DATA.
    >   FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE

    > .* Retrieve the data from the select option
    >   RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_WEIGHT).
    > * Assign it to a field symbol
    >   ASSIGN RT_CARRID->* TO <FS_CARRID>.
    create a work area of type <FS_CARRID>.
    field-symbol: <fs_wa> type line of <FS_CARRID>.
    loop at <FS_CARRID> into <fs_wa>.
    lv_netgr = <fs_wa>-netgr.

  • Table and field name for the goods receipt date in SAP CRM

    Hi,
    can some one provide me The TABLE-FIELD from SAP CRM system for GOODS RECIPT DATE.
    It is the same as Received material date in DIsplay:Return and replacemnt screen in CRM.
    Thanks,
    Chetan

    Few more tables:
    BUT0BANK         Business Partner: Bank Data                                 
    BUT0BK           BP: Bank details                                            
    BUT0CC           BP: Payment Cards                                           
    BUT0ID           BP: ID Numbers                                              
    BUT0ID_BIP_NOHIT Business Information Provider: Logging of non identified BP 
    BUT0IS           BP: Industries                                              
    BUT0VP           BP: Business Partner Assignment and Links                   
    BUT100           BP: Roles                                                   
    BUT150           BP relationship: Attribute table (test different.type TBUKR) 
    CRMM_BUT_BUHI_1  R/3 Customer Sales Area CRM BP Hierarchy Group Mapping      
    CRMM_BUT_BUHI_2  R/3 Leaf Customer Sales Area CRM BP Hierarchy Group Mapping 
    CRMM_BUT_CONTNO  Mapping Table Business Partner Relationship – Contact Person
    CRMM_BUT_CRMOBJ  Buffer: Which BPs are in Which Systems                      
    CRMM_BUT_CUSTNO  Mapping Table Business Partner – Customer                   
    CRMM_BUT_FRG0040 Business Partner Sales Classification List                  
    CRMM_BUT_FRG0041 Business Partner Sales Classification                       
    CRMM_BUT_FRG0042 Business Partner Sales Classification List Order Blocks     
    CRMM_BUT_FRG0050 Business Partner – Status                                   
    CRMM_BUT_FRG0060 Business Partner – Business Hours                           
    CRMM_BUT_FRG0061 Business Partner – Business Hours Interval                  
    CRMM_BUT_FRG0070 Business Partner Excluded Partner Functions List            
    CRMM_BUT_FRG0071 Business Partner Excluded Partner Functions                 
    CRMM_BUT_FRG0080 Business Partner – Sales Area – Partner Function List       
    CRMM_BUT_FRG0081 Business Partner – Sales Area – Partner Function            
    CRMM_BUT_FRG0100 CRM Business Partner: Status                                
    CRMM_BUT_KOR0040 Business Partner Korea                                      
    CRMM_BUT_KOR0041 Business Partner Korea History                              
    CRMM_BUT_LNK0010 Business Partner – Sales Rule List                          
    CRMM_BUT_LNK0011 Business Partner – Sales Rule                               
    CRMM_BUT_LNK0020 Business Partner – Shipping Rule List                       
    CRMM_BUT_LNK0021 Business Partner – Shipping Rule                            
    CRMM_BUT_LNK0030 Business Partner – Billing Rule List                        
    CRMM_BUT_LNK0031 Business Partner – Billing Rule                             
    CRMM_BUT_LNK0140 Business Partner Organization Rule List                     
    CRMM_BUT_LNK0141 Business Partner Organization Rule                          
    CRMM_BUT_MIGRATE Migration Table: Fields Changed In CDB                      
    CRMM_BUT_SEMPL00 Sales Employee for Contact Person Relationship: Admin. Tech.
    CRMM_BUT_SEMPL01 Sales Employee to Contact Person Rel.: Data Table           
    CRMM_BUT_SET0010 Business Partner – Sales Rule Period                        
    CRMM_BUT_SET0020 Business Partner – Shipping Rule Period                     
    CRMM_BUT_SET0030 Business Partner – Billing Rule Period                      
    CRMM_BUT_SET0140 Business Partner Organization Rule Period                   
    CRMM_BUT_TDAR010 Business Partner – Time-Dependent Appointment Rules         
    CRMM_BUT_TDAR011 Business Partner – Time-Dependent Appointment Rule Intervals
    CRMM_BUT_TDAR012 Business Partner – Time-Dependent Appt Rule Single Intervals 
    BUT_DNC          BP: Telephone Numbers of the “Do Not Call” List           
    BUT_DNC_OLD      BP: Telephone Numbers of the “Do Not Call” List           
    BUT_FRG0010      Business Partner: Tax Classification                      
    BUT_FRG0011      Business Partner: Tax Classification                      
    BUT_HIER_NODE    Business Partner Hierarchy Group                          
    BUT_HIER_NODE_BP Business Partner Hierarchy Group – Bus. Partner Assignment
    BUT_HIER_NODE_D  Business Partner Hierarchy Group – Description            
    BUT_HIER_STRUCT  Business Partner Hierarchy Group – Hierarchy Relationship 
    BUT_HIER_TREE    Business Partner Group Hierarchy                          
    BUT_HIER_TREE_D  Business Partner Group Hierarchy – Description            
    BUT_HIER_TYPE    Business Partner Group Hierarchy Category (GUID)
    CRMD_ACTIVITY_H Activity Header table
    CRMD_ACTIVITY_I Activity Reporting: Activity Line Item Extension
    CRMD_TM_ACTIVITY Activity reference
    CRMD_LEAD_H Lead Header table
    CRMD_OPPORT_H Opportunity Header table
    CRMC_T077D : customer account groups
    BUT_HIER_TREE Business Partner Group Hierarchy
    CDBC_T_PRODUCTID Mapping: Product Id
    CDBD_ORGMAN Business transaction – organizational unit -set
    COMC_PRODUCT General Product Settings
    COMC_R3_FIELDS Assignment of R/3 material master fields to CFOP
    COMM_CATEGORY Category
    COMM_CFGMAT Basic Data for Materials
    COMM_HIERARCHY Category Hierarchy
    COMP_TYPES Hierarchy Tool: Comparison Type Check Table
    CRMC_CPRICPROC Customer Pricing Procedures
    SMOKVBEZ15 Assignment employees to positions
    CRMMLSGUID: GUID entry (should match GUID in CRMPRLS)
    CRMM_BUT_CUSTNO : Also GUID table (GUID here should match GUID in R/3 table CRMKUNNR)
    SMOFSUBTAB : Mapping & Parameters
    SMOFDSTAT : Download Monitor (R4AM1)
    SMOFFILTAB : Filters (Should match filters in R3AC1 & R/3 Table CRMFILTAB)
    SMOFOBJECT Definition of Objects for Download
    SMOFOBJPAR Parent Objects of an Object in Table
    SMOFPARSFA Middleware Parameter
    SMOFQFIND Queue Finder Table for MW-Queue finder
    SMOFTABLES Definition of Tables for Download
    CRMD_ORDERADM_H = Document Header Table
    CRMD_ORDERADM_I = Document Line item Table
    COMM_PR_FRG_ROD: Product Sales Set - Product – Assignment
    CRMV_PR_SALESA: Product - Sales Order Set

  • How to make some fields mandatory for a custom screen we have added

    Hi All,
    Please let me know how can I make some fields mandatory through coding in PBO for only some fields of a screen.
    Say if I have 4 fields in my screen(module pool not selection screen) i want to make mandatory 2 fields based on some conditions how to do this? I tried using screen-group but this will make mandatory all the fields of that screen mandatory.
    I want only specific fields based on condition in run time.
    Regards
    Mahesh

    Hi Mahesh,
             Try this ..
      Assign the same group to those fields , say GRP
           in  PAI
             IF <CONDITION>
                Loop at screen.
                   if screen-group1 = 'GRP'.
                      screen-required = '1'.
                      modify screen.
                   endif.
                 endloop.
              ENDIF.

  • To select the field dynamically while fetching th e data

    Hi Experts,
    We have fields like TKG001, TKG002, TKG003 etc in COST table...
    My requirement is that we want the value present in the field TKG0** where ** is the month of system data.
    Do we have any method to extract the field dynamically from the table.
    Please suggest me how can i achieve the requirement.
    Thank you,
    Regards,
    Kavya

    Hello
    You can use dynamic field specification
    Check this :
    REPORT x.
    DATA :
          BEGIN OF lw_field,
            field(20),
          END OF lw_field,
          lt_field LIKE STANDARD TABLE OF lw_field.
    START-OF-SELECTION.
      lw_field-field = 'BUKRS'.
      APPEND lw_field TO lt_field.
      lw_field-field = 'GJAHR'.
      APPEND lw_field TO lt_field.
      SELECT (lt_field)   "<-- Internal table contains your dynamically specified in parenthesis
      FROM bkpf
      INTO TABLE itab.
      BREAK-POINT.

  • How to skip the mandatory field validation for clearing the screen fields

    Hi Friends,
      I have created a module pool screen, and made some fields mandatory. after entering some fields, if i try to clear the fields, am unable to clear. Its throwing the error "Enter all required fields"., since some mandatory fields are there. But i could able to navigate through other screen. Both the "CLEAR" and "NEXT" command are given in the at-exit command only. Next is working but clear is not working.
    Please  provide me the solution.
    Thanks
    Karthikeyan.L

    Hi,
    To avoid automatic input checks you have to assing function type - E to appropriate screen field, which is not to be checked.
    These function codes don't trigger PAI processing, instead they go directly to
    MODULE mod AT EXIT-COMMAND.
    ..placed in PAI of the screen. In this way you can ommit automatic checks performed by system on mandatory fields. Please ensure you have assing E type to next and clear functions in GUI status.
    Regards
    Marcin

  • Field Status for cost center master data!

    Hi friends,
    can anyone please tell me,
    Where do we define, which field is mandatory in cost center master data
    regards

    Good afternoon Rohan,
    To do that :
    IMG or transaction KM1V.
    Create a variante with attributes.
    You can also define time based fields in transaction OKEG
    Valérie
    Message was edited by: valerie secondy

  • Need a Function Module for fetching the prior date-Urgent!!

    Hi All,
         I need a function module which will give the prior date with respect to the no: of days days that are entered as input.
    Can anyone please help me to fing one function module which acts as the above.
    Required very urgently!!!
    Thanks and Regards,
        Neethu

    Hi Neethu,
    Please run the report 'ZRECTIFY_FM_DOCUMENTS' in your system.
    Before running the report, create the following selection texts for the parameters/select-options as given below:
    P_BUKRS:  Company code
    S_GJAHR:  Fiscal year
    S_BELNR:  FI document no.
    P_TEST:   Test run
    For More information please refer <b>SAP Note: 309619</b>
    Best Regards,
    Johnny.

  • The difference between FIELD-SYMBOL and normal DATA TYPE

    Dear experts,
    Please see the example below, both are output the same result.
    DATA: EXTERNAL_RECORD(4000),
          POSITION TYPE I,
          LENGTH TYPE N,
          ENTRY TYPE STRING.
    EXTERNAL_RECORD = '0005Smith0007Edwards0005Young'.
    DO.
      LENGTH = EXTERNAL_RECORD+POSITION(4).
      IF LENGTH = 0.
        EXIT.
      ENDIF.
      ADD 4 TO POSITION.
      MOVE EXTERNAL_RECORD+POSITION(LENGTH) TO ENTRY.
      WRITE ENTRY.
      ADD LENGTH TO POSITION.
      IF POSITION >= 4000.
        EXIT.
      ENDIF.
    ENDDO.
    --OR It can be written as--
    DATA: EXTERNAL_RECORD(4000),
          POSITION TYPE I,
          LENGTH TYPE N.
    FIELD-SYMBOLS <ENTRY>.
    EXTERNAL_RECORD = '0005Smith0007Edwards0005Young'.
    DO.
      LENGTH = EXTERNAL_RECORD+POSITION(4).
      IF LENGTH = 0.
        EXIT.
      ENDIF.
      ADD 4 TO POSITION.
      ASSIGN EXTERNAL_RECORD+POSITION(LENGTH) TO <ENTRY>.
      WRITE <ENTRY>.
      ADD LENGTH TO POSITION.
      IF POSITION >= 4000.
        EXIT.
      ENDIF.
    ENDDO.
    Is there any special circumstances we need to use FIELD-SYMBOL?
    Why is FIELD-SYMBOL is introduce in the first place?
    Kindly advice with example.
    Thanks in advance for those who can help me on this.

    HI,
    You can use field symbols to make the program more dynamic. In this example the name of a table control is substituted by a field symbol. Thus you cal call the form with any internal table, using the name of the table control as a parameter.
    Example
    form insert_row
    using p_tc_name.
    field-symbols <tc> type cxtab_control. "Table control
    assign (p_tc_name) to <tc>.
    insert 100 lines in table control
    <tc>-lines = 100.
    Field symbols allow you to:
    **     Assign an alias to a data object(for example, a shortened
            name for data objects structured through several hierarchies
            - <fs>-f instead of rec1-rec2-rec3-f)
    **     Set the offset and length for a string variably at runtime
    **     Set a pointer to a data object that you determine at runtime (dynamic ASSIGN)
    **     Adopt or change the type of a field dynamically at runtime
    **     Access components of a structure
    **     (from Release 4.5A) Point to lines of an internal table
            (process internal tables without a separate work area)
    Field symbols in ABAP are similar to pointers in other programming
    languages. However, pointers (as used in PASCAL or C) differ from ABAP
    field symbols in their reference syntax.
    The statement ASSIGN f to <fs> assigns the field f to field
    symbol <fs>. The field symbol <fs> then "points" to the
    contents of field f at runtime. This means that all changes to the
    contents of f are visible in <fs> and vice versa. You declare
    the field symbol <fs> using the statement FIELD-SYMBOLS: <fs>.
    Reference syntax
    Programming languages such as PASCAL and C use a dereferencing symbol
    to indicate the difference between a reference and the object to which
    it refers; so PASCAL would use p^ for a pointer instead of p, C would
    use *p instead of p. ABAP does not have any such dereferencing symbol.
    **     In PASCAL or C, if you assign a pointer p1 to a pointer p2,
    you force p1 to point to the object to which p2 refers (reference semantics).
    **     In ABAP, if you assign a field symbol <fs1> to a field
    symbol <fs2>, <fs1> takes the value of the data object to
    which <fs2> refers (value semantics).
    **     Field symbols in ABAP are always dereferenced, that is,
    they always access the referenced data object. If you want to
    change the reference yourself in ABAP, you can use the ASSIGN statement
    to assign field symbol <fs1> to field symbol <fs2>.
    Using field symbols
    You declare field symbols using the FIELD-SYMBOLS statement.
    They may be declared either with or without a specific type.
    At runtime you assign a field to the field symbol using the ASSIGN
    statement. All of the operations on the field symbol act on the field
    assigned to it.
    When you assign a field to an untyped field symbol, the field symbol
    adopts the type of the field. If, on the other hand, you want to assign
    a field to a typed field symbol, the type of the field and that of the
    field symbol must be compatible.
    A field symbol can point to any data object and from Release 4.5A,
    they can also point to lines of internal tables.
    The brackets (<>) are part of the syntax.
    Use the expression <fs> IS ASSIGNED to find out whether the field
    symbol <fs> is assigned to a field.
    The statement UNASSIGN <fs> sets the field symbol <fs> so
    that it points to nothing. The logical expression <fs>
    IS ASSIGNED is then false. The corresponding negative expression
    is IF NOT <fs> IS ASSIGNED.
    An unassigned field symbol <fs> behaves as a constant with
    type C(1) and initial value SPACE.
    MOVE <fs>
    TO dest     Transfers the initial value SPACE to the variable dest
    MOVE 'A' to <fs>     
    Not possible, since <fs> is a constant
    (runtime error).
    To lift a type restriction, use the CASTING addition in the
    ASSIGN statement. The data object is then interpreted as though
    it had the data type of the field symbol. You can also do this
    with untyped field symbols using the CASTING TYPE <type> addition.
    The danger with pointers is that they may point to invalid areas.
    This danger is not so acute in ABAP, because the language does not
    use address arithmetic (for example, in other languages, pointer p
    might point to address 1024. After the statement p = p + 10, it would
    point to the address 1034). However, the danger does still exist, and
    memory protection violations lead to runtime errors.
    A pointer in ABAP may not point beyond a segment boundary. ABAP does
    not have one large address space, but rather a set of segments.
    Each of the following has its own segment:
    *     All global data
    *     All local data
    *     Each table work area (TABLES)
    *     Each COMMON PART
    You should only let field symbols move within an elementary field or
    structure where ABAP allows you to assign both within the global data
    and beyond a field boundary.
    Rgds
    Umakanth

Maybe you are looking for

  • Table for customer and vendor balance

    Hi Please let me know the table from where we can get closing balance of a vendor as well as customer. I want this for entering into customer and vendor confirmation correspondence

  • Pdf  document on  custom template and CSS

    There was a small pdf document on CSS and templates in the turial section of APEX. Anyone know where is this? George

  • PSE 11 Crashing

    I get this error message every time I startup the Editor. I have tried uninstalling and reinstalling the software. The same problem exits. I have tried the Control+alt+Shift when the Editor is starting up and that does not help either. I am running t

  • SqlLoader: how to create multiple records out of one CSV input line?

    A question concerning the SQL-Loader. I need to load data from a CSV file where one of the CSV values determines how many records should be inserted. Example of the input data: KEYWORD;2;REC1_COL1_X,REC1_COL2_X;REC2_COL1_X;REC2_COL2_X KEYWORD;3;REC1_

  • Third-party library for J2ME

    Can I use third-party library in the J2ME wireless toolkit? and How? I have trouble using MathFP library provided by http://home.rochester.rr.com/ohommes/MathFP/ with the J2ME wireless toolkit(1.04, 2.1 and 2.2). If I can not use third-party library