Wednesday, July 13, 2016

GETWA_NOT_ASSIGNED error while scheduling ALV in background

Issue :
In ALV sap report you have used color to show in output column. You have passed color code to field catalog to "emphasize" filed of your internal table. Now when you run this report in foreground, everything works fine. But when you schedule it in background , your job got failed with error "GETWA_NOT_ASSIGNED".


Cause : the possible cause is in while calling  'REUSE_ALV_GRID_DISPLAY' in the exporting parameter is_layout you might have passed field coltab_fieldname 'COLOR' and the same has not been enhanced in your output table. 

Solution : Declare a additional field "color type lvc_t_scol" into your output internal table which you are passing in 'REUSE_ALV_GRID_DISPLAY' will solve the issue.

Friday, July 8, 2016

Monday, July 4, 2016

COPA Error after SAP Upgrade

Issue :After you have done the SAP upgrade, you are receiving error in MIGO transaction "Inconsistency between a document field and the prof. segment number".This is because COPA segment is not getting generated properly due to SAP code. Generally COPA programs are generated from SAP standard template program RKEVRK2L. 


Reason :So what happens after SAP upgrade, the template programs got updated with the latest versions not the generated programs. If in your SAP system there are modifications in the Template program then those changes does not reflect in the generated COPA programs like RK2LXXXX where XXXX is your operating concerns.


How to solve this issue :The issue is very simple. According to SAP note 321725, you have to execute RKE_GENERATE_INTERFACE_ACT from SE37 to each system with your operating concern as input. This one is the manual activity which can not be transported. This FM will again regenerate your COPA programs one again.

Note : If your company has some special requirements in COPA template program and has been added as a custom code , then those changes needs to be completed in SPAU activity while upgrade is in progress.




Memories






Evening play @ park