Outputting report data to MS Excel.

5 pts.
Tags:
Basis
SAP development
Hi, I have created a new ABAP report which outputs in ALV format. The problem is that when I try to output to MS EXCEL with the keys CTRL+SHIFT+F7, I get the error message: ?Message no. 0K412 Template not found in BDS - Layout: Template-Guid:?. Any help and advice on this would be much appreciated. Thanks. MP.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Please have a look in the following OSS message: 414920
SAP writes:

Symptom

When you select a standard variant via Settings -> Layout -> Select, the following error message appears

“Template not found in the BDS – Layout:

Template Guid:….

If you then go to Settings -> Layout -> Save, you get the NOTHING_FOUND short dump.
Additional key words

ABAP List Viewer, SAP List Viewer,

Display mode, layout administration, default, default layout variant, default variant, access variant, access layout

CL_ALV_BDS====================CP

Message number 0K 412
Cause and prerequisites

The GUID stored in the layout (=Template) is no longer available in the Business Document Service (BDS).
Solution

Implement the following source code corrections according to the correction instructions.You can then save the variant under another name or use the same name again if the appropriate authorization is available.

This is a workaround.The definitive solution is the CLEAN_VARIANT method contained in Basis Support Package 21 for 46C.However, the OK 036 error occurs there with SAP standard variants “The name of layout XX is in the SAP namespace”. This error is eliminated with note #418527.

The Source code corrections is in the OSS note. Please ask your Basis specialist to implement this for you if you don’t have access to OSS.

Hope this helps.
Regards

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following