Possibilities for changing purchase order print behavior
Hello guys,
I'm kind of new in SAP MM and I had to deal with PDF formula for purchase order. Now I have some questions about what is possible to change behavior for printing data in purchase order print.
First of all we're using our own PDF formula which is a little bit like standard formula MEDRUCK_PO. We're using programm SAPFM06P with routine ADOBE_ENTRY_NEU, no changes in SAP standard behavior were made.
Everyhting works fine with that but we sometimes have some special cases where our user wants some other behavior. Can you please say if it is possible and if so where to do that? (Customizing, formula itself)
1. Changes in purchase order positions -> We have for example 4 purchase order positions. Now for one of them the price has changed. When printing formula then, you only see the changed order position. When you want to see all, user has to change some detail in every of the other positions, thats pretty annoying.
2. Header text 'Changes in purchase order' -> Sometimes the header text is displayed as 'Changes in purchase order', sometimes as "normal" 'Purchase order'. I know it has something to do with status (field DRUVO) of purchase order, but its not clear when which status is set. Any help? :-)
3. Deleted positions -> How is the standard behavior when a position is deleted? I think it will not be listed anymore in the positions printout. Anyway I can control it by catching LOEKZ field. But how is it with the total value field in sum data. I think it still is the whole value including the deleted positions. Is this changeable?
I know there is some customizing in SPRO -> Materials Management -> Purchasing -> Messages
but I'm not quite sure how it works :-(
Can anyone enlight me? :-)
Thanks a lot.
Regards
Michael
SAP can differentiate between a new created purchase order and an existing purchase order that only got changed.
Based on that it can be customized whether you print the full purchase order or only the part that was changed, and accordingly you may get different texts on your form (... 'Changes in purchase order', sometimes as "normal" 'Purchase order'.)
A deletion of a PO item is as well a change. If you decided to print only a change message, then you get a print having the item number and a text *** item deleted *** or similar based on your customizing.
But if you decided to print the full PO in both cases (creation and change), then you get the full PO but the deleted item is no longer among them and no hint either that it was deleted..
Basically this setting is made in SPRO -> Materials Management -> Purchasing -> Messages -> Output Control -> Message Types -> Define Message Types for Purchase Order
see as well the wiki: Printing of purchasing documents - ERP SCM - SCN Wiki
Similar Messages
-
I want to change Purchase Order Print
I want to change Purchase Order Print. I want to add the name who has done last change in Purchase Order. Please help.
You no need to add the changes, It can be shown in Environment menu. If u want to see the person who changed the PO in ur Print, ABAP work will be required..
By the way what is the business requirement for this. B'cas PO is meant for vendor, Why do u want to print, whoever did the changes..This thing you can see from SAP itself at anytime.
Cheers!
***Reward If useful (RIU) -
SRM 7.0 Output for changed purchase order documents
Hi all,
if we change purchase orders we like to send a PO output document for changed purchase orders only if we change certain PO fields in header or items.
What is the functionality in PO - Header - Output - Order and Send Immediatelly ? We thought that this function is the solution!
But independent we press the button <Order and Send Immediatelly > or button <Order> the system creates allways an output document in any cases of PO field changes which will be sent to a supplier (fax, email). How we can control that a PO document only will be created in cases we define ?
Kind Regards
Edited by: Hermann-Josef Wessels on Mar 28, 2011 6:53 PMHi Jay,
we like to control the output because PO changes for G/L account, cost centre or change from account assigment order to cost centre are not interesting for the supplier and in this cases a PO document should not be sent to the supplier. This was the main reason why we like to use function <Order and Send Immediatelly>.
So I would like to clarify the requirement:
1. Automatic created output document if a new PO will be created
2. Automatic created output document if a PO will be changed but no output if the following fields will be changed:
e.g. for G/L account, cost centre or change from account assigment order to cost centre
So we come back in our discussion to table: BBPV_COMP_FIELDS. There are entries for POO = PO Output and POR = Version comparison for Purchase Order.
Question: Can I use structure name: BBP_PDS_ACC for our requirement. If yes which field-names I have to maintain in detail in this table. If possible I need the entries in detail.
Kind Regards
Edited by: Hermann-Josef Wessels on Mar 30, 2011 9:20 AM -
Changed Purchase Order Print output
Hi Gurus,
what output type should i choose to get revised purchase order print output with only changes
Regards
VivekHi Vivek,
You can very well use the same o/p type which is used for creation.
The driver program need to be modified to print only the changes required.
Contact ur ABAPer for further assistance.
Regards
Ramesh Ch -
BAPI or FM for changing Purchase Order
Hi,
Does anybody know a BAPI or FM to change Purchase Order item details. I looked for a BAPI but only found for creating and listing.
thanks.I think this is becuase the BAPI for PO change has not been "released". If you use transaction BAPI, then click the filter button, then select "All", the PO change bapi will appear int he MM-> purchasing-> purchase order hierarchy. (BAPI_PO_CHANGE)
Although it is not officially "released", neither is the function module to do the same task. We use the BAPI on a regular basis, and it works fine. I think unreleased just means you will get no support if you use it, and SAP can change it at any time.
I am not sure what makes a BAPI go from un-released to released... -
Unit Price Format in XSL-FO Code for Standard Purchase Order Printing
Hi All,
As I am new to XSL-FO, so i am not aware of doing XML,XSL-FO changes. I have an issue with the xsl-fo for standard po layout. My report layout gives ##,## instead of ##.## as my Unit Price. i.e. in the report for POs, it is showing unit price in the format as #,## eg: 0,32 or u can say like 1,70 instead it should show #.## something like 0.32 and 1.70 as my unit price. The piece of code related to unit price formatting in report as follows:
<xsl:choose>
<xsl:when test="(UNIT_PRICE,1,1 > 1) and (substring-before(UNIT_PRICE,',') > 0)">
<fo:table-cell xsl:use-decimal-format="euro2"> <fo:table-cell xsl:use-attribute-sets="table.cell5"> <fo:block xsl:use-attribute-sets="form_data1">
<xsl:value-of select="format-number(substring-before(UNIT_PRICE,','),'#.###','euro2')"/>,<xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) > 4"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) =''"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) = 1"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) = 2"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) = 3"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) = 4"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,','),2,1)) = ''"><xsl:value-of select="((substring(substring-after(UNIT_PRICE,','),1,1))-(substring(substring-after(UNIT_PRICE,','),1,1)))"/></xsl:if>
</fo:block>
</fo:table-cell>
</fo:table-cell>
</xsl:when>
<xsl:when test="(substring(UNIT_PRICE,1,1)=',')">
<fo:table-cell xsl:use-attribute-sets="table.cell5"> <fo:block xsl:use-attribute-sets="form_data1">
<xsl:value-of select="UNIT_PRICE"/>
</fo:block>
</fo:table-cell>
</xsl:when>
<xsl:when test="(UNIT_PRICE,1,1 > 1) and (substring-after(UNIT_PRICE,'.') > 0)">
<fo:table-cell xsl:use-decimal-format="euro2"> <fo:table-cell xsl:use-attribute-sets="table.cell5"> <fo:block xsl:use-attribute-sets="form_data1">
<xsl:value-of select="format-number(substring-before(UNIT_PRICE,'.'),'#.###','euro2')"/>,<xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) > 4"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) =''"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) = 1"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) = 2"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) = 3"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) = 4"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
<xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),2,1)) = ''"><xsl:value-of select="((substring(substring-after(UNIT_PRICE,'.'),1,1))-(substring(substring-after(UNIT_PRICE,'.'),1,1)))"/></xsl:if>
</fo:block>
</fo:table-cell>
</fo:table-cell>
</xsl:when>
<xsl:when test="(UNIT_PRICE,1,1 > 1 ) and (substring-after(UNIT_PRICE,',') ='') ">
<fo:table-cell xsl:use-decimal-format="euro"> <fo:table-cell xsl:use-attribute-sets="table.cell5"> <fo:block xsl:use-attribute-sets="form_data1">
<xsl:value-of select="format-number(UNIT_PRICE,'#,###.00','euro')"/>
</fo:block>
</fo:table-cell>
</fo:table-cell>
</xsl:when>
</xsl:choose>
PS: My decimal formats for euro and euro2 are:
<xsl:decimal-format name="euro" decimal-separator="," grouping-separator="."/>
<xsl:decimal-format name="euro2" grouping-separator="." NaN="0"/>
Any help or reply regarding this issue will be highly appreciated.
Regards,
SumirHi Michele:
I can check out for you how to print page number in XSL-FO (There is an O'Reilly) book, but I think I help you better by recommending a different strategy - Don't write XSL-FO stylesheets. While Purchasing does not support RTF templates you can still write RTF templates and convert them to FO using the XML Publisher Template Builder for Word.
Download the matching Template Builder for Word (5.0) or XML Publisher Desktop 5.5 (includes the Template Builder) patch and then Create your template as an RTF template.
You can then EXPORT the template as XSL-FO stylesheet and upload as to Purchasing AS LONG AS THE VERSION OF THE DESKTOP and E-Businees Suite XML Publisher MATCH.
If you still want to write XSL stylesheet, you can just use the Template Builder to generate you the code and paste the code (e.g. for page numbers) into your stylesheet.
By the way - Purchasing will support RTF templates in future versions...
Hope that helps,
Klaus -
LSMW issue using BAPI for changing Purchase Order G/L Account
Wonder if anyone can help as I'm tearing my hair out!!
Have used LSMW lots of times using the transaction recorder, but tried using a BAPI as we have a mass update to do of G/L Accounts for Purchase Orders and it seems the tidiest and most efficient way to do it.
Got my LSMW project working as a test by changing the Short Text on a purchase order, this works fine. However, when I add the Account Assignment details in (Structure E1BPMEPOACCOUNT and E1BPMEACCOUNTX) everything seems to run fine, the IDOC posts and gives message 'Document xxx changed'. Yet when I look into the order it hasn't actually changed the G/L.
If I go into the purchase order in change mode in another session and run the LSMW again it recognises the purchase order is locked so it seems to be doing everything right, just not updating the G/L Account field. Anyone got any ideas ? It updated the short text fine so I'm sure everything is set up OK but for some reason it ignores the G/L that I upload. Anything relating to the Account Assignment (Unloading Point, GR, Cost Center) just gets ignored if I try and upload a change.
I seem to be so close it seems a shame not to be able to get it sorted !!!
Thanks,Helen Smith wrote:
HI Praveen,
>
> Thank you very much for your response. I tested the BAPI as per yor instructions and the return message comes back 'Eng & other PO xxxx changed' so it seems to indicate a success message again (like the LSMW does) but the actual data doesn't update.
>
> I thought I'd found it as I searched OSS and found note 0001382965 which seemed exactly my problem. I imported it and applied it but yet I still get the same issue - LSMW runs, says app doc posted and purchase order has been saved but no Account Assignment field will update.
>
> So it seems as if it's the BAPI not doing what it should - so I'm considering logging with SAPNET just to see if they can help as getting desperate with this one now! Felt sure I had it sorted when I found that note!
>
> Thanks
>
> Helen
>
> ** I should add I also ran the test above altering something in the item detail (the short text) - and that worked and updated. So it still seems to point to the Account Assignment part of the BAPI not updating.
>
> Edited by: Helen Smith on Nov 2, 2010 4:35 PM
Hi Helen,
Just wondering whether you have found solution to your issue.
We also encounter the same issue and have implemented the note without any positive result.
Please share if you found the solution.
Thank you.
Abraham -
Release procedure setup for changed Purchase orders
Hello All,
I have below scenario
1. After PR creation, it will be approved. and get converted to PO. At this time no need for approval (release) again. But once the same PO has been changed it should be subjected for release (approval). Can we have release strategy setup which will get trigger only when PO is changed.
2. Similarly, if PO is created without PR, then it should get subjected to release.
How can we configure the above business process in the SAP system?
Regards
Krishna Prasad
+41 61 3237548Hi,
Do you have version mangement active in your system for PO's . If you have then you can use the filed CEKKO - REVNO
Maintain the Character Value as > 0,
So any PO whose version number goes above 0 , the relase strategy will trigger.
If not, then first of all you have to configure Version Management.
Go to SPRO > MM > Purchasing > Set Up Version Management for External Purchasing Documents > Here activate Version Management for the PO Doc Types you want. Here activate the following indicators.
Version active
Version 0 OK
So whenever PO will get created the Version 0 will get activated automatically. And whenever you change PO, it will generate versions 1,2,3 and so on.
Now in PO Release Characteristics use Field CEKKO-REVNO
And in "Clasification", maintain value > 0 (Greater than Zero)
And then check in ME21N, release strategy will not be applicable but for ME22N, it will get applied. -
Adding a new check box in change purchase order screen
Hi
I have to add one custom field a check in the screen for change purchase order in EBP.
We are using ITS.
Kindly advice.
Thanks and Regards
ManojHello Manoj,
you can define Customer Fields (CUF) at header, item, accounting level on any document type (including PO).
Adding seach fields acts as old ABAP method of table append, i.e. those fields are stored in standard SRM tables. So you can process your own logic and checks against those fields.
There is a BADI to control the display or not, the input or not, the default or input values.
There is a BADI to control the ergonomy of CUF (by default they are added one after the other after standard fields).
There have been many posts about CUF and linked OSS notes explaining own it works and which includes to use.
Rgds
Christophe -
Inbound Idoc Create/Change Purchase Order
Hi All,
I have to do a inbound Idoc scenario for create as well as change Purchase Order.
Which is the IDoc type for Create/Change purchase order.
I went through this form found that ORDERS05 can be used but I am not sure this can be used for both create as well change Purchase Order.
If ORDERS05 can be used then which is Process code,Function Module and Message type for both create and change Purchase order.
I also found that IDoc type PORDCR102 can be used for create Purchase order and PORDCH02 can be used for change Purchase order,but i don't want to use two Idoc types.
Please suggest.
Thanks in advance.
Regards,
JohnHi John,
For creating a IDoc for PO, whenever a PO is created/Changed, it has to be configured in Parter Profile(WE20) for a particular Partner in Outbound Paramtrs tab.
Give ORDERS05 in Message Type and select the line & go to Display.
In the screen which appears , choose tab Message Control and give the Process code
ME10 - Creation of PO
ME11 - Changes to PO & check the Change Message.
Give respective Output Message Type & Application(VF) for PO.
Create Output types for a vendor in T.Code MN04, else take help from MM Consultant.
Create a PO & save. Then make some changes in Po & again save.
Now IDoc will be created while saving the Po & IDocs will be created whenver you make changes to PO and saving it.
Hope It helps.
Regards,
Anbalagan -
Print out of Change Purchase Order
Dear All,
Could u please tell me how can i get the Chnage to Purchase order Print?
As far as my knowldge we have to go to ME22n & then message then select the output type but after doing all this i am unable to get the print out with Change to Purchase order written on PO.
Please co-operate meHi
Pl goto -
> OLME -
> Messages -
> Output Control -
> Message Types -
>Define message types for PO -
> Fine Tune control for PO -
>Pl. check For your Message type, you maintained Change Print Option Control( ie.2 )...other wise maintain
I think your problem may be solved...
Reward if useful
Regards
S.Baskaran -
Urgent - How to change Item category for Open Purchase Order
Hi Team,
Lil bit tricky issue.
My client has asked us to change the existing Item Category values, Combinations, Category Set etc. Its been changed and uploaded successfully.
The question here is how we need to handle the category for Open Purchase Order. How to update the same.
Do we need to do manually or any other way ?
Please advice
Regarads,
JohnHi John,
This is reallly a tricky issue!
I guess you cannot change the category of an existing PO's.
This field will be greyed out once we save the form...there were no profiles/other setups to enable this field.
For all new PO's since you have changed the new category value that should not be a issue.
Lets wait for some of our colleuges opinion.
I guess PO cancel should be the final option if we dont hear any new work arounds.
Thanks
-Arif. -
How to change material component for a Purchase Order?
How to change material component for a Purchase Order?
I need FM .
PLEASE helpDear ,
Create PO with item category L....There in Item detail you will get tab for material.
There click in component Button, it will take you to the component screen there you can assign and deassign components.
Hope this helps.
Regards
Utsav -
No Authorization to change Purchase Order for Professional Purchaser
Hi Experts, I am facing the following issue,
System Info :
SRM 5.0
ECC 6.0
IE 6.0
I logged in as the professional Purchaser in to My SAP SRM browser and when I try to change a Direct material purchase order, I get the following message:
No Authorization to change Purchase Order xxxxxxxxxxx.
Here is my sequence of operations:
Logged in as Proff Purchaser, selected the process purchase order link, then selected the purchase order from the worklist and click on the change icon.
Please let me know if need to customize any settings.
Thanks in advance,
Rajhi,
In trascn PFCG,for the role of Startegic purchaser,under the Personalization tab,set the attribute BBP_WFL_SECURITY to '4'.Also,check the authorisation data for the Strategic purchaser role.
HTH.
BR,
Disha.
Pls reward points for useful answers. -
Printing Terms and Conditions for each Purchase order in the RDF output
Hi All,
Present i have an RDF report with the registered concurrent program. when i run this concurrent program i am getting the terms and conditions at the end of the purchase orders only once(for example 10 purchase orders). Now the requirement is to get this terms and conditions printed for each purchase order. The output is in PDF format. It's an 11i RDF report. Can any one suggest me the methods how to do this? Please give me reply as soon as possible.
Thankyou in advance
Regards,
PolimeraHi, Polimera
Welcome to OTN
Present i have an RDF report with the registered concurrent program. when i run this concurrent program i am getting the terms and conditions at the end of the purchase orders only once(for example 10 purchase orders). Now the requirement is to get this terms and conditions printed for each purchase order. The output is in PDF format. It's an 11i RDF report. Can any one suggest me the methods how to do this? Please give me reply as soon as possible.
Take a fixed frame inside the purchase order master repeating frame and place your terms and condition inside the fixed frame.
Hope this helps
If someone response is helpful or correct, please mark is accordingly
Maybe you are looking for
-
TS1369 why doesnt my 5th gen ipod nano not connect with windows 8?
why doesnt my 5th gen ipod nano not connect with windows 8?
-
I purchased Photoshop Elements from Costco the other day and cannot get past the registration of serial number since it says that the number is incorrect. So, what can I do now?
-
About packing question in outbound delivery
Hi there: Could you tell me whty some outbound delivery need to be packed before PGI and some do not need? I meant what's configuration to trigger that? Thanks.
-
CrystalReport - Getting "The Report Application Server failed" while export
Hi Experts, I am using Crystal Reports 2008 in my ASP.NET application to generate reports. Everythings works fine in the development environment. When I deploy it on my Windows Server 2003 system, I get an error "The Report Application Server failed"
-
I Have a 350 MHZ iMac G3 with Mac OS X Panther installed. I purchased the unit from ebay and it was originally from a school. Anyway sometimes when the volume is abit too high the speakers go out and the sound pref panel shows that the headphones are