Adobe form related example programs

hi
can i get few adobe form related example programs.
some standard predefined programs for reference.
it's urgent
regards
suman

U CAN CHECK WITH BC480* I RECENTLY RECIEVED TRAINING FROM SAP LABS
SO KINDLY CHECK THEM
REGARDS
DEVANAND

Similar Messages

  • Call XML Schema based Adobe form from ABAP Program

    Hi,
      I have a scenario where an online Interactive form is designed and its working fine. Now i have a requirement to call the same Adobe form from a report for viewing purpose. Since it is XML Schema based Interface, is it possible to call the same form instead of creating a new one with the same template? Because i tried to call the same Adobe form by passing the values and converting those to XML(By Creating Transformation). Then i converted the XML to XSTRING and passed to the Generated Function Module for Input paramter "/1bcdwb/docxml". This resulted in an error "com.adobe.ProcessingException: com.adobe.Processin".
    Please help me out in solving this and check the attachment for code.
    Thanks,
    Raj

    Hi,
    outputparams-NODIALOG   = 'X'.
    outputparams-PREVIEW     = 'X'.
    outputparams-dest = 'LP01'.  "give ur printer name.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = outputparams
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        OTHERS          = 5.
    and Now call the generated function module
    pass the following in docparams
    docparams-langu = 'E'.
    docparams-country = 'US'.
    and finally close the job.
    It should work.
    Please let me know if u need further details.
    Regards,
    sasi

  • Repitition of text in Adobe form.

    Hi,
    I am using a text field in adobe form.The content of the text field is getting extended  to the second page.But in the second page the content instead of following from the first page, starts repeating from the beginning of the first page.
    For example: If the content is of 10 lines and if 5 lines come in the first page, in the second page instead of the next 5 lines... the first 5 lines are repeated.
    The form is basically an interactive one . The form is called from CRM Web IC  which we have linked with a webservice.But I think that configuration has nothing to do with this problem. It has basically something to do with the properties of text field.
    I have checked 'Allow multiple lines' and 'Following Previous' and 'Continue filling parent' in the pagination tab.
    I am not using Web Dynpro.The driver program is in abap which calls the form and dispaly it in PDF format.

    Hi Sharadendu,
    First of all you need to put this question in Adobe Form related Forums.
    Problems can be many in this case.
    1: Overflow subform not selected.
    2: Some condition failing in the text or subform.
    3: Incorrect nesting of subforms.
    Mainly your problem will be with the subforms , so you need to croos check all the subforms which you have used to hold data.
    Regards,
    Sandeep Katoch

  • Adobe Form output cropped when sent directly from SAP to printer

    I have created an Adobe Form (not interactive) that looks perfectly OK when previewed in Adobe Acrobat viewer but when printed blank margins of 4-5 millimeters are applied on all 4 paper edges. The form was designed with a coloured frame around it but the margins effectively remove most of the frame. The form content is being cropped instead of being compressed inside the margins.
    The form has been created with LiveCycle Designer via SAP transaction SFP. I am generating the form from an ABAP program
    When the form is printed from the Adobe Acrobat viewer I have the option to set Page Scaling to 'Fit to Printable Area'. This makes the form content being compressed inside the blank margins and the coloured frame remains intact. If I leave the Page Scaling setting as 'None' the output is being cropped as described above.
    The real problem occurs when I want to print without previewing first. I need to do that since previewing enables the user to skip printing and the application must know if the form has been printed or not. I have so far found no way to make the printer print on the paper edges or fit the content to printable area. Is there some setting in the output parameters than handles this?
    Also there is a need for duplex printing when sending form directly to printer. On help.sap.com there is information about duplex print for SAPscript and Smartforms but nothing for Adobe Forms.
    Here is an excerpt of the ABAP code used for printing the Adobe Form:
      DATA: zs_outparams TYPE sfpoutputparams,
                 z_fmname     TYPE rs38l_fnam.
    Set some print parameters
      zs_outparams-nodialog = abap_true.        "No user dialog
      zs_outparams-device   = 'PRINTER'.          "Output device
      zs_outparams-dest     = z_pdest.              "Printer name
      zs_outparams-reqnew   = abap_true.        "New spool request
      zs_outparams-reqimm   = abap_true.        "Print immediately
    Open print job
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = zs_outparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Get FM name for form
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'Z_TEST_FORM'
        IMPORTING
          e_funcname = z_fmname.
    Call FM to print form
      CALL FUNCTION z_fmname
        EXPORTING
          i_header       = t_data_for_form
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Close print job
      CALL FUNCTION 'FP_JOB_CLOSE'
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        "Ignore
      ENDIF.
    Please advise on how to
    -  avoid the content cropping
    -  enable duplex print
    when sending Adobe forms directly to the printer
    Thanks very much!
    Bernt Evensen

    Thanks for your answer, Ramachandra!
    However I need some more specific information to solve this.
    Which printer layout settings are relevant for the handling of margins and duplex printing for Adobe Forms?
    I have not set up the printer myself but when talking to the printer guy which settings should I recommend him to look at?
    I can see in transaction SPAD that there are settings specific to SmartForms but there is nothing said about Adobe Forms. Is there some way to make Adobe Forms related setting appear in SPAD for a device type?
    Maybe my problem is not related to the printer device settings but rather to the way the printer is being called. When printing duplex we will have to override the default settings of the printer anyway.
    Function module FP_JOB_OPEN has a parameter structure of the type SFPOUTPUTPARAMS. Which fields in this parameter structure are to be manipulated to get duplex print and output fitted to page size?

  • How to use SAP Business Workflow along with Interactive Adobe Form

    Hi Experts,
    I am working on SAP Business Workflow since last couple of years.
    Now i have got a new Project where client wants to use SAP Business Workflow along with Interactive Adobe Form.
    I am new to Interactive Adobe Form and Portal thing and i really dont know from where to start.
    We have one central system and 2 local systems. when we do create a Material document using adobe form workflow should trigger and notification should go to group of users who can approve or reject it, once they approve it document gets created in central system and replicated to 2 local system through ALE.
    In the Local system they do extend the document to different plants, again workflow triggers and notification will go to Managers inbox for the approval.
    Once the final approval done data should go and store in SAP.
    Now here i have couple of Questions.
    1. In SAP R3 Business workflow when i execute the workitem from the inbox i do get the application screen ( i.e. MM01 MRP View ) , what is going to happen if the same case i have with Adobe form?? is it possible or do we have to design a adobe form and we will have to map the fields with backend application??
    2. Do i have to maintained 3 separate Org Structure for 3 different system or using UWL  i can manage the show
    3. Untill final submit is not done, where the application data is going to be, is there any kind of buffer that we will have to keep it or its there with XML file??
    Please help me out.
    Thanks in Advance.
    Regards,
    Manoj

    Hi Manoj,
    Welcome to ADOBE Forms related Workflow Development. Well, here are my answers.
    1) You can go for either go for ISR based development or WD development with Adobe form. In both the cases you can achieve your requirement. Yes, you will have to design the Adobe form and bind the fields to backend.
    2) Am not clear or your System landscape to advice you in these regards.
    3) Until final Submit/Approval is done, the data can be stored in WORKFLOW CONTAINERS or XML FORM(If you go for ISR based Development).
    Hope this helps.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Problem  in Adobe Form

    Hi,
    I have some problem in adobe form.................................
    I have to design  my adobe form in  ADOBE DESIGNER layout.
    and in the another end i have make my application programe in which i picke
    some data from the sap tables. now my problem is that how can i send the data in
    my adobe form from my programe  i want to print that data on the form.
    and always my programe is going to be  notresponding.

    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
          EXPORTING
            i_name     = 'Adobe form name'
          IMPORTING
            e_funcname = lv_funcname.
        IF sy-subrc = 0.
    u will get the fm name here.....
    use fb_job_open
        CALL FUNCTION 'FP_JOB_OPEN'
          CHANGING
            ie_outputparams = gs_output
          EXCEPTIONS
            cancel          = 1
            usage_error     = 2
            system_error    = 3
            internal_error  = 4
            OTHERS          = 5.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    CALL FUNCTION lv_funcname
          EXPORTING
            /1bcdwb/docparams  = gs_outputpara
            wa_data            = <> pass value here....as per u r requirement.(interface)
            PATH             = <>
          IMPORTING
            /1bcdwb/formoutput = ls_return
          EXCEPTIONS
            OTHERS             = 1.
                          FP_JOB_CLOSE
        CALL FUNCTION 'FP_JOB_CLOSE'
          IMPORTING
            e_result       = result
          EXCEPTIONS
            usage_error    = 1
            system_error   = 2
            internal_error = 3
            OTHERS         = 4.
        IF sy-subrc <> 0.
    regards
    Anbu B

  • Text in ADOBE form not printing while printing the form

    Hi All,
    I have created an adobe form and am trying to trigger an output linked to the form. The problem is that the output that gets triggered does not show some of the texts which are existing in the form.
    So although the values are coming correctly the overall output becomes incorrect as the text goes missing. Let me know if you have any pointers to the issue I am facing.
    Cheers,
    Sharadendu

    Hi Sharadendu,
    First of all you need to put this question in Adobe Form related Forums.
    Problems can be many in this case.
    1: Overflow subform not selected.
    2: Some condition failing in the text or subform.
    3: Incorrect nesting of subforms.
    Mainly your problem will be with the subforms , so you need to croos check all the subforms which you have used to hold data.
    Regards,
    Sandeep Katoch

  • How to specify textfields in Adobe forms.

    Hi experts,
    Can any one of you help me how to define text fields in Adobe forms
    For example: I have the name of the employee in a variable v_empname
    and now i  need to display it on the form
    so if i write it instead of displaying the value (ie: employee name) it is being displayed as it is (ie: ).
    If any one of u have worked on this. please tell me the procedure to add the text fields in adobe form
    thanks in advance.
    regards,
    Tulasi

    Hi ,
      Refer to the following Link
      http://****************/Tutorials/AdobeForms/index.htm
    It may be usefull.
    Regards,
    Jaya Vani

  • Reg Control Parameters of Adobe forms

    Hi,
       I am have a issue with adobe forms, the purchase order in me22n changing the values and saving the PO has to go as an PDF attachment to the Vendor mail . But it is not happening but the PO is Processed sucessfully. The vendor mail is checked and it is correct and the type of medium to the Output is External Send which is for the email. The form is copy of  Standard Adobe form and the program is also std copy of SAPFM06P. In the driver program is any coding is required for the controlling parameters of form so that mail will happens.
        Plz help me out in this issue.
    Regards,
    Narasimha

    Hi Narsimha,
    I think the standard program may not have functionality for sending mail .
    Check for nast-nacha value, see the code below
    CASE gs_nast-nacha.
        WHEN gc_nacha-external_send.
    *     Proccess communication type
          cs_outputparams-getpdf = gc_true.
          cv_device              = gc_device-email.
        WHEN gc_nacha-printer.
    *     Print
          cv_device                    = gc_device-printer.
        WHEN gc_nacha-fax.
    *     Fax
          cs_outputparams-getpdf       = gc_true.
          cv_device                    = gc_device-fax.
      ENDCASE.
    After fp_jobclose write these lines
    CASE lv_device.
        WHEN gc_device-fax
          OR gc_device-email.
    *  Code to send PDF file as mail attachment should be written within these lines
          PERFORM send_data using lv_pdffile.
      ENDCASE.
    The Driver Pr
    >
    Narasimhulu wrote:
    > Hi,
    >    I am have a issue with adobe forms, the purchase order in me22n changing the values and saving the PO has to go as an PDF attachment to the Vendor mail . But it is not happening but the PO is Processed sucessfully. The vendor mail is checked and it is correct and the type of medium to the Output is External Send which is for the email. The form is copy of  Standard Adobe form and the program is also std copy of SAPFM06P. In the driver program is any coding is required for the controlling parameters of form so that mail will happens.
    >
    >     Plz help me out in this issue.
    >
    >
    > Regards,
    > Narasimha

  • Call for adobe form is going for dump for multiple users

    hi,
    i am calling an adobe form in a program i.e. for multiple users. now my problem is.....
    3 people are using same tcode to generate the adobe form output for different data. but when they click at a time on the button to generate the adobe output, then adobe form is coming for only one user and it is going for dump for other users.
    and this dump is coming because of exception "CX_FP_API_INTERNAL" in funtion module FP_FUNCTION_MODULE_NAME which i am using to get the function module name of the adobe form in my program.
    can u please give me some solution to rectify this issue....

    That's nothing!
    An engineer and I contacted Adobe technical support by phone to ensure the PC I was having custom built was configured to its optimum. They advised XP64 as the best operating environment. After that discussion we had to completely revise procurement, etc to get the bits and compatible XP64 compatible software, putting the build project back a few weeks as well, Imagine how I laughed when I found out on one of these forums that XP64 is the worst choice and totally unsupported by CS4!
    I have written to Shantanu Narayen, Adobe CEO and didn't even get an acknowledgement I raised this last week on the Adobe stand at BVE and was told they'd get someone to contact me asap but guess what, niet...! To be fair there has been one Adobe executive that recognises the problem and the damage poor customer support is causing the company; he has been as helpful as he can. Unfortunately, it seems the overall Adobe culture at the top is "get the money and run". If your problem goes beyond what's already on their web pages, tough luck!
    Regards,
    Graham

  • Bill of Lading Adobe Forms..?

    Hi Gurus,
    We are working on adobe forms in my current project.
    Can anyone let me know if there is any adobe form related to Bill Of Lading ( VL02N ) or still smart form is the latest one available.
    Best Regards,
    Navin Fernandes.

    Hi,
    Could not find one either.
    I think smart form is latest.
    Best Regards,
    Navin Fernandes.

  • Fax output in Adobe forms

    Hello Gurus,
    I have requirement to send fax of an adobe form from my program. In FM "FP_JOB_OPEN", we have parameter "DEVICE" where we can give as "TELEFAX" and Other parameter is there where we can get the PDF i.e. through the parameter "GETPDF".
    But, Later am not understanding where to give the Fax Number n so on details....
    Please let me know how to proceed further.
    Thanks in advance.
    Regards,
    Usha

    Hi Nishikant Kumbhar ,
    Thanks for ur reply, Actually problem is where should I mention the Fax number (i.e. in some parameter we have mention).
    Here, we have different options to send.
    For Printer, We use the set of code.
                     Pass the parameters in OUT structure.
                     sample :
                                  out-device = 'PRINTER'         "  in case of Printer
                                  out-nodialog = 'X'.
                                  out-dest = par_priz.    " Normally for the printer, We specify the printer name
                                  out-reqnew = 'X'.
    out-reqimm = 'X'.
    out-reqdel = 'X'.
                                  out-reqfinal = 'X'.
    For EMail, We use the set of code.
                     Pass the parameters in OUT structure.
                     sample :
                                  out-device = 'MAIL''         "  in case of Printer
                                  out-nodialog = 'X'.
                                  out-getpdf = 'X'.              "It will return the PDF
    We will call FM FP_JOB_OPEN, Next Call Adobe Form Generated FM will return PDF , Next based on return PDF, we send the mail using FM "SO_NEW_DOCUMENT_ATT_SEND_API1".
    For Fax, Do we need to this set of code...  Confirm this.....
                     Pass the parameters in OUT structure.
                     sample :
                                  out-device = 'TELEFAX'         "  in case of Fax
                                  out-nodialog = 'X'.
                                  out-dest = par_priz.    " Normally for the printer, We specify the printer name but *                                                               now For Fax, where should I specify the Fax number.
                                  out-reqnew = 'X'.
    out-reqimm = 'X'.
    out-reqdel = 'X'.
                                  out-reqfinal = 'X'.
    But, here also, do I need to use any other FM where I can specify the Fax no's or any othre way to do...
    Please, Let me know about this...
    Thanks in advance.
    Reply,
    Usha

  • Adobe form to be sent as an attachment

    Hi All,
    I have requirement to send an adobe form through an email.
    Firstly I am allowing a user to choose a path to download an adobe form (here in program I am taking form name as a default form).
    Then I am calling FP_FUNCTION_MODULE_NAME and providing my default form as importing parameter. Then calling fp_job_open and generated func. module  and fp_job_close sequentially. Now after calling gui_dowload which func module do I need to use in order to send the above generated adobe form to user via an email.
    An early response is appreciated.

    Hi neelima,
    even more is discussed and shown in the fantastic e-learning session
    [create, send, receive, process pdf|https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/5087262b-59ef-2910-abb1-957000b7c3d4&overridelayout=true]
    and some code in the ppt:
    [powerpoint presentation for this|https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/e0bba346-cb84-2910-2aa9-ba1f8a1c8617&overridelayout=true]
    Sandra is right, search before posting.
    Regards,
    Clemens

  • Adobe Form (standard) how to set paper weight?

    We realized an Adobe Form related to deliveries. The form is printed on a paper with the weight of 160g (which is the double of a normal paper).
    When the printer settings are put correctly to 160g the print out releases an error message.
    Apparently the form message does commit a paper weight parameter to the printer. The missmatch (form: "normal" paper / printer: 160g) does release an error message. Where does the parameter for the paper weight in the Adobe Form can be found? Where can we change it?
    When we change the printer settings to normal paper the form is printed. But with a low printing quality due to the false settings.
    Printer is a RICOH Aficio SPC430DN.

    Hi Claudine,
    in the form itself you are able to set the specific paper. You should change it here to A4 Special and afterwards modify your XDC-File to this special output-format. To do this you may need someone of the basis-guys also.
    Paperformat must be located somewhere when you click on masterpage in your tree. I do not got a system available at the moment
    ~Florian

  • Adobe forms from scratch - Standard programs?

    Hi,
    I have just begun trying to implement Adobe forms from scratch at my company. Previosly we have used an external printing solution so I can't convert anything. My plan is to create a new output medium and let the users select the new type by themself. But I have a couple of questions:
    1. How do I create a new medium (Examples: Print output/Fax/Telex, as found in t-code NACT - Processing routines)
    2. I guess there are SAP standard printing programs, interfaces and forms, but I can't find them. I need to be able to print all the usual docs from orders, deliveries and invoices. All I have in NACT are old home-made (Z*) programs so if you know what SAP think we should use now, please let me know!
    We have ERP6 ehp4 on netweaver 7 ehp1 and I have created one "Adobe form" myself so I can confirm that it works. but I don't want to invent the wheel twice...
    Thanx in advance!
    Br Linus Hellsing

    Hi Linus,
    I was wondering if you had a moment to comment on an opportunity that I am having regarding Adobe forms development efforts?
    If so, please read on:
    Our offshore team has worked on a development effort to replace Smart Forms PO's and Contracts with Adobe forms. They created new output types for these Adobe forms. In testing I noticed that the only way I can get them to print - is if I go into Print Preview and print -or- use SP01 and click on the .pdf icon and print. In both cases it uses Adobe Acrobat to perform the actually printing.
    We cannot seem to get them to print using the normal SAP message utility. Our users would expect to continue to:
    1. Use the Messages button while in the PO document - and select the new output type along with Meduim= Printed Output...
    2. Then they select Further data button - to specify Send Immediately.
    3. Then they use the Communication Method tab and specify the Logical Destination (as LOCL) and click on the Check box for Print immediately.
    They get what appears to be an rambling of Adobe error lines followed by many blank pages....
    At this point I am not sure if the print program is working correctly - or if the problem is with Adobe Document Services?
    Have you ever encountered a situation like this during your Adobe development efforts?
    Any suggestions would be appreciated.
    Regards,
    Steve

Maybe you are looking for

  • Avoid inserting on hz_parties?

    Hi friends, [Apps R12] Is there any way to avoid interting record for a vendor in hz_parties while running "Supplier Open Interface Import" ? Thanks. Jose

  • Displaying Characteristics on every row in Report

    Hello, My report is as follows: Branch                   Date                       Amt                 Qty 100                        01/01/2009                  5                   1 (blank cell)             02/01/2009                   12         

  • Web compression

    So i have experimented with different compressions....but i would just like to hear what a professional would do. I have a 16:9 vid that i would like to host on my website at optimum quality. How would u compress this footage? Aaron

  • Add image to resourcebundle

    hi i am trying to embed a image in a resourcebundle. searching about this topic in the net always tells me to manage it by getting the path to the image from the resourcebundle. but i have read that its possible to store the real image in a resourceb

  • Remove partition key from partitoned table

    can somebody help me with a sql syntax to remove a partition key from a partiton table . The scenario is explained as follows: create table t1 (c1 number, c2 number ,c3 number) partition by range (c1, c2) (partition p1 values less than 11, partition