Adobe form output different in QA and PRD for Currency field
Background:
I am using adobe form to display purchase order details using a output type.
I am displaying the field NETWR of the purchase order in the form.
For return orders this value is negative.
Problem:
In production system the value is displayed as 0. where as in QA the negative value gets displayed.
The version of the form is same in both the system.
Also I have speficied the Currency/quantity fields in the interface.
I did a bit of debugging and found that in the generated function module of the form there is a difference.
QA:
PERFORM %OUTPUT USING 'NETWR' %WORKAREA4-NETWR 'CURR' 'P' 'HEADER-WAERS' HEADER-WAERS ' '.
PRD:
PERFORM %OUTPUT USING 'NETWR' %WORKAREA4-NETWR 'CURR' ' ' 'HEADER-WAERS' HEADER-WAERS ' '.
You can see that the VALUE P (ABAP type for curr) is passed in QA but not in PRD.
I am not able to understand what causes this code change.
Has anybody come across this problem?
Note: I am using copy of MEDRUCK for the interface.
Thank you for posting your solution like a good community member! I was having the same problem and your post helped. Many Thanks
Similar Messages
-
Merging Smartform Output and Adobe Form Output in a single PDF File
Hi All,
My Requirement is as follows -
I have multiple Smartforms and a single Adobe Form.
I want to merge the Smartform Outputs and Adobe Form output in a single PDF.
I am able to merge multiple Smartform Output in a PDF , but not able to find any way to merge smartform and adobe form output as the Smartform output is in OTF Format and Adobe form output is in PDF Format itself.
I have tried few ways , but could not find any success.
Request you all to give me some direction to this problem.
Thanks & Regards
BhavikaKumar,
I am afraid this is not possible using SAP functionality. There are probably 3rd party tools which allow you to merge several PDFs into one, but SAP itself does not offer such a mechanism. There is an internal SAP function, though, which can merge several "parts" (=several PDFs) within an Adobe-created spool request into a single PDF, intended for downloading this PDF from SP01.
This is described in note 1717357.
Best regards,
Alexander -
Multiple Adobe Forms Output in single Adobe Form
Hi Experts,
When we login to portal a list of applications will be available in a table, each record contains details of the application. when we click on first field of any record in that table it will display one adobe form. Under the table i have a button print, suppose if i select some 5 records in the table and when i click that print button then all the 5 adobe forms output should display as a single adobe form with page breaks. I mean after completion of first adobe form output, the next adobe form output should start in a fresh page. i could able to display single adobe form but the problem is with multiple adobe forms output in single form. Any inputs will be greatly appreciated.
Regards,
VenkatHi,
The only way to solved your issue is to change your forms and give it all necessary information in several table . Like this you can manage break page depending of content.
For example, you form interface contains one header structure and a table of item . If you want to have several form into one result , change the interface by passing an internal table of header information . Then in the layout you have to use the different table to get the result you want .
Unfortunately there is no solution actually with AdObe Forms in SAP to merge several PDF into one .
Hope this help you.
Regards -
How to send adobe form output in mail as a attachment
i am get the adobe form output
how to attach in a mail ....
Regards
Anbu Bmy program is like this.............
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'YHRIN_WELCOME'
IMPORTING
e_funcname = lv_funcname
gs_output-nodialog = 'X'.
gs_output-preview = 'X'.
gs_output-getpdl = 'X'.
gs_output-getpdf = 'X'.
gs_output-dest = 'LP01'.
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.
DATA : gs_outputpara TYPE sfpdocparams.
DATA : ls_return TYPE fpformoutput .
gs_outputpara-langu = 'E'.
gs_outputpara-country = 'IN'.
CALL FUNCTION lv_funcname
EXPORTING
/1bcdwb/docparams = gs_outputpara
wa_data = wa_mail
IMPORTING
/1bcdwb/formoutput = ls_return
EXCEPTIONS
OTHERS = 1.
DATA lv_output TYPE sdokcntbins WITH HEADER LINE.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = ls_return-pdf "PDF file from function module
TABLES
binary_tab = lv_output .
*DATA : result TYPE sfpjoboutput WITH HEADER LINE .
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = result
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA : iv_len_in LIKE sood-objlen,
it_tline TYPE TABLE OF tline WITH HEADER LINE.
PERFORM pdf_file.
DATA: lt_imessage TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE,
lt_iattach TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE,
lt_ipacking_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
lt_ireceivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
lt_iattachment LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA : lt_record LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA : it_otf TYPE itcoo OCCURS 0 WITH HEADER LINE.
DATA: lv_email TYPE somlreci1-receiver
VALUE 'anbu.'.
PERFORM build_xls_data .
APPEND lt_iattach.
Populate message body text
CLEAR lt_imessage. REFRESH lt_imessage.
lt_imessage = 'Please find attached PDF file'.
APPEND lt_imessage.
Send file by email as .xls speadsheet
PERFORM send_email_with_xls TABLES lt_imessage
lt_iattach
USING lv_email
'PDF Attachment of an Employee'
'PDF'
'TestFileName'
'Employee Detail'.
Form BUILD_XLS_DATA
FORM build_xls_data .
DATA :lv_buffer TYPE string.
Convert PDF from 132 to 255.
LOOP AT it_tline.
Replacing space by ~
TRANSLATE it_tline USING ' ~'.
CONCATENATE lv_buffer it_tline INTO lv_buffer.
ENDLOOP.
replacing ~ by space
TRANSLATE lv_buffer USING '~'.
DO.
lt_record = lv_buffer.
Appending 255 characters as a record
APPEND lt_record.
SHIFT lv_buffer LEFT BY 255 PLACES.
IF lv_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
lt_iattach[] = lt_record[].
ENDFORM.
Form SEND_EMAIL_WITH_XLS
FORM send_email_with_xls TABLES pit_message
pit_attach
USING p_email
p_mtitle
p_format
p_filename
p_attdescription.
DATA: es_xdocdata LIKE sodocchgi1,
lv_xcnt TYPE i.
Fill the document data.
es_xdocdata-doc_size = 1.
Populate the subject/generic message attributes
es_xdocdata-obj_langu = sy-langu .
es_xdocdata-obj_name = 'SAPRPT' .
es_xdocdata-obj_descr = p_mtitle .
Fill the document data and get size of attachment
CLEAR es_xdocdata.
READ TABLE lt_iattach INDEX lv_xcnt.
es_xdocdata-doc_size =
( lv_xcnt - 1 ) * 255 + STRLEN( lt_iattach ).
es_xdocdata-obj_langu = sy-langu.
es_xdocdata-obj_name = 'SAPRPT'.
es_xdocdata-obj_descr = p_mtitle.
CLEAR lt_iattachment. REFRESH lt_iattachment.
lt_iattachment[] = pit_attach[].
Describe the body of the message
CLEAR lt_ipacking_list. REFRESH lt_ipacking_list.
lt_ipacking_list-transf_bin = space.
lt_ipacking_list-head_start = 1.
lt_ipacking_list-head_num = 0.
lt_ipacking_list-body_start = 1.
DESCRIBE TABLE lt_imessage LINES lt_ipacking_list-body_num.
lt_ipacking_list-doc_type = 'RAW'.
APPEND lt_ipacking_list.
Create attachment notification
lt_ipacking_list-transf_bin = 'X'.
lt_ipacking_list-head_start = 1.
lt_ipacking_list-head_num = 1.
lt_ipacking_list-body_start = 1.
DESCRIBE TABLE lt_iattachment LINES lt_ipacking_list-body_num.
lt_ipacking_list-doc_type = p_format.
lt_ipacking_list-obj_descr = p_attdescription.
lt_ipacking_list-obj_name = p_filename.
lt_ipacking_list-doc_size = lt_ipacking_list-body_num * 255.
APPEND lt_ipacking_list.
Add the recipients email address
CLEAR lt_ireceivers. REFRESH lt_ireceivers.
lt_ireceivers-receiver = p_email.
lt_ireceivers-rec_type = 'U'.
lt_ireceivers-com_type = 'INT'.
lt_ireceivers-notif_del = 'X'.
lt_ireceivers-notif_ndel = 'X'.
APPEND lt_ireceivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = es_xdocdata
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = lt_ipacking_list
contents_bin = lt_iattachment
CONTENTS_HEX = lv_output
contents_txt = lt_imessage
receivers = lt_ireceivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = '' AND RETURN.
ENDFORM. -
How to avoid printing a balnk page at the end in the Adobe form output
Hello Experts,
Can anyone please let me know as how to avoid/delete the blank page at the end of adobe form output.
I have a master page with header n footer and a body page seperate.
For ex.. I have 3 line items and i want each line item to be displayed in the new page. I am able to get this functionality . I have set the settings in the paginationb tab of the subform as
"after " Go to Next content Area" " but an extra page is getting printed at the end. 3 + 1 extra pages total. I want to avoid this blank page. I have checked the Allow page break with in content box but it is still not working.
Can someone guide me as how to solve this problem.
Any help is appreciated. Thanks in advance.
Regards,
Maheshhey mahesh,
this normally happens because of triggering a new page manually, what u would have done is that you would be checking for the new line item and when this condition is satisfied , you are triggering a new page , the reason for the last blank page is that the condition gets satisfied ( beacuse the line item number changes from the last line item no to initial or space).
This can be handled by doing the following
By knowing the number of line items by the following stmt.
describe table itab lines v_lines.
Now you have the value in v_lines.
use a counter in ur form and keep it increasing it by 1 ( say v_sno ) ie v_sno = v_sno + 1 in the loop of ur internal table.
ONLY WHEN V_LINES IS LESS THAN OR EQUAL TO V_SNO , TRIGGER THE NEW PAGE
this should be along with the condition which u have already put, ie when ever line item no changes
when both these conditions are satisfied , then only the new page will be triggered.
Hope it helps,
Reward if useful,
Regards,
KP. -
Can I color a line of "standard text" in adobe forms output?
Simple question: Can I color a line of "standard text" in adobe forms output?
My standard text (SO10) has multiple lines.
Can I make one of the lines red?
OllieHi Oliver,
I believe you standard text is a table type of TDLINES.
On the form you would display it with a table of 1 column 1 row with repeat row ticked.
Have the like below code on the fomr ready event of your table.
for(var i =0; i<this.Row1.nodes.length;i++)
if(i == 1){
this.Row1.Cell1.font.fill.color.value = "255,0,0";
this.Row1.xx.font.fill.color.value = "255,0,0";
Note: in my example I had a table with one row names Row1 and 2 fields cell1 type textbox, & xx as text / label.
If its like you have it in a text box with multiple entries, we need to spli the value such that 1st row is displayed in a text box whose parameters are by defeult set to font red, and rest of them to this text area.
If your procedure is table the code sud work, else let me know how you get data and how do you display it on the screen.
Cheers,
Sai -
Saving a adobe form Output to presentation server from webdynpro
Hi all
I have a webdynpro aplication, where on clicking a button I want one adobe form output to be downloaded
in pdf format to local server.
currently while clicking the button its calling the webdynpro application where pdf is integrated and its displayed
on the browser.
Instead of the display I want to download to presentation server on clicking of the same button ,
The layout type of the PDF component is ZCI Layout and interface is XML schema based interface.With an XML based interface it is going to be much easier to display the form and then download it. The user could choose the save from the Adobe Plug-In toolbar or you can get the XSTRING content of the PDF from the PDFSource Property of the InteractiveForm UI element. With the XSTRING you can then, start a download with this content. However PDFSource doesn't get populated until the InteractiveForm is visible on the screen.
If you want complete background rendering of the PDF, you would have to call the form interface and pass the data into it with the XML format. Function Module based form interfaces are really much better suited to background calls because of their nice, flat and ABAP structure based interfaces. -
To convert Smart Form output to PDF format and send it via email.
Hi Friends,
Could any one please tell me, how to convert the Smart Forms output to PDF format and send it via email to customer. If any one have the code, kindly mail me to [email protected]
Thanks & Regards,
JohnRefer the links -
how to convert smartform into pdf and send through mail
Smartform as PDF attachment to a mail.
smartform pdf and mail
smartform to pdf to mail
Regrads,
Amit
Reward all helpful replies. -
FB60 screen change layout different between DEV and PRD
Hi,
I'm having problem with transaction FB60. When i try to change the layout in PRD, in screen Edit System Setting, some of the field showing 0 length. For example in WBS element field, in DEV show length 24 but PRD show length 0. I try to compare the version but it is same (program & table structure - ACGL_ITEM). When I debug the program, found out that it will get the structure from sap internal c program call 'AB_GET_CX_DATA'. So, maybe this program version are different between DEV and PRD.
Anybody knows what is the cause of this problem? Or maybe somebody can tell me how to check sap internal c program.
Thank you very much.Yes. FB60 is Enter Vendor Invoice. In this screen you can see a table with column such as GL Acct, Debit/Credit, Amount in DC, Cost Center and others. You can add or remove some of the field using Table Setting and create Screen Variant. My problem is, the length of WBS Element and Profit Center field is 0. How to change the length.
I already searched in forum but I only found how to create screen variant.
Thanks. -
Adobe forms output not showing
Hi,
Iam working on ECC5.0 version.
i created adobe form after click on test button it will ask for output device.
i checked with all output device options but i did not see the output.
any configuration required for seeing the adobe forms output?
Regards,
SureshHi,
First question is do you have Adobe Document Services (ADS) in your system landscape? This is essential to generate output from adobe forms.
If your ADS is set up you can call function module FP_GET_LAST_ADS_ERRSTR after you call the generated form function module you will get the last error message from the ADS.
Regards,
Nick -
Is there a way for a form user to load graphics and text in same field?
I am aware that you can load text into a text field and graphics into an image field. However, I would like to load a document containing text and graphics (e.g., MS Word or RTF) into a single field on a PDF form. Is there any way to do this?
Paul,
I believe that the example of attaching a file that you have provided will solve the problem. I am using LiveCycle Designer, so using the code that is in your example should be no problem. The end-user will use Adobe Reader, so as you mentioned, I will use Acrobat to extend the features so that the form can be used by Reader.
Thanks so much for your help,
Daniel
From: pguerett <[email protected]>
To: Daniel Beinart <[email protected]>
Sent: Monday, April 25, 2011 3:03 PM
Subject: Re: Is there a way for a form user to load graphics and text in same field?
It is part of the PDF AcroForm side of things .....Are you using Reader or Acrobat to fill the form. If Reader then you will have to Reader Extend to make this work ....if Acrobat then you simply need to add some code. I have attached a sample that shows you how to do it if you want it.
Paul -
Bought Premier Elements 13 yesterday. EVERY time I try to open a set of clips with Editor, I am told I have to sign into my Adobe first. I do this and wait for several minutes for the password dialogue box to open, enter my password. then wait and wait until my pw is recognized. Accept agreement. Agreement screen disappears and I'm back where I started. Try to open video clips with editor again and get the same demand to log in. Please advise asap. thx
Oldcameraman
Please do not duplicate a thread. The threads are answered as soon as possible. We are not Adobe. Just user to user.
I have answered your most recent of the duplicates
Premier Elements 13 Organizer Works. Editor doesn't. Log in doesn't work
It is uncertain just how far we can go to help you since you do not appear to have Premiere Elements any
longer.Seems you demanded a refund from Adobe Chat, got it, and now are left with a non purchased program which I
am not sure can be used.
Duplicates tend to confuse the person asking the question as well as those attempting to reply. As I suggested in the
above mentioned thread, try to sort out your situation with Adobe via its Adobe Chat.
ATR -
Does Adobe Story Free have a Type and Template for Stageplay format and if so where do I click for it? In the Type button I could only find, Screenplay, TV script, AV script, Two column script, and other but nothing for Stageplay.
Does Adobe Story Free have a Type and Template for Stageplay format and if so where do I click for it? In the Type button I could only find, Screenplay, TV script, AV script, Two column script, and other but nothing for Stageplay.
-
Can we use Adobe Creative Suite (student version) CS4 and CS5 for commercial usage in Australia?
Can we use for commercial purposes while we are studying?
How about after we graduate?
Thank you.Check your regional S&T pages for specifics. Generally commercial usage is allowed during school and after graduating, but in some regions extra restrictions may apply if e.g. your software is subsidized by your government or the license owned by the school and you just "loaned" it.
Mylenium -
For abap-hr i need datatype and length for the fields which i selected
hi seniors,
I got one task for which i have to get the data type and length for the fields of a table in abap-hr. I am using dd03l table, but my team leader told me to not to use this. So, please anybody can help, i will be thankfull.
I have to select PA30 fields in which pernr and choic, subty and whatever i have selected the infotypes fields. If there is any function module to find data type and length or else any other table.
thanks,
sekhar.Hi,
Try using the Function Module "DDIF_FIELDINFO_GET". You can use this for fetching the complete details of a structure or, a specific field.
Input:->
TABNAME PA0001
FIELDNAME PERNR
Output:->
Check the DFIES_TAB it will contain all the details you need for the specific field.
Sample--->
CALL FUNCTION 'DDIF_FIELDINFO_GET'
EXPORTING
TABNAME = 'PA0001'
* FIELDNAME = ' '
* LANGU = SY-LANGU
* LFIELDNAME = ' '
* ALL_TYPES = ' '
* GROUP_NAMES = ' '
* UCLEN =
* DO_NOT_WRITE = ' '
* IMPORTING
* X030L_WA =
* DDOBJTYPE =
* DFIES_WA =
* LINES_DESCR =
TABLES
DFIES_TAB = MY_DFIES_TAB
* FIXED_VALUES =
* EXCEPTIONS
* NOT_FOUND = 1
* INTERNAL_ERROR = 2
* OTHERS = 3.
Hope this was of some help.
Best regards,
Sagar.
Maybe you are looking for
-
Can't install a stable Windows 7 on my Snow Leopard mid-2009 Macbook Pro via Botcamp
I just erased the whole disk with Disk Utility and re-installed a fresh version of Snow Leopard on my mid-2009 MacBook Pro with my original install disk and updated all the software. I then created a 400GB partition via Bootcamp Assistant for Windows
-
Reject Notifications not appearing in list
Hi Gurus, I've enabled AME's for payable Invoice approval. It is working fine but when any user reject the invoice then it is not sending any return reject notification to previous user who has submitted. Is there anything do I need to enable for tri
-
I run a complete variety of macs as a home network and am thinking of buying a new Airport principally so that I can use it as a server hub with the external drives I have (holding backups, photos, music etc). I'm quite happy setting up the network (
-
Changing page order within a file
Just suscribed to PDF Pack, can I change page order within a file? TIA
-
Routing sequences; what's the maximum?
Using the N type routing and Parallel sequences in SAP (Thru CA01), I see from the data element that we have 6 digit number for sequence (PLNFOLGE) ... Meaning that we can technically have a maximum of 9999999 sequence number in a routing. Have someo