on 08-16-2010 7:02 AM
Hi.
I am developing a adobe forms which has 3 internal tables
1 u2013 header table
2- multiple lines item table
3 u2013 multiple lines item table
I want to pass the above 3 internal table to Adobe forms and print it.
how to do it.
Hi everyone,
I've quite the same problem. I need to import a table into my interfacewitch is a TYPE TABLE OF vbeln, but in the import section I can't have anything but TYPE.
What can I do ?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
I am developing a adobe forms which has 3 internal tables
1 u2013 multiple lines table
2- multiple lines item table
3 u2013 multiple lines item table
I want to pass the above 3 internal table to Adobe forms and print it.
Also the data records can be many in each internal table.
I want to display the contents one after other.
How to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank u
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Guys, guys, why don´t you search for a tutorial and follow that one?
For example this one: Offline scenario tutorial (data there and back): http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf806...
first half is relevant for your requirement.
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
I have a similar requirment, however the data I need to pass is not from standard table. it is from a custom internal table, is there anyway that I can pass a internal table with custom structure?
Thanks,
Gopi
Edited by: Gopi Karuturi on Sep 7, 2010 7:46 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In response to your question about custom internal tables, the answer is "yes". The way you do this is by using the "Types" section of the SFP transaction for your interface (remember there is an interface part and a form part of building the Adobe form).
While in the "Types" section of the interface you could declare something like this:
TYPES:
BEGIN OF my_structure,
field1 TYPE char20,
field2 TYPE char01,
field3 TYPE string,
field3 TYPE vbeln,
.
.
.
END OF my_structure,
my_tab TYPE STANDARD TABLE OF my_structure.
The "my_tab" is now a custom table type which can be used in the interface in the "Global Data" section.
If you need to be able to pass a custom internal table to the Adobe interface from your print program then you will want to create a custom table type in the data dictionary first (through SE11). Once your custom table type is in the data dictionary it will be globally visible and useable anywhere. If you just need a temporary, custom table to use in your interface (and it is not used or necessary in your print program) then you don't need to create the data dictionary part of this, it can just be done as described in the code example above.
Hope this helps.
In order to pass tables from your print program to the Adobe interface and then on to the form context you need to use table types. There are table types for most SAP structures already setup in SAP (i.e., VBAK_T for the VBAK table, VBAP_T for the VBAP table).
If you use table types your form will recognize the import parameters as tables instead of structures.
For example, let's assume you have three tables you want to use in your adobe form and the three tables are from the following SAP structures:
VBAK
VBAP
LIPS
in your Adobe interface you would setup the following import parameters
IM_HEADER TYPE VBAK_T
IM_DETAIL1 TYPE VBAP_T
IM_DETAIL2 TYPE TAB_LIPS
These will then be available to your form context as tables.
I original wrote a more detailed explanation but there appears to be a limit on the amount of text you can type into a reply before you loose the text formatting and everything starts running together. If this doesn't answer your question, post back with additional specifics on problem areas you're trying to resolve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.