Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZDEMO_WORD1 compile error #3

Open
oliviermuff opened this issue Jun 3, 2014 · 3 comments
Open

ZDEMO_WORD1 compile error #3

oliviermuff opened this issue Jun 3, 2014 · 3 comments

Comments

@oliviermuff
Copy link

Programme ZDEMO_WORD1
Le type "LV_FILE" n'est pas compatible avec le paramètre formel "CL_EXCEL".

EN: Local data type is not compatible with class parameter

*** Create output
lcl_output=>output( lv_file ).

PS: How does one become a contributor here?

@ivanfemia
Copy link
Owner

This is related to your ABAP version...
What is your SAP_BASIS version?
In the old version you have always to explicit the input parameters.

To contribute just fork the project and submit your changes.

@oliviermuff
Copy link
Author

SAP_BASIS 702 0015 SAPKB70215 Composante de base SAP

I think it is more related to the code.
lv_file is type string and the calling method is looking for CL_EXCEL. I have copied the include
ZDEMO_EXCEL_OUTPUTOPT_INCL to ZDEMO_WORD_OUTPUTOPT_INCL and made some modification so that the Create output line now reads:

lcl_output=>output( lo_word ).

and I was able to produce a word file but it seems to be corrupt or incomplete since WORD cannot open it. Was this demo program working at one time? Seems there is still a bit of work to be done.

@ivanfemia
Copy link
Owner

This project is not yet released...
It is still a work in progress, your contribution is really appreciated...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants