cancel
Showing results for 
Search instead for 
Did you mean: 

Pdf form with mulitple forms inside

Former Member
0 Kudos

Hi

I am working on a strange requirement. I have a selection screen in WD ABAP application and employee id is one of the selection parameter. When a user selects multiple employees BAPI gives WD employee headers and each Employee's transactional data in separate tables. Now requirement is something to get all of this data in a single PDF which will have employee header and Employee's transactional data followed by page break and same block should start for next employee.

Employee 1 Header

Employee Transactional data Table 1

Employee 2 Header

Employee Transactional data Table 2

.

.

.

and so till the last employee.

Please suggest if that;s possible in PDF and if yes how should I proceed.

Thanks

Umang

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

This is the rough idea on how to achieve what you want.

You would need these:-

- a nested structure/ table type to store the header and transaction data (Either define in DDIC or Form Interface).

e.g.:

structure: s_trans

fieldX

fieldY

table type: t_trans for structure: s_trans

structure: s_header

fieldA

fieldB

t_trans

table type: t_header for structure: s_header

- on the form, a conditional breaking is needed, so that for each new employee record, page break will happen.

(Tutorial conditional breaking: http://www.saptechnical.com/Tutorials/AdobeForms/Break/Index.htm)

Good luck.

Former Member
0 Kudos

Hi ,

Thanks for your response. I have created following structure.

Node A

Pernr

Address (Table type PA0006) .

When I tried to include I get following information message

Types that are not supported were found generating the schema

and When I navigate to form builder I get following structure where pernr is not available.

Node A

Address (Table type PA0006)

Please suggest if I have mistaken some point while creating interface nodes.

Regards

Umang

Former Member
0 Kudos

try creating then using a table type instead.