Problem with the cover page of the fax output...
Hi,
I used SO_DOCUMENT_SEND_API1 to send the sapscript thru fax...
I need to have the subject of the fax with values coming from the internal table...
However, my knowledge is that the subject of the fax is part of the document_data importing parameter of the FM...
Now the subject of output only shows the latest entry from the internal table and not every entry...
Thanks a lot!
Clear x_document_data.
loop at i_document_data into x_document_data
WHERE obj_descr is NOT INITIAL.
endloop.
CLEAR i_objpack-transf_bin.
Pack to main body.
i_objpack-doc_type = c_raw. "'RAW'.
APPEND i_objpack.
Pack to PDF.
i_objpack-transf_bin = c_x.
i_objpack-body_start = 1.
i_objpack-body_num = v_righe_attachment.
i_objpack-doc_type = c_pdf. "'PDF'
i_objpack-obj_name = c_test. "'TEST'
i_objpack-doc_size = v_righe_attachment * 255.
APPEND i_objpack.
CLEAR i_reclist.
*For fax receivers.
v_fax_recipient-rec_fax = v_fax_number.
v_fax_recipient-rec_state = v_country.
ASSIGN v_fax_recipient TO <fs_receiver> CASTING.
i_reclist-receiver = <fs_receiver>.
i_reclist-com_type = c_fax. "'FAX'
i_reclist-rec_type = c_f. "'Fax'
APPEND i_reclist.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = x_document_data
commit_work = c_x
IMPORTING
sent_to_all = v_sent_all
TABLES
packing_list = i_objpack
contents_bin = i_objbin
receivers = i_reclist
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.
Hi Jotsaroop,
Its standard code. I didn't write any code here.
DATA: current TYPE REF TO if_bol_bo_property_access.
DATA: dref TYPE REF TO data.
value =
'value not bound'."#EC NOTEXT
if iterator is bound.
current = iterator->get_current( ).
else.
current = collection_wrapper->get_current( ).
endif.
TRY.
TRY.
dref = current->get_property( 'SP_PHNO' ). "#EC NOTEXT
CATCH cx_crm_cic_parameter_error.
ENDTRY.
CATCH cx_sy_ref_is_initial cx_sy_move_cast_error
cx_crm_genil_model_error.
RETURN.
ENDTRY.
IF dref IS NOT BOUND.
value = 'CUST/SP_PHNO not bound'."#EC NOTEXT
RETURN.
ENDIF.
TRY.
value = if_bsp_model_util~convert_to_string( data_ref = dref
attribute_path = attribute_path ).
CATCH cx_bsp_conv_illegal_ref.
FIELD-SYMBOLS: <l_data> type DATA.
assign dref->* to <l_data>.
* please implement here some BO specific handler coding
* conversion of currency/quantity field failed caused by missing
* unit relation
* Coding sample:
* provide currency, decimals, and reference type
* value = cl_bsp_utility=>make_string(
* value = <l_data>
* reference_value = c_currency
* num_decimals = decimals
* reference_type = reference_type
value = '-CURR/QUANT REF DATA MISSING-'.
CATCH cx_root.
value = '-CONVERSION FAILED-'. "#EC NOTEXT
ENDTRY.
Similar Messages
-
How do i get a folio to default to the cover page when the app is closed and reopened.
The folio i'm making is for a 'show and tell' sort of thing, it needs to be quite linear so has top start from the cover every time it's opened and then be read through. I know it's as easy as just using nav to return to cover but the people i'm making this for have 0 knowledge and 0 willingness to learn therefore i'd like the folio to reset to the cover page whenever the content viewer is closed and reopened.
I had it working on a previous iteration but on my latest version it remembers what page i'm on when I reopen the viewer (logical and handy I know but not in this instance).
Any help would be greatly appreciated.There is no way to do this automatically.
Neil -
Problem with a blank page at the end.
Hi,
I have a report. That comes up with a blank page at the end of the report when the report generates the output in the report builder. Also in pdf file.
It was created by somebody earlier... and i need to fix this bug.
Any solutions..?
Thanks in advance.
KK
Message was edited by:
KK28Hi
there are a number of hits on Metalink for this...
Subject: Extra Page Shown At The End Of A Web Report
Doc ID: Note:172426.1 Type: PROBLEM
Last Revision Date: 04-JAN-2005 Status: ARCHIVED
* fact: Oracle Reports Developer 6.0.5
* fact: Solaris Operating System (SPARC)
* fact: Microsoft Internet Explorer
* fact: Adobe Acrobat
* fact: OAS
* symptom: Extra Page Displayed At The End Of A Report Viewed on the Web
* symptom: Only happens on one report
* symptom: Using Times New Roman
* symptom: Client/Server configuration works successfully
* change: Report originally created for client/server application was moved to a web application without making any coding changes in the report.
* cause: Bug 1386820 : HTML GENERATED ON NT AND UNIX IS DIFFERENT. ADDITIONAL BLANK LINES ON UNIX
fix:
Use the Report Builder on Unix to make fine adjustments in the layout to
improve the HTML output.
-----x------------------
Subject: How to set the number of rows per page dynamically in a report
Doc ID: Note:122714.1 Type: SCRIPT
Last Revision Date: 07-NOV-2000 Status: PUBLISHED
PURPOSE
This article shows how to set the number of rows per page dynamically according
to the user parameter specified.
INSTRUCTIONS
Follow these steps:
1. In the Object Navigator under Data Model-->User Parameters, create an user
parameter P_1 -- this parameter specifies the number of rows you want to
print per page
datatype: number.
2. In the Data Model Editor, create the query and the layout according to your
requirements.
Let's assume that we have the following:
Q_1: Select empno, deptno ename from emp
order by deptno, ename
G_1 has the columns empno, deptno, ename
3. In the Data Model Editor, create the following summary columns:
CS_numrow will be numbering the rows within the detail group
(created within G_1).
Set the following parameters:
Name: CS_numrow
Function: count
Source: <any column that does not accept nulls> for instance, empno
Reset at: Report
CS_total_rows will calculate the total of rows retrieved
(created at the report level)
Set the following parameters:
Name: CS_total_rows
Function: count
Source: <any column that does not accept nulls> for instance, empno
Reset at: Report
4. In the Layout Model Editor, create a Group Frame M_1 within the repeating
frame, below the fields empno, deptno, and ename. You may have to stretch
the existing frames to be able to fit this in.
F_enmpno F_deptno F_ename
--------------------------------------------- <<<< create the group
frame here
5. Set the properties for the Group Frame M_1 as follows:
Print condition: First
Object: Enclosing Object
Sizing:
Vertical: variable
Horizontal: fixed
Check the box "Page Break before".
6. Create a Format trigger for this frame M_1 as follows:
function M_1FormatTrigger return boolean is
/* prints until a row number is product of P_1 */
/* if row number is 5 and P_1 = 5, MOD is 0 */
/* then it prints the frame, doing a page break */
begin
if :CS_total_rows <> :CS_numrow then -- avoiding blank page at the end
if mod(:CS_numrow,:P_1) = 0 then
return (TRUE);
else
return(false);
end if;
else
return (false);
end if;
end;
NOTE: This assumes that the report is tabular. If you have a break group, this
logic can be applied for the detail group.
REFERENCES
Information in this article was taken from Oracle Sample Code @ Repository
Entry #956. In order to request the binary (rdf file or .sql script), please
log a TAR via Metalink requesting Oracle Sample Code #956
CAUTION
The sample program in this article is provided for educational purposes only
and is NOT supported by Oracle Support Services. It has been tested
internally, however, and works as documented. We do not guarantee that it
will work for you, so be sure to test it in your environment before relying
on it.
-------x-------------
the list goes on...
Hope this helps -
Can the Cover Page be the Initial View?
Hi everyone. A student of mine has an excellent question--how can you make sure that the Cover Sheet of a PDF package is the first thing the user sees? I just naturally assumed it would be, but it turns out that it's not.
Is it something you can set in the Initial View and if yes, how?
thanks!Eva,
I don't work with packages, but you should be able to set the opening page in the Initial View properties (acc. to Acrobat user guide). This typically defaults to page 1 (as defined by the Acrobat window), but in some pre-8 versions of Acrobat, working w/Word files, I recall that the setting would be sometimes change to another page (without human intervention - a bug for sure). That was working with PDF files, not packages, but perhaps the same issue exists.
For a package, can't you select File > Properties, then in Doc. Properties dialog box, aren't there Initial View options? If so, under Layout and Magnification, don't you find the Open to Page option?
If this isn't the case, others who work w/packages will need to chime in. Make sure you specify which version/type of Acrobat you have and which operating system. --GMc -
i photo, I was viewing a book in slideshow mode and it froze on the cover page. I let the computer battery die out but when I powered up again the screen is frozen on the 1st page of the book. if I F3 it allows me to see a few other screens but if I click on them I am back to the frozen cover page again.
You should really read the manual.
"How do you restore from backup? "
Restore. When given the choice, choose to use backup.
"And how can I check to see if the pics and videos are on my computer somewhere first??"
They would only be where you put them. What program did you use to import them? Pics/vids taken with ipod are not part of the sync process at all. You should be importing them just as you would with any digital camera.
If you did not import them, then they are not on your computer. -
I am trying to create a poster - in Keynote - transferring it to PDF then to JPEG so I can print it - and while I like the background in this Keynote theme (leather book) I can't seem to remove the artwork that is positioned between the two text boxes. Does anyone know how??? Can it even be done?
I somehow ended up on creating a new master slide. I can FINALLY access the artwork - it has a box around it of x's - but I can't seem to do anything. Delete doesn't work. Trying to shrink the box doesn't work. I'm not getting a dialog box when I click on it that is specific to the x'ed area. It pertains to the full background page. I'm obviously missing something - the fact that I have never been in Keynote before may have something to do with it! :-)
-
Hiya, I've got a weird problem with my iPhone4. On the 'home page' of my iPhone the mail symbol tells me there's a new mail waiting for me. However, there's no new mail to be found. Does anyone know what the problem is? Thanks
This response is a little late as I just read about your problem. I have a 2012 Dodge Charger and a 2012 Chrysler Town and Country and both worked flawlessly with the iPhone 5s my wife and I had. However, we just upgraded to the iPhone 6 and Uconnect will receive calls but you cannot answer them. You can callout successfully, however. the annoyance being the inability to answer incoming calls in the HandsFree mode.
-
How to create multiple cover pages following the text
Hello everyone,
I have a such difficult problem on pages : I would like to create multiple cover pages, and I want these pages to follow the text. I will to explain this a little better.
I have to write a really long report. I need to divide it in some "sections" (I'm not sure that's the same meaning that in the software) and each section would start by a kind of cover page with a fullpage photo and a title in textbox. Let's see it with a capture :
My problem is that I would like this page to follow the text. Because on the previous page, I have a table of contents which is evolving and taking more and pages each time. And the problem is that my "cover page" isnot moving to stay after the table of contents, it's the table which is continuing after it. So I have a first part before the cover page and a second part after the cover page. I would like all the text to stay before.
Thank you in advance for any replies
Evan Peuvergne, HeticUse anchored images at the beginning of each section.
You will need to initially make it smaller so you can position the image and the TextBox (make this second so it is higher in the stack) set a page break, then enlarge the image and Textbox to suit.
If they are anchored (Move with Text) they will maintain ther position in the document.
Turn off Text wrap on both your image and the Title. Insert a Page Break after the Title Textbox anchor on the page to move the following text to the next page of the section.
Peter -
When converting word to pdf the cover page of my documet gets page number 1.On the original the number pages start from the second page.How to keep the original format?
Michael's reponse is correct. However, as far as I knew, OFFICE 2007 came with printer metrics turned off, meaning it is not supposed to be sensitive to the printer selection. The setting is buried in the options list for compatibility. If it is turned off and a change in printer does affect the result, it would appear just one more of the many things in OFFICE 2007 that MS messed up. The latest one for me has been helping students with the messed up equation editor when you want to add equation numbers in a "standard" way. One of the MS employees even wrote a workaround macro for that problem.
-
Is it possible to ignore the cover page of a document when viewing two pages at a time.
when viewing a document with two pages up at a time, I want to ignore the very first page/cover page in the document so that all subsequent pages line up correctly. I can't find how to do this, is it possible. I cannot extract or delete the first page b/c the document is protected. I don't want to modify the document in any way. This document is a catalog that has information spread across two pages. So, when the cover page is included in the two page scroll viewing option, all the corresponding pages are offset by one page. I want the cover page to be at the top, by itself and the rest of the pages to show side by side.
Show - Page Display - tick Show Cover Page in Two Page View.
On Fri, Aug 15, 2014 at 4:55 PM, lost in acrobat <[email protected]> -
I am developing a website with nested iframes. The problem that I am having is that the html page inside the nested iframe is not displaying in the iframe window in Firefox only. The first level iframe is behaving properly, but the second level is not. Any help with this would be greatly appreciated.
Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
http://forums.mozillazine.org/viewforum.php?f=25 <br />
You'll need to register and login to be able to post in that forum. -
All I see is the front page of the pdf. It does not download the full file. It works with Amazon
Try to clear the cache and the cookies from sites that cause problems.
* "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
* "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
See also http://kb.mozillazine.org/Error_loading_websites - "Error_loading_some_websites" -
is anyone experiencing problems with opening mission control from the desktop. Running mountain lion with parallels 7 and windows 7
I had been having a similar problem on Lion with Safari pdf files despite downloading the latest Adobe Reader XI.
I would constantly get the same messages - There was an error opening this document. The file is damaged and could not be repaired. And I would get a blank page when I tried to print the pdf if I tried printing from the Safari web page using File - Print from the top toolbar on my laptop.
Then I came across the grey Safari lozenge with action icons.
This allowed me, without downloading the pdf, to print the pdf file direct from the Safari page by using the Print icon on the grey lozenge that appears centrally three quarters down the screen.
Then I discovered that if I save the pdf using the Save icon from this same grey lozenge on the Safari page I can open and print this pdf version from my desktop.
I've tested it with a couple of different pdf files and these methods work using the grey lozenge icons but the same pdfs files don't work using File - Save As on the Tool Bar. -
How to hide the cover page when printing ?
Dear all,
I would like to change printings option for the report S_ALR_87013611.
I would like to hide the cover page (with parameter) when printing.
How can I do that ?
Thanks for your help
Best regardsHi,
Do you mean the part of the report, which contains the report name, selection date, controlling area,
Fiscal year, and other selection data?
If yes, then you could proceed as follows: As the 1SIP-001 (S_ALR_87013611) is a standard report, please copy this report with name in the customer naming range and then delete the title page from the copied report as follows:
1. Call GRR2, in the library 1VK place the cursor on report 1SIP-001 and click on the icon 'Copy'
2. In the 'To report' field enter (for example) ZSIP-001 and press 'Enter'
3. Now double-click on ZSIP-001 to enter the report definition.
4. Under 'Extras' -> 'Report texts' -> 'Title page' call the title page.
5. Choose 'Text' -> 'Delete' and the title page lines are removed.
6. Click on the 'Save' icon to save this.
7. Assign the report to a new report group by choosing 'Environment'
-> 'Assign report group' from the menu and enter ZSIP in the popup,
confirming the next popup that the report group should be created.
Now call txn GR55 and execute report group ZSIP with your selection
criteria and follow the steps to print the report:
- click 'printer icon' - mouseover text 'Print (ctrl+P)'
- click OK with dot in 'current report'
- click OK with dot in 'Print formatted report (page length 59)
- on print parameter screen in menu, blank the 'SAP cover page' field.
Regards,
Greta -
hi have the ipod touch and having issue with the reminders app. do not have the reminders page just the completed page
The problem has been fixed with the most recent OS X software update.
Maybe you are looking for
-
I am unable to activate my iPhone 3gs after installing ios 5. please help.
hi all i have updated my iphone 3gs to ios 5 but after the upgradation i am unable to activate my phone using itunes. my itunes is unable to detect my phone and it says that the phone is nt registered. also i am unable to find my back in itunes. plea
-
Since on this journey from Win 8 consumer preview to Win 8 retail preview ..And no currently trying out Win 8 Pro...It verified if it was gonna give me back ( allowed to re-download ) the apps I was used/had in previous editions. The Store gives yo
-
Hello forum users I installed Oracle 9i (9.2.0.1) on AIX 5.2 ML7 in a HACMP environment. Before installing Oracle I created users & groups via "smitty hacmp - Users & groups" so I have same users on each node. On each node i installed Oracle on inter
-
Using Symbols in a Call-out Box or Text Box
Our engineers need to type in special symbols like degree, plus minus, empty set, etc. into a Call-out Box, Text Box, etc. when they are marking up a technical drawing. Is there an easy way to do this? Thanks for your help.
-
Refactor vcs prefetching routines out of PKGBUILDs
hi, I would like to discuss a suggestion to the PKGBUILD format. Let's take a snippet from the "kdevelop-git" PKGBUILD file [1] . _gitroot="git://anongit.kde.org/kdevelop" _gitname="kdevelop" build() { cd "$srcdir" msg "Connecting to Git server...."