on 03-13-2014 10:53 AM
Dear Experts,
There is a requirement where i have to add an image in an existing Adobe form which is called by a driver program.
I have uploaded a bitmap black and white image in MIME repository named 'SEAL'.
After a lot of R & D , i have found out that
two variables of type string and xstring have to be created in the interface
and a graphic node of type graphic content has to be created in context with a field from form interface and MIME type 'bmp'.
I have to create an image field object in the form.
I have following queries :
How to use the two variables ?
How to bind image field and the variables in the form?
What code is required and do i have to write it in code initialization or the driver program ?
I'm totally confused ;
A step by step solution will really be helpful.
Thanks in advance,
Got it
One of my seniors helped me to solve the issue.
2 variables to be declared in interface - global data with types string and xstring,
a small code to be added in code initialization,
a graphic node to be added of type graphic content in the form context,
an image field created in the design view/master page of pdf form with binding,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
seal_string = 'image/bmp'.
DATA: lv_logoname1 TYPE TDOBNAME.
lv_logoname1 = 'VWSEAL'.
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = 'GRAPHICS'
p_name = lv_logoname1
p_id = 'BMAP'
p_btype = 'BMON'
RECEIVING
p_bmp = seal_xstring
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
Hi Jay,
You can convert the image to string and in the adobe forms you can bind the string with the image. Go through this link , it is not the actual solution for your requirement but still you can have a look at how to bind the string with the image field in adobe forms.(Refer the 5th image).
Refer this thread too.
Regards
Anoop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jay,
If you use the 'Graphic Reference' option then it would be a lot less work to insert your graphic. See the help link below describing the two options:
SAP Library - SAP Interactive Forms by Adobe
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.