cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Print and Archive option giving dump in Production system

manish_gouniyal
Explorer
0 Kudos

Hello All,

We are facing a strange issue from last few days in our production environment. one fine day we saw many dumps in our system with below details, These dumps are coming while creating delivery note from IDOCS.

Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED

Except. CX_SY_REF_IS_INITIAL

ABAP Program RSTXCPDF Application

Component BC-SRV-SCR

All the Dumps are linked to few printers only, but when we change the logical destination to DUMY in output type condition record, Smartform print and archive works fine and delivery generated.

Program - RSTXCPDF

form pdf_fontcall_upe.

data wa_scriptmet type tCFontScriptMetric.

data spacewidth_em type i.

pdffont_manager->set_active_upe_font( UPE_PHYSID = fontinfo-UPE_PHYSID UPE_LOGIDX = fontinfo-UPE_LOGIDX ). ----> Dump occur at this position.

* convert fontsize (1/10 point) to TWIP, use INT field

FONTINFO-FONTSIZE_TW = 2 * FONTINFO-FONTSIZE.

* this sets cf_fontinfo with info on current SAPFONT

perform pdfcf_collect_fontinfoUPE in program RSTXPDFCFONT

We have tried to enable UPE for our printers but still dumps are coming. In case of DUMY logical destination no issue occur.

If any one of you have encountered any such issue then please assist.

Accepted Solutions (0)

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor
0 Kudos

The component what you had indicated refers to Basis in which case, have a look at OSS note 564781

manish_gouniyal
Explorer
0 Kudos

Hello Lakshmi,

Our System has already above mentioned support package in note 564781.

BR,

Manish Gouniyal

Jelena
Active Contributor
0 Kudos

Please search both in Google and in SAP Notes before posting a question. (And if you did but found the results unsatisfactory then please explain why.) I copy-pasted the keywords from this question into SAP Support Launchpad and it came up with a correction note:

https://launchpad.support.sap.com/#/notes/2135747

In general, for assistance with standard SAP programs reach out to SAP Support.

manish_gouniyal
Explorer
0 Kudos

Hello Jelena,

Thanks for the suggestion.

Yes, I have already checked the SAP Note. As one of the prerequisite says that Printer is a UPE enabled printer. But in our case dumps were started occurring initially for Non UPE Printer.

Hence I posted this question in SDN to cross check whether anyone has encountered similar kind of dumps with Non UPE printer as well.

I hope i have clarified your doubt.

BR,

Manish Gouniyal