API to generate Form Interface
Hi,
Is there any API in ABAP using which i can generate a form interface? I know the ABAP structures that will be used in the form context. So, i want to generate the form interface programatically. Is this possible? If so, what are the APIs to be used?
Thanks in advance for the help.
Regards,
Ram
Just a clarification needed - Do you want to generate RTF Template using APIs or do you want to generate outputs (RTF, PDF etc) using APIs ?
BI Publisher provides Oracle Report Conversion Utility which creates RTF template from the RDF file/ RDF XML. However there is no generic API to create the RTF Template.
Similar Messages
-
I have been told that Oracle Designer Table API (Application
Programmer Interface) disables default functionality of querying
records in a Headstart generated form, due to limitations with
Designer. I am unable to find a bug number for this fault and was
wondering if you could please point me in the right direction.
Thank you
Afe Ogun
nullAfe,
The Oracle Designer Table API can be used as both the data target
(INS, UPD, DEL) and data source (QRY). You do this by setting
the data target and data source to 'Procedure' (instead of
table). When it is used as the data source, you cannot enter
query criteria in your form. You might want to use 'Procedure'
as your data target, but continue to use 'Table' or 'View' as
your data source. This is not a bug, but is just how the various
options work together. It also has nothing to do with
Headstart.
You might want to look into the Oracle Designer online help or
contact the Designer discussion group on Metalink.
Regards,
Lauri
Afe Ogun (guest) wrote:
: I have been told that Oracle Designer Table API (Application
: Programmer Interface) disables default functionality of
querying
: records in a Headstart generated form, due to limitations with
: Designer. I am unable to find a bug number for this fault and
was
: wondering if you could please point me in the right direction.
: Thank you
: Afe Ogun
null -
Re: Adobe forms - interface type
Hi...
When Iam creating the interface ... it is asking Description and
interface type as ABAPDictionary- Based interface
XML Scheme- Based Interface
Smartforms-Compatible interface... Have to select one option.. In some Examples I didnt see this interface type Option... what is the use of this interface type...
Thanks & Regards,
Abaper..hello again,
i tried to list all the things u need to know to create your interface:
1. Open the required interface in the Repository Browser of the ABAP Workbench.
2. The Interface tab is displayed. Under Form Interface, double-click the Import node
3. You see a screen for entering import parameters. This screen also shows the standard parameter /1BCDWB/DOCPARAMS. You cannot change this parameter.
You use this parameter in your application program, to specify the value for the language setting, for example. To display this structure in the ABAP Dictionary, double-click the SFPDOCPARAMS type.
4. XML schema-based interface
○ The standard parameter /1BCDWB/DOCXML with the type XSTRING is used for sending data from the application program.
ABAP-based or Smart-Forms-compatible interface
○ To insert a new line, choose Insert Line (This graphic is explained in the accompanying text). Enter the parameter names of the data you want to import. These names are valid for the whole form and do not have to match the variable names in the data collection program. All data types are valid. TYPE can be selected under Type Assignment.
5. When you double-click Export, you see the standard parameter /1BCDWB/FORMOUTPUT of the generated function module. You cannot change this parameter.
Note: You use this parameter in your application program, to make the generated form available as a PDF for further processing, for example.
6. To display the exceptions used by the generated function module, double-click Exceptions.
7. Activate the interface.
Note: At runtime, the application program must provide the parameters. If a parameter has been defined in the form, but is not defined when the application program is called, then the output of the form ends with the program crashing (hex dump).
However, it is also possible that the application program provides parameters that the form does not need. You do not need to mention these parameters in the form; they can also be specified in a different order from the code of the application program. This has the advantage that an application program can work with several different forms.
Hope this helps
Cheers -
API to generate an image of random letters?
Is there a free Java API for generating those images of random letters used to ensure that a human has submitted a web form?
I know it's not too hard to write from scratch, but I'd like to save myself the work :)it's called a "captcha", their site (captcha.org or something) will have links to implementations.
or google.. "java captcha implementation" .. -
Error while generating form 16 in portal - Screen output without connection
Dear Gurus,
We are facing error while generating form 16 through portal and getting the below error in portal.
Screen output without connection to user. error key: RFC_ERROR_SYSTEM_FAILURE
When we checked for dumps in R/3 the following dump is coming:
DYNPRO_SEND_IN_BACKGROUND with error message :
Message class : FPRUNX
Message number: 102: No job started.
Then we tried to execute the form 16 through R/3 itself using tcode PC00_M40_F16 after putting in the relevant values in the selection screen and then press on PRINT FORM button, but surprisingly the system logs out without giving any error or dump.
We tried doing it repeatedly and once in these attempts we got an error saying Initialization of font server module failed.
We are not getting clue as to why this is happening. <<Text removed>>
Regards
Edited by: Matt on Jul 27, 2011 9:50 AMDear,
This might be the problem of Adobe Acrobat Reader. what is the version of Adobe you are using ?? If it 9.0, then uninstall it and reinstall 8.0 and then check .
Could you please check your installed SAPGUI component? If component 'Engineering Client Viewer' is installed, please uninstall
it. And try to call same transaction again.
BR, Deepak -
Multi-record / spread table...moveable fields in designer generated form
Good morning all;
I hope you are doing good...
Imagine a multi-record block layout with it's overflow property set to spread-table to accomodate 10 varchar2(25) fields. Now, of the hundreds of users working with this generated form, not one of them wants to see the fields in the same order on the screen.
What i would like to do is generate the form from designer so that a user could 'drag'n drop' let say, field #10 to the field #2 spot on the screen. Something like windows explorer where you can move the 'Size' column around so it is viewable without having to use the spread-table bar at the bottom of the screen...
Any idea on how to generate this form from designer?
Thank you and wish me luck!I don't know a solution, but I think a solution could be easier found if it was a read-only block. You did not specify that. Then maybe you could dynamically change the query behind the block.
Good luck, Paul. -
Can we generate forms from different locations on same account?
We're thinking of subscribing for the unlimited forms plan. Would this plan allow us to generate forms (and receive reports) from various locations on the same account? Or would each location need its own account?
Thanks, MegHi Meg;
Depending on the roles each user needs to play, you could have one "Plus" membership that can have all of the "live" forms in it, that user could share forms and/or responses with the other users so they could collaborate in the editing and view responses and reports. The permissions in the form (ability to use paid features) are based on the form author, so the "Free" level users could use the paid features in these forms that were shared by the one Plus membership.
Here is some information on sharing forms: http://forums.adobe.com/docs/DOC-2462
Also some good gneral Quick Start guides and How To's: https://www.acrobat.com/formscentral/en/library/how-to-make-create-survey-or-form.html
In addition, if any of the free users were to create a form for the team they could export that form as a design file for the Plus member to import and then share. Since the free user can only create one form, but have unlimited shared with them, and since the form rights are from the author the Free user wouldn't want to share the form, but instead export it so that when the Plus user imports it they are the author and when it is shared the form would have the Plus level features (I hope that made sense).
As far as organization there are no folders in FormsCentral at this time.
Thanks,
Josh -
Error in generating form with 6i
I have installed designer 6i rel 2 with form developer 6i on NT
4.0.
When in design editor, I want to generate the form with generate
module, the system generate "CDR-21600: A running Generator or
Utility has failed."
Also in action column writes: " It is possible that the internal
cache is now in an inconsistent state. You are therefore
recommended to close and restart the application."
Could anyone tell me what is the problem and how to solve it.
thanksHere is an document which describes some known causes of CDR-
21600 errors. I hope it will help you.
PURPOSE
To describe some known causes of CDI-21600 errors and to
suggest possible solutions and workarounds.
SCOPE & APPLICATION
This note was written for users of Oracle Designer releases 2.1.x
and 6.0.
CDI-21600 errors occur most frequently during Design Capture and
when generating forms with the Forms and WebServer generators.
Investigating CDI-21600 errors
In Oracle Designer Release 2.1.2 and Release 6.0, this error has
the form:
CDI-21600 'A running generator or utility has failed'
The Release 2.1.1 error message was: 'Generator or Utility throw
an Exception'
The CDI-21600 error message means that the generator is hitting
an unhandled exception, also known as a GPF (general protection
fault). The CDI-21600 error masks the underlying exception error.
To see the real error do the following:
1. Go into the Registry Editor (REGEDIT).
2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
3. Set EXCEPT_HANDLING to 0 (by default it is 1).
Repeat the action that resulted in the error.
Known Causes of CDI-21600 Errors and Possible Solutions
Some of the reasons why CDI-21600 errors occur are listed below.
1. A common cause of CDI-21600 errors is failure to install the
necessary
Developer patches.
See [NOTE:64630.1] Developer Patches required to run
Designer with Developer
2. Check that Designer is running on a supported database. Also
check that the
TNS connection is correct.
See [NOTE:60705.1] Designer Certification Matrix (HTML)
3. Check for 'dangling' foreign keys, in other words FKs no longer
owned by any
table in the repository. Delete all invalid constraints.
Invalid constraints may be created if you use the repository
dump utility to
dump and restore external foreign keys referencing tables
shared into the
application system, without dumping and restoring the tables
that own them.
If you restore a complete dump (rather than a 'skeleton' one),
and then use
the 'Reconnect Share Links' option when restoring, you may be
able to
resolve this problem.
To get a complete list of 'dangling' constraints in your
repository, connect
using SQL*Plus and use the following query:
SELECT app.name, key.name
FROM ci_application_systems app, ci_constraints key
WHERE key.table_reference IS NULL
AND key.application_system_owned_by = app.id;
You can also run CKAZANAL.ANAL_REFERENCES on your
repository and delete all
the invalid constraints that it finds. You can run the Repository
Analyzer
from: Front Panel -> Repository Administration Utility -> Utilities.
NOTE: There may be inconsistencies in the repository that the
Repository
Analyzer cannot fix. You might solve such problems by
dropping all the
tables of your application, recreate them from the ERD,
then use the
DDT and recreate your modules.
[BUG:847190] CDI-21600 during forms generation: 'dangling'
foreign key
"Since the generator is running on a repository that contains
invalid
constraints and the Repository Analyzer solves the problem,
bug closed as
unfeasible to fix."
4. Check your modules for invalid or missing references such as
missing window
placements.
5. Try generating your module against default templates and
object libraries.
6. When capturing forms or libraries, try capturing the form or
library without
application logic, then capture the application logic on its own.
See [NOTE:1064690.6] CDI-21600 when capturing design of
form with
application logic
[BUG:757541] DESCAP: CDI-21600 error reported when
capturing with
application logic
Fixed In Ver: 6.0
[BUG:926383] Duplicate of [BUG:757541] This has been fixed in
2.1.2 patch
779559. However you would be advised to apply a later patch
such as 855635
which fixes more bugs in this area.
7. Make sure that all objects that are referenced by the form have
been
captured into the repository before capturing the form.
8. A CDI-21600 will occur if a lookup usage displays only one
column of
datatype DATE or if the column of datatype DATE is displayed
as the first
item in the block.
Workaround
Add more column usages to the lookup block and do not
display the DATE data
type column usage as the first item in the block.
9. [BUG:810472] CDI-21600 when 'Argument in Caller' is set
Fixed In Ver: 6.5.3.0
Workaround
Make sure that you have an argument in the called module that
is mapped to
the "Argument Passed Value" in the calling module. The only
way to get this
mapping back once the APV has the <Module Argument> label
is to delete it
and recreate it.
10. [BUG:801736] CDI-21600 on design capture of a form with
subclassed object
Fixed In Ver: 6.0.3.1.0 (backport)
Fixed In Ver: 6.5
You have an item that has been subclassed to an object.
Checking the Design
Capture option 'Capture Control Blocks' causes the CDI-21600
error. Uncheck
'Capture Control Blocks' and the problem does not occur. Open
the FMB in
Forms*Builder and look at Data Blocks -> Items. Break the link
to the
object, save the FMB, and the form will capture (similar to
[BUG:794872]).
Alternatively, ensure the link can be established.
11. [BUG:850436] CDI-21600 on generation of a form with template
having
subclassed object group
You try to generate a form out of Designer that uses a user-
defined
template. If a collection of objects in the template is grouped
into an
object group, dragged into the object library and then either
copied or
subclassed into a form, when the form is generated you get a
CDI-21600
error.
12. [BUG:822659] Module generation fails (CDI-21600) with multi-
column PK having
long prompt text
Fixed In Ver: 6.5.3.2
Module generation with multi-column primary key having long
prompt text
causes CDI-21600 with preference MSGSFT set.
Workaround
Shorten the prompt text of PKs may not be not applicable. You
may loose end
user information.
You may have the same problem with a mandatory compound
FK. CASEOFG tries to
generate a message '<P1> must be entered', where <P1>
contains all the
prompts of the bound items from the FK. If you reduce the
length of the
prompts, or set MSGSFT = NULL or WEDI = S or property
Mandatory?=No, it
works correctly.
13. [BUG:792542] Capturing application logic causes CDI-21600
(V2 style
triggers)
Fixed In Ver: 6.5.5
After removal of the v2 triggers, the form captures/merges OK
on 5.0.24.8,
provided patch 875027 has not been applied.
14. [BUG:790877] CDI-21600 if the primary/foreign keys have no
key components
Fixed In Ver: 6.5.11
Generating a module with tables having a primary key not
correctly defined
(no PK component) will cause a CDI-21600 error. This can
occur when
unloading a module from the RON. If you pick up the module
(and only the
module) in the unload set, the table and its PK are unloaded as
a skeleton.
Loading the .DAT file into a new application will create a PK
without a
component.
15. [BUG:771549] CDI-21600 if cannot connect to the DB with
connect string in
Options (Compile)
Fixed In Ver: 6.5.13
If you cannot connect to the DB with the connect string
specified in options
(Compile), the forms generator will fail with CDI-21600.
This problem occurs when you cannot connect to the DB
because:
- the username or password is wrong;
- or the SQL*Net alias is not defined in the TNSNAMES.ORA
file;
- or the SQL*Net listener is not started;
- or the DB is down.
16. [BUG:785106] CDI-21600 when generate master detail form
with preserve layout
[BUG:855812] is a duplicate of this bug.
Fixed In Ver: 5.0.24.6.0 (Bug:860426 Backport request for 2.1.2)
Fixed In Ver: 6.0
Fixed In Ver: 6.5.3
You have a master-detail Form with the Master having items
partly on a TAB
Canvas. Generate Module works OK. You enter Forms Builder
and move some
items on the tabs (just small changes, items are still on the
same tabs).
You change the look of the Detail and change Records
Displayed. Now in
Designer you generate the Module with Preserve Layout. You
get a CDI-21600
error. The problem might reproduce without doing any changes
in Forms
Builder, just by generating with Preserve Layout.
17. [BUG:891306] If primary key column of lookup in check
constraint comment of
base table
Fixed In Ver: 6.5.5
Workaround
Do not use the name of the bound item that is based on the
primary key
column of the lookup table in a check constraint comment of
the base table.
18. [BUG:896026] Forms gen throws assertion failure in
CVINI/BUILDACTIONITEM@/CV/CVI/CVIBNI.CPP
Fixed In Ver: 6.5.7
A problem is caused by a PL/SQL definition (function, package,
procedure)
being defined as a called module for the module you are trying
to generate.
To resolve the problem and enable the module to be generated,
remove all
Called Modules that are PL/SQL definitions (functions,
procedures or
packages).
See [NOTE:2107207.6] CDI-21600 during generation of module
or Assertion
Failure \cv\cvi\cvibni.cpp
19. [BUG:812333] CDI-21600 generating a web module after
adding an unbound item
Fixed In Ver: 6.5.3.0
Backport [BUG:1280667] raised to fix by 6.0.3.9
You add an unbound item (SQL expression) to a Web module.
When you try to
generate the module you get a CDI-21600 error. If you delete the
unbound
item the Web module generates correctly.
In a test case the problem occurred during validation of the
derivation
text, if the master module component was in a different module.
A workaround
was to rearrange module components so that this was not the
case.
20. [BUG:1627963] CCVDIAG::TRACEGENERATORMESSAGE
WHEN GENERATING INCORRECT
DERIVATION EXPRESSION
Message
CDR-21605: Failed while processing Module <mod> in function
CCVDiag::TraceGeneratorMessage BOF
Cause
The generator failed due to an unexpected error - the
error indicates the object the generator was processing
when it failed.
Helena -
Creating a Purchase Order Smart Form (Form Interface)
After reading up on all the posts about making a PO smart form I know this:
- An SAP script "medruck" is the current output
- A smartform exists for PO's named "/SMB40/MMPO_L" or "/SMB40/MMPO_A"
- You need to install an update to get those smartforms if you are using ECC 6.0
So my dilemma is that the SAP administrator is on vacation for a week, so I can't install the update to our system. I'm trying to just create it from scratch using the medruck SAP script as a reference, but I am a little confused.
Basically all I need to know is what form interface parameters do I pass in? Meaning how do I find out what structures and tables are imported into the function module when print preview is called from t-code ME22N? Can you please provide proper syntax for form interface solution or instructions on how to determine imported variables into the smartform?Hi
If the smartform purchase order is not available in your system
means you can download the form IDES and you can upload the form in ur ecc 6.0 system.we faced a similar kind of problem in our system and we did as i said.
Once you uploaded the things you can easily view the form interface and rest of the things related to smartforms.
Thanks and Regards
Arun Joseph -
Dear Experts
My client is using SAP ECC6 EHP4 and We recently updated the HR Service Pack to SAPK-60464INSAPHRCIN in order to apply the SAP Note 1829618 - PY-IN: Union Budget Changes for Year 2013.
After upgrading Service Pack we are getting the below error while generating Form-16.
Layout set HR_INF16_2012_B in language EN does not exist
How to resolve this issue
ThanksThis a Blunder from SAP. And this issue we are getting in almost all the client.
For this we have to download respective Form from Golder client 000 and upload again in our working client.
Better please raise an OSS message with SAP to provide you the steps.
Thanks & Regards
Rupesh Jain -
Error while generating forms library files
Hi,
I am trying to apply patch 7651091 as a prereq for 11845888, but it got failed with message
The following Oracle Forms objects did not generate successfully:
au resource JTFGDIAG.pll
au resource JTFSCGNT.pll
au resource JTF_GRID.pll
au resource ASTBOMAN.pll
au resource ASTRCINT.pll
au resource CSSRFND.pll
au resource CSSRTSK.pll
au resource APPCORE.pll
au resource APPDAYPK.pll
au resource FNDCONC.pll
au resource FNDSQF.pll
au resource CSSRISR.pll
au resource CSSRWKB.pll
au resource CSCSECPS.pll
au resource CSPPLPLN.pll
au resource CSPPLSPR.pll
au resource CSPTRREC.pll
au resource CSPTRVMO.pll
au resource CSUTILS.pll
au resource CSCCCCUS.pll
au resource CSCMNTPN.pll
au resource APPCORE2.pll
au resource APPFLDR.pll
au resource CSCSEDPN.pll
au resource CSCUTILS.pll
au resource CSCCCCRC.pll
au resource CUSTOM.pll
au resource FNDAPLT.pll
au resource FNDATTCH.pll
au resource VERT.pll
au resource VERT2.pll
au resource VERT3.pll
au resource APPTREE.pll
au resource VERT4.pll
au resource JTFTKMAN.pll
au resource VERT5.pll
au resource VERT1.pll
au resource JTFNOTES.pll
au resource OKCEXEVT.pll
au resource OKCKSRCH.pll
au resource OKCADART.pll
au resource OKSACTEV.pll
au resource OKCEXPOR.pll
au resource OKCTREE.pll
au resource OKSAUDET.pll
An error occurred while generating Oracle Forms library files.
Continue as if it were successful [No] :
I tried adadmin for generating form files, there also got error.
Document followed is 762891.1.
OS: hp ux Itanium
APP : 12.1.1
DB : 11.1.0.7
Please anyone help me out finding the solution.
Thanks
kumarHi;
Please see below thread, follow steps. If its not help please update thread
Oracle Forms didn't generate successfully INVOBGEN.pll, INVRSVFM.pll
Regard
Helios -
Error while generating forms from Designer 2000
Hi,
The following error was encountered while trying to generate forms from the Designer ( using Design Editor ) .
CDI-23564 : "C:\ORAWIN95\BIN\CF50G32.DLL" could not be loaded or does not exist . Please check that the product has been installed correctly .
But the specified dll actually exists in the specified path .
Pls clarify ( send mail to [email protected])
Thanks
Eugene Xavier
nullThis is from http://metalink.oracle.com/ site - Technical libraries - Oracle Designer - Collected CDI-21600 errors,fixes and workarounds:
The CDI-21600 error message means that the generator is hitting an unhandled
exception, also known as a GPF (general protection fault). The CDI-21600 error
masks the underlying exception error. To see the real error do the following:
1. Go into the Registry Editor (REGEDIT).
2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
3. Set EXCEPT_HANDLING to 0 (by default it is 1).
Repeat the action that resulted in the error.
I have read this article and it seems that there is not such bug, but ... ?
Maybe this will be a little help for you.
Helena -
Form interface import parameter cannot be used in smartform
Hi,
When I try to use the standard parameter HEADER in a routine in a smartform, I get the error: "HEADER" expected, not "...".
I have put the HEADER definition in the Input parameters of the routine and I have tried other form interface import parameters and I do not get any error with those. So I cannot see why HEADER woudl be any differnt?
Any suggestions? Thanks.Hi,
Thanks for your reply.
There's a smartform with this definition in the Import tab of the Form Interface:
HEADER TYPE BAPIBUS2000110_HEADER_DIS
I've created a Program Lines routine. In the Input Parameters under the General Attributes tab, I entered HEADER. This is so I can reference the table in the code. However if I do a syntax check, I get the error described "HEADER" expected, not "...".
Hope this clarifies the problem. -
PDF Form interfaces for invoice
Hi experts,
I`m implementing company forms (e.g. invoices) in PDF Forms. But I have found, that there are 2 form interfaces predefined for invoices
IS_U_BILL_IF
and
IS_U_BILL_PDF2_IF
Why there are 2 interfaces for invoice? I cannot find any references of use cases, when to use first or second one.
Thank you
VladoAs noted there has to be a special folder level script installed on each user's system. This script can be written to access individual properties of the identity object or only a specific property. One can also create a function to access the identity object or even create new properties.
-
SMARTFORMS - Change an import parameter in form interface
Hello everyone,
I don't know if it's possible, but I put some program lines in my smartform to clear some fields if the last page is not reached. The problem is that these fields are from a table that's stated as an import parameter in form interface, which means that data is taken from the program, right?
Am I able to clear these fields anyway? If so, which way?
In my code I'm comparing the systems fields sfsy-page and sfsy-formpages, if they're different I clear the fields, otherwise I don't, actually I did it because the conditions don't get the result as I wish. If I check "only after the end of main window" the whole table doesn't appear in my form and I don't want that.
PS: I didn't set this condition on table, I set it in the text.
Any ideas?
Thanks in Advance.Hi,
You can do one thing.....create an internal table in the smartform itself....transport those values in this table and display the fields using this table only.
Now if the last page is reached u can use the main table (that is imported from the program). This way the original data is not cleared.
I hope it helps.
Regards,
Shraddha
Maybe you are looking for
-
Posting Vendor Downpayment requests with input tax
Hi Gurus, I am trying to configure the down payment request for Vendor Payments, I want these down payment request to be posted so I un flagged the Noted Items check box and flagged the check box Commitments warnings check box and also I entered the
-
Why does the website display white blank pages only?
Hello: I use Firefox 13.0.1 on a Mac OS X, and I often go to www.wenxuecity.com for news. But, in the past couple of days, when I type in that address in the URL window, only a white blank page shows up. Nothing else! If I use Google to find direct l
-
Select LONG column into CLOB variable
Hi all, I am trying retrieve the data present in a LONG column into a CLOB variable. However I am getting an error, pls let me know how I can resolve it. DECLARE v_text CLOB; BEGIN SELECT TO_LOB(trigger_body) INTO v_text FROM user_triggers WHERE ROWN
-
Standard report appended image
Hi, I'm using XPsp2, LV 2011sp1, standard report, append image VI. The appended image appears at a low resolution (screen resolution?) when printed. Text is perfect. If i resize the image to a larger resolution (dpi) it resizes it to fit within the m
-
E-mail campaigns how to avoid being suspected for spamming
Hi, We plan to launch e-mail campaigns, but we fear that we may be tagged as a spammer. My best guess is to throttle down sapconnect for INT to max. 1.200 mails per hour that way the different ISP shouldn't tag us as a spammer. Have anyone of you had