Hello,
I have a problem with generating a PDF file with ABAP WebDynpro. I have an ALV and there I read a line. From this line I want to build a smartform which should be converted into PDF. I think my coding works. I have no syntax errors and when I debug the coding, everything looks good. I also get my popup that I want to have. But then I got an error: "File does not begin with '%PDF-'."
I look for this error here in SDN but I could not find a solution. I have also tried to do what is mentioned in note 1042424.
Can anybody helps me?
Regards, Markus
Request clarification before answering.
Ok,
I tried to get the PDF in a new window in my application.
I have an own view for my PDF. This view is in an own window and this window will be started by an own web-dynpro-application.
It's all in one web dynpro project.
I have one URL to start my project with the data selection. When I select a data row from an ALV I push a button. Now a new window opens with a new URL (because of my second web-dynpro-application).
The windows and views use the same context and when I debug my coding, the needed PDF tables are filled. But my new browser window is still empty.
When I open my PDF in a sperate project, then I get my PDF-print.
What is wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.