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.
How can I use these parameters?
I've never done this before.
No I have the problem, that I don't get the data from the selection into my PDF. The data from the context is empty because of the new session, I think.
Can you help me to get the data from the selection into the new browser window?
Regards, Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Generate the URL with one parameter as identifier.
Use it as inbound parameter of window default plug.
With this, you need to retrieve the data newly from the database, because as you said, the context is empty.
Other possibility, without reloading data from database, you need server side cookies.
In there you save the whole data as e.g. table. But therefore, check forum again, for examples.
| 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.