Disable Purchase Order (PO) PDF Print button
Hi,
We are using SRM 550.
When a user views/changes a PO in the browser they can use the Preview Purchase Order button to view the PO as a PDF document.
This is OK, but we want to disable users from printing the form using the Adobe PDF print button as there is no print log recorded for this action and so the audit trail is compromised.
I have heard that this can be disabled by SAP when the PDF is generated does anyone know how this is acheived.
Thanks in advance
Allen Brooks
SRM BPO
Sunderland City Council
Hi Allen
field control you can do either via below badi or templates.
BBP_UI_CONTROL_BADI BAdI
BBP_PO_UI_CTRL - field control in Purchase order
you must control the output preview button to disable . if you still finding problem then only this note is applicable . got it.
You do not want to provide the output preview button in the purchase order using the BBP_UI_CONTROL_BADI BAdI, however, this appears as soon as you go to the output area in the header data of the purchase order. However, the button no longer has the label "Output preview", instead it just has the label "Preview".
This problem is caused by a program error: The display area contains a hidden "preview" button (the button is invisible but nevertheless it exists in the GUI) (Function group BBP_OUTPUT, screen 1100). This has the same name as the button for the "output preview" that exists separately in the button area of the purchase order (Function group BBP_PO_UI_ITS screen 2200). In the described case, the data of the output button is used for the purchase order button.
Solution
This note ensures that the output button does not exist (that is, not even in the GUI) if a calling application (in this case, purchase order) requires the generic output screen using the BBPS_OUTPUT_PUT_PBO function module without the preview button (IV_WITH_PREVIEW = ' '). Therefore, the data of the output button cannot be used for the purchase order button. This correction is available with Support Package 04 (SAPKIBKT04). For an advance correction, use Transaction SNOTE to implement the correction instructions attached to this note.
Similar Messages
-
How to disable Purchase Order Print Preview function in the Portal
We wish to expose some purchase order functions in our SAP Portal 7.0. The problem is that when we run any of the purchase order transactions as SAPGUI for HTML, the Print Preview function displays the full purchase order. This means that any user who wishes to short cut processes can display and then print a purchase order before it has been approved if they use the Portal to display the purchase order.
If the purchase order transaction is run from the normal SAPGUI, the Print Preview function only displays the top of the purchase order and the print function is disabled. Has anyone tackled this problem before and worked out a way of stopping users from using the Print Preview function to display purchase orders in the Portal and then print them?
Regards,
Tom Maggshi,
DATA: w_compop TYPE ssfcompop.
w_compop-tdimmed = ' '. "Print Immediately control parameter should be empty..
Then only print preview pop-up will come..
then call your smartform like this..
CALL FUNCTION fnam
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
TABLES
it_vbdkr = it_tvbdkr[]
it_vbdpr = tvbdpr[]
it_zglentitycode = it_zglentitycode[].
regards
vijay -
Purchase order emailed or printed or faxed to vendor
Hi Team,
There is a requirement to have Purchase Orderu2018s emailed to the vendor ,if there is no email then it should be printed or Faxed to the vendor.
The Purchase Order email need to be generated automatically using output determination.Where if no email address is held in SAP, the Purchase Order should be printed or faxed and sent to the vendor (Order should be email, fax or print)
can anyone guide me the steps for configuring the above requirement.
Thankshi..
Message type for PO
Go to
SPRO- > MM -> Puchasing- > Purchase Order ->Forms for Messages ->Assign Form and Output Program for Purchase Order
Generally for mailing its MAIL output type..
open this and assign the programs name(if created) and form name(if created by ABAP otherwise standard program name will be there) for any particular output type which you want to use for your PO output
here set ur communication medium..whether u want to communicate with vendor through fax, mail, or different modes are there..
After that go to me21n. then Goto menu and messages..
here in the output column assing your output type and ente the communication method button...assign output device there..
It will work..
And if you using own defind output type then you have to do lot of congig like defien message type and message determination schema....
hope it works.
thanks... -
Hi experts,
How can i get a purchase order NUMBER PDF formate .
when i save the PURCHASE order allways the file name is Purchase order.
but we need it like PO-4500096
with PO number ... is thre any settings where can i take thi table and fealds to save PO in PDF with number..
Regards,
Anthyodaya.Thank you fo r the reply,
when i save po now getting allways same file name like ( purchas order)
but the problem is I need to save PO as PDF formate with PO number in PDF file name like ( PO450094)
depends on po number ..
How can i get a purchase order NUMBER PDF formate .
when i save the PURCHASE order allways the file name is Purchase order.
but we need it like PO-4500096
with PO number ... is thre any settings where can i take thi table and fealds to save PO in PDF with number -
Hello all,
we would like to save our purchase orders as pdf file on the pc. We use SAPscript to create the POs.
I have already searched the forums, but I didn't find a solution for me so far.
I don't wanna use the way over the spool requests and the program RSTXPDFT4, because the end users don't have access to that.
My question is, do I have to create a new output type for that? How does that work? Or what else do I have to do (step by step)?
Thank you,
Anne
Message was edited by:
Anne JannaschHi Anne,
*PO to PDF to string
CALL FUNCTION 'ECP_PDF_DISPLAY'
EXPORTING
purchase_order = p_ebeln
IMPORTING
* PDF_BYTECOUNT =
pdf = file
*Converting Xstring to binary_tab
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = file
* APPEND_TO_TABLE = ' '
* IMPORTING
* OUTPUT_LENGTH =
TABLES
binary_tab = int_tab1
**Downloading into PDF file
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
filename = 'D:RDsample1.pdf'
filetype = 'BIN'
TABLES
data_tab = int_tab1
With the help of above code and triggering user exit while saving PO , you are able to get PO PDF into PC.
Just try it.
Regards,
Madhu -
Email Sending of Purchase Order Created versus Print Output
Dear All,
I have been successful in sending the Purchase Order created as a PDF Attachment in email.
The problem i am facing is in the formatting of the attached output.
The attachment has different bold characters as compared to the print output of the PO , though both the outputs are using the same sapscript.
I am not able to find the reason for the difference.
Only because of this reason, my delivery is on hold.
Please guide me on how to find where the difference could be and how to rectify it.
Thanks & Regards,
BhavikaCould you tell us which fonts you tried?
What device type did you choose? (SPAD transaction, select your output device to determine the device type)
Could you upload TrueType fonts (one normal, one bold) with RSTXPDF2 program (do not tick "do not embed font in PDF" option so that the font is embedded in the PDF file)?
Did you make sure that your font is not converted to another one? (SE73, printer font, choose your device type, click conversion button, and check what is the converted font) -
Purchase Order concurrent request printing with XML Publisher
Need to use the standard Print Purchase Orders Report (Portrait) to print batches of purchase orders using the seeded XSL template that generates a PDF document. Used the white paper 295409.1 as a guide to create Data Definition and Template using the short name POXPRPOP, with seeded XML schema and XSL template. Changed POXPRPOP report output from text to XML.
Report completes successfully but gives no data. The PDF is blank. Am I missing a step or is the seeded template not compatible with the POXPRPOP report?Did you check whether your Pasta is Setup Correctly?? check the pasta configuration required for XML Publisher there are couple of utils/libraries that need to be setup on the Concurrent Manager Node
-
Hi Gurus,
What is the procedure to get purchase order print out in the form of PDF
Regards
VivekUse RSTXPDFT4 in SE38 / SA38 Program To convert po into PDF Format with Spool Request Number.
Regards,
Ashok -
Purchase order reminder letter printing
Hi all
I have a purchase order with more than one line item with different statuses and i want to print the line items as separate documents, in other words i want to generate one separate form for line items with same status and if the purchase order has line items with 2 different statuses then 2 forms should be generated. At the moment the functionality only generates one form irregardless of statusesU need to make changes to ur driver program, loop at ur line items table and depending on the line items u want to print in one form append them to an internal table and pass it to smartform fm inside the loop and clear this temp table at the end.
кu03B1ятu03B9к -
Purchase Order - Quantity Field printing.
Hi Gurus.
I am printing purchase orders via SAP script.
My users want the quantity field (RM06P-PRMG1) to have a dot(.) not a comma(,)
eg they want to print the number as 200.000 and not 200,000
Is there somewhere, i can switch this without adding an ABAP routine to fix this.
Thanks.
Points will be awarded.Hi Wandai,
Did you try changing the user settings? Access the menu and go to System -> User profile -> User defaults. Here you can see two options in the Decimal notation tab.
Option 1 is : Comma and
Option 2 is : Period.
Please change and try with each of the above option.
If this doesn't work you need to check the data type you are using for this variable.
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa -
Purchase order not getting printed
Dear Experts,
Hello,
I am facing a new problem.. I have 340 line items in my purchase order. But when i click on print preview...it takes a lot of time to generate and ends with an error saying "sap has run out of memory".. is it because of the length of the line items or is it a new problem.. kindly help.. If the former is a problem, then what is the maximum no of line items that can be entered.
Regards
ShyamHi Shyam.......
You have to do some modifications in Repeatative area so that No. of rows per page shuld not be more than certain no. say maximum seven lines in one page.....
please try this......
Regards,
Rahul -
Use LFA1-KONZS to determine additional purchase Order Text to print.
Dear All,
I have been asked to group vendors and for different groups the purchase order texts to change based on what group they belong to. I would think that this has been done before somewhere.
Without doing any customization I was thinking of using the LFA1-KONZS. This is where I get stuck.
Do I get the print program to look at the KONZS and select additional text with an if statement?
Does this info need to be copied to a PO table? User exit need to be changed?
Please advise,
Thanks,
IanThanks for your input John,
Your questions provides the solution, this is what I did.
I created the standard text (SO10) to be added to the terms section in the PO. The current status is this:
I found the program and the form. Looking at the form I can see where the current terms text is called.
This prints fine.
IF &EKKO-BUKRS& EQ '0010'
INCLUDE ZENG0010 OBJECT TEXT ID ST LANGUAGE E PARAGRAPH 'TX'
ENDIF
I added an if statement to this one:
IF &EKKO-BUKRS& EQ '0010'
INCLUDE ZENG0010 OBJECT TEXT ID ST LANGUAGE E PARAGRAPH 'TX'
ENDIF
IF &LFA1-KONZS& EQ 'A1A'
INCLUDE ZENG001X OBJECT TEXT ID ST LANGUAGE E PARAGRAPH 'TX'
ENDIF
Again, thanks for your support.
Regards,
Ian -
Purchase order Price History Print Problem
Respected Members,
When i am executing the tcode ME1P then it is showing suppose seven records and as soon as i click on print icon ,one spool request is getting generate.
When i am seeing that spool request it is showing seven pages ie each page with single record.
My question is that i want all records should come on single page.
It should not take single page for single record.
How to do that i am not getting.
Would you all please help me out to solve this issue.
ThanksHi,
Following report is the sample report for PO Histroy Report.
REPORT YMS_POHISTROY LINE-SIZE 132 NO STANDARD PAGE HEADING
LINE-COUNT 065(001)
MESSAGE-ID VR.
TABLES: DD04T,
CDHDR,
CDPOS,
DD03L,
DD41V,
T685T,
VBPA,
TPART,
KONVC,
EKKO.
SELECT-OPTIONS: XUDATE FOR CDHDR-UDATE,
XNAME FOR CDHDR-USERNAME,
XEBELN FOR EKKO-EBELN,
XLIFNR FOR EKKO-LIFNR.
SELECTION-SCREEN SKIP.
* TEXT-001 - Sorting Sequence
SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
PARAMETERS: SUDATE RADIOBUTTON GROUP R1,
SNAME RADIOBUTTON GROUP R1,
SOBID RADIOBUTTON GROUP R1.
SELECTION-SCREEN END OF BLOCK BLK1.
DATA: WFLAG,
WCHANGENR LIKE CDHDR-CHANGENR.
DATA: INDTEXT(60) TYPE C.
DATA: BEGIN OF ICDHDR OCCURS 50.
INCLUDE STRUCTURE CDHDR.
DATA: END OF ICDHDR.
DATA: BEGIN OF ICDSHW OCCURS 50.
INCLUDE STRUCTURE CDSHW.
DATA: END OF ICDSHW.
DATA: BEGIN OF EKKEY,
EBELN LIKE EKET-EBELN,
EBELP LIKE EKET-EBELP,
ETENR LIKE EKET-ETENR,
END OF EKKEY.
DATA: BEGIN OF ITAB OCCURS 50,
BEGIN OF EKKEY,
EBELN LIKE EKET-EBELN,
EBELP LIKE EKET-EBELP,
ETENR LIKE EKET-ETENR,
END OF EKKEY,
CHANGENR LIKE CDHDR-CHANGENR,
UDATE LIKE CDHDR-UDATE,
UTIME LIKE CDHDR-UTIME,
USERNAME LIKE CDHDR-USERNAME,
CHNGIND LIKE CDSHW-CHNGIND,
FTEXT LIKE CDSHW-FTEXT,
OUTLEN LIKE CDSHW-OUTLEN,
F_OLD LIKE CDSHW-F_OLD,
F_NEW LIKE CDSHW-F_NEW,
END OF ITAB.
DATA: OLD_OBJECTID LIKE CDHDR-OBJECTID.
FIELD-SYMBOLS: <F_OLD>, <F_NEW>.
SELECT * FROM EKKO WHERE EBELN IN XEBELN AND
LIFNR IN XLIFNR.
CLEAR CDHDR.
CLEAR CDPOS.
CDHDR-OBJECTCLAS = 'EINKBELEG'.
CDHDR-OBJECTID = EKKO-EBELN.
PERFORM GETCHGDOCS.
ENDSELECT.
IF SUDATE = 'X'.
SORT ITAB BY UDATE EKKEY-EBELN CHANGENR EKKEY-EBELP
EKKEY-ETENR.
ELSEIF SNAME = 'X'.
SORT ITAB BY USERNAME EKKEY-EBELN CHANGENR EKKEY-EBELP
EKKEY-ETENR.
ELSE.
SORT ITAB BY EKKEY-EBELN CHANGENR EKKEY-EBELP EKKEY-ETENR.
ENDIF.
LOOP AT ITAB.
CLEAR: INDTEXT, EKKEY.
CASE ITAB-CHNGIND.
WHEN 'U'.
INDTEXT(50) = ITAB-FTEXT.
INDTEXT+51 = TEXT-020.
CONDENSE INDTEXT.
WHEN 'D'.
INDTEXT = TEXT-021.
WHEN 'E'.
INDTEXT(5) = ITAB-FTEXT.
INDTEXT+51 = TEXT-021.
CONDENSE INDTEXT.
WHEN 'I'.
INDTEXT = TEXT-022.
ENDCASE.
RESERVE 4 LINES.
IF WCHANGENR NE ITAB-CHANGENR.
WCHANGENR = ITAB-CHANGENR.
EKKEY = ITAB-EKKEY.
WRITE:/ ITAB-UDATE UNDER 'Change Date',
ITAB-UTIME UNDER 'Time',
ITAB-USERNAME UNDER 'User Name',
ITAB-EKKEY-EBELN UNDER 'PO No',
ITAB-EKKEY-EBELP UNDER 'Item',
ITAB-EKKEY-ETENR UNDER 'Sch No',
INDTEXT UNDER 'Changes'.
ELSEIF ITAB-EKKEY NE EKKEY.
WRITE:/ ITAB-EKKEY-EBELP UNDER 'Item',
ITAB-EKKEY-ETENR UNDER 'Sch No',
INDTEXT UNDER 'Changes'.
ENDIF.
CASE ITAB-CHNGIND.
WHEN 'U'.
ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
ASSIGN ITAB-F_NEW(ITAB-OUTLEN) TO <F_NEW>.
WRITE: / TEXT-023 UNDER 'Changes',
<F_OLD>.
WRITE: / TEXT-024 UNDER 'Changes',
<F_NEW>.
WHEN 'E'.
ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
WRITE: TEXT-023 UNDER 'Changes',
<F_OLD>.
ENDCASE.
SKIP.
ENDLOOP.
TOP-OF-PAGE.
WRITE:/ SY-DATUM,SY-UZEIT,
50 'P U R C H A S E O R D E R H I S T O R Y',
120 'Page', SY-PAGNO.
WRITE: / SY-REPID,
60 'Purchase Orders Changes'.
SKIP.
ULINE.
IF SUDATE = 'X'.
WRITE:/001 'Change Date',
014 'Time',
024 'User Name',
038 'PO No',
050 'Item',
057 'Sch No',
065 'Changes'.
ELSEIF SOBID = 'X'.
WRITE:/001 'PO No',
013 'Item',
020 'Sch No',
028 'Change Date',
041 'Time',
051 'User Name',
065 'Changes'.
ELSE.
WRITE:/001 'User Name',
015 'Change Date',
028 'Time',
038 'PO No',
050 'Item',
057 'Sch No',
065 'Changes'.
ENDIF.
ULINE.
FORM GETCHGDOCS.
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
DATE_OF_CHANGE = CDHDR-UDATE
OBJECTCLASS = CDHDR-OBJECTCLAS
OBJECTID = CDHDR-OBJECTID
TIME_OF_CHANGE = CDHDR-UTIME
USERNAME = CDHDR-USERNAME
TABLES
I_CDHDR = ICDHDR
EXCEPTIONS
NO_POSITION_FOUND = 1
OTHERS = 2.
CHECK SY-SUBRC EQ 0.
DELETE ICDHDR WHERE CHANGE_IND EQ 'I'.
CHECK NOT ICDHDR[] IS INITIAL.
LOOP AT ICDHDR.
CHECK ICDHDR-UDATE IN XUDATE.
CHECK ICDHDR-USERNAME IN XNAME.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING CHANGENUMBER = ICDHDR-CHANGENR
IMPORTING HEADER = CDHDR
TABLES EDITPOS = ICDSHW
EXCEPTIONS NO_POSITION_FOUND = 1
OTHERS = 2.
CHECK SY-SUBRC EQ 0.
LOOP AT ICDSHW.
CHECK ICDSHW-TEXT_CASE EQ SPACE.
MOVE-CORRESPONDING ICDSHW TO ITAB.
MOVE-CORRESPONDING ICDHDR TO ITAB.
MOVE ICDSHW-TABKEY+3 TO ITAB-EKKEY.
APPEND ITAB.
ENDLOOP.
ENDLOOP.
ENDFORM.
* END OF PROGRAM
Thanks,
Sankar M -
Purchase Order External Send, Print for single output message
Hi Experts,
In my purchase order, NEU message output in triggered ( Medium 5 ). In communication method i defined comm strategy as CS01. Print immediately check box is active. I am able to send mail, but i am not getting printout.
What could cause this, will i get printout, when i keep print immediate option.
Is there any notes that is helpful for this.
Thanks & Regards,
RaviI assume that when you say "I am able to send mail, but i am not getting printout" you mean that for vendors where no email address can be found the communications strategy CS01 is not then printing the purchase order, is this correct?
-
Disable Purchase order scheduling screen
Hi All,
While creating a sales order for third party item, immidiately after entering material number & quantity, system giving a second screen as "Purchase Order Scheduling" for each item. We are having 3 option inthis screen such as "compete del, delivery proposal, Continue". after clicking any of them system brings us back to the main sales order screen.
As per my knowledge this is happenning for availability check.
My requirement is to disable this sceen, i.e. this sceen should not appear as it is appearing for each item currently.
Also if you can suggest why system is carrying an availability check for a third party item.
N.B:- this is a service item (DIEN) and does not have an availability check field
please suggest
Thanks & Regards,
BKRHi,
Check which schedule line category is determined for each line item and remove the flags for Availability, Req. Assembly and prod. Allocation if they are flaged.
Edited by: SharanKumar.S on Sep 28, 2011 2:19 PM
Maybe you are looking for
-
Hi guys, I am not sure why the left join is not working.. when I try to use the and condition out of the left join condition. The database is relational but the requirement is for reporting. I have 2 user inputs and I should get the query results as
-
Hey Guys, I received the update for InDesign on the 9/4/14 and since then it wouldn't update. Keeps failing with this error code U44M1P7 at 66% Anyone got any ideas what's happening? I've lost a lot of work because it froze and then my files became c
-
Double execution onbeforeunload after trying to close tab
IE 11.0.9600 I have script: public interface ICloseHandler string Message { get; set; } void Initialize(); public class InBrowserCloseHandler : ICloseHandler private const string ScriptableObjectName = "InBrowserCloseHandler"; #region ICloseHandler M
-
How to retrieve REST feed using XI
Hi, We have a partner that setup a REST (Representational state transfer) feed and we need to retrieve data from that feed using XI and push the data to R/3. The data is presented in plain HTTP with no SOAP wrapper and we access the queue using a use
-
Please help, I can not open the word document after I have exported from a PDF
Please help, I have bought this programme to convert PDF documents to word documents. All I find at the moment is that the document is not being converted and will not open once I have saved. It asks which programme I would like to select to open the