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
ABAP Program RSTXCPDF Application
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
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.