NW04 Testdrive Dump when using ABAP Webservice whizard

Hello,
I have NW4 running on FC5.
When I try to create a webservice in SE80 the whizard dumps:
Runtime Errors         GEN_NO_GENINFO_FOR_DATID
       Occurred on     21.02.2008 at   10:08:16
No generation information for DATID "%_#D18404".
What happened?
Processing had to be terminated because an internal error
occurred when generating the ABAP/4 program "CL_SWF_CNT_FACTORY============CP".
What can you do?
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
There is no generation information for the internal ID "%_#D18404".
This is most probably due to an
invalid DATID or an object type for which there is usually
no generation information.
Possible causes for the error are:
- an RSYN programming error
- the following internal constants were used
%_ENDIAN, %_CHARSIZE, %_MINCHAR, %_MAXCHAR, %_HORIZONTAL_TAB,
%_VERTICAL_TAB, %_NEWLINE, %_CR_LF, %_FORMFEED, or %_BACKSPACE
For optimization reasons, no generation information is created for these
constants. Therefore these constants can generally only be used with
the VALUE specification of DATA, CONSTANTS etc.
How to correct the error
Use the Transaction SYNT to search for the error.
System environment
SAP Release.............. "640"
Application server....... "BLN787"
Network address.......... "192.168.100.2"
Operating system......... "Linux"
Release.................. "2.4.22-1.2129.nptlsm"
Hardware type............ "i686"
Character length......... 8 Bits
Pointer length........... 32 Bits
Work process number...... 0
Short dump setting....... "full"
Database server.......... "BLN787"
Database type............ "ADABAS D"
Database name............ "NW4"
Database owner........... "SAPNW4"
Character set............ "en_US.ISO-8859-1"
SAP kernel............... "640"
Created on............... "Jan 13 2004 20:13:34"
Created in............... "Linux 2.4.18-64GB-SMP
#1_SMP_Wed_May_15_13:27:16_GMT_2002 i686"
Database version......... "SAPDB 7.4.3.029 "
Patch level.............. "1"
Patch text............... " "
Supported environment....
Database................. "SAP DB 7.4.3, MySQL MaxDB 7.5.0"
SAP database version..... "640"
Operating system......... "Linux 2.2, Linux 2.4"
Memory usage.............
Roll..................... 8112
EM....................... 15679560
Heap..................... 0
Page..................... 49152
MM Used.................. 6768560
MM Free.................. 546564
SAP Release.............. "640"
User, transaction...
Client.............. 000
User................ "DEVELOPER"
Language key........ "E"
Transaction......... " "
Program............. "CL_SWF_CNT_FACTORY============CP"
Screen.............. " "
Screen line......... " "
Information on where terminated
The termination occurred during generation of the ABAP program
"CL_SWF_CNT_FACTORY============CP".
The point of termination was in line 64 of the ABAP source code of the
(Include) program "CL_SWF_CNT_FACTORY============CCIMP".
of the program "CL_SWF_CNT_FACTORY============CCIMP" (when calling the editor
640).
Source code extract
000340
000350   **** Test methods. Use TA SE80 or RS_AU_LIGHT for complete test.
000360
000370
000380   **** Test METHOD test_instance_manager_state
000390     METHOD test_instance_manager_state.
000400       DATA:
000410         l_abap_rh1      TYPE swfrcntref, "cont IF reference
000420         l_abap_rh2      LIKE l_abap_rh1,
000430
000440         l_inst_manager_state    TYPE xfeld,
000450         l_num_requests          TYPE i,
000460         l_num_hits              TYPE i,
000470         l_num_misses            TYPE i,
000480         l_cache_size            TYPE i,
000490         l_last_reset            TYPE timestamp,
000500         l_non_expected_ifs_cx TYPE REF TO cx_swf_ifs_exception.
000510   **** container manager is expected to be active
000520       CONSTANTS l_expected_inst_manager_state TYPE xflag VALUE 'X'.
000530   **** is the container instance manager currently active ?
000540       TRY.
000550           CALL METHOD cl_swf_cnt_factory=>create_method_container
000560             EXPORTING
000570               im_objtype          = 'CL_SWF_CNT_FACTORY'
000580               im_catid            = 'CL'
000590               im_method           = 'CREATE'
000600             IMPORTING
000610               ex_method_container = l_abap_rh1.
000620         CATCH cx_swf_ifs_exception INTO l_non_expected_ifs_cx.
000630       ENDTRY.
>       cl_aunit_assert=>assert_not_bound( l_non_expected_ifs_cx ).
000650
000660       TRY.
000670           CALL METHOD cl_swf_cnt_factory=>query_create_buffer
000680             IMPORTING
000690               ex_inst_manager_state = l_inst_manager_state
000700               ex_num_requests       = l_num_requests
000710               ex_num_hits           = l_num_hits
000720               ex_num_misses         = l_num_misses
000730               ex_last_reset         = l_last_reset
000740               ex_num_cache_entries  = l_cache_size.
000750         CATCH cx_swf_ifs_exception INTO l_non_expected_ifs_cx.
000760       ENDTRY.
000770       cl_aunit_assert=>assert_not_bound( l_non_expected_ifs_cx ).
000780
000790   **** check status of instance manager
000800       cl_aunit_assert=>assert_equals( act = l_inst_manager_state
000810                                        exp = l_expected_inst_manager_state
000820                                  msg = 'METHOD' &             "#EC NOTEXT
000830      'test_instance_manager_state:' & 'check instance manager state' ).
Contents of system fields
SY field contents..................... SY field contents.....................
Active calls / events
No dump information available
Chosen variables
No dump information available
Application Calls
No dump information available
Application Information
No dump information available
Internal notes
The termination occurred in the function "cg_GetSdatPtr" of the SAP
Basis System, specifically in line 2918 of the module
"//bas/640_REL/src/krn/gen/cgen.c#6".
The internal operation just processed is " ".
The internal session was started at 20080221100749.
Active calls in SAP kernel
(LinStack+0x3e)[0x81ed7ce]
(CTrcStack2+0x59)[0x81ed439]
(CTrcStack+0x21)[0x81ed3d1]
(rabax_CStackSave__Fv+0x9f)[0x857ac4f]
(ab_rabax+0x400)[0x8571db0]
(cg_GetSdatPtr__FPc+0x7e)[0x87523de]
(cg_cbindex__FPc+0x18)[0x8752408]
(sc_scont_short+0x86)[0x874d996]
(rs_expan_abap+0x51cff)[0x886210f]
(sc_expan__FUi+0xcf)[0x872e23f]
(parse__FUiPi+0x479)[0x8726fc9]
(sc_check+0x1bd)[0x872573d]
(ProcessText__FUi+0x6a)[0x872556a]
(sc_check+0x15c)[0x87256dc]
(sc_inclu+0x6e2)[0x871f142]
(rs_oper_abap2129+0x8e)[0x894d79e]
(rs_expan_abap+0x8f618)[0x889fa28]
(sc_expan__FUi+0xcf)[0x872e23f]
(parse__FUiPi+0x479)[0x8726fc9]
(sc_check+0x1bd)[0x872573d]
(cg_generate+0x9df)[0x8757c2f]
(ab_gabap+0x9f)[0x850c85f]
(dy_gen+0x45c)[0x82473ac]
(ab_genprog__FPcPvUii+0x487)[0x850c187]
(newload__FPcP13TmpSubpoolDirUi+0x29e)[0x8355b2e]
(ab_LoadProg__FPcUi+0x152)[0x8355752]
(LoadGlobalClass__FPCcUiUiUi9ClasState+0xcd)[0x83a06dd]
(FillCfixInt__FPC4CREFP4CFIXUiUi9ClasState+0x19f)[0x83a1bff]
(ab_FillCfix__FUsUi+0x23c)[0x83a263c]
(ab_CrefToCladId_ActivateOK__FUsPUc+0x4c)[0x83a26fc]
(ab_jclcc__Fv+0x26)[0x84190c6]
(ab_extri__Fv+0x9c9)[0x831e9b9]
(ab_xevent__FPCc+0x20)[0x8457f10]
(ab_dstep+0x775)[0x8582d55]
(dynpmcal+0x89b)[0x823e83b]
(dynppbo0+0x2a8)[0x823bb88]
(dynprctl+0x62e)[0x823b5fe]
(dynpen00+0x2db0)[0x8239160]
(Thdynpen00+0x6f6)[0x80d1916]
(TskhLoop+0x3bdf)[0x80d0c6f]
(tskhstart+0x27b)[0x80c964b]
(DpMain+0x26c)[0x805af9c]
(main+0x16)[0x80595a6]
/lib/libc.so.6(__libc_start_main+0xbf)[0x41dbbbaf]
List of ABAP programs affected
No dump information available
List of internal tables
No dump information available
Directory of Application Tables
No dump information available
Directory of Application Tables (Administrative Information)
No dump information available
ABAP control blocks CONT
No dump information available
End of runtime analysis
Has anyone come across this and knows how to fix it?
Thanks
Matthias

Hi,
without service.sap.com access you can not download kernel patch.
any way what is you current kernel version.?
you can get this by login into sap system, system -> status -> other kernel info. (shift + F5)
regards,
kaushal

Similar Messages

  • Dump when using REUSE_ALV_FIELDCATALOG_MERGE

    Hello friends,
    I am getting the following dump when using REUSE_ALV_FIELDCATALOG_MERGE.
    The occupied line length in the program text must not exceed the width of the internal table.
    The internal table "\FUNCTION=K_KKB_FIELDCAT_MERGE\DATA=L_ABAP_SOURCE[]" is 72
      characters wide. The program line is 75 characters wide.
    Regards,
    K.Sibi

    Hello Ajay ,
    THanks for the reply .
    DATA : BEGIN OF it_data OCCURS 0,
       matnr like RMMG1-MATNR , " Material number
       mbrsh like RMMG1-MBRSH, " Industry sector
       mtart like RMMG1-MTART, " Material type
       meins like MARA-MEINS, " Base unit of measure
       maktx like MAKT-MAKTX, " Material description
       spras like makt-spras , " Language key
       END OF it_data.
    my fm
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = ge_repid
       I_INTERNAL_TABNAME           = 'it_data'
    *   I_STRUCTURE_NAME             = 'it_data'
    *   I_CLIENT_NEVER_DISPLAY       = 'X'
       I_INCLNAME                   = ge_repid
    *   I_BYPASSING_BUFFER           = 'X'
    *   I_BUFFER_ACTIVE              =
      CHANGING
        ct_fieldcat                  = alv_fieldcat
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    Regards,
    K.Sibi
    Edited by: sibi k  kanagaraj on Apr 27, 2009 9:21 PM

  • ABAP Dump when using Shift Related Confirmations in CO11N

    Dear SAP Gurus,
    We have activated business function LOG_PP_SRN_CONF for doing shift
    related confirmations using T Code CO11N.
    On entering the production order and operation number in CO11N, the
    system proposes the actual data. Then we select the shift number.
    If we try to change the selected shift again, the system gives an ABAP
    dump - "OBJECTS_OBJREF_NOT_ASSIGNED" and exits the program.
    Please suggest some SAP Note or other solution for the problem.
    Thanks!
    With Regards,
    Nitin

    Dear Prasobh,
    Thanks for the quick reply.
    I have checked the OSS Note - 1359966 as mentioned by you.
    However, there are 2 things which make me feel that the note is not relevant to my scenario -
    1. The note says that the confirmation profile for CO11N includes the detail area "0240-Quantities: Subdivided Quantities". I'm not using this detail area in my confirmation profile. Instead, I'm using the detail area "0200-Quantities: yield/scrap/rework/reason".
    2. System may issue termination message COCF 000 when single-screen entry for the confirmation (CO11N) is called by another application such as the order information system (COOIS). However, I'm getting this dump when i run the T Code CO11N directly. Further, I don't get the termination message at all.
    Please suggest.
    With Regards,
    Nitin

  • How to use ABAP Webservice to Trigger the start of BPMN

    Hello,
    My scenario is that i define a webservice in the SAP ECC system and import it in the process composer as the service interface. As to the start event, i set the above service interface and operation as the trigger service.
    After then, i call this webservice in the user exit of a T-Code. However, the BPMN is not started by this webservice call.
    Anyone can explain on this and tell me how to use the ABAP webservice as the starting event service interface?
    Thanks in advance
    Erick

    Hi Erick,
    When you develop a process model and use some arbitrary service interface in the message start event then this will be exposed on the Java / BPM system you deploed the process definition on.
    That allows you to start the process via this web service once you know its endpoint.
    So in case you want to start your process from the ABAP side you would need to call this endpoint on the Java side out of your ABAP system.
    Simply calling the web service / code on your ABAP system and hoping that this will also invoke the Java stack won't work I AFAIK.
    Best regards,
    Martin

  • Getting dump when using do_sum in alv field cat in the output of the report

    Dear Freinds,
                 Iam getting the alv report when i click on the segma field (Sum) on my salary
    field iam getting dump. and also if i try to print my alv output iam getting dump , only
    happening to my custom report.
    i have used the following code pleae correct me .
    This perform is used for Layout settings
      perform st_layout_build  using gs_layout.
    form st_layout_build  using  st_ls_layout type slis_layout_alv.
       st_ls_layout-no_input          = 'X'.
      st_ls_layout-colwidth_optimize = 'X'.
    st_ls_layout-zebra             = 'X'.
    st_ls_layout-detail_popup      = 'X'.
    endform.                    " st_layout_build
    Field Catalog details
    perform st_fieldcat_init changing gt_fieldcat.
    form st_fieldcat_init  changing  fp_i_fieldcat type slis_t_fieldcat_alv.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 1.
      ls_fieldcat-fieldname    = 'ORGUNIT'.
      ls_fieldcat-seltext_l    = 'Orgunit'.
    ls_fieldcat-no_out       = 'X'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 2.
      ls_fieldcat-fieldname    = 'ORGTEXT'.
      ls_fieldcat-seltext_l    = 'Orgdesc'.
    ls_fieldcat-no_out       = 'X'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname    = 'SALARY'.
      ls_fieldcat-seltext_l    = 'Salary'.
      ls_fieldcat-col_pos      = 3.
      ls_fieldcat-outputlen   = 15.
      ls_fieldcat-do_sum       = 'X'.
      ls_fieldcat-datatype     = 'CURR'.    "CURR
      append ls_fieldcat to fp_i_fieldcat.
    endform.
    Variant
      perform st_variant_init  using gs_variant g_repid.
    form st_variant_init   using  st_gs_variant type disvariant
                                 st_repid      like sy-repid.
      clear st_gs_variant.
      st_gs_variant-report = st_repid.
    endform.                    " st_variant_init
      g_repid = sy-repid.
      perform st_comment_build  using gt_list_top_of_page[].
    form st_comment_build  using   st_lt_top_of_page type slis_t_listheader.
      data: ls_line type slis_listheader.
    Listenüberschrift: Typ H
      clear ls_line.
      ls_line-typ  = 'H'.
    LS_LINE-KEY:  not used for this type
      ls_line-info = text-000.
      append ls_line to st_lt_top_of_page.
    endform.                    " st_comment_build
         call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
             i_buffer_active        = 'X'
            i_callback_top_of_page = 'TOP_OF_PAGE'
            i_callback_program     = g_repid
            is_layout              = gs_layout
            it_fieldcat            = gt_fieldcat[]
           i_structure_name       = 'i_final'   "c_i_final "'objec'
           i_save                 = g_save
            is_variant             = gs_variant
          tables
            t_outtab               = fp_i_pyrol_final
          exceptions
            program_error          = 1
            others                 = 2.
        if sy-subrc ne 0.
          message e018. " Displaying the ALV GRID has failed
        endif.
    Please could any  one let me know why iam getting dump when iam clicking for total
    on my salary field.
    Regards
    latha

    Dear Chandu,
    my code iam giving in details
    types : begin of ty_output_data,
            staffno     type pernr_d,
            staffname   type emnam,
            grade       type stell,
            orgunit     type orgeh,
            orgtext     type hr_mcstext,
            psgroup     type trfgr,      " Pay Scale Group
            salary      type maxbt,       "PAD_AMT7S,
            rrefunded   type pad_amt7s,
            leavepay    type pad_amt7s,
            mshortfal   type pad_amt7s,   " Medical Shortfall
            echkshfal   type pad_amt7s,   " Execute checkup shortfall
            ofindeduc   type pad_amt7s,   " Other Finance Deduction
            mtyprem     type pad_amt7s,   " maternity premium
            vpbonus     type pad_amt7s,   " VP/Bonus
            gratuity    type pad_amt7s,   " Gratuity
            vpay        type pad_amt7s,   " Variable pay
            mallowance  type pad_amt7s,   " Meal Allowance
            overtime    type pad_amt7s,   " overtime
            other       type  pad_amt7s,  "  OTHER
            pfundeecon  type pad_amt7s,   " PFund Employee's Contribution
            banktrnsfer type pad_amt7s,   " Bank Transfer
            count       type i,
            end of ty_output_data.
    data : i_final         type standard table of ty_output_data.
    iam getting all my data in the internal table  I_FINAL.
    perform get_final_alv  using  i_final.
    form get_final_alv  using   fp_i_pyrol_final type ty_t_output_data.
    *local variable declarations
      data : l_v_idx      type sy-tabix.
    *local work areas
      data : l_wa_final type ty_output_data.
      g_save = 'A'.
    This perform is used for Layout settings
      perform st_layout_build  using gs_layout.
    Field Catalog details
      perform st_fieldcat_init changing gt_fieldcat.
    Variant
      perform st_variant_init  using gs_variant g_repid.
      g_repid = sy-repid.
      perform st_comment_build  using gt_list_top_of_page[].
      if not fp_i_pyrol_final is initial.
        delete adjacent duplicates from fp_i_pyrol_final comparing all fields.
        call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
             i_buffer_active        = 'X'
            i_callback_top_of_page = 'TOP_OF_PAGE'
            i_callback_program     = g_repid
            is_layout              = gs_layout
            it_fieldcat            = gt_fieldcat[]
           i_structure_name       = 'i_final'   "c_i_final "'objec'
           i_save                 = g_save
            is_variant             = gs_variant
          tables
            t_outtab               = fp_i_pyrol_final
          exceptions
            program_error          = 1
            others                 = 2.
        if sy-subrc ne 0.
          message e018. " Displaying the ALV GRID has failed
        endif.
      endif.
    endform.                    " get_final_alv
    form st_layout_build  using  st_ls_layout type slis_layout_alv.
       st_ls_layout-no_input          = 'X'.
      st_ls_layout-colwidth_optimize = 'X'.
    st_ls_layout-zebra             = 'X'.
    st_ls_layout-detail_popup      = 'X'.
    endform.                    " st_layout_build
    form st_fieldcat_init  changing  fp_i_fieldcat type slis_t_fieldcat_alv.
      data: ls_fieldcat type slis_fieldcat_alv.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 1.
      ls_fieldcat-fieldname    = 'ORGUNIT'.
      ls_fieldcat-seltext_l    = 'Orgunit'.
    ls_fieldcat-no_out       = 'X'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 2.
      ls_fieldcat-fieldname    = 'ORGTEXT'.
      ls_fieldcat-seltext_l    = 'Orgdesc'.
    ls_fieldcat-no_out       = 'X'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 5.
      ls_fieldcat-fieldname    = 'STAFFNAME'.
    ls_fieldcat-no_out       = 'X'.
      ls_fieldcat-seltext_l    = 'StaffName'.
      append ls_fieldcat to fp_i_fieldcat.
       clear ls_fieldcat.
      ls_fieldcat-col_pos      = 4.
      ls_fieldcat-fieldname    = 'STAFFNO'.
    ls_fieldcat-no_out       = 'X'.
      ls_fieldcat-seltext_l    = 'StaffNo.'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 6.
      ls_fieldcat-fieldname    = 'GRADE'.
      ls_fieldcat-seltext_l    = 'Grade'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 3.
      ls_fieldcat-fieldname    = 'COUNT'.
      ls_fieldcat-seltext_l    = 'Headcount'.
      append ls_fieldcat to fp_i_fieldcat.
    if the field name is 'Salary' then do a sum on this field.
    IF  fp_fname = c_betrg.
        l_wa_fieldcat-do_sum    = c_x.
    ENDIF.
    NOTE : IAM GETTING PROBLEM IN THE BELOW SALARY.
    IAM JUST CHECKING ITSELF NOT ALLOWING ME TO EXECUTE
      clear ls_fieldcat.
      ls_fieldcat-fieldname    = 'SALARY'.
      ls_fieldcat-seltext_l    = 'Salary'.
      ls_fieldcat-col_pos      = 7.
      ls_fieldcat-outputlen   = 20.
      ls_fieldcat-do_sum       = 'X'.
      ls_fieldcat-datatype     = 'CURR'.    "CURR
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 9.
      ls_fieldcat-fieldname    = 'LEAVEPAY'.
      ls_fieldcat-seltext_l    = 'Leave Pay'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 10.
      ls_fieldcat-fieldname    = 'MSHORTFAL'.
      ls_fieldcat-seltext_l    = 'Med.Sfall'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 11.
      ls_fieldcat-fieldname    = 'ECHKSHFAL'.
      ls_fieldcat-seltext_l    = 'EX.Chckup.Sfall'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 12.
      ls_fieldcat-fieldname    = 'OFINDEDUC'.
      ls_fieldcat-seltext_l    = 'Oth.Fin.Deduction'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 13.
      ls_fieldcat-fieldname    = 'MTYPREM'.
      ls_fieldcat-seltext_l    = 'Mat.Premium'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 14.
      ls_fieldcat-fieldname    = 'VPBONUS'.
      ls_fieldcat-seltext_l    = 'VP/Bonus'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 15.
      ls_fieldcat-fieldname    = 'GRATUITY'.
      ls_fieldcat-seltext_l    = 'Gratuity'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 16.
      ls_fieldcat-fieldname    = 'VPAY'.
      ls_fieldcat-seltext_l    = 'Variable Pay'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 17.
      ls_fieldcat-fieldname    = 'MALLOWANCE'.
      ls_fieldcat-seltext_l    = 'Meal.Allowance'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 18.
      ls_fieldcat-fieldname    = 'OVERTIME'.
      ls_fieldcat-seltext_l    = 'Overtime'.
      append ls_fieldcat to fp_i_fieldcat.
        clear ls_fieldcat.
      ls_fieldcat-col_pos      = 19.
      ls_fieldcat-fieldname    = 'OTHER'.
      ls_fieldcat-seltext_l    = 'Other'.
      append ls_fieldcat to fp_i_fieldcat.
    pfundeecon
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 20.
      ls_fieldcat-fieldname    = 'P FUND EMPLOYEES CONTRIBUTION'.
      ls_fieldcat-seltext_l    = 'P.Fund.Emp.Contrib'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 21.
      ls_fieldcat-fieldname    = 'BANKTRNSFER'.
      ls_fieldcat-seltext_l    = 'Payment'.
      append ls_fieldcat to fp_i_fieldcat.
    endform.                    " st_fieldcat_init
    form st_variant_init   using  st_gs_variant type disvariant
                                 st_repid      like sy-repid.
      clear st_gs_variant.
      st_gs_variant-report = st_repid.
    endform.                    " st_variant_init
    form st_comment_build  using   st_lt_top_of_page type slis_t_listheader.
      data: ls_line type slis_listheader.
    Listenüberschrift: Typ H
      clear ls_line.
      ls_line-typ  = 'H'.
    LS_LINE-KEY:  not used for this type
      ls_line-info = text-000.
      append ls_line to st_lt_top_of_page.
    endform.                    " st_comment_build
          FORM TOP_OF_PAGE                                              *
    form top_of_page.
      data: l_i_detailheader type slis_t_listheader.
    To get the header for ALV
      perform detail_header changing l_i_detailheader.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary = l_i_detailheader.
    endform.                    "top_of_page
    form detail_header  changing fp_i_detailheader type slis_t_listheader.
      data: l_wa_header       type slis_listheader,
            l_v_time         type slis_edit_mask,
            l_v_date         type slis_edit_mask,
            l_v_abkrs        type char5,
            l_v_pabrj        type char8,
            l_v_pagno        type char10.
    Local Constants
      constants: l_c_h type char1 value 'H',
                 l_c_1  type i     value '1',
                 l_c_edit type char10 value '__.__.____',
                 l_c_slash  type c value '/'. " constant for slash
    To display the report Header
      l_wa_header-typ = l_c_h.
    WRITE sy-repid TO l_wa_header-info LEFT-JUSTIFIED.
      write text-014  to l_wa_header-info left-justified.
      append l_wa_header to fp_i_detailheader.
      clear l_wa_header.
    To display the Page no
      l_v_pagno =   sy-pagno + l_c_1.
      l_wa_header-typ = c_s.
      l_wa_header-key = text-008. " Page No:
      l_wa_header-info =  l_v_pagno.
      append l_wa_header to fp_i_detailheader.
      clear l_wa_header.
    To Display the User ID
      l_wa_header-typ = c_s.
      l_wa_header-key = text-009. " User ID
      l_wa_header-info = sy-uname.
      append l_wa_header to fp_i_detailheader.
      clear l_wa_header.
    To Display the Date/Time
      l_wa_header-typ = c_s.
      l_wa_header-key = text-010. " Date/Time:
      l_v_time = sy-uzeit.
      l_v_date = sy-datum.
      write: sy-uzeit to l_v_time.
      write sy-datum to l_v_date using edit mask l_c_edit.
      concatenate l_v_date
                  l_c_slash
                  l_v_time into l_wa_header-info+0(25) separated by space.
      append l_wa_header to fp_i_detailheader.
      clear: l_wa_header, l_v_date.
    To Display the Report Description
      l_wa_header-typ = c_s.
      l_wa_header-key = text-011.                " Report Description
      l_wa_header-info = text-012.
      append l_wa_header to fp_i_detailheader.
      clear l_wa_header.
      append l_wa_header to fp_i_detailheader.
    endform.                    " detail_header
    I will be greatful if any one can please help me in removing me the dump.
    REGARDS
    LATHA.

  • Variable Substitution not working when using ABAP mapping

    Hi all,
    I am doing an IDoc to File scenario.
    Due to some complex mapping requirements, i had to use ABAP mapping for IDoc to File ( IDoc : SHPMNT05)
    There is also one more requirement where in i need to generate the receiver filename dynamically
    i.e the filename is of the form :     
        GW-XYZ-DD/MM/YYYY.csv
    Where
    XYZ is the Shipment number (E1EDT20- TKNUM)
    DD/MM/YYYY is the IDOC creation date in ECC (EDIDC-CREDAT)
    so i used the variable substitution option in receiver file adapter.
    But its not working.
    Is there any limitation for using the variable Substitution, doesnt variable substitution work in case of ABAP mapping?
    Regards,
    Loveena.

    Hi,
      u written ABAP mapping program to get the file name in the required format ,
    is it rt?
    when u test it at message mapping(including ABAP map program)
    u get the the required format of file name in the one of target filed.
    if that was fine, please check the variable substituiton parameters at receiver file adapter.
    i mean, are u maintain variable name and refernece.
    u have to specify the payload information.
    warm regards
    mahesh.

  • Catching Fault Messages when using a webservice

    Hi all.
    We are using a webservice that looks like this.
    nonSAP-system <-> XI <-> SAP
    A nonSAP-system asks for some information from a SAP-system. When we get an error of some kind we want to return the errormessage to the nonSAP-system so they will know what went wrong.
    For first we want to try to return the errormessage generated in XI or the SAP-system and when we get that to work we want to be able to generate our own faultmessages so we specific what went wrong in the in the call.
    We have looked around in the help pages and not getting a good picture on how to do this. Is there anybody who could help me out?
    BR
    Kalle

    Hi,
    Check these
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm
    i have documented a fault message scenario through my blog;
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    Handling Web Service SOAP Fault Responses in SAP NetWeaver XI -
    /people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/content.htm
    check this nice blog also
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5d/a45c3cff8ca92be10000000a114084/content.htm
    Asynchronus RFC  exception handling
    XI Alerts are not getting triggered from proxy servers
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee5bc490-0201-0010-e9b5-
    a258cf083bca
    /people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
    Fault Message
    Regards
    Seshagiri

  • Error when using ABAP mapping

    I followied the how to guids "How To convert an IDoc-XML structure to a flat file and vice versa in XI 3.0" and "How to Use ABAP-Mapping in XI 3.0".
    After I built created the ABAP-OO class Z_ABAP_MAPPING_IDOC_TO_FLAT and implemented every thing, during the testing, I got the error "Exception CX_SY_NO_HANDLER triggered, An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handl".
    Please help.
    Thanks!

    Please debug as follows...
    put a break point inside your class/method....
    goto tcode SXI_MAPPING_TEST....give in the configuation details of your scenario...and when you execute, give the IDOC-XML, copy it from SXMB_MONI where you are getting the error....
    when you execute, it shoudl stop at the break point that you had set in your class....continue debugging using 'F6' function key, and check where you are hitting this error...
    The chances are that the FM that converts IDOC-XML to flat file  format might not have been executed correctly...
    Thanks.

  • How to create user in UME when using ABAP as datasource

    hi, everyone
    We are using ABAP as EP user datasource, when create user in EP, it says "Current user has user creation permissions in the UME, but cannot create users in the back-end system (data source). The original and possibly untranslated message was: "No active writeable datasource found for user creation, check your Persistence Configuration."
    But we can not create in UME neither, anyone know how to do this?
    Lee

    Hi,
    Solution would be to disconnect the UME from ABAP and reboot the portal, create the user in UME, and revert back to the UME/ABAP connection again... but this is not supported:
    Changing Data Source
    Once you have chosen this data source configuration, you cannot change to any other data source configuration. For details, see SAP Note 718383.
    Source: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/af3ac012d32e78e10000000a155369/frameset.htm
    Ask the autorisation team of the ABAP stack that is connected to you UME to create the user for you is the only solution.
    Cheers,
    Benjamin

  • Urgent: ABAP Dump when using ME9F

    Hi All,
    I am using ME9F transaction to re-print POs. I get a short dump stating error "MOVE_TO_LIT_NOTALLOWED_NODATA". This just started happend after we applied the support packs. We are using custom SAP Script form.
    Did anyone ever experience this problem before with ME9F or anywhere else.
    Any ideas/suggestions will be greatly appreciated.
    Thanks in advance.

    Check out oSS # 354101
    FYI
    ME9E: short dump for releases with web releases
    Symptom
    If messages of JIT delivery schedules and forecast delivery schedules are issued with web release functions in Transactions ME9E, a short dump is generated, if print-dependent data is updated.
    Additional key words
    ME9E, short dump, MOVE_TO_LIT_NOTALLOWED_NODATA, ME_PRINT_PO, print-dependent data
    Cause and prerequisites
    For function module ME_PRINT_PO, the transfer of parameter DOC is carried out as a reference. As a result, you cannot change internal tables which are transferred with this parameter.
    Solution
    Set indicator 'Call by value' for parameter DOC of function module ME_PRINT_PO. As a result, the parameter is copied and can be changed.
    Source code corrections
    Hope this’ll give you idea!!
    <b>P.S award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • BPC 7.5 NW on BW 7.3 - Short Dump when using BADI

    Hello all,
    When migrating from MS bpc to Netweaver we've had to move some logic from script to BADI.
    (Runlogic not supported)
    However we now get shortdumps in when calling the BADI'
    It works in BW 7.0 but now that we are on BW7.3 the error appears and shordumps occur.
    During the upgrade SAP have updated the Class CL_UJR_WRITE_BACK to include a method  "GET_DELTA"
    That's where we have the problem. No OSS notes for it yet.
    The problem shortsumps as follows:
    Short Dump Log.
    Category               ABAP Programming Error
    ABAP Program           CL_UJR_WRITE_BACK=============CP
    Application Component  CPM-BPC
    "ASSIGN_TYPE_CONFLICT" " "
    "CL_UJR_WRITE_BACK=============CP" bzw.
    "CL_UJR_WRITE_BACK=============CM00U"
    "GET_DELTA"
    Error occurs at line statement
    ASSIGN COMPONENT uj00_cs_fieldname-keyfigure OF STRUCTURE <ls_data> TO <l_value>.
    Any help out there?
    Please.........
    Thanks
    Paul

    Hi Paul,
    First of all, there is a How To Guide for RUNLOGIC implementation. It uses BAdI approach as well, but doesn't call WRITE_BACK that can change from version to version.
    Second, you should be able to see that method GET_DELTA is being called under
    IF D_CALC_DELTA eq abap_true and df_bw_delta eq abap_false.
    D_CALC_DELTA is set to TRUE only in Method WRITE_BACK_INT; I hope you aren't using that one.
    DF_BW_DELTA is taken from DM Package parameters. Can you check what you have there or put just a break-point in PACKAGE_LOGIC_1 to see what value those 2 variables have?
    Hope this helps,
    Gersh

  • Getting core dump when using EXEC SQL CLOSE

    In my pro*c program , i have used a cursor to fetch the set of accounts.Once cursor is opened , code will perform set
    of operation using fetched data and then cursor is closed. Between open and closing of cursor , i have used 23 EXEC
    SQL CLOSE. For example i am copying the value of a to b using strlcpy between fetch and close cursor statement.If
    returned value from strlcpy is greater than size of destination variable, then flow should not proceed , in that case I will
    close the cursor using EXEC SQL CLOSE and return the flow to calling program. Similarly i have closed the cursor at
    another 22 locations.
    When i compile the code and run binary the core dump occurs. On analyzing the core it shows
    t@null (l@8) terminated by signal SEGV (no mapping at the fault address)
    0xffffffffffffffff: <bad address 0xffffffffffffffff>
    dbx: core file read error: address 0xfc4ffe48 not in data space
    Current function is dbMtBaseClass::Pswd_Change
    7860 sqlcxt(&_dbMtCtx, &sqlctx, &sqlstm, &sqlfpn);
    if I remove any of the three EXEC SQL CLOSE commands , core dump does not occurs.
    It looks strange.Please help me to resolve the issue.

    In my pro*c program , i have used a cursor to fetch the set of accounts.Once cursor is opened , code will perform set
    of operation using fetched data and then cursor is closed. Between open and closing of cursor , i have used 23 EXEC
    SQL CLOSE. For example i am copying the value of a to b using strlcpy between fetch and close cursor statement.If
    returned value from strlcpy is greater than size of destination variable, then flow should not proceed , in that case I will
    close the cursor using EXEC SQL CLOSE and return the flow to calling program. Similarly i have closed the cursor at
    another 22 locations.
    When i compile the code and run binary the core dump occurs. On analyzing the core it shows
    t@null (l@8) terminated by signal SEGV (no mapping at the fault address)
    0xffffffffffffffff: <bad address 0xffffffffffffffff>
    dbx: core file read error: address 0xfc4ffe48 not in data space
    Current function is dbMtBaseClass::Pswd_Change
    7860 sqlcxt(&_dbMtCtx, &sqlctx, &sqlstm, &sqlfpn);
    if I remove any of the three EXEC SQL CLOSE commands , core dump does not occurs.
    It looks strange.Please help me to resolve the issue.

  • Problem using ABAP webservice in a J2EE application

    Hi All,
    I have created a WSDL for a ECC FM.
    Created a Deployable  WebService  Project using the WSDL. It gives a EAR and a JAR file.
    Deployed the EAR generated to the server.
    Then I have created a J2EE Web module
    Added the JAR from the Webservice Project
    and below code to call the web service
    Name of the webservice proxy is getperner
    //Call the webservice          
                InitialContext ctx = new InitialContext();
                ZgetpernerService fetch_perner =
                     (ZgetpernerService) ctx.lookup(
                          "java:comp/env/sap.com.getperner");
         Zgetperner port =
                     (Zgetperner) fetch_perner.getLogicalPort(
                          "ZgetPerner_Bind",
         Zgetperner.class);
                Usr01DohrGetemployeeResponse res = port.usr01DohrGetemployee(input);
         strPerner = res.getEmployeenumber();
    When I run the application it gives the below error:
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/sap.com.getperner.
    I have added the Web J2EE module into an EAR project.
    I have followed the approach given in below article:
    [Deployable Webservice Usage in NetWeaver|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?QuickLink=index&overridelayout=true]
    Need help in resolving the issue.
    Regards,
    Sumit

    Hi,
    JNDI Name usually, 'vendornmae/earproject/ejbbean ',
    vendor name - if you create your project locally, it will be usually sap.com, if you are using NWDI, it will start with your company name.
    If you have the access for visual admin you can check the correct JNDI name and specify that JNDI name during the lookup
    Go to visual admin> cluster>services-->JNDI Service.
    For more reference you can check this links:
    New Samples and Tutorials for Web Dynpro Programming
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c
    Hope this helps you.
    Regards,
    Saleem Mohammad.
    Edited by: Jason Lax on Dec 28, 2011 2:38 PM (Fixed broken link)

  • Core Dump when using SSASendTrap()

    Hi!
    I use Solaris 8, os 5.8
    When calling SSASendTrap() I get a core dump.
    Are there any patches available? I searched for but didn't find anything working on my Solaris Version and os Version.
    Is a patch or know how necessary to solve this Problem? Is a detailed description of the SDK-build source code available?
    br,
    cAner

    Hello Ajay ,
    THanks for the reply .
    DATA : BEGIN OF it_data OCCURS 0,
       matnr like RMMG1-MATNR , " Material number
       mbrsh like RMMG1-MBRSH, " Industry sector
       mtart like RMMG1-MTART, " Material type
       meins like MARA-MEINS, " Base unit of measure
       maktx like MAKT-MAKTX, " Material description
       spras like makt-spras , " Language key
       END OF it_data.
    my fm
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = ge_repid
       I_INTERNAL_TABNAME           = 'it_data'
    *   I_STRUCTURE_NAME             = 'it_data'
    *   I_CLIENT_NEVER_DISPLAY       = 'X'
       I_INCLNAME                   = ge_repid
    *   I_BYPASSING_BUFFER           = 'X'
    *   I_BUFFER_ACTIVE              =
      CHANGING
        ct_fieldcat                  = alv_fieldcat
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    Regards,
    K.Sibi
    Edited by: sibi k  kanagaraj on Apr 27, 2009 9:21 PM

  • HTTP Error with Status code 403 when using ABAP Server Proxies

    Hi All,
    I have been working on ABAP Client and Server proxies in my project. The weblogs by Ravikumar, Prateek Shah,  Siva Maranani & VijayaKumari were very helpful and thank them all for just helpful and guiding postings.
    Interfaces using Client proxies are working fine and have been tested successfully. But I'm facing bit problems with Server Proxies. The scenario is of File to SAP system via XI. Data is coming correct up to Technical routing in pipeline but at call adapter(for Server Proxy to SAP)in XI pipeline I receive Error:
    HTTP response contains status code 403 with the description Business Server Page (BSP) Error Error when sending by HTTP (error code: 403, error text: Business Server Page (BSP) Error)
    Previously I was receiving authentication and authorization related error of status code 401 and then in communication channel I replaced user profile with a user id having role SAP_XI_APPL_SERV_USER. The basis peron has created new user id with role SAP_XI_APPL_SERV_USER  only and that I'm using. I've tried creating a HTTP destination with the created user id and in test connection too receive same error message.
    Please help me out with your inputs and understanding on the topic.
    Thanks and Best Regards
    Prashant Rajani

    Hi Prashant,
    Please take a look at these threads..They deal with the same problem, and they have been resolved here.
    BSP Authorization error
    Service cannot be reached .  error code 403 the reason forbiddn
    403 Error when accessing the server
    Hope your issue gets resolved.
    cheers,
    Prashanth
    P.S Please mark helpful answers

Maybe you are looking for

  • How can 2 user edit 1 word document at the same time

    hi, in office 2013 professional plus, can 2 user edit 1 word document at the same time?

  • [SOLVED] Automatic Login to Openbox

    Since I'm on a single user machine and have a bios based password prompt at startup, I would like to log in as user automatically and start openbox the same way. At the moment I have to log in as usual and can start openbox via startx since I have pu

  • I cannot paint or use gradients correctly in layer mask mode

    I have my blending mode set to 'NORMAL".  When I paint in black on a layer mask it creates a transparent effect (not hide the image/pattern).  Since the upgrade this has affected both my pc and laptop versions.   I've read through the forums and see

  • How to configure ECS facility in SAP

    Dear Friends , Please tell me how to configure ECS payment facility in SAP ? Regards Nilesh Vakil

  • Attaching text to a semicircle

    I want to have one piece of text above and and one below a circle. It looks as though I need to create two semicircles as paths to create this effect but how do I create a semi circular path, please?