Skip to Content
0

launch PAM03 in FIORI endup in ABAP Error

Sep 05, 2017 at 03:03 PM

37

avatar image
Former Member

hello,

I m implementing Pool asset mangement for my company and th setting are done and everything seems to be fine when i launch the planning board in the SAP GUI i have the actual planning board showing all the equipement and request from user i have previously created.

when i tried to launch the transaction in FIORI i m prompted to the screen where i m asked to put my pool and my variant and when executing is i got the following error.

Category ABAP programming error Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED Except. CX_SY_REF_IS_INITIAL ABAP Program SAPLPAMS_GRAPH Application Component PM-WOC-MN Date and Time 04.09.2017 16:59:58 ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |Short Text | | Access using a 'ZERO' object reference is not possible. | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |What happened? | | Error in the ABAP application program. | | | | The current ABAP program "SAPLPAMS_GRAPH" had to be terminated because it | | found a | | statement that could not be executed. | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |What can I do? | | Note which actions and entries caused the error to occur. | | | | Consult your SAP administrator. | | | | Using transaction ST22 for ABAP dump analysis, you can view, manage, | | and retain termination messages for longer periods. | | Using Transaction ST22 for ABAP Dump Analysis, you can look | | at and manage termination messages, and you can also | | keep them for a long time. | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |Error analysis | | An exception has occurred which is explained in more detail below. The | | exception is assigned to class 'CX_SY_REF_IS_INITIAL' and was not caught in | | procedure | | "PAMS_GRAPH_SET_TIME_AXI" "(FUNCTION)", nor was it propagated by a RAISING | | clause. | | Since the caller of the procedure could not have anticipated this | | exception, the current program was terminated. | | The reason for the exception is: | | You are trying to access a component with a 'ZERO' object reference | | (points to 'nothing'). Variable: "GREF_BARC". | | An object reference must point to an object (an instance of a class) | | before it can be used to access a component. The reference has either | | never been set, or it was set to 'ZERO' with a CLEAR statement. | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |How to correct the error | | The exception must either be prevented, caught in procedure | | "PAMS_GRAPH_SET_TIME_AXI" "(FUNCTION)", or | | the possibility of it occurring must be declared in the RAISING clause | | in the procedure. | | To prevent the exception, note the following: | | | | | | If the error occurs in a non-modfied SAP program, you might be able to | | find a solution in the SAP Notes system. If you have access to the SAP | | Notes system, check there first using the following keywords: | | | | "OBJECTS_OBJREF_NOT_ASSIGNED" CX_SY_REF_IS_INITIAL | | "SAPLPAMS_GRAPH" bzw. LPAMS_GRAPHU32 | | "PAMS_GRAPH_SET_TIME_AXI" | | If you cannot solve the problem yourself, please send the following | | information to SAP: | | | | 1. This description of the problem (short dump) | | To do this, choose System -> List -> Save -> Local File (unconverted) | | on the screen you are in now. | | | | 2. A suitable system log | | To do this, call the system log in transaction SM21. Restrict the time | | interval to ten minutes before the short dump and five minutes after | | it. In the display, choose System -> List -> Save -> Local File | | (unconverted). | | | | 3. If these are programs of your own, or modified SAP programs: Source | | code of these programs | | To do this, choose More Utilities -> Upload/Download -> Download in | | the Editor. | | | | 4. Details regarding the conditions under which the error occurred or | | which actions and input caused the error. | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |System environment | | SAP Release..... 751 | | SAP Basis level 0000 | | | | Application server... PRD-SAP-Dev | | Instance name....... PRD-SAP-Dev_DEV_00 | | Network address...... 10.1.27.81 | | Operating system... Windows NT | | Release.............. 6.3 | | Hardware type....... 8x AMD64 Level | | Character length..... 16 Bits | | Pointer length........ 64 Bits | | Work process number... 6 | | ABAP load version.... 2217 | | Shortdump setting. full | | | | Database server... bkpsap01 | | Database type..... HDB | | Database name..... DEV | | Database user ID SAPABAP1 | | | | Terminal.......... 10.1.22.40 | | | | Character set C | | | | SAP kernel.......749 | | Created on....... Oct 8 2016 08:50:19 | | Created at....... NT 6.3 9600 x86 MS VC++ 18.00 use-pr20161008 | | Database version SQLDBC 1.00.120.024.1461933179 | | Patch level....... 17 | | Patch text....... | | | | Database............. HDB 1.0 | | SAP database version. 749 | | Operating system... Windows NT 6.0, Windows NT 6.1, Windows NT 6.2, Windows NT | | 6.3, Windows NT 10.0 | | | | Memory consumption | | Roll.... 0 | | EM...... 14468728 | | Heap.... 0 | | Page.... 114688 | | MM used. 5266176 | | MM free. 2502096 | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |User and Transaction | | Client................. 100 | | User.................. ALEO | | Language key.......... F | | Transaction......... PAM03 | | Transaction ID...... 5E5A09177D5F0060E0059A52F28077CB | | | | EPP whole context ID...... 005056A14C841ED7A4B02C3CCCD0E0D9 | | EPP connection ID........ 005056A14C841ED7A4B02C3CCCD100D9 | | EPP call counter......... 1 | | | | Program.............. SAPLPAMS_GRAPH | | Screen.............. SAPMSSY0 1000 | | Screen line.......... 6 | | Active debugger..... "none" | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |Server-Side Connection Information | | Information on caller of "HTTPS" connection: Plug-in type......... HTTPS | | Caller IP.............. 10.1.22.40 | | Caller port............ 44311 | | Universal resource ID /sap/bc/gui/sap/its/webgui/batch/json | | | | Program.............. SAPLPAMS_GRAPH | | Screen.............. SAPMSSY0 1000 | | Screen line.......... 6 | | | | Information on caller of "HTTPS" connection: Plug-in type......... HTTPS | | Caller IP.............. 10.1.22.40 | | Caller port............ 44311 | | Universal resource ID "/sap/bc/gui/sap/its/webgui/batch/json" | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |Information on where terminated | | The termination occurred in ABAP program or include "SAPLPAMS_GRAPH", in | | "PAMS_GRAPH_SET_TIME_AXI". The | | main program was "PAMS_FLEET_NEW". | | | | In the source code, the termination point is in line 24 of program or | | include "LPAMS_GRAPHU32". | | The termination is due to exception "CX_SY_REF_IS_INITIAL" occurring in | | procedure "PAMS_GRAPH_SET_TIME_AXI" "(FUNCTION)". | | This exception was not handled locally or declared in the RAISING | | clause in the procedure's signature however. | | The procedure is in program "SAPLPAMS_GRAPH". The source code begins in line 1 | | of | | (include) program "LPAMS_GRAPHU32". | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |Source Code Extract | ---------------------------------------------------------------------------------------------------- |Line |SourceCde | ---------------------------------------------------------------------------------------------------- | 1|FUNCTION PAMS_GRAPH_SET_TIME_AXI. | | 2|*"-------------------------------------------------------------------- | | 3|*"*"Lokale Schnittstelle: | | 4|*" EXPORTING | | 5|*" REFERENCE(EV_SECTION) TYPE BCSECTION-ID | | 6|*"-------------------------------------------------------------------- | | 7| | | 8|* lokale Datenobjekte | | 9| DATA: | | 10| l_start_date(20) TYPE c, | | 11| l_end_date(20) TYPE c. | | 12| | | 13|* Start und Endedatum übertragen | | 14| convert_date gv_datum_start_so '000000' l_start_date. | | 15| convert_date gv_datum_end_so '235959' l_end_date. | | 16| | | 17|* Start und Ende der Zeitachse festlegen | | 18| CALL FUNCTION 'BARC_SET_TIME_AXIS' | | 19| EXPORTING | | 20| start = l_start_date | | 21| end = l_end_date. | | 22| | | 23|* Sektionen festlegen | |>>>>>| CALL METHOD gref_barc->create_section | | 25| EXPORTING | | 26| size = bc_time_size | | 27| start = bc_time_start | | 28| unit = bc_time_unit | | 29| IMPORTING | | 30| id = ev_section. | | 31| | | 32|ENDFUNCTION. | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |Contents of system fields | ---------------------------------------------------------------------------------------------------- |Name |Val. | ---------------------------------------------------------------------------------------------------- |SY-SUBRC|0 | |SY-INDEX|0 | |SY-TABIX|0 | |SY-DBCNT|1 | |SY-FDPOS|5 | |SY-LSIND|0 | |SY-PAGNO|0 | |SY-LINNO|1 | |SY-COLNO|1 | |SY-PFKEY| | |SY-UCOMM| | |SY-TITLE|Tableau de planification graphique ( Pool Asset Management ) | |SY-MSGTY|E | |SY-MSGID| | |SY-MSGNO|000 | |SY-MSGV1| | |SY-MSGV2| | |SY-MSGV3| | |SY-MSGV4| | |SY-MODNO|0 | |SY-DATUM|20170904 | |SY-UZEIT|165957 | |SY-XPROG|SAPMSSY0 | |SY-XFORM|NEW-LINE | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |Active Calls/Events | ---------------------------------------------------------------------------------------------------- |No. Ty. Program Include Line | | Name | ---------------------------------------------------------------------------------------------------- | 5 FUNCTION SAPLPAMS_GRAPH LPAMS_GRAPHU32 24 | | PAMS_GRAPH_SET_TIME_AXI | | 4 FORM SAPLPAMS_GRAPH LPAMS_GRAPHF01 185 | | D0100_INIT_GRAFIK | | 3 FUNCTION SAPLPAMS_GRAPH LPAMS_GRAPHU02 76 | | PAMS_GRAPH_START | | 2 FORM PAMS_FLEET_NEW PAMS_FLEET_NEWF07 9 | | START_GRAPHIC | | 1 EVENT PAMS_FLEET_NEW PAMS_FLEET_NEW 159 | | END-OF-SELECTION |

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers