Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all 1237 articles
Browse latest View live

Dynamic page length in Adobe Forms for paper roll printing

$
0
0

Hi gurus,

 

I have a requirement to create an invoice printout using a thermal printer with paper roll feed. Depending on the number of line items I have on my document the page could grow to an indefinite length. Is this something we could achieve using Adobe forms and ABAP?

 

Cheers,

Marc


Adobe form with 2 copies, different headers

$
0
0

Hi gurus,

 

I've created a form that needs to be printed in two copies. I want the header data (a simple text field) to be different each time. I wanted to see if this is possible with the following restrictions:

 

  • The printing program cannot be changed (so no calling of the adobe form FM twice)
  • Accomplish this without having to create a second master page (a copy of the first)

 

I was wondering if this can be done thru scripting, or that there's a variable that may tell how many copies have already been printed so an Alternative can be used...

 

Cheers,

Marc

What is the difference between ISR , PCR , HR processes?

$
0
0

Hello

 

What is the difference between ISR , PCR  , HR processes?

 

Rajendra

BOLD format for Partial table record in Adobe form?

$
0
0

I am having table data in my Adobe form output:

 

1. First record for INDIA

2. Second record for USA

3. Third record for UK

 

Above is table on Adobe layout with two fields and 3 records. First field is for number and second field is for text. This text is coming dynamically from table.

Now, my requirement is display above in below format -

 

1. First record for INDIA

2. Second record for USA

3. Third record for UK

 

Regards,

Naveen.I

How to move offline form from SAP dev to QA and Production environments?

$
0
0

I developed and Adobe Form that can be used offline - steps in development are as below:

 

1. Webservice generated out of a BAPI in SAP.

2. WSDL generated from SOAMANAGER transaction code and kept on a newtowrk folder

3. Used this WSDL to prepare the form in SAP WebDynpro view

4. generated the URL of the webservice per Dev / QA / Prod when the form is being generated out of the WebDynrpo app - function module ICM_SERVER_INFO (used here)

4. Placed a regular type button on the form and passed the URL on the click of the button

5. This worked fine in Dev system.

6. Now the transports are moved to QA. But click of the button was still pointing to the Dev system.

7. Realized that it is reading the Dev WSDL from the network drive - it still tries to submit to the dev url of the webservice

8. So generated the WSDL from SOAMANAGER fo QA and over wrote with the Dev WSDL files.

9. When I opent he Adobe Form in WebDypro in QA, it reads the new WSDLs and updates the correct URLs - I checked this in the XML of the source of the Adobe Form

10. here comes the problem - even though step 9 is done correctly, I can not save the form and activate it to reflect the new URLs - since QA is not open. Same procedure may need to be followed in case of Production also.

 

So the question is:

 

How to circumvent this issue of updating the WSDL and URL after the development transport is moved to QA and Prodcution?

 

Or - QA and Prod have to opened, WSDL and URl updated in change mode of form and a transport also created?

 

(seems to be a limitation)

(I looked a bit but did not get any pointers when I googled - may be my search is not correct).

 

Please advise.

 

Thanks,

Interactive Forms - Print orientation - ZPL

$
0
0

Hi,

i am going to create my first label on a zebra printer with adobe forms (LiveCycle-Designer 8.2). When i print the label with a portrait-format everything is fine.

In a special case the height of the label is about 2cm and the width is 10cm. So the masterpage automatically turns to landscape-format. The preview is ok but when i print on the zebra the label is rotated with 90 degrees.

I think the landscape-format changes the ZPL-code.

Has anybody experiences with this penomenon?

 

best regards

Frank Thomas

Embedded fonts in PDF

$
0
0

Hello

 

we need to embed our own font "Frutiger" in our AdobeForms.

 

I installed fonts (TTF) in the Adobe Directory already and

edited XFA.XCI File already but Fonts are not embedded.

 

I attached a screenshot of the File and the TTF Font.

 

Any ideas why this is not working ?


BR,

Sebastian

Client Side Signature of PDF in HTML Viewer returning the chnaged/signed PDF.

$
0
0

Hi,

 

I am generating a SFP PDF form which I then immediately save to a SAP PSRM Case.  I generate the PDF form 'fillable' and I have inserted a Signature Field in the form layout.

 

I have a requirement to save the signed form to the case once it has been signed.  This process should exclude saving the form to any application or presentation directories.

 

During the PSRM Case processing I can:

  • Successfully save the un-signed PDF to the Case
  • Successfully open the PDF via an HTML viewer
  • Successfully sign the PDF in the HTML viewer

 

The problem is when I return to the Case after the PDF has been signed I cannot save the signed PDF to the PSRM Case(SAP).

 

I am using the code below to display the un-signed PDF in the HTML Viewer

 

* Convert xstring to binary table to pass to the LOAD_DATA method

   CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'

     EXPORTING

       buffer     = g_pdf_content_in

     TABLES

       binary_tab = gt_data.

 

 

* Load the HTML

   CALL METHOD g_html_control->load_data(

     EXPORTING

       type                 = 'application'

       subtype              = 'pdf'

     IMPORTING

       assigned_url         = lv_url

     CHANGING

       data_table           = gt_data

     EXCEPTIONS

       dp_invalid_parameter = 1

       dp_error_general     = 2

       cntl_error           = 3

       OTHERS               = 4 ).

 

* Show it

   CALL METHOD g_html_control->show_url( url = lv_url

     in_place = 'X' ).


I assume that 'gt_data' would now represent the signed PDF? How do I convert 'gt_data' back to a PDF xstring? I have tried:

  •   FM 'SCMS_BINARY_TO_XSTRING'
  • Various Methods in Class 'CL_BCS_CONVERT'

 

All with no success.  Either it saves the un-signed PDF to the PSRM Case or the PDF cannot be viewed as it is corrupt.

 

Please help.

 

Warm Regards

 

Waheeb


Zebra ZPL II Commands e.g. ^PW in SIFbA ?

$
0
0

Hello.


 

we're using a smartform for label printing on a Zebra GK420T printer.

This works fine.

 


Now we had created a new SIFbA form with same functionality. But the

output is not satisfying, because the Zebra printer does not use the right

print width. So the output is displaced and shifted.

 

In the smartform we used ZPL II command '^PW304' to set the right

printwidth.


Is there a way to get this command working also for SIFbA by modifying the

azpl203.XDC File ?


And if so, where to put this command ?


Or are there other hints for designing labels with SIFbA on Zebra printers  ?

 

Thanks.

Sebastian Hockmann

Exception while applying Snote

$
0
0

Hi,

I am getting an exception while applying Snote 1364861.

 

ADS: SOAP Runtime Exception: CSoapExceptionTransport :(100101)

Message no. FPRUNX001

 

Please reply.

 

Regargs.

Digital Signature issue with Adobe Form

$
0
0

Dear members,

 

I have a Adobe Form in my current development which is having Digital Signature set and working fine.

 

When I have created a new Adobe Form, in which I am calling the same Digital Signature, I am getting below error -

 

  1. com.adobe.ProcessingException: Signature failure error detected while certifying a PDF for credential alias: DocumentCertification

 

Processing exception during a "Certify" operation.#Request start time: Mon May 26 16:16:45 BST 2014#com.adobe.ProcessingException: Signature failure error detected while certifying a PDF for credential alias: DocumentCertification##Specific error informat

 

Am I passing wrong parameters or missing something.

 

  fp_params-NODIALOG   = 'X'.
   fp_params-connection = 'ADS_HTTPS'.
   fp_params-getpdf     = 'X'.
   fp_params-dest       = ls_itcpo-tddest.
   fp_params-nodialog   = 'X'.


   fp_docparams-FILLABLE   = 'N'.


Its not an interactive form.


Any advice would be helpful.

 

Thank you.

 

Regards,

Arpit Varma.

DataMatrix Barcode with special separators

$
0
0

Hi all,

 

we have to create a new AdobeForm containing a DataMatrix barcode with the following special characters:

 

GS = group separator = hex 1D or decimal 29

RS = record separator = hex 1E or decimal 30

EOT = end of trnasmission = hex 4 or decimal 4

 

The content could be something like this (placeholders replaced by the special separator sign):

[)>RS06GS2K200612542GSP1068420081GSRSEOT

 

Please, can anybody tell me how to include these separators into my barcode data?

 

Thanks

Thorsten

Dynamic Data Matrix barcode on very small label

$
0
0

Hi

 

I am trying to create a dynamic (calculated) 2D barcode on a very small label, using Adobe LiveCycle Designer.

 

I have specified a Paper Forms Barcode, with Data Matrix symbology, with a unit width of 0.0133in. There will be a maximum of 14 ASCII characters in this barcode, derived from an XML datsource. The problem is that I cannot shrink this design element down to the approximate size of the generated barcode - there is a lot of white space around the barcode, and I cannot move the barcode outside the limits of the form to compensate.

 

Is printing such a small barcode on a very small form even possible in Adobe LiveCycle Designer? The final label may be around 0.5 inch wide by 0.25 inch high, and this is the off the shelf solution provided for printing from SAP Manufacturing Execution.

 

Thanks

 

Stuart

body page is not seen after printing

$
0
0

Hi

        i have created form in sfp. i executed the program pdf is coming correctly . but after click the print option only master page is coming. body page is not coming . what can i do ?

 

 

Thanks and regards

Ashok kumar

Digital Signature in PDF generated through SFP adobe forms

$
0
0

How to get the digital signature in PDF which is not an interactive but the system generated adobe forms. It will be really helpful, if you provide various way to achieve this.


How to print space as thousand seperator and comma as decimal seperator

$
0
0

Hi All,

 

I have requirement where I need to print the amounts with space as thousand seperator and comma as decimal seperator.

 

I have a field wrshb which is of type mhnd-wrshb. currently I am printing this. In the adobe layout I have declared this coloumn as Decimal field.

 

Now in the output it is printing as comma as thousand seperator and dot as decimal seperator.

 

For example ,currently the value is printing as 32,811.41

 

but I want the amount as 32 811,41

 

 

I have declared the variable as char16,  using write statement in the interface I moved the value from currency field to char field.

Then in debugging i checked the value comes as 32,811.41 and it goes to dump with teh reason-cannot interpret as a number.

 

Can anyone help me in fixing this?

 

 

Thanks and Regards,

Karthik Ganti.

Merge PDF documents into one PDF document

$
0
0

hi expets

 

I have got an question. I have several different PDFs.

Four main PDF and 20 PDFs which are ment as attachements.

 

Via ABAP code i would like to chose dynamicaly several of those attachement PDFs and merge them within one of the main forms.

 

So as result you will have one pdf which you can see in the print preview and send as one to the spool.

 

But is this possible?

 

Kindly hear from you!

 

Anton Pierhagen

Adobe Form Data Integration into SAP using RFC

$
0
0

Hi All,

 

I have created a Adobe Form, there is a button Called Submit ,On clicking that button  the Adobe form must call a RFC function Module and pass the data from the form to Function Module.

 

I have written the below code for the submit button but it is not working.Please Lemme know if u have any solutions..

 

Below is my code

 

//Submit this form to SAP using web services

  var webService = xfa.resolveNode("xfa.record.WEBSERVICE");

  xfa.host.messageBox ("test 3");

  var response = Net.SOAP.request(

  {

  cURL: webService.value,

  oRequest: {

  "urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET":{

  TIMESHEET: t_time_record,

  HEADTIME:  wa_head

  }

   },

  cContentType: "text/xml"

  });

  xfa.host.messageBox ("test 4");

  var success = response["urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET.Response"]["SUCCESS"];

  var response = response["urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET.Response"]["RESPONSE"];

 

  if (success == "X") {

  xfa.host.messageBox(response, "Response from SAP", 3);

  CONFIRMED.rawValue = "Yes";

  ConfirmedLogo.presence = "visible";

  for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) {

  var oFields = xfa.layout.pageContent(nPageCount, "field");

  var nNodesLength = oFields.length;

  for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) {

  oFields.item(nNodeCount).access = "readOnly";

  if (oFields.item(nNodeCount).border.fill.color.value == "255,0,0")

  oFields.item(nNodeCount).border.fill.color.value = "255,255,255";

  if (oFields.item(nNodeCount).ui.oneOfChild.className == "button") //Hide all buttons

  oFields.item(nNodeCount).presence = "hidden";

  }

  }

 

 

ZUPDATETIMESHEET is my Function Module.

t_time_record  and wa_head are the parameters being passed to the function Module.


Please lemme know if i have to do any settings and configurations also...

I have attached the entire code in the below file...


Thanks in Advance 

Required Script for Adobe Form

$
0
0

Hi experts,

 

    I required your urgent help for my development. I made a adobe form for customer ledger. Form is divided in 3 parts as shown in below image:

 

Form1.png


Header sub form will print on each page if form is more than one page. Then Body will grow to multiple page according data. Next is footer, it will print on last page (either last page is 1st or 4th page) positioned bottom. The problem is that in some situation. Like it prints Header, then prints body sub-form for open item. It grow according data. suppose that open item end on second page then footer should be placed on second page at bottom aligned. Footer sub-form is 2 inches( or 10-12 rows) in height. It should be checked that after end of body subform how much space is available. if there enough space for footer to be print then footer will print on same page other wise it will create one more page, at top of that page will print header sub-form and then at bottom aligned footer sub-form (there would be blank space between header and footer).

  How to do that. Your help would be appreciate.

Please reply asap.



Thanks and Regards

Piyush Kumar

amendment po adobe form

$
0
0

hi all well my issue is i want a sap adobe form for amendment po based on versions ....kindly suggest me.

Viewing all 1237 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>