OS Cover sheet in output control
Hi all:
Here in spool request, there is output control info about spool request <NN> in <xx> system (which is being generated by SAP Script).
There is OS Cover sheet in Output Attributes tab. I would like to change the value by ABAP report / program , is there any FM for it or another programing way to send the request for not printing . Plz remember, we are using the SAP Script.
thanks in advance
Regards
Shashi
That is a problem. It is same as yours in my system. Better Search for OSS notes. They might have solution for this
Before that, make sure you have specified a right printer (working)
Similar Messages
-
Hello,
My scenario is this:
I need to send a custom smartform or sapscript cover sheet in the same output process of faxing smartform PO's, Quotations, Invoces and several other documents. I don't see anywhere in configuration where something like this can be done. Does anyone have any ideas on how to accomplish this?
Thank you,
JRTime for a little give-back from me....
Having just worked on this same issue and not finding a solution from SDN (which was unusual) I thought I'd better let you know what I have found..
Transactions SO41,SO42 and SO43 show the default SAP fax cover sheets.
They are kept in client 000 and you need to use SE71 (SAPScript forms) to copy the required form (and rename to Z...), then you are free to modify it as required (Add a logo etc).
Make sure you classify the form as a SAP office form, there are instructions for doing this in the SAP library.
You can test it in SO01 without sending the fax anywhere, create a fax to recipient GB 1234567 or any other fake number, double click on the sender and you will get a popup of the fax details (sender info, receiver info and the cover sheet to use).
or you can use SO_OBJECT_SEND, make sure the recevicers-recextnam field is populated using the SADRFD structure.
and here's the subroutine I use to send a list as a fax with a custom cover sheet :
and below that is a similar subroutine to send emails...
*& Form send_fax
Send Fax of internal table GT_MAIL_LINES TYPE soli
FORM send_fax using my_company_name TYPE name1_gp.
DATA: ls_object_hd TYPE sood1,
ls_receivers TYPE soos1,
lt_receivers TYPE STANDARD TABLE OF soos1,
l_lines TYPE i,
ls_sadrfd TYPE sadrfd.
CLEAR: ls_object_hd, ls_receivers.
REFRESH lt_receivers.
ls_object_hd-objla = sy-langu.
ls_object_hd-objnam = 'NOTE'.
ls_object_hd-objdes = 'Fax subject line in here'.
Calculate size of table
DESCRIBE TABLE gt_mail_lines LINES l_lines.
READ TABLE gt_mail_lines INDEX l_lines INTO gs_mail_lines.
ls_object_hd-objlen = ( l_lines - 1 ) * 255 + STRLEN( gs_mail_lines ).
Set Fax control structure
Fax number in structure must have no leading zero
as this is added by SAPOffice from the country code
ls_sadrfd-rec_fax = gs_address-fax.
shift ls_sadrfd-rec_fax left deleting leading '0'.
condense ls_sadrfd-rec_fax no-gaps.
ls_sadrfd-rec_street = gs_address-street.
ls_sadrfd-rec_town = gs_address-city.
ls_sadrfd-rec_name1 = gs_address-name.
ls_sadrfd-rec_state = gs_address-country.
ls_sadrfd-form_langu = gs_address-langu.
ls_sadrfd-fax_form = 'Z_FAX_COVER'.
ls_sadrfd-send_comp = my_company_name.
ls_sadrfd-send_immi = 'X'.
IF ls_sadrfd-form_langu is initial.
ls_sadrfd-form_langu = sy-langu.
endif.
ls_sadrfd-send_nam = sy-uname.
ls_sadrfd-send_date = sy-datum.
ls_sadrfd-send_time = sy-uzeit.
Convert Receiver information to char field
CALL FUNCTION 'C147_WORKAREA_TO_CHARFIELD'
EXPORTING
I_WORKAREA = ls_sadrfd
IMPORTING
E_CHARFIELD = ls_receivers-recextnam.
ls_receivers-recesc = 'F'.
ls_receivers-mailstatus = 'E'.
ls_receivers-sndart = 'FAX'.
ls_receivers-sndpri = '1'.
APPEND ls_receivers TO lt_receivers.
Send fax
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = ls_object_hd
object_type = 'RAW'
owner = sy-uname
originator = g_originator
originator_type = 'B'
TABLES
objcont = gt_mail_lines
receivers = lt_receivers
EXCEPTIONS
OTHERS = 01.
The function doesn't commit so we must
do it if successful.
IF sy-subrc = 0.
COMMIT WORK AND WAIT.
ELSE.
WRITE: / 'Fax failed RAISE ERROR '(012).
ENDIF.
ENDFORM. "send_fax
*& Form send_email
Send Email of internal table GT_MAIL_LINES
FORM send_email USING pi_email_address TYPE ad_smtpadr.
DATA: ls_object_hd TYPE sood1,
ls_receivers TYPE soos1,
lt_receivers TYPE STANDARD TABLE OF soos1,
l_lines TYPE i.
CLEAR: ls_object_hd, ls_receivers.
REFRESH lt_receivers.
ls_object_hd-objla = sy-langu.
ls_object_hd-objnam = 'NOTE'.
ls_object_hd-objdes = 'Email title in here'.
get size of text table to be sent
DESCRIBE TABLE gt_mail_lines LINES l_lines.
READ TABLE gt_mail_lines INDEX l_lines INTO gs_mail_lines.
ls_object_hd-objlen = ( l_lines - 1 ) * 255 + STRLEN( gs_mail_lines ).
ls_receivers-recextnam = pi_email_address.
ls_receivers-recesc = 'E'.
ls_receivers-mailstatus = 'E'.
ls_receivers-sndart = 'INT'.
ls_receivers-sndpri = '1'.
APPEND ls_receivers TO lt_receivers.
NB: G_originator is a SAP user ID with the email address that you want any
replies to go to - its useful to have this not as sy-uname so any replies can go to
a central email address like [email protected]
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = ls_object_hd
object_type = 'RAW'
owner = sy-uname
originator = g_originator
originator_type = 'B'
TABLES
objcont = gt_mail_lines
receivers = lt_receivers
EXCEPTIONS
OTHERS = 01.
IF sy-subrc = 0.
COMMIT WORK AND WAIT.
ELSE.
WRITE: / 'Email failed RAISE ERROR '(010).
ENDIF.
ENDFORM. " send_email -
Fax Cover Sheet from SAP / Rightfax
Hi,
My requirement is to generate a cover sheet whenever a PO/SO/any document is faxed. We have Rightfax through SMTP/SAP Connect configured. Rightfax does provide a generic cover sheet option but it can only contain the fax numbers and recipient name. It suggests to use SAP Cover sheet. Have few questions, and here they goes:
1. How can I enable SAP Coversheet? Even after checking the option for cover page I am not able to get any cover page and may have been disabled. I've also checked SAP note 553113 but wanted to check if there's any other way as well.
2. After I have enabled cover sheet and lets assume the Standard cover sheet is copied in a ZForm, how can I ensure that always the zform cover sheet will processed? I am not able to find any configuration setting for it. I've research to find that SAP uses SO41 OFFICE-TELEFAX coversheet. This observation can be seen when I goto SO02 -> New Message -> Goto -> Fax , a pop up window appears which asks for Fax details. On Top Right, one can check the cover page option but the Coverpage is always specified as 'STANDARD'.
3. Researched a lot. SDN & Google but not able to come to a conclusion for any specific solution. Appreciate if anyone has worked on this requirement, please share their ideas. There's no much help available as well (seen as much available links in SDN and Google). Basically, the requirement is just to generate a generic fax cover sheet from SAP.
Thanks,
Santosh VermaHi,
Thanks for your time in looking the issue.
@ Sandra,
I've already researched on SDN and google and have visited this link as well. It wasn't of much help. But thanks again.
@ Weidong,
Actually thought of that solution but wanted to check if there's any generic way. Please let me know further on 'You need change configuration for fax - output type.'. Are you referring to NACE output type configuration?
Let me add more:
1. If we set the Parameter 'BCS_NO_FAX_COVER' to 'X' in TMV/SM30 'SXPARAMS', this way, the Fax cover sheet from SAP can be enabled of disabled. This cover sheet uses the Form OFFICE_TELEFAX_M in SE71 (SO43). What worries me, even if I copy the standard to custom, how to make sure that custom form is printed as there is no place where i am able to find any configuration. SAP note 553113 says to edit this form in SE71, that's it.
2. The other solution is right fax generic cover sheet. Which is generated right now, but with limited info. The Right Fax documentation recommends to use SAP Cover Sheet as the Right Fax cover sheet does not provide much details except Senders Fax No, Recipients Fax Number and Name. This cannot be of much help.
3. Use a custom form. A custom form which will contain cover sheet data, independent of SAPConnect. This form has to be generated at runtime. This is one of the approaches thought but here's the list of issues with it:
a. The print program has to be modified as well. Issue when using standard print program. At same time, i think in FP_JOBOPEN one has to specify the cover page as well. Looks good for custom print programs.
b. Our requirement also looks for mass fax. For eg: lets say, i have to fax, around 10 PO's, there should only be one cover sheet for all the 10 fax documents. This solution may not help here.
Appreciate your help.
Thanks,
Santosh -
How to add cover sheet without affecting page numbering?
No replies yet, so perhaps I should change the question to "Can one add a new section break at the beginning of a document?"
Or "How do you apply a section break on a Master Page so that when the Master Page is added at the beginning of a document, it does not change the numbering of the pages that follow?"
Thanks very much for any help!
[ORIGINAL QUESTION: Is it possible to add a cover sheet to an InDesign document without affecting the existing page numbering? I have a series of chapters from a book that need to be posted individually and require a cover sheet. Each chapter begins on a recto page and the page numbering is set with a prefix (the chapter number) and page number, e.g., page 1.1. I can manage to add the cover sheet without the other pages shuffling, but the cover page always becomes page 1.1 and the text thus begins on page 1.2 (even though it's a recto page). Is there any way to do this without having to manually reset all the page numbering in the Numbering & Section Options window?
Thanks for any help you can give---many such documents to work on.... Also, never submitted a question before, so hope I've done this correctly! ---JCI]
Message was edited by: J SheeThere are really two things to consider here. First is that page numbering normally controls which side of the spine a page is on (and switching sides can cause all sorts of problems if you have master text frames). Second is preseving the existing numbering.
It's no problem to reset the numbering by starting a new section after you add the new page to the front of the file, but if this is a facing pages file you will want to add two pages to start so the rest of the doc doesn't switch sides, then start a new section and reset the start number (sorry, no way I know to do this other than manually). Now you can delete one of the pages in the first section and reset the number on the remaining new page to odd or even as appropriate and add your content. -
RightFax and PDF result in 'Problem Converting Fax Body or Cover Sheet'
Hi All:
We are trying to send out faxes of invoices and reports to our customers. We have RightFax software and have used it for a long time. We are converting our reports to PDF and send them to RightFax. I am getting 'Problem Converting Fax Body or Cover Sheet'. I can create a PDF from a word document and it will send it, but files output from SSRS errors. What is different between the two.
PhilPHuhnHi All,
We use RightFax and to get around the problem of
Problem Converting Fax Body or Cover Sheet we were told to
open up the PDF you want to send and click print
Select the RightFax printer and hit print.
It will now open up the RightFax window with the PDF attached and you just add in the telephon number and other details
as you would send your fax.
regards
Anthony -
How to populate the Cover Sheet of a Distributed Form
I am a newbie to LiveCycle forms and have created my first simple form to manage travel requests within my company. This is then distributed to employees who fill out their multiple travel requests with associated expected costs and return the form to the administrator. This is in turn collected by the administrator who either approves or dissaproves some of the items in the form of each employee. My question is: How can I get to see the total approved costs for all employees in this dataset? IS there a way of consolidating this into the cover sheet or how wold one do this. All advice welcomed.
Thanks in advance.Each form that the employees fill out represents a separate request. One request does not know of the existance of other requests. If you want to get a consolidated view of all requests you will need a means of tracking or storing all of the information in a common place. Usually this is done by writing each form instance to a database, then you can get your consolidated view by querying the DB for that information.
Hope that helps -
My Bluetooth USB wireless transmitter for my portable BT speakers has quit working. Preferences says, "The selected device has no output controls", it used to work just fine. The internal and a pair of wired external speakers work fine. Can anybody help?
Just tested something and it worked.
If I put the headphones all the way in, the mac recognizes it as a digital output.
But if i don't put it all the way in, it recognizes it as headphones and works perfectly.
It's probably this crappy headphones.
If anyone has the same problem, try this out. -
VOFM formula on output control based on item category(PSTYV)
Hi Gurus,
I created an Output Control requirement in VOFM.
In the requirement ABAP codes, may I know how can I access the list of item lines category (looking for vbap-pstyv in particular) while I am creating the sales order in VA01, because the sales order is not saved yet, so I cannot get from table VBAP ?
Any way to find the variables available ?
Thanks in advance.
Best Regards,
Vasumathi
Edited by: komma vasumathi on Jun 22, 2009 3:26 PMHi there,
When the sales order is created, all data is stored in the internal tables 1st in USEREXIT_SAVE_DOCUMENT_PREPARE, MV45AV0V_VBAP-PSTYV_VALUES
in MV45AFZZ.
So you can refer the fields from there. Item catg is stored in XVBAP table.
But 1 doubt. Why do you want to trigger the O/p before the order is saved? Usually any O/p is triggered after saving the doc.
Once the document is saved, data is stored in data base tables & you can refer from them.
Regards,
Sivanand -
How do i disable covers sheets in a pdf portfolio? Each document is covered with a default coversheet with the following:
"For the best experience, open this PDF portfolio in Acrobat X or Adobe Reader X, or Later."
How do i get rid of this?Create a new PDF cover page which you design.
Open the PDF Portfolio. Choose View > Portfolio > Cover Sheet, and you can see the current cover sheet. Use the Replace command to replace the cover page with the one you design.
I don't think you can disable the cover page.
(Tip courtesy of Anne-Marie Concepcion in her Acrobat X video on Lynda.com.) -
Hi,
I am trying to create an ORDERS05 IDoc when a PO is created and sent to a folder via EDI processing.
Here are the steps I followed...
1. Created RFC Destination for EDI Subsystem (TCP/IP connection)
2. Created File port and included the RFC Destination in the Outbound trigger tab.
3. Created partner profile (Vendor)
a. Outbound parameters - message type ORDERS,
i. Outbound Options - receiver port - file port created in step 2
basic type - ORDERS05
ii. Message Control - Application - EF
Message Type - NEU
Process Code - ME10
4. Create PO (ME21)
when I look under Menu Header -> Messages it goes to a printer instead of the File Port I created.
Am I missing a step? Please let me know.
Thanks,
SnehaThanks Kalpanashri,
I followed what you said and this is what I received...
<i>Maintain outgoing EDI-connection data for partner 1002514
Message no. VN032
Diagnosis
The system could not locate the EDI partner agreements (outbound) for partner 1002514.
System response
You cannot use transmission medium 'EDI' with this partner.
Procedure
Maintain the EDI partner agreements for partner 1002514. Make sure to create entries for output control as well as for outbound parameters.</i> -
Output control and message types
Hi guys,
my problem is this:I have created a new message type for output control for Purchase Order but when I create a new PO and click on 'messages' I expect that the new message type appear as a DEFAULT for example other messages like NEU,etc....
Customizing is OK--> I have parametrized the tr.NACE in all points and also Message Determination Schemas...What can I do?Is there a way to set message types as a DEFAULT for Output control in Purchase Order?
Thanks in advance,10 points for a resolutive answer...
Bye
MaximilianHI
I assume that you have created a new message type by cpoying a standard.
Basic:
You need to maintain access sequence, form routine, forms.. for this output types (which should not be a problem if you are copying from std.)
Important:
You also need to maintain the Fine- tuned control for message type, for the new output type.
You need to add your new output type in the output determination schema.
then the thing should work. try!
MRao. -
Add cover sheet without affecting existing page numbering?
I guess the lack of response means either that my question is inappropriate in some way or else it's difficult or impossible to answer! Thanks for letting me post it anyway!
This seems to be a very informative site (just figured out how to access it and read the responses to all the questions), and I know I'll learn a lot from reading it in the future---so thanks on that account also. ---JCI
ORIGINAL QUESTION:
Hi,
I have a script that inserts a new page (a cover sheet) at the beginning of a document (a chapter from a book) and makes a few other tweaks. It works perfectly _except_ for the following glitches:
(1) The pages shuffle (I would like the cover sheet to be a recto page and the first page of the document to be a recto page as well; the rest are facing pages ).
(2) The pages renumber (I would like to the cover sheet to be an invisible page number roman numeral "i" and the first page of the document to be page 1.1.
(3) If I just renumber the pages manually, I also have to retype all the section names that have been inserted previously into the section marker field (I have about 160 documents to work on, so....)
Is there any way to have the script avoid these problems? Please note that I inherited this script and know virtually nothing about scripting. Any help you can give—including any thoughts on whether coming up with such a script would even be possible—will be greatly appreciated!! Here is the script (and thanks in advance!):
var myFolder = Folder.selectDialog ("Choose a Folder");
var myFile;
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
if(myFolder != null){
myFile = myFolder.getFiles();
for(i=0; i<myFile.length; i++) {
app.open(File(myFile[i]));
// insert page at beginning and apply master page
app.activeDocument.pages.add(LocationOptions.AT_BEGINNING);
var myMasterSpread = app.activeDocument.masterSpreads.item("C-WebP1");
app.activeDocument.pages[0].appliedMaster = myMasterSpread;
// find and remove "[advanced release]" from document
app.findChangeTextOptions.includeMasterPages = true;
app.findChangeTextOptions.caseSensitive = false;
app.findTextPreferences.findWhat = "[advance release]" ;
app.changeTextPreferences.changeTo = " ";
app.activeDocument.changeText();
app.findTextPreferences = null;
app.changeTextPreferences = null;
// determine if last page is blank and if so, delete
var Lpage = app.activeDocument.pages.lastItem();
if(Lpage.pageItems.length==0&&Lpage.guides.length==0){
Lpage.remove();
// save and close file
app.activeDocument.save(new File(myFile[i]));
app.activeDocument.close();
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
Message was edited by: J SheeTry this,
var myFolder = Folder.selectDialog ("Choose a Folder");
var myFile;
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
if(myFolder != null){
myFile = myFolder.getFiles();
for(i=0; i<myFile.length; i++) {
app.open(File(myFile[i]));
// insert page at beginning and apply master page
var _page = app.activeDocument.pages.add(LocationOptions.AT_BEGINNING);
var myMasterSpread = app.activeDocument.masterSpreads.item("C-WebP1");
app.activeDocument.pages[0].appliedMaster = myMasterSpread;
var section = doc.sections.add(_page);
section.pageNumberStyle = PageNumberStyle.LOWER_ROMAN;
var section1 = doc.sections.add(doc.pages.item(1));
section1.continueNumbering = false;
section1.pageStart = doc.pages.item(1);
section1.pageNumberStart = 1;
section1.sectionPrefix = "1."
section1.pageNumberStyle = PageNumberStyle.ARABIC
// find and remove "[advanced release]" from document
app.findChangeTextOptions.includeMasterPages = true;
app.findChangeTextOptions.caseSensitive = false;
app.findTextPreferences.findWhat = "[advance release]" ;
app.changeTextPreferences.changeTo = " ";
app.activeDocument.changeText();
app.findTextPreferences = null;
app.changeTextPreferences = null;
// determine if last page is blank and if so, delete
var Lpage = app.activeDocument.pages.lastItem();
if(Lpage.pageItems.length==0&&Lpage.guides.length==0){
Lpage.remove();
// save and close file
app.activeDocument.save(new File(myFile[i]));
app.activeDocument.close();
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
Regards,
Chinna -
Output Control Routine for Order Confirmation
Hi,
I have a problem in sending out order confirmation when the customer have a credit block, no order confirmation is being sent.
Checked on transaction NACE, the routine for Order Confirmation (Routine 2), returns a sy-subrc =4
when the credit block is set. What is the best way to correct this?
Thanks,
CatherineCreate the new routine in VOFM->Requirement->Output Control. Make the required changes in routine source text and assign it to output procedure (NACE).
Thank You,
Ganesh -
Greetings.
Forgive me if this has already been covered.
I have numerous OS X print queues setup, and they are all printing beautifully, however, none of them are printing the assigned cover sheets.
What's weird is, I noticed when the print server used to communicate with the printer itself via AppleTalk, the cover sheets printed. However, now that the protocol being used between the server and printers is IP printing, the cover sheets seem to have stopped.
The print queues are currently being advertised using both IPP, and LPR protocols.
Thanks so much.My question was answered in the following thread:
http://discussions.apple.com/thread.jspa?threadID=2541718 -
EHS : Creating new report parameter/ symbol for MSDS cover sheet
Hi,
I am working on the SAP EHS module.
I have a requirement in which I need to have the country name (description) on the MSDS cover sheet instaed of the country key which is presently coming in there.
As per the standard settings, the report parameters available for the country point towards the country key only (char 3) i.e T005-land1 and not T005T-landx(char 15).
I understand that I need to create a new customer report parameter in the customising which will pick the data for the coversheet country.
My problem is that I am not sure where exactly do I have to write the code for this report symbol/parameter expansion.
I am not sure about the trigger for the expansion routine.
Please guide me if anyone has worked on this kind of an issue.
I will greatly appreciate your suggestions on this one.
Thanks and regards,
HitanshuGo to
<a href="http://help.sap.com/saphelp_erp2004/helpdata/en/c1/eda0f591ec12408b25e7a1b369ca45/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/c1/eda0f591ec12408b25e7a1b369ca45/frameset.htm</a>
Report Definition -> Report Creation: Process -> Document Template Layout Editing -> Editing Specification or Parameter Symbols -> Function Module
Maybe you are looking for
-
Hi, at the moment I try to set up a "good" architecture for projects in TFS for our company. As often mentioned in TFS documentation we try to reduce the number of Team projects in our company which is organized in different business units (BUs). One
-
How can I recognized an iPhone 3GS on iTunes 11.0.4.4 version on PC Windows XP Professional with Service Pack 3?
-
Script To Update Month Text Field?
Hello SharePoint Fam, I am wanting to add a choice field to existing list that contains each month(jan,feb,mar,etc) but was wondering is it possible for me to automate this at all so I don't have to manually change default month value to correct mont
-
Driving me crazy. Music plays at least oppertune times
Well I upgraded my curve from the 8300 to the 8900. Now all of the sudden music just starts playing. When I take my phone out of the sleeve it just stops. It happens AT RANDOM. sometimes not for a few days and sometimes it happens every couple of
-
Anyone familiar with thunderbolt bridge on a mac air?
Greetings cyber community, anyone familiar with Thunder Bolt Bridge on the Mac Air...it seems to be set up on my computer, & I have no clue.. Thx