Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I generate Adobe form with text object of ID - IMAD?

former_member569581
Discoverer
0 Kudos

I have to display images and texts which are stored in STXH table with object ID IMAD in an Adobe form. When I tried this, I'm getting ABAP runtime error.

4 REPLIES 4

matt
Active Contributor

Please provide more detail. What runtime error are you getting. Exactly how are you "trying this" - what are you doing precisely.

former_member569581
Discoverer
0 Kudos

I want to print image and text both in adobe form at the same time. The alignment will be maintained in an SO10 object with text id 'IMAD'. The form has to take the content from SO10 object and print the form with the same alignment. The content can be text or image or combination of both.

Note: When I use only text, with object id 'ST', the procedure is working good, and I'm getting the desired adobe form printed. When I include image to that, it's generating run time error.

Run time error - exception raised and not captured.

matt
Active Contributor
0 Kudos

Still not enough detail.

Where is the run time error occuring?

former_member569581
Discoverer
0 Kudos

When I'm executing the adobe form in T-code SFP, I'm getting this run time error.

It says.....

The exception 'CX_SXML_STATE_ERROR' was raised, but it was not caught anywhere along the call hierarchy.
Since exceptions represent error situations and this error was not adequately responded to, the running ABAP program 'CL_SXML_WRITER================CP' has to be terminated.

The run time error occurs in.....

class : CL_SXML_WRITER
Interface : IF_SXML_WRITER~WRITE_VALUE