Add fields to Standard Purchase Order
How can I change the standard order data definition. I need to add some fields that are not in the standard po definition.
Must i add fields to po_headers_xml.
But i think I also have to change the .xsd file. But how can I change them ?
Nike,
That is indeed the way of working but what I find strange is when you download the Standard Purchase order XSL-FO.
You see that Oracle uses Boilerplate messages to fill up the labels on there PO
print.
These messages are hard coded in the procedure for generating the xml that is
used for filling up the data of the database.
For my customer it is useful to change the messages (labels) in the database
and not in the template. Now why does the standard PO support this. It is build
up with boilerplate messages ! And why can you not use these way of programming
for your custom messages. Or will be this supported in the future?
Maybe it is usefull to build up the part where the messages are selected in the
PO_COMMUNICATION_PVT.POXMLGEN not hard coded but dynamicly. So you can set up
which messages are used.Alse the part wich language the xml is generated based
upon the language of the supplier. So that you can do View > Document in PO
summary screen with the language of the supplier.
These are the problems I have, it seems logical to me that the way the standard
PO is presented, it also can be used in customisations.
But these customisations are not supported.
Similar Messages
-
Modify and add new field in standard Purchase Order script
Hi All,
I have some problem with Modify and add some new fields in Standard Purchase Order script. From ME22n transaction code it display PO detail. In <b>item detail</b> with <b>condition</b> tab all data will display in Currently PO script output.
But I want to display ME22n->Item Detail->Invoice->Taxes Data. how to display this data in standard PO script. All data are fetch from <b>Structure</b> like ( KOMV,KOMVD..etc) then How it can be Display?
Waiting for Replay.
Himanshu Patel.Work with an Abaper.Tell your requirement [ addition of a field] and ask him to include this field by using the functionality " Field Exit".
-
How to get Information Template fields to Standard Purchase order Document.
Hi Guy's
I Created Information Templates to capture extra information to suit our business needs. But i dont know how to get populate those information into Standard Purchase order docuemnt. After Some research I found that we have to customize the PO_STANDARD_XSLFO.xsl. But i did not get how to get those information.
If any one know knows or has done this type of customization let me know asap
Thanks in advance
Thanks & Regards
Palakondaiah.UHi,
I resolved this as following :
Since, i needed the Manufacturer Serial no. to be fetched in custom field at item level ( Enhanced via EEWB the item ) , the moment there is a product available in the sales doc header field.
I wrote badi implementation for definition : CRM_ORDERADM_I_BADI and utilized method : CRM_ORDERADM_I_PRODUCT_DETERM . This method's signature if you check makes me available the header, item guids along with the product available in the field even before i save the sales document. There i fetch the serial number of product from custom table and then poulate the serial no. field in customer_i extension as follows:
LS_CUSTOMER_I_COM-ZZCUSTOMER_I0803 = LV_MFR_SLNO.
LS_CUSTOMER_I_COM-REF_GUID = IV_ITEM.
LS_CUSTOMER_I_COM-REF_HANDLE = '0000000000'.
LS_CUSTOMER_I_COM-MODE = 'A'.
APPEND LS_CUSTOMER_I_COM TO LT_CUSTOMER_I_COM.
LS_FIELD_NAME_CUSTAB-FIELDNAME = 'ZZCUSTOMER_I0803'.
APPEND LS_FIELD_NAME_CUSTAB TO LT_FIELD_NAME_CUSTAB.
CALL FUNCTION 'CRM_CUSTOMER_I_MAINTAIN_OW'
EXPORTING
IS_CUSTOMER_I_COM = LS_CUSTOMER_I_COM
* IV_EXTERNAL_CALL = 'X'
CHANGING
CT_INPUT_FIELD_NAMES = LT_FIELD_NAME_CUSTAB
EXCEPTIONS
ITEM_CHANGE_ERROR = 1
ITEM_CREATE_ERROR = 2
ERROR_OCCURRED = 3
OTHERS = 4. -
How to add Signatre to Standard Purchase Order Template XSL-FO
I need to add digital signature to the standard Purchase Order Template which is sent to supplier.
could you let me know the process.
thanks
Edited by: 855902 on May 24, 2011 8:00 PMThanks for your response.
I tried to change the code in below format but it was giving error.
Original code
<xsl:value-of select="LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE"/>
modified to
<xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
also tried with
<xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd-mmm-yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
also tried like
<xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy',$_XDOLOCALE,$_XDOTIMEZONE)"/>
Tried above 3 methods but it didn't work.
right now the date format in pdf file is 24-MAY-2011 21:56:24 i need to remove 21:56:24 and have only 24-MAY-2011
any suggestions.
thanks -
Logo on a Standard Purchase Order Stylesheet Inquire -- View Document
Hi
I did add "LOGO" to Standard Purchase Order Stylesheet and customized required fields.but, something weird thing is happening.
After changing the Setup to "Customized_Template" which is the new custom template in Document Types->Document type layout , I created new Purchase Order and when i opened document from Inquire -->View Document I see the PDF with the changes as implemented in custom template but i don't see the Log , the strange case is that when i copy this PO Tools-->Copy Document i will get a new PO here when i open the Inquire -->View Document i get the LOGO on the PDF document.
Not sure why LOGO is not appearing for new purchase orders created, could you let me know how i can troubleshoot this?
thanks
praveen1. You don't create a new data definition. You create a new template and assign the seeded data definition to it. (XML Publisher Administrator).
2. On our version of the EBS there is a parameter on the PO Output for Communication concurrent request which lets you specify the template to use. However for the normal day to day use you need to do the setup in Purchasing:
Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your new template.
For the white paper on this see metalink doc id 387670.1 - Incidentally, when checking this I note that appendix C tells you how to change the logo in the XSL-FO template so that may give you a shortcut to your new PO Template. I haven't tried it though!
Cheers,
Dave -
Add the field in the standard purchase order
Hi
I have the requirement like this
I want to add two extra field in the standard purchase order (Tcode me2n) and display the data.What are the process for that.
Thanks
Mrutyunjaya Tripathyhi,
u have to use user exits for adding additional fields for ME2N....some of the exits available for this transaction are..
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
reward if useful -
API to add lines to an existing Standard Purchase Order on 11.5.8 version
Hello All,
Is there any API in Oracle 11.5.8 Version using which we can add a line to an existing open Standard Purchase Order.
In 11.5.10 we can do that using Purchasind document import program, how about 11.5.8, i am not able to find one.
Pls let me know the details, it is bit critical.
Regards,
AdarshYes see http://oracle-ebspro.blogspot.com/2011/12/how-to-programmatically-close-po-using.html
Sandeep Gandhi -
Making a field mandatory in purchase order wrt account assignment
Hi,
I want to make a field mandatory in purchase order wrt a patricular account assignment category.Can any one of u help me?Hi
Using a BAdi you can acheive this.
Create a New Field selction key with Order Acknowledgement as mandatory field
The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
Typical applications for this BAdI include:
Processing of own objects
Processing of additional data on standard objects
Implementation of additional checks and derivations
Change of data in standard fields
Change in field selection
Use one of the the methods
Field selection At item level method FIELDSELECTION_ITEM_REFKEYS
Special rules at item level method FIELDSELECTION_ITEM
This method enables you to change the display properties of fields at item level by supplementing or swapping the field selection reference key. You can thus restrict the processing options for certain groups of users, for example.
The following parameters are available:
IM_ITEM
This import parameter contains the item data of the outline agreement.
The interface reference is of the category IF_PURCHASE_OUT_ITEM.
CH_KEY0 to CH_KEY6
These change parameters contain the field selection reference keys.
Please go through the BAdi Document tation for more details
Please take hepl of ABAP er in implementing the BAdi
Thanks & Regards
Kishore -
Customized R12 Standard Purchase Order report with custom data and layout
Hi all,
We need to customize the seeded Purchase Order report in R12 to add an additional section to include cost data coming from our custom table. The key is that our customized report should be launched instead of the seeded report via various PO forms (e.g. View Document menu option, PO Communications form to email, fax and print PO, etc).
I manually set up a custom Document Type Layout for the Document "Standard Purchase Order" to use my customized template so my custom layout is shown instead of the R12 layout, but according to Oracle support the report can only draw data from a set of seeded Oracle views like po_headers_xml,po_lines_xml etc.
Any suggestions how we can add our custom data to PO report in R12?
Thanks! Mike.Hi Mike
thats a tough one, the PO generation is a bit restrictive to say the least when it comes to customizing. It sounds like you have worked out how to get your own template in there to render the PO.
On the data front, all I can think of is to customize and replace the seeded PO view with one that incorporates your extra data.
Or, get into the page customization world and write your own extract and format concurrent program/procedure and then hook it onto the buttons where you want to launch it.
You might have more luch, response wise from the EBS PO forum.
Procurement : Procurement
OAF: OA Framework
Regards
Tim -
Import standard Purchase Order process and interface tables
Hi all,
We are populating three PO interface tables from our custom developed application. PO_HEADERS_INTERFACE, PO_LINES_INTERFACE and PO_DISTRIBUTIONS_INTERFACE. We are using 11.5.10.2 version of Oracle Apps.
Initially we did not manage to populate the distributions interface table, but, now we are populating it. And after doing so, when we run the Import standard Purchase Order process for 'Approved' POs, the process_id for even the record which has correct distributions info also gets 'Rejected' as a value. The process is considering a mix of records : the approved POs that DO NOT HAVE distribution info in PO_DISTRIBUTIONS_INTERFACE (which we had not managed to populate) and the approved POs that HAVE distribution info in PO_DISTRIBUTIONS_INTERFACE.
does the Import standard Purchase Order process populate partial data that could be good or it rejects the whole lot of records?
Can anyone guide on this issue?
Thanks and kind regards,
Aparna
Edited by: Aparna on Jul 24, 2009 3:45 AM
Another piece of info I would like to share is
I have run the process for an approved PO with distributions info in PO_DISTRIBUTIONS_INTERFACE. This time no mixed data. In PO_INTERFACE_ERRORS table, an entry was found: for column name : PO_DISTRIBUTION_ID in ERROR_MESSAGE column 'Error: Has no distributions'.
Edited by: Aparna on Jul 24, 2009 8:03 AM
After carrying out number of tests, I have found out that
1) if the approval_status for the po is 'Approved' in the po_headers_interface table, it gives the above mentioned error and the process_id is 'rejected'.
2) if the approval_status for the po is 'Incomplete' in the po_headers_interface table, the process add the 'accepted' value for the process_id. But, the charge account number is not populated in shipments.
Edited by: Aparna on Jul 31, 2009 1:07 AM
There has been some progress on this issue. The process sees distributions data into the PO_DISTRIBUTIONS_INTERFACE table. Yet the following errors are found in the process log file:
Start dist default process
before getting period name
after getting period name
-->Intfc error occurred ...PO_PDOI_INVALID_GL_ENC_PER
before workflow
unit price = 18.5, rate = , unit price in functional currency = 18.5
after workflow
Start dist creation process
Start dist validation process
-->Intfc error occurred ...PO_PDOI_INVALID_BUDGET_ACCT
Start insert new record into po_distributions
Distribution ID: 252
dist num: 1
last updated by: 1189
po header id: 5283
po line id: 5878
line loc id: 5924
sob id: 21
cc id: 1560
qty ordered: 10
Req Header Ref num :
Req line Ref num :
Req dist id :
ROW ID: AAHUc1AFPAAAQ04AAC
call tax
Rollback for the Last Errored Line: 10
All Lines in error - Rolling back the header
We opened new GL periods for the calendar and yet same errrors are seen. Can anyone suggest any solution?
Kind regards,
AparnaHi
Do you have a copy of your insert statement?
regards -
Hi
We need to modify Standard Purchase Order Stylesheet (po_standard_xslfo.xsl) . Current stylesheet generating PO like the following.
<FOR-EACH>
ITEM_NUM
ITEM_DESCRIPTION
<FOR-EACH>
SHIP_TO_ADDRESS_LINE1 NEED_BY_DATE QUANTITY
</FOR-EACH>
</FOR-EACH>
Based on this, we are getting the output like this:
Item Num 1
Itme Description 1
Ship To: Needed: Quntity
1234. A1 Avenue JUL 200
SomeCity, CA 90706
1234. A1 Avenue AUG 200
SomeCity, CA 90706
4567 B1 Avenue JUL 100
City2 , CA
Itme Description 2
Ship To: Needed: Quntity
5689. c1 Avenue JUL 200
SomeCity, CA 90706
Our requirement is like this:
Item Num 1
Itme Description 1
Ship To: 1234. A1 Avenue, SomeCity, CA 90706
Month: JUL AUG SEP
Quantity: 200 200 100
Ship To: VVV4567 B1 Avenue , SomeCity, CA 90706
Month: JUL AUG SEP
Quantity: 100 200 100
So we need to add ship_to group (ITEM/SHIP_TO) .
How can we use group by item, ship_to..
<fo:block> <xsl:value-of select="ITEM_NUM"/> </fo:block>
<fo:block> <xsl:value-of select="ITEM_DESCRIPTION"/> </fo:block>
<xsl:for-each select="/PO_DATA/LINES/LINES_ROW/LINE_LOCATIONS/LINE_LOCATIONS_ROW">
<fo:block> <xsl:value-of select="SHIP_TO_ADDRESS_LINE1"/> </fo:block>
<fo:block> <xsl:value-of select="substring(NEED_BY_DATE,4,3)"/> </fo:block>
<fo:block> <xsl:value-of select="QUANTITY"/> </fo:block>
</xsl:for-each>
</xsl:for-each>
In the above code I need split the data by ITEM_NUM/ SHIP_TO_ADDRESS_LINE1.
I am new to xsl-fo. I tried different ways,but ship_to_address_line1 is generating wiith each quanty and need_by_date.
Please guide me.
Thank you
Raju
Edited by: subbaraju on May 7, 2009 2:36 PMHi Chandra
Thank you very much for your suggestion.
I tried that way, I created some sample xml file, I created sample rtf file and I generated xsl-fo file. I copied the part of code into my PO_STANDARD_PO.XSL. I am getting some error.
I noticed PO_STANDARD_PO.XSL is xsl version 1.0 and the generated sample data is with xsl version 2.0.
The generated code is using “for-each_group”, “sum()”, “current-group()” etc. Is these functions will work in xslt 1? Or do we need to code different way?
We are in Oracle APPS 12.0.4.
Thank you
Raju
Edited by: subbaraju on May 26, 2009 11:56 AM -
How to change the standard purchase order ???
Hi,
i am trying to change the output form of standard purchase order.for that i copied the standard script/form to my own created script/smart form.i modified it as per user requirement and i have given the same name in NACE>EF>output type>NEU>processing routine..in place of the standard one.and i have also activated the standard program i.e. SAPFM06P.but when i am going to me22n and print preview the previous form format is coming...
if i will create my own smartform then it is difficult for mapping all the fields to me22n...user can not input other fields in me21n if i am giving my print program name in NACE...
can anybody please help me...????
pls reply soon,....
Regards
AmayikaHi,
Are you sure you have set it for medium 1 (print output) and specify the program, FORM routine, and the Form/Script correctly?
Another reason is the output type is not set up yet at the PO. Go to ME22N and click Messages button (next to Print preview button) and check whether your output type is already there. If it is not, then create one.
Please also check that you have copy client the form/script from development client to test client (SAPScript need this but no need for Smartform) using T-Code SCC1. And the config is configured properly in test client.
Regards,
Teddy -
Adding a company logo to Standard Purchase Order Stylesheet
Hi,
On Metalink Note:352604.1 suggests notepad can be used for editing or is there better editing tools recommended. How could I using notepad or simular editing tool to add my companies logo to the Standard Purchase Order Stylesheet template?
Thank you,
MarkHi Folks
I really feel for you but this is not a limitation of XMLP. The standard template format is RTF that can be opened in MSWord with or without our plugin. What can be a more easier template building tool.
the Purchasing team chose to go with the XSLFO format, admittedly when they started we did not have the RTF format but before they released the RTF templates were ready but they decided to go with XSLFO. that has left you stucj trying to find a visual XSLFO editor. There are some on the market out there but Im not sure that they are free.
As a work around we have worked with a few customers whereby they build the template using our template builder in Word and then export it as an XSLFO template and then load that to the template manager and use that. You'll need to keep the RTF handy for any updates. But its definitely a viable workaround until the PO team support RTF templates.
Regards, Tim -
Standard purchase order upload to oracle
hi,
we are on oracle apps 11i, database 9i.
I have a custom requirement that requires importing purchase orders to Oracle Apps through database. I was advised to use the following interface tables:
PO_HEADERS_INTERFACE
PO_LINES_INTERFACE
PO_LINE_LOCATIONS_INTERFACE
PO_DISTRIBUTIONS_INTERFACE
insert the data to these tables using a PLSQL procedure and then running the program IMPORT STANDARD PURCHASE ORDERS from front end.
If someone confirms the above is the right method, it would be appreciated.
thanks & regardsLooks correct. Refer to the below links.
http://docs.oracle.com/cd/E19509-01/820-4390/ggtjd/index.html
http://api-wizard.blogspot.com/2012/10/purchase-order-import.html
http://raghuoaf.blogspot.com/2012/03/po-creation-and-import-po.html
Thanks
Shree -
Unable to preview Contract Terms for Standard Purchase Order
Unable to preview View Contract Terms for Standard Purchase Order,displays error
We have defined the same contract terms and Document type layouts to documents Contract Purchase Order and Standard Purchase Order.
Created a Contract PO,Attached a template able to preview the contract template in PDF successfully
Created a Standard PO,Attached a template not able to preview the contract template in PDF
Displays the foll error
Problem: The system could not generate the PDF document.
Reason: The system detected an error in the following code/object.
Code: XML
Object: PO
Action: Please contact the system administrator and try again
### Steps to Reproduce Problem ###
Steups
Created a custom XSL-FO template for Contract template and defined it for Standard PO and Contracts PO.
Steps to Reproduce
1.Create a PO,give any category of 100 Qty
2.Click Terms and CLick Author Contract Terms\
3.Select the custom Template ,Click Apply Template
4.Click Preview.
Following error displayed
Problem: The system could not generate the PDF document.
Reason: The system detected an error in the following code/object.
Code: XML
Object: PO
Action: Please contact the system administrator and try again
Please Note:The above scenario works for Contracts PO.
The problem is only for Standard PO
We have reviewed note:454479.1
The file version of POXVCOMB.pls 115.69.11510.28
But we have another test instance this also has the same version , the scenario works fine
So we are confused why this is reproducible only for a particular instance with same file versions
If anyone can suggest a solution pls give me a reply
Already SR is logged for the same -SR 3-1272761221, awaiting reply from supportPlease reply if any update on the above query is present.
Maybe you are looking for
-
I am having trouble with CSS. Displays right in DW but not in web browser
Hello, I am having difficultiy getting my webpage to look the way it does in Dreamweaver in a browers (All 5 of them). My problems are with: - Title Heading Content - Sidebar I have two lines in my heading with the name of the organization. I made
-
Hi Gurus, I have an issue with the report RBDMIDOC. When I run it to the message type MATMAS, it takes 8 or 9 seconds to send the IDoc. With the message type CLFMAS takes 3 seconds. The duration of the execution of this report depends only of the acc
-
Hi all, I've heard that it is possible to create an .exe file written in java. Till now i thought that a compiler creates class files that are executed inside VM. On the other hand .exe files are executed by the Operating System, right? Isn't it a li
-
Hi, I'm planning on messing with my system a little (re-partition, install linux) and I want a full-proof recovery plan. This should work in case I *completely* mess up my HD (bad boot records, destroyed partitions, etc.) I have an external hard driv
-
Enhancement for picking confirmation inbound idoc
Hi Friends, I'm using Message type SHPCON , Basic Type Delvry03 and process code DELV for picking confirmation. where as i have to extend the basic type for a field LIPS-UECHA ( Batch split Indicator) which is not avilable in basic type. whi