on 09-07-2011 9:23 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.