Showing results for 
Search instead for 
Did you mean: 

ITS Issue

Former Member
0 Kudos

Hi all,

I have created a report..this report when executed will give the o/p in a PDF format of PO details ...this report will take PO number as input ..this is working fine in GUI mode...when i placed this report in the ITS whenever i give a PO number to it it is going to dump...In dump i didnt find how to solve it...please help..

Dump shows as ::


Access not possible using 'NULL' object reference.

What happened?

Error in ABAP application program.

The current ABAP program "CL_GUI_FRONTEND_SERVICES======CP" had to be

terminated because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

Error analysis

An exception occurred. This exception is dealt with in more detail below

. The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL', was


caught nor passed along using a RAISING clause, in the procedure



Since the caller of the procedure could not have expected this exception

to occur, the running program was terminated.

The reason for the exception is:

Attempt to access a component using 'NULL' object reference (points

to nothing).

An object reference must point to an object (an instance of a class)

before you can use it to access components (variable:


Either the reference has not yet been set, or it has been reset to

'NULL' by a CLEAR statement.</b>

I am unable to find a solution please help...

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos


Which SRM version are you using ?

What I think, that on ITS Web page, the user local work directory is not avaiabale from where it can pickup the Acrobat PO file based on the Purchase order number supplied as input.

Make sure that the file exists in the specified file directory location. Also make sure that you either create a Print Preview functionality similar to whata standard SRM provides on Print button functionality.

Meanwhile, also take help of BASIS team. It might be due to some OSS notes missing in the system as well.

<u>Note 940960 - Runtime Error: OBJECTS_OBJREF_NOT_ASSIGNED

Note 890601 - SAP Integrated ITS updates for NetWeaver 2004s (7.00)

Note 571205 - Upgrade/background processing: CL_GUI_FRONTEND_SERVICES

Note 910460 - GET_SAPGUI_WORKDIR returns the current directory

Note 977663 - Downloads from SP01 are not always saved to GUI directory

Note 836393 - PC directory during display of document

Note 916512 - SAPoffice: Directory for upload/download/display

Note 613786 - Shortdump 'not_supported_by_Gui' when calling a method.

Note 1041876 - Short dump displayed only in ST22 when trying to display RFx


Hope it will help.


- Atul

Former Member
0 Kudos

Thanks for u r reply..

SRM 4.0

In the report what i m doing is creating the PDF file in the SAP work directory and openeing the file from that SAP work dir ...will this make any effect from GUI to it is working fine in GUI..

Pls help


Former Member
0 Kudos


Where are saving this PDF File while using the transaction in the Web page? Your user profile must have proper authorization / access to create and save the newfile.pdf (say file name is newfile) while using ITS Web page -> in a temporary work directory similar to what is created in SAP GUI mode.

Ask BASIS Team to give some solutions on this. Please refer to my earlier reply as well for the mentioned OSS notes.

Hope this will help.


- Atul