Using API for handling subform...

Hi,
Could I use the LiveCycle in a desktop project???
I'm developing a small desktop application. This application read from the database and populate a PDF document. This PDF document has been developed by other company. The PDF document has many forms and they use a button to increment the field in the subform or duplicate the subform.
How could I populate the PDF document, incrementing the subform or fields according to the data in the database?
Is this possible using the LiveCycle API without the LiveCylce services?
Thanks for your help.

Try to cancel that second order from Order form.

Similar Messages

  • How to create Custom WEB ADI using API Only for both Dowload/Upload process

    I am able to create custom WEB ADI using API for upload process. I have written the following code to create custom WEB ADI using API for upload process.
    DECLARE
    v_application_id NUMBER:= 20003;
    v_object_code VARCHAR2(255):='WEBADI_API_DEM_17';
    v_int_user_name VARCHAR2(255):='WEBADI_API_DEM_17';
    v_language VARCHAR2(255):='US';
    v_source_lang VARCHAR2(255):='US';
    v_user_id NUMBER :=1345;
    v_integrator_code VARCHAR2(255);--:='WEBADI_API_DEM_17_INTG';
    v_param_list_code VARCHAR2(255);
    --v_interface_code  VARCHAR2(255);
    v_interface_code VARCHAR2(255);--:='WEBADI_API_DEM_17_INTF';
    p_layout_code VARCHAR2(255):='WEBADI_API_DEM_17_LAYOUT';
    V_MAPPING_CODE VARCHAR2(255);
    BEGIN
    BNE_INTEGRATOR_UTILS.CREATE_INTEGRATOR(P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_USER_NAME =>v_int_user_name,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_INTEGRATOR_CODE =>v_integrator_code);
    BNE_INTEGRATOR_UTILS.CREATE_INTERFACE_FOR_API (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_API_PACKAGE_NAME =>'XXDH_PRICE_LIST_POC_PKG',
    P_API_PROCEDURE_NAME =>'CREATE_PRICE_LIST',
    P_INTERFACE_USER_NAME =>'WEBADI_API_DEM_17',
    P_PARAM_LIST_NAME =>'WEBADI_API_DEM_17',
    P_API_TYPE =>'PROCEDURE',
    P_API_RETURN_TYPE =>NULL,
    P_UPLOAD_TYPE =>2,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANG =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_PARAM_LIST_CODE =>v_param_list_code,
    P_INTERFACE_CODE =>v_interface_code);
    BNE_INTEGRATOR_UTILS.CREATE_DEFAULT_LAYOUT
    (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_INTERFACE_CODE =>v_interface_code,
    P_USER_ID =>v_user_id,
    P_FORCE =>FALSE,
    P_ALL_COLUMNS =>TRUE,
    P_LAYOUT_CODE =>p_layout_code);
    BNE_CONTENT_UTILS.CREATE_CONTENT_COLS_FROM_VIEW (P_APPLICATION_ID =>v_application_id,
    P_CONTENT_CODE =>'WEBADI_API_DEM_17'||'_CNT',
    P_VIEW_NAME =>'XXDH_PRICE_LIST_POC_V',
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id);
    BNE_CONTENT_UTILS.CREATE_CONTENT_TO_API_MAP (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_CONTENT_CODE =>'WEBADI_API_DEM_17'||'_CNT',
    P_INTERFACE_CODE =>v_interface_code,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_MAPPING_CODE =>V_MAPPING_CODE);
    END;
    I need to know what are API we can use to create download+upload ADI? anyone has already prepared script....please share it it me. My email id - [email protected]
    Thanks

    Use FNDLOAD, it's the only way.
    There are 2 seperate scripts, 1 for the Integrator and 1 for Layout.
    FNDLOAD apps/<pw> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bneintegrator.lct <your name>.ldt BNE_INTEGRATORS INTEGRATOR_ASN="XXX" INTEGRATOR_CODE="<your code>"
    FNDLOAD apps/<pw> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnelay.lct <your name>.ldt BNE_LAYOUTS LAYOUT_ASN="XXX" LAYOUT_CODE="<your code>"
    Cheers
    Jeroen

  • How to use of API for Cancel Sales Orders

    Hi....
    I want to use API for Cancel Sales Orders. Plz give me advice how we can cancel orders. I know that there is procedure provide in ORACLE APPs (i.e. OE_ORDER_PUB.process_order). But in this procedure i know the how to create and update sales order, but how to Cancel order with the use of this API.
    Plz send me soultion as soon as possible. ITS VERY VERY URGENT BASE.
    Thanks in Advance.

    Hi all,
    We are importing Sales Orders on 11.5.9 using OE_Order_PUB.Process_Order API .We have supplied most of the mandatory fields and the same data works from the front end. When we use the API it throws a Ora 20001.
    A snapshot of the error message.
    SQL> exec pk_process_object.process_order('1o');
    Message Count is :2
    Message is RA-20001: User in Package OE_Header_Util Procedure Get_Order_Number
    Message is :User-Defined Exception in Package OE_Header_Util Procedure
    Pre_Write_Process
    Return Status is ErrorU
    PL/SQL procedure successfully completed.
    --------------------------------------------------------------------------------------------

  • Converting a file to pdf using API

    I am using APIs for converting a word document into pdf file. I added 2 jar files adobe-convertpdf-client and adobe-generatepdf-client in my application and tried to convert a word document into pdf format. For this requirement should i have install livecycle, application server, Database etc. Can it be done using a java console application by using these jar files. If so Can anyone give me a sample code?

    Since cfdocument can render HTML, you may easily convert JPG
    to PDF, using
    <cfdocument format="PDF">
    <img src="myphoto.jpg" alt="my photo">
    </cfdocument>
    However, converting DOC to PDF or PPT to PDF with Coldfusion
    is not currently possible. DOC and PPT have proprietary MS Office
    formatting that is foreign to Coldfusion.

  • Need syntax for remap tablespaces for  Import datapump using API

    Good day all,
    I am not able to find an example for remap_tablespaces for import datapump using API. I am not able to perform the import as it complains it doesnt have grant to the exported tables's tablespace. I created a new user with new table spaces associated with it to import tables and other objects.
    I have remap_schema in API procedure but not remap_tablesapce. Could you please tell me how to accomplish it.
    Thanks a lot.
    Maggie

    Hi Maggie,
    The other parameter is 'OBJECT_TYPE'
    so you could have
    DBMS_DATAPUMP.METADATA_REMAP (handle => k1, name => 'REMAP_TABLESPACE', OLD_VALUE =>'+ORIGINAL_TABLESPACE_NAME+', VALUE =>'+NEW_TABLESPACE_NAME+',OBJECT_TYPE=>'TABLE');The full list of options from the oracle docs is suposedly this:
    TABLE, INDEX, ROLLBACK_SEGMENT, MATERIALIZED_VIEW, MATERIALIZED_VIEW_LOG,TABLE_SPACE
    ref http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_datpmp.htm#i1007115
    As for an example with table - here is one i did which also includes remap_data - you can ignore that part - the rest of the code shows you how to do a table level export based on a list of tables returned from a SQL query.
    http://dbaharrison.blogspot.de/2013/04/dbmsdatapump-with-remapdata.html
    Cheers,
    Harry

  • Using API in product master for Compliance

    Hello,
    in product master for Compliance, in the tab re-export, the field PredHWShr (Predifined Hardware value) can be uploaded with an API according to the online help
    Does anybody has experience by using API in GTS? or for this specific upload? or can give some guidelines on using it?
    thanks
    Assen Lozanov

    Hi Assen,
    The API is simply a remote-enabled Function Module that can be called externally in order to transfer data to or from the GTS system.
    In this case, GTS Function Module /SAPSLL/API_PRODUCT_REEXP_MSS is provided for the purpose of uploading Product data for the re-export scenario.  You call it (probably from a SAP ERP system) with the Logical System, Value Type, and an optional log name, together with a table of re-export data.  GTS will then create or update the re-export data for the included Products.
    I hope that helps.
    Regards,
    Dave

  • How to start to work on MDM JAVA API by using webdynpro for java

    Hi all
    I have basic idea on MDM business package thru portal by using standard iViews.
    now i am planning to work on MDM JAVA APIs by using Webdynpro for Java as UI.
    1) can you please share the required documents on the same. how to start working on this by using MDM JAVA APIs in webdynpro for java
    2) what are the JARs files are required and how to integrate those jar files into webdynpro for java application.
    3)  is there any SDN help on MDM JAVA API with webdynpro for java? . can you please send the link on the same.
    4) can you please help by providing sample code on how to use JAVA APIs for retrieving,deleting,inserting and Updating the data in the database.
    if anybody helps on the same then it is the great help to me.
    points are always rewardable...
    Regards
    Suresh babu

    Hi Suresh,
    You can have the MDM JAVA API javadocs from the link
    http://help.sap.com/javadocs/MDM/SP06P2/index.html
    There you can see a package named com.sap.mdm.examples.The classes in it contains some examples using which you can start understanding the code.
    You need to have MDM JAR files for it. And these JAR files to be used at build time can be added to the project thru :-
    Right click on project-> properties->Java Build Path - > Add external JARs
    At run time you can add them the reference in
    Right click on project-> properties->web dynpro references->library reference.
    Thanks
    Namrata

  • Image not displayed in pdf generated using Java API for Forms service

    Hi,
    I am creating a pdf document using Java API for Forms Service.
    I am able to generate the pdf but the images are not visible in the generated pdf.
    The image relative path is coming in the xml as defined below. The images are stored dynamically in the Livecycle repository each time a request is fired with unique name before the xml is generated.
    <imageURI xfa:contentType="image/png" href="../Images/logo.png"></imageURI>
    Not sure if I need to specify specify specific URI values that are required to render a form with image.
    The same thing is working when I generate pdf document using Java API for Output Service.
    As, I need to generate interactive form, I have to use Forms service to generate pdfs.
    Any help will be highly appreciated.
    Thanks.

    Below is the code snippet:
                //Create a FormsServiceClient object
                FormsServiceClient formsClient = new FormsServiceClient(myFactory);
                //Specify URI values that are required to render a form
                URLSpec uriValues = new URLSpec();
                                  // Template location contains the whole rpository path for the form
                uriValues.setContentRootURI(templateLocation);
               // The base URL where form resources such as images and scripts are located.  Whole Image path is passed in BaseUrl in the http format.
                      String baseLocation = repositoryPath.concat(serviceName).concat(imagesPath);   
                                  uriValues.setBaseURL(baseLocation);                                        
                // Set run-time options using a PDFFormRenderSpec instance
                PDFFormRenderSpec pdfFormRenderSpec = new PDFFormRenderSpec();
                pdfFormRenderSpec.setCacheEnabled(new Boolean(true));           
                pdfFormRenderSpec.setAcrobatVersion(com.adobe.livecycle.formsservice.client.AcrobatVersio n.Acrobat_8);
                                  //Invoke the renderPDFForm method and write the
                //results to a client web browser
                String tempTemplateName =templateName;
                FormsResult formOut = formsClient.renderPDFForm(tempTemplateName,
                                              inXMDataTransformed,pdfFormRenderSpec,uriValues,null);
                //Create a Document object that stores form data
                Document outputDocument = formOut.getOutputContent();
                InputStream inputStream = outputDocument.getInputStream();

  • How to use the API for DATE, MONTH  AND YEAR

    I would like to use the java api in .util.calender in the java api to get the date.
    How to implement the API for the "DATE","MONTH","YEAR" which are available provide by java?
    can someone give me in one complete code?

    From the Java Developers Almanac 1.4:
        Calendar cal = new GregorianCalendar();
        // Get the components of the date
        int era = cal.get(Calendar.ERA);               // 0=BC, 1=AD
        int year = cal.get(Calendar.YEAR);             // 2002
        int month = cal.get(Calendar.MONTH);           // 0=Jan, 1=Feb, ...
        int day = cal.get(Calendar.DAY_OF_MONTH);      // 1...
        int dayOfWeek = cal.get(Calendar.DAY_OF_WEEK); // 1=Sunday, 2=Monday, ...

  • Using AIA for Error Handling. Logging and Notification Services

    hi,
    In our project we usie OSB and BPEL for integrating different applications.
    There is a suggestion that we should use AIA to just use the Error Handling, Logging and Notification services from AIA. I am not sure about this use case, as most of these services mentioned can be replicated in BPEL. Except for the AIAAsyncExceptionHandling BPEL process, i guess all other functionalties provided by AIA can be easily developed in BPEL or OSB alone.
    However, would like to hear from you guys about this particular use case. Is it advisable?

    Hi,
    It's an issue with 10.1.3.4 OBIEE. (whem using IBM LDAP)
    References
    BUG:7363517 - INTERNAL BI FAILURE ON STARTUP
    They issue can be resolved by setting LD_PRELOAD=/path/libibmldap.so
    Here are the steps:
    . sa-init.sh
    export LD_PRELOAD=/path/libibmldap.so

  • How to get a organization name for a particular user using API's

    Hi alll,
    How to get a organization name for a particular user using API's

    You need to do something like this:
    SearchCriteria criteria = new SearchCriteria("User Login", "XELSYSADM", SearchCriteria.Operator.EQUAL);
                   UserManager usrService = oimClient.getService(UserManager.class);
                   Set<String> retAttrs = new HashSet<String>();
                   retAttrs.add(UserManagerConstants.AttributeName.USER_ORGANIZATION.getId());
                   List<oracle.iam.identity.usermgmt.vo.User> users = usrService.search(criteria, retAttrs, null);
                   System.out.println("ORG KEY :: " + users.get(0).getAttribute("act_key"));

  • Database package for handling SQL queries using JDBC/ODBC bridge

    I perform a package using J2ME which can stores the contact.It consisting of the fascilities of the editing,Inserting, Deleting,Updating records
    i have write import statements as
    import javax.microedition.midlet*;
    import javax.microedition.lcdui.*;
    but when i write import java.sql.* error message shown AS this package does not exist.
    So for J2ME using J2ME wireless toolkit 2.5 cldc which package i want to import to implement the sql statements i implement the Database using the text Files.
    Requirement is that all SQL statements are implemented.also Which other equivalent packages are there for handling the databases in J2ME.
    Please tell me all the package & Answer of the above problem.

    Hey
    I was told that I can (through Java code) read all the registered DSNs and that way basically modify my application to populate it with a list of databases in the system and then when the user clicks on a database, the program would function as before...i.e. read the list of tables with it..yadda yadda yadda
    Can anyone guide me on how to do that? read a list of DSNs in the system etc

  • How can I get (using API) the current sort column for some report

    hello,
    How can I get (using API) the current sort column for some report ? For example something like "fsp_sort_1_desc" - if the user sorts by the first column ?
    I cannot use the :REQUEST for this, sometimes the current sort column is not in the :REQUEST, but it is still active.
    I thought it was posssible by using
    APEX_UTIL.GET_PREFERENCE (
    p_preference IN VARCHAR2 DEFAULT NULL,
    p_user IN VARCHAR2 DEFAULT V('USER'))
    RETURN VARCHAR2;
    function, but I don't really know which preference should I pass as parameter.
    looking in WWV_FLOW_PREFERENCES$, i saw preferences_names like FSP4000_P527_R6281510839654570_SORT , I'm not sure how this name is formed.
    I'm using generic columns for that complex report (which has a flexible number of columns shown), and the idea is that sometimes I have to overwrite that sort column, in case the user chose the version of the report with fewer columns than the previous one.
    Can I get (using API) a list of all preferences set for some user ?
    Thank you,

    seems that it is FSP<app_number>P<pagenumber>R<regionnumber>_SORT.
    is there anyplace where I can get these kind of things documented ?
    Thank you.

  • Using API mbean for HTTP Logging - WebServerLogMBean

    I have been trying to configure http logging using API MBEANS. For some reason, the values are not being passed along.
    I am using WLST to call a .py to configure the values. For the general logging, it works without issue.
    Also, along the same format, how can logging be adjusted for the admin logs.
    Version WL: 10
    ****SCRIPT*****
    import weblogic.management.configuration.LogMBean as LogMBean
    import weblogic.management.configuration.WebServerLogMBean as WebServerLogMBean
    # This section creates the Log MBean and configures it for log rotation.
    create(managedServerName, 'Log')
    cd('Log/' + managedServerName)
    cmo.setRotationType(LogMBean.TIME)
    cmo.setFileName('logs/' + managedServerName + '.log')
    cmo.setFileCount(25)
    # This section creates the WebServer Log MBean and configures it for log rotation. HTTP LOGGING
    cmo.setRotationType(WebServerLogMBean.TIME)
    cmo.setFileCount(15)
    cmo.setLogFileFormat(extend)
    cmo.setELFFields("c-ip date time cs-method cs-uri sc-status bytes time-taken")
    *****END OF SCRIPT*****
    Any help is appreciated.
    Edited by woodalla at 06/09/2008 11:25 AM

    Can you provide more info on what the problem is? What do you mean by
    the values are not being passed along?
    Andrew Woodall wrote:
    I have been trying to configure http logging using API MBEANS. For some reason, the values are not being passed along.
    I am using WLST to call a .py to configure the values. For the general logging, it works without issue.
    Also, along the same format, how can logging be adjusted for the admin logs..
    Version WL: 10
    ****SCRIPT*****
    import weblogic.management.configuration.LogMBean as LogMBean
    import weblogic.management.configuration.WebServerLogMBean as WebServerLogMBean
    # This section creates the Log MBean and configures it for log rotation.
    create(managedServerName, 'Log')
    cd('Log/' + managedServerName)
    cmo.setRotationType(LogMBean.TIME)
    cmo.setFileName('logs/' + managedServerName + '.log')
    cmo.setFileCount(25)
    # This section creates the WebServer Log MBean and configures it for log rotation. HTTP LOGGING
    cmo.setRotationType(WebServerLogMBean.TIME)
    cmo.setFileCount(15)
    cmo.setLogFileFormat(extend)
    cmo.setELFFields("c-ip date time cs-method cs-uri sc-status bytes time-taken")
    *****END OF SCRIPT*****
    Any help is appreciated.
    Edited by woodalla at 06/09/2008 11:25 AM

  • How to use java api for function activity in embed oracle workflow?

    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

    The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

Maybe you are looking for

  • Ipod connected but wont show up on itunes.

    I bought an ipod but my computer couldnt work it so I gave it to my mate to put songs on from his computer. Now i have a computer that can put songs on but itunes wont recognize my pod thus not letting me put songs on.I was also wondering how to put

  • How to generate xml-file for SAP Fiori (UI add-on) with Solution Manager 7.0.1?

    Hello Guru, could you please help with my issue with Fiori Installation. We want to install SAP Fiori Front-End (GW+UI) on the Sandbox system with SAP Netweaver 7.3.1. (SP14) Gateway component (SAP GW CORE 200 SP10) was installed without any problems

  • Overset text in Mac InDesign

    I am producing a 32-page theatre program. I try to make a PDF of it and it says three pages have overset text. I cannot find any overset text, though. Can anyone help? Thanks.

  • Wireless Killer n1525 driver ath10k

    Hello, I bought a new laptop last week, and has for wireless card killer n1525. After some research I found out that this card has this chipset https://wikidevi.com/wiki/Qualcomm_Athe - ss-AC_1525 WI1 chip1: Qualcomm Atheros QCA6174 and I need the ne

  • How does "Forms Table Test" work?

    Hey guys, I want to use a "forms table test" on the order management lines form, but it doesn't show any reaction. In which forms do I use table forms test? best regards dewi