Short dumb

the previous solution given Vinay did not help is there any other solution?
ERROR is
Runtime errors         WRITE_TO_OFFSET_TOOLARGE
       Occurred on     05/08/2007 at   16:34:38
Program error: Offset in WRITE TO in program "SAPLGRAP " is too large.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLGRAP " had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
Source code extract
010800     ENDIF.
010810   ENDFORM.
010820
010830
010840
010850   ----
010860   *       FORM FIELDNAMES_2_DAT                                         *
010870   ----
010880   *       ........                                                      *
010890   ----
010900   *  -->  FIELDS                                                        *
010910   ----
010920   FORM FIELDNAMES_2_DAT TABLES FIELDS.
010930     DATA: FIELDNAME_OFFSET TYPE I.
010940     data: colselect_offset type i.
010950     data: col_active(1).
010960     DATA: BEGIN OF HT,
010970             X(1) TYPE X VALUE '09',
010980           END OF HT.
010990
011000     CLEAR GLOBAL_FIELDNAMES.
011010     CLEAR FIELDNAME_OFFSET.
011020     clear colselect_offset.
011030     col_active = 'X'.
011040     LOOP AT FIELDS.
011050       if GLOBAL_COL_SELECT = 'X'.
011060         move GLOBAL_COL_SELECTMASK+colselect_offset(1) to col_active.
011070         add 1 to colselect_offset.
011080       endif.
011090       if col_active = 'X'.
>         WRITE FIELDS TO GLOBAL_FIELDNAMES+FIELDNAME_OFFSET.
011110         CONDENSE GLOBAL_FIELDNAMES.
011120         FIELDNAME_OFFSET = STRLEN( GLOBAL_FIELDNAMES ).
011130         WRITE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB TO
011140                 GLOBAL_FIELDNAMES+FIELDNAME_OFFSET(1).
011150         ADD 1 TO FIELDNAME_OFFSET.
011160       endif.
011170     ENDLOOP.
011180     FIELDNAME_OFFSET = FIELDNAME_OFFSET - 1.
011190     IF FIELDNAME_OFFSET >= 0.
011200       WRITE SPACE TO GLOBAL_FIELDNAMES+FIELDNAME_OFFSET(1).
011210     ENDIF.
011220   ENDFORM.
011230
011240   ----
011250   *       FORM ABAP_2_DAT                                               *
011260   ----
011270   *       ........                                                      *
011280   ----
011290   *  -->  DATA_TAB                                                      *
can u help?

check...
HR Related
http://s001.org/ABAP-Hlp/abapwrite_to.htm

Similar Messages

  • Error while  binding  data into Node which is Created  Dynamically.

    Hi  All
    We have a scenario , which is  to create the Context and its attribute dynamically at runtime. When I create the context with structure. Using the method  <b>‘create_nodeinfo_from_struct()’</b>.here the attributes under the created node is automatically taken from the provided structure ‘SPFLI’.
    cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
      parent_info = rootnode_info
      node_name = ‘DYN’
      structure_name = ‘SPFLI’
      is_multiple = abap_true ).
    Using the above method it is working fine and I could bind the value into the node.
    But  our scenario is to create context and its attributes without giving any predefined structure. We need to add attributes manually giving one by one.
    For that I have used the method ‘rootnode_info->add_new_child_node’ &
    dyn_node->add_attribute( exporting attribute_info = ls_attribute ).
    But am getting short dumb showing <b>‘Line types of an internal table and a work area not compatible’.</b>
    Please give me a solution..
    I used the following code…. 
    data:
      rootnode_info type ref to if_wd_context_node_info,
      dyn_node type ref to if_wd_context_node,
      data :ls_attribute type wdr_context_attribute_info.
      rootnode_info = wd_context->get_node_info( ).
      call method rootnode_info->add_new_child_node
        exporting
         SUPPLY_METHOD                =
         SUPPLY_OBJECT                =
         DISPOSE_METHODS              =
         DISPOSE_OBJECT               =
         STATIC_ELEMENT_TYPE          =
          name                         = 'DYN'
          is_mandatory                 = abap_false
          is_mandatory_selection       = abap_false
          is_multiple                  = abap_true
          is_multiple_selection        = abap_false
          is_singleton                 = abap_true
          is_initialize_lead_selection = abap_true
         STATIC_ELEMENT_RTTI          =
          is_static                    = abap_false
         ATTRIBUTES                   =
        receiving
          child_node_info              =  node_nsp
      ls_attribute-name = 'CARRID'.
      ls_attribute-type_name = 'S_CARR_ID'.
      ls_attribute-value_help_mode = '0'.
      node_nsp->add_attribute( exporting attribute_info = ls_attribute ).
      ls_attribute-name = 'CONNID'.
      ls_attribute-type_name = 'S_CONN_ID'.
      ls_attribute-value_help_mode = '0'.
      node_nsp->add_attribute( exporting attribute_info = ls_attribute ).
      DATA : BEGIN OF str,
             carrid TYPE s_carr_id,
             connid TYPE s_conn_id,
             END OF str.
      DATA :  it_str LIKE TABLE OF str.               
      select carrid connid from spfli into corresponding fields of table it_str
      dyn_node = wd_context->get_child_node( name = 'DYN'  ).
      dyn_node->bind_table( it_str ).
    data: l_ref_cmp_usage type ref to if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_alv_usage( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
      data: l_ref_interfacecontroller type ref to iwci_salv_wd_table .
      l_ref_interfacecontroller =   wd_this->wd_cpifc_alv_usage( ).
      l_ref_interfacecontroller->set_data(
        r_node_data =  dyn_node                     " Ref to if_Wd_Context_Node
    Thanks in advance..
    Nojish
    Message was edited by:
            nojish p

    Hi Nojish.
    I gues the error happens when you try to read the static attributes of an element of
    you dynamic node. This does not work using your defined type str, cause with
    get_static_attribute you only receive the static and not the dynamic attributes.
    Static attributes are attributes that are defined at design time. Thats why the
    structure does not match.
    But you can use the following code to get your dynamic attributes, for example
    getting the lead selection element and the attribute carrid:
    dyn_node = wd_context->get_child_node( name = 'DYN' ).
      lr_elelement = dyn_node->get_element( ).
      lr_el->get_attribute(
        EXPORTING
          name = 'CARRID'
        IMPORTING
          value = lv_carrid
    Hope this helps.
    PS: Or do you get the reerror in above code? Your code works here. If so pls provide short dump.
    Cheers,
    Sascha
    Message was edited by:
            Sascha Dingeldey

  • Search Help in Webdynpro For ABAP

    Hi Experts,
                      In my application I want to attach search help to a field. My problem is that table field for which I am creating search help contains duplicate values. I dont want those duplicate values. How can I achieve this?
    I am using trfgr field of table T510.
    Please help.
    Thanks & Regards,
    Pratibha Shukla

    I have coded like this . But I am getting short dumb. It says field symbol not assigned. Please help.
    FUNCTION zexit_search_trfgr.
    *"*"Local Interface:
    *"  TABLES
    *"      SHLP_TAB TYPE  SHLP_DESCT
    *"      RECORD_TAB STRUCTURE  SEAHLPRES
    *"  CHANGING
    *"     REFERENCE(SHLP) TYPE  SHLP_DESCR
    *"     REFERENCE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
      DATA : BEGIN OF it_trfgr OCCURS 10,
              trfgr TYPE pa0008-trfgr,
            END OF it_trfgr.
      DATA : itab LIKE LINE OF it_trfgr.
      IF callcontrol-step = 'SELECT'.
    *******Fetch trfgr from table t510
        SELECT DISTINCT trfgr FROM t510 INTO TABLE it_trfgr WHERE molga = 40.
    CALL FUNCTION 'F4UT_RESULTS_MAP'
    EXPORTING
       SOURCE_STRUCTURE         = 'T510'
    *   APPLY_RESTRICTIONS       = ' '
      TABLES
        shlp_tab                 = shlp_tab
        record_tab               = record_tab
        source_tab               = it_trfgr
      changing
        shlp                     = shlp
        callcontrol              = callcontrol
    * EXCEPTIONS
    *   ILLEGAL_STRUCTURE        = 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.
      ENDIF.

  • How to map XML to Web Dynpro context nodes?

    Hi All,
    Could anyone tell how xml string can be bound to context nodes ? In my requirement i need to serialize context nodes value to string and deserialize it back to nodes for implementing back naviagtion between views.
    I didnt see much threads achieving this giving details on class cl_wdr_xml_convert_util and methods if_wd_client_conversion_util~string_to_struct.
    I am using wd_context->to_xml to convert into xml.
    From this format, i want to bind it back to context  node.
    When i use this below approch i get short dumb.
    Serialization to xml:
    lv_data_string = wd_context->to_xml( ).
    Deserialization:
      DATA lv_typedescr           TYPE REF TO cl_abap_typedescr.
      FIELD-SYMBOLS:
                     <fs_data>    TYPE ANY TABLE.
      CALL METHOD cl_abap_typedescr=>describe_by_object_ref
        EXPORTING
          p_object_ref         = wd_context
        RECEIVING
          p_descr_ref          = lv_typedescr
        EXCEPTIONS
          reference_is_initial = 1
          OTHERS               = 2.
       try.
      CALL METHOD cl_wdr_xml_convert_util=>if_wd_client_conversion_util~string_to_struct
        EXPORTING
          in            = lv_data_string
          typedescr = lv_typedescr
        IMPORTING
          data      =  <fs_data>
      CATCH cx_wdr_conversion_exception into lo_err .
      lv_exp = lo_err->get_text( ).
    ENDTRY.
      wd_context->bind_table( values = <fs-data>.
    Using this way, i get a short dumb as assert statement is failed as value for  typedescr->type_kind is '*'.
    method if_wd_client_conversion_util~string_to_struct.
      assert typedescr->type_kind = cl_abap_typedescr=>typekind_struct1
          or typedescr->type_kind = cl_abap_typedescr=>typekind_struct2.
      raise exception type cx_wdr_conversion_exception
        exporting textid = cx_wdr_conversion_exception=>illegal_type.
    On debugging changing this value to required also made no difference, as no value could be assigned to the field symbol.
    Suggest a soution to do this.

    Hi Thomas,
    Thanks for your replies.
    I have corrected it, but the field symbol is empty and while debugging it says data type is incorrect.
    code:
      FIELD-SYMBOLS:
                     <fs_data>    TYPE ANY TABLE.
    data:       lsbp type ZXBPCENTRAL,
                   go_ref type ref to data.
    CALL METHOD cl_abap_typedescr=>describe_by_data " ( before it was describe_by_object_ref)
    EXPORTING
    p_data = lsbp
    receiving
    p_descr_ref = lv_typedescr.
    try.
    CALL METHOD cl_wdr_xml_convert_util=>if_wd_client_conversion_util~string_to_struct
    EXPORTING
    in = lv_data_string
    typedescr = lv_typedescr
    IMPORTING
    data = go_ref "<fs_data>
    CATCH cx_wdr_conversion_exception into lo_err .
    lv_exp = lo_err->get_text( ).------> Here the error says " Invalid data type and hence, there is no data.
    ENDTRY.
    assign go_ref->* to <fs_data>.
    I am still looking for solution and thanks a lot ....

  • Unable to create transformation -urgent

    Hi guys,
               I am trying to ceate transformation between an ODS and some datasource for flat file but then i activate it its getting error showing transfer rule cannot be activate but no short dumb is there n all the fields are mapped i am not getting any idea where it went wrong can anyone help me in this plz "error while activating transfer structure" this is the message if i double click on it some message no RSTRAN510  like this its displaying can any one explain me  what to do.............. 
    also
             once i created transfter structure for another  ODS after that when  i create an info package  its only giving me the option PSA only no other options are enabled i.e i cannt chose any data targets where i want to update only until PSA info pkg is filling the data
    ravi
    ravi

    once i created transfter structure for another ODS after that when i create an info package its only giving me the option PSA only no other options are enabled i.e i cannt chose any data targets where i want to update only until PSA info pkg is filling the data
    Only <b>DTP</b> can load to further datatargets from PSA so create a DTP .
    If u have all mappings 1:1 check for errors first for which field is it erroring - check d rule type it shud be  " Direct Assignment ".
    I wonder why it says "error while activating <b>transfer structure</b>"

  • Hi all..very urgent..error fixing..

    Hi i am running a program in ECC 6.0...its going for short dump..The possibilty of going for short dumb wud be here in the following code..kindly lookinto this in ECC 6.0..full marks wud be given
    -->  p1        text
    <--  p2        text
    FORM BUILD_HEADER_CATALOG_03.
      REFRESH: EVENTCAT.
      CLEAR EVENTCAT_LN.
      EVENTCAT_LN-NAME = 'TOP_OF_PAGE'.
      EVENTCAT_LN-FORM = 'TOP_OF_PAGE_01'.
      APPEND EVENTCAT_LN TO EVENTCAT.
    ENDFORM.                    " BUILD_HEADER_CATALOG_03
    *&      Form  BUILD_FIELD_CATALOGS_03
          text
    -->  p1        text
    <--  p2        text
    FORM BUILD_FIELD_CATALOGS_03.
      REFRESH: I_FIELDCAT.
    material
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'MATNR'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Material'.
      V_FIELDCAT_LN-REF_TABNAME   = 'S947'.
      V_FIELDCAT_LN-DDICTXT       = 'L'.
      V_FIELDCAT_LN-OUTPUTLEN     = 19.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    red/stop light icon
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'ICON1'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = ' '.
      V_FIELDCAT_LN-ICON          = 'X'.
      V_FIELDCAT_LN-OUTPUTLEN     = 2.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    yellow light icon
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'ICON2'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = ' '.
      V_FIELDCAT_LN-ICON          = 'X'.
      V_FIELDCAT_LN-OUTPUTLEN     = 2.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    mvgr2
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'MVGR2'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Dept.'.
      V_FIELDCAT_LN-REF_TABNAME   = 'MVKE'.
      V_FIELDCAT_LN-DDICTXT       = 'L'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-NO_OUT        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    mvgr3
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'MVGR3'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Class'.
      V_FIELDCAT_LN-REF_TABNAME   = 'MVKE'.
      V_FIELDCAT_LN-DDICTXT       = 'L'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-NO_OUT        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    mvgr4
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'MVGR4'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Sub-class'.
      V_FIELDCAT_LN-REF_TABNAME   = 'MVKE'.
      V_FIELDCAT_LN-DDICTXT       = 'L'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-NO_OUT        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    reference unit of measure
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'MEINS'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-DDICTXT       = 'L'.
      V_FIELDCAT_LN-OUTPUTLEN     = 3.
      V_FIELDCAT_LN-NO_OUT        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    allocation month 1
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'ALLOCATION1'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Alloc.'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    booked qty month 1
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'BOOKED1'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Booked'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    diffirence qty month 1
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'DIFFERENCE1'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Diff'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    rejected qty month 1
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'REJECTED1'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Rej.'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    allocation month 2
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'ALLOCATION2'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Alloc.'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    booked qty month 2
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'BOOKED2'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Booked'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    diffirence qty month 2
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'DIFFERENCE2'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Diff'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    rejected qty month 2
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'REJECTED2'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Rej.'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    allocation month 3
      V_FIELDCAT_LN-FIELDNAME     = 'ALLOCATION3'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Alloc.'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    booked qty month 3
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'BOOKED3'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Booked'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    diffirence qty month 3
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'DIFFERENCE3'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Diff'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    rejected qty month 3
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'REJECTED3'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Rej.'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 6.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    total allocation
      V_FIELDCAT_LN-FIELDNAME     = 'TOTAL_ALLOCATION'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Alloc.'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 7.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    total booked
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'TOTAL_BOOKED'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Booked'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 7.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    total difference
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'TOTAL_DIFFERENCE'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Diff'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 7.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    total rejected
      CLEAR: V_FIELDCAT_LN.
      V_FIELDCAT_LN-FIELDNAME     = 'TOTAL_REJECTED'.
      V_FIELDCAT_LN-TABNAME       = 'REPORT_03'.
      V_FIELDCAT_LN-SELTEXT_L     = 'Rej.'.
      V_FIELDCAT_LN-QFIELDNAME    = 'MEINS'.
      V_FIELDCAT_LN-REF_TABNAME   = 'VBAP'.
      V_FIELDCAT_LN-REF_FIELDNAME = 'KWMENG'.
      V_FIELDCAT_LN-QTABNAME      = 'REPORT_03'.
      V_FIELDCAT_LN-OUTPUTLEN     = 7.
      V_FIELDCAT_LN-JUST          = 'C'.
      V_FIELDCAT_LN-NO_ZERO       = 'X'.
      V_FIELDCAT_LN-DO_SUM        = 'X'.
      APPEND V_FIELDCAT_LN TO I_FIELDCAT.
    sort 1
      REFRESH: I_SORT.
      CLEAR: H_SORT.
      H_SORT-SPOS      = 1.
      H_SORT-FIELDNAME = 'MVGR2'.
      H_SORT-TABNAME   = 'REPORT_03'.
      H_SORT-UP        = 'X'.
      H_SORT-SUBTOT    = 'X'.
      APPEND H_SORT TO I_SORT.
      CLEAR: H_SORT.
      H_SORT-SPOS      = 2.
      H_SORT-FIELDNAME = 'MVGR3'.
      H_SORT-TABNAME   = 'REPORT_03'.
      H_SORT-UP        = 'X'.
      H_SORT-SUBTOT    = 'X'.
      APPEND H_SORT TO I_SORT.
      CLEAR: H_SORT.
      H_SORT-SPOS      = 3.
      H_SORT-FIELDNAME = 'MVGR4'.
      H_SORT-TABNAME   = 'REPORT_03'.
      H_SORT-UP        = 'X'.
      H_SORT-SUBTOT    = 'X'.
      APPEND H_SORT TO I_SORT.
      CLEAR: H_SORT.
      H_SORT-SPOS      = 4.
      H_SORT-FIELDNAME = 'MATNR'.
      H_SORT-TABNAME   = 'REPORT_03'.
      H_SORT-UP        = 'X'.
      H_SORT-SUBTOT    = ''.
      H_SORT-GROUP     = ''.
      APPEND H_SORT TO I_SORT.
    ENDFORM.                    " BUILD_FIELD_CATALOGS_03
    *&      Form  PERFORM_ALV_03
          text
    -->  p1        text
    <--  p2        text
    FORM PERFORM_ALV_03.
    layouts
      G_REPID = SY-REPID.
      LAYOUT-ZEBRA                = 'X'.
      LAYOUT-COLWIDTH_OPTIMIZE    = ''.
      LAYOUT-BOX_TABNAME          = '1'.
      LAYOUT-GET_SELINFOS         = 'X'.
      LAYOUT-DETAIL_POPUP         = 'X'.
      LAYOUT-NO_SUBTOTALS         = ''.
      LAYOUT-GROUP_CHANGE_EDIT    = 'X'.
      PRINT-NO_PRINT_SELINFOS     = ''.
      PRINT-NO_PRINT_LISTINFOS    = ''.
    Output a simple list (single line or several lines)
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM       = G_REPID
          IS_LAYOUT                = LAYOUT
          I_CALLBACK_PF_STATUS_SET = G_STATUS2
          I_CALLBACK_USER_COMMAND  = G_USER_COMMAND_01
          IT_FIELDCAT              = I_FIELDCAT
          I_DEFAULT                = 'X'
          I_SAVE                   = 'A'
          IT_EVENTS                = EVENTCAT
          IS_PRINT                 = PRINT
          IT_SORT                  = I_SORT[]
        TABLES
          T_OUTTAB                 = REPORT_03
        EXCEPTIONS
          PROGRAM_ERROR            = 1
          OTHERS                   = 2.
    ENDFORM.                    " PERFORM_ALV_03

    Hi Sahil,
       If you see in dumb screen, you can fix the exact line of code.
    Can you tell the line.
    Note: An arrow mark will be pointing your code where error occured and the description also will be there.
    Thanks,
    Rajesh

  • BADI or User-Exit for MSEG

    Hi,
    I'm looking for a BADI or User-Exit to modify a field in MSEG. This field is an IS-Oil component, but, I must modify this field when I make an outbound delivery.
    I have tried the BADI MB_DOCUMENT_BADI but the system short-dumb when I modify the field. "The program tried to assign a new value to a field even though it is protected against changes.".
    If you have any user-exit or BADI or any solution for this BADI please tell me.
    Regards
    Frédéric

    Hi
    You can use exit ZXMBCU02 ( Function EXIT_SAPMM07M_001
    in SAP enhancement MBCF0002 ). Here also whtever changes you make to I_MSEG will be lost as MSEG is an importing parameter. You can do something like this.
    FIELD-SYMBOLS <F1> TYPE MSEG.
    DATA NAME(50) VALUE '(SAPMM07M)MSEG'.
    ASSIGN (NAME) TO <F1>.
    <F1>-KOSTL = 'XXXX'.
    ( In above example MSEG-KOSTL will be set as XXXX, you can change any of MSEG fields in above way. ).
    Cheers

  • Query generated program not imported to Quality server

    Hi All,
    I am working on a query. It is an existing query which has been converted to an ABAP program in Z.
    The requirement was to make some minor changes in the existing report, like change in the selection screen and include an extra column in the output.
    report.
    when I checked the transaction it had a Z program, when i went into it, it was a SAP generated program with the report name starting in Z.
    It was not possible to make the changes in the existing program.
    So i created a new Infoset YSTP_INFOSET with the requested changes and a new user group YSTP_USRGP assigned to the infoset in SQ02 and SQ03 respectively.
    Query area is a global area.
    I created a new query in SQ01 and when i executed gave me correct result.
    i went to SE38 there it displayed the program name AQZZYSTP_USRGP==ZQUERY_WYT3===
    this name i assigned to the transaction in SE93.
    It was working fine till it was moved to the quality system. In the next system when i tried to test i got a short dumb telling that the report was not found.
    The Infoset and the User group are present in the quality system. but the program is not moved.
    Please tell me how to move this? its an urgent issue and it needs to be solved today.
    Points will be awarded .
    Please help.
    Regards,
    Rekha

    Hi Cristophe,
    Yes the user groups is copied and pasted in the transaction. Attaching the screen shots for your reference.
    I have assigned all the users in user group. Attaching that screen shot as well.
    @Raymond - could you please let me know how to transport. I have tried the truck icon in user group and infoset i have tried to transport but i dont get any transport request. Please let  me know how to solve this.
    Am i assigning the users correct? let me know please.
    Regards,
    Rekha

  • Process Chain Activation Error

    Hi Experts,
                    We are Transferring  Data from Flat file to Infocube using PROCESS CHAIN..
    Process chain Formation:
    Start -
    >> Infopackage----->>Delete Index--->>DTP--
    >>Create Index
    While Connecting START Variant with Infopackage i am getting following Error....
    Access via 'NULL' object reference not possible.                    
    A Short Dumb Created Contains Following Messages
    Error in the ABAP Application Program                                   
    The current ABAP program "CL_RSPC_FRONTEND==============CP" had to be                     terminated because it has come across a statement that unfortunately cannot be executed.
    Note :
    1. we are also  try to drag the start variant with Infopackage it is not connected .
    2. Datasource and Infopackage are Delta Enabled.
    Need Solution?
    Thanks

    Hi ,
              We are allready  give our file  in Transaction Code :  AL11 ==> DIR_HOME , But Same Error Coming ?
    What is the Problem?
    Thanks

  • BAPI SO Change

    Hi SDN's,
    I am using the BAPI for Sales order change, the return table of BAPI shows all success messages, but once i commit. i receive a msg to my SAP Inbox as below.
    Update was terminated
    System ID....   DVT
    Client.......   288
    User.....   PRATYUSHA
    Transaction..   ZES12
    Update key...   45A433EC03D839BBE100000096020A58
    Generated....   10.01.2007, 18:06:31
    Completed....   10.01.2007, 18:06:32
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    when i see the VA03 tcode to see if any item is added. i see that <b>NO item is added</b>.
    Please help me y is this happening
    Regards
    Pratyusha

    some where you are paassing
    1.the wrong value or
    2. incomatable value.
    3. ur not using some converion exits where it is needed.
    that the syeseme is going to Short-Dumb.. that error message is coming to u r inbox..
    you can find the Dumb information in ST22.. with yout User name.

  • Error when attempting to IMPORT object "HIST2"

    hi everyone could you please solve this problem for me, i have a short dumb saying in the short text - Error when attempting to IMPORT object "HIST2", can anyone pls slove this for me . Thanks in advance.

    hi ark,
             what the error analysis says is :-
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
    not caught in
    procedure "AKT_DAY_HIST2" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    When importing the object "HIST2", the component no. 8 in the
    dataset has a different type from the corresponding component
    of the target object in the program "RSORAT4M".
    The data type is "I" in the dataset, but "P" in the program.

  • Program error RSAR245

    Hello all
    I'm trying to activate transfer rules 0COMP_CODE_TEXT but it produces an error:
    "Error generating program
    Message no. RSAR245
    An error occurred during program generation:
    Template:   RSTMPL80
    Error code: 6
    Row:        1.126
    Message:    The data object "P_S_APPL" does not have a compone
    Procedure
    Correct the template to remove the problem."
    First off all I had to assign language field into the transfer rules. Because it´s original field from source system I can not use selection field for language in SAP R3. So I enhanced communication structure first (0LANGU) and then trules (assign language field there).
    Now I can not activate trules (please see error above.)
    BI 7.0
    Any idea? Thank you very much, points will be asigned.
    Helena

    Hi Allen,
    I removed the language field but when I run infopaket for loading date there is information:
    Assign a language field to IOBJ 0LANGU; danger of short dumb.
    So, I used Error handling in infopaket and data were loaded to PSA.
    But with message:
    0COMP_CODE : Data record 1 ('0001 ') : Language key is initial
    ID RSDMD     No. 186     
    The Data record 1 ´with the key 0001´for characteristic 0COPM_CODE has a blank language key.
    Do you have any idea please?
    Thanks a lot.
    Helena

  • Maintenance Settlement to RE object

    Hi all,
    I am trying to settle maintenance order (Order Category 30) to a Real Estate Object - Building. 
    The settlement profile being used allowes RE objects to be used and I have allocated the Building to the settlement rule of the maintenance order with the Account Assignment Category of BU. 
    When I run the settlement via KO88 the system gives a short dumb with RAISE_EXCEPTION and OBJECT_NOT_FOUND.  Furthermore the error takes place in function module K_COIOB_READ_AND_FILL but I am unable to determine why this is happening. 
    Any suggestions would be appreciated
    Cheers,
    Gudmundur

    Hi
    Check what account assignment are you using in PO. Check the config for that in OME9. If the consumption posting is P the posting happenes via project. In your error message I can see that WBS (project) is settled. So you cannot cancel the GRN
    Go to CJ20N and reopen project with the help of PS consultant and do GR cancellation
    regards
    Antony

  • Conver from hex to char

    hi guys,
               i am trying  to convert an hex to an char using the folloing code but its giving me short dumb with the message "When converting the base entry of the field symbol "<FS>" (number in base table: 13), it was found that the target type requests a memory
    alignment of 2."
               but the same code is working in some other system i am suing BI 7.0 can anyone tell me what is the reason....
    data : v_hex(4) type x,
           v_char(10) type c value 'ABCDA0A0',
           V_CHAR(10) TYPE C VALUE 'A0A0A0A0'.
    v_hex = 'A0A0A0A0'.
    FIELD-SYMBOLS <FS> TYPE ANY.
    v_hex = '20202020'.
    ASSIGN V_HEX TO <FS> CASTING TYPE C.
    CONCATENATE <FS> V_CHAR INTO V_CHAR.
    pls reply me
    ravi

    Hello Ravi,
    Check the below program:
    data : v_hex(4) type x,
    v_char(10) type c value 'ABCDA0A0',
    V_CHAR1 TYPE string.
    v_hex = 'A0A0A0A0'.
    FIELD-SYMBOLS <FS> TYPE ANY.
    v_hex = '20202020'.
    ASSIGN V_HEX TO <FS> ."CASTING TYPE C.
    move <FS> to v_char1.
    CONCATENATE v_char1 V_CHAR INTO V_CHAR.
    write:/ v_char.
    In Unicode env ,do not use casting after assign statement
    I don't have idea about your functionality.
    Check the below program :
    field-symbols <fs> type any .
    data : w_hex(1) type x value 31.
    assign w_hex to <fs> ."casting.
    write <fs>.
    hex value is 31 ,when you convert into ASCII character then it becomes 1F.
    Thanks
    Seshu

  • Software Deployment - Bundle OracleXe with my installer.

    Hello everybody.
    I need to create a single MSI(windows) installer with which one can choose to install: JRE, My Software(written in Java) and OracleXE. Is there any tools/ways(especially free) to put all these together?
    I apologize for the short dumb question but I'm not familiar at all with the topic.
    Thanks in advance.

    See: http://www.mozilla.org/foundation/licensing.html

Maybe you are looking for

  • Vendor data not getting updated properly

    we have recently encountered a couple of issues where 1) a vendor was unblocked for all purchase org in ECC , but this was not replicated to SRM .In SRM , the vendor stilll showed as blocked in table BUT000 2) Vendor Name2 field was changed but was n

  • How to change the schedule line date in SO with reference to value contract

    Hi SD Guru's, I need to change the schedule line date in the sales order with reference to the value contract by using some algorithm that i will write. The problem that i can't find the suitable place to add the algorithm. I can't add it to the Copy

  • Business Engine Requisition Queue is not available

    Hello, did anyone encounter the error I wrote in the title? I went to http://<Ciaca server>:8080/RequestCenter/businessengine/configdebug.jsp to check the business engine config, every thing seems fine. I'm going to use a clone/Backup of the VM where

  • Joining Fact tables

    Hi, In what cases can two fact tables be joined. Can anyone explain why there is a join between promotion facts and shop facts in efashion database and that too shortcut join. Please put some comments. Ganesh

  • Will Time Capsule work as External Hard-Drive?

    I'm looking for a device to move all my pics and video to as my MacBook Air is running out of storage. I was told by a sales guy at a Mac Store (not apple store) that the Airport Time Capsule would not work because it only does a mirror back-up and a