EhP 5 New function, sharing template of Purchase Request or Purchase Order
Hi Experts,
From SAP ERP MM EhP 5, we can create, save and load " template " of Purchase Request or Purchase Order.
This is discribed on SAP release note of EhP 5 "LOG_MM_CI_3: Public Templates in Purchase Orders and Requisitions".
Does someone know whether this public document template is shared cross company codes, cross clients?
Best regards,
Tadasuke
Hi Tadasuke,
Maybe here you can get some info
https://websmp107.sap-ag.de/erp-ehp
Regards
Similar Messages
-
Wrong updation of Business Area in Purchase Request and Purchase Order
Hi Team,
We have by mistake updated business area in purchase request and purchase order, how do we remove this from purchase request and orders. business area is not applicable in our business scenario.
Do we have any standard correction program in sap to remove this.
Please suggest.
Kind Regards
SreeddharHi Emrah Iscigil,
Can you please be explain in detail.
Kind Regards
Sreedhar -
WF: mail to user for purchase request and purchase order
Hi all,
I activated the WF for released of purchase request and purchase order and the system correctly send mail to the user, but not only one, seven mail for purchase request released...
Is there a possibility for sending mail only time?
Thanks!
Best regards,
Gaetanocan you please check the parameters you have maintained for the report which is used for generating the mails?
please maintain the flag --> one mail for workitem --> and let me know the system response. -
Purchase requestions to planned order
How to convert purchase requestions to planned order while running MRP.
Dear Prabhu,
1) MRP Creates either plan orders or Purchase Req Based on initial settings
2) so if MRP creates plan orders then we need to Convert plan orders to Purchase req
3) through t-code MD16 you can convert in Mass
Regards
Madhu -
Purchase order vs Purchase Request vs Purchase Requisition
Good Day Gurus,
Could someone tell me the differences bet these three in detail
thanks in advance1) Purchase requisition created by user dept. or automatically by MRP run, which can be converted to purchase order or RFQ (request for quotation). its a internal document
for more details:
http://help.sap.com/saphelp_47x200/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
2) Purchase request : nothing like this in SAP
3) Purchase order : A out going document which we send to vendor or supply plant to deliver required materials with other condition like when to delivery ,delivery address, pricinging condition, payment terms and condition etc
for more visit http://help.sap.com/saphelp_sbo2004a/helpdata/en/32/27074bfc8bb54ba46dc5e76a8838f4/content.htm -
Uncompleted purchase request and purchase orders authorizations
Hi,
Is there a way to see all uncompleted PR and PO authorizations? Maybe to view these in a table?
Thank you.
HakanYou can check them in ME5A for PR and ME2L for PO with displaying release indicator field and all the other fields relevant to release
-
Hi Experts,
How can i get the alert message when any user raises the PURCHASE REQUEST to Purchase department? Is there any default functionality available? or should i need query for that alert? I'm using SAP Business One 9.0 PL 5.
Help me in this. Waiting for reply.
Thanks & Regards,
Sai.Hi Sai...
You can use the query for the customized alerts. Use the below query you can add the required fields in the query what you needed.
Select Distinct T0.docnum, T0.docdate from OPRQ t0 where t0.docdate = CONVERT(VARCHAR(10),GETDATE(),110)
Save the query in the query generator. Call the query in the alert management window, set the time interval and assign to the required users.
Hope Helpful
Regards
Kennedy
Message was edited by: Kennedy T -
Purchase request for stock material
Hi
when MRP runs, take all purchase request of all production order for STOCK material and aggregates all request together in one purchase order. In this way, I lost binding between purchase request and production order. Is there a way to make MRP not aggregating request but use different position for different purchase request in case of stock material?
regards
GabrieleGabriele,
MRP does not create purchase orders. I assume you are talking about the Purchase requisitions created by MRP.
In MTS by definition there is no 'binding' between supply elements (such as Purchase reqs) and demand elements (such as production order reservations). In MTS, all production is 'anonymous'.
You can cause MRP minimize the amount of aggregation of supply elements by changing lot size of the components to EX, and ensure that the 'individual/collective' indicator (MRP4) is not set to '2', but there is no way to guarantee a 1-to-1 relationship under all circumstances between mrp rqments and mrp supply (purchase requisitions)
Companies that have a business requirement to 'hard-link' supply to demand use MTO. If this is your requirement, it will never be completely satisfied with MTS.
Rgds,
DB49 -
Excise Tax Code mandatory in Purchase Request
Hi Experts
In Purchase Request or Purchase Order if user chooses Excisable item and Excise Warehouse SAP is not allowing to add without selecting excise Tax code. What is the Purpose of doing this validation at Purchase Request Level. Since user might not aware of tax code. If there any way to by-pass it.
Regards
Karunakaran P.Hi Joseph
Thanks for your reply. this may be work around solution but what is the purpose of selecting excise tax code in purchase request.
One more thing how can we set the default tax code for purchase request document. i have tried following
1. Tax Code determination
2. No option for form settings default tax code in purchase request
3. Tried with user defaults.
all the above attempts were failed.
Is there any other possible way to achieve this?
Regards
Karunakaran P. -
Append New Line Item(s) onto the created Purchase Request using Function
Dear Expert,
I am trying to append new lines into the created purchase request via Function Module/ BAPI.
Say, now, the Purchase Request has already 1 line item. And i want to append new line items into
this purchase request via function module/ bapi.
Do you know if there is any function module/ bapi exists to do this?
Thanks.
TeeHi,
It's weird.
I tried on the BAPI_PR_CHANGE, and the return message says that it has successfully changed the PR. But, when i see it via ME53N, it's not being updated.
Does anyone has sample usage/ code using this BAPI?
Thanks.
Tee -
Error adding new function in order template
Hi,
When i am trying to add a new function to order Template under /contolData/Functions/ form data dictonary
I am getting error :
Element with same name exist.The following nodes can not be added to the order.
(no namespace):/ControlData/Functions/MyNewFunction
(no namespace):/ControlData/Functions/MyNewFunction/componentKey
Thanks
HarmanHi Harman,
You might need to be more specific before I can help you. What have you done, and which step you run into the error? I supopse you have created a new "function" Order Component, and created the required Control Data nodes in Data Dictionary (what have you added?), right? So, when you go into the Order Template tab of the new Order Component (which would be empty since it was newly created), and you try to "select from Dictionary" the corresponding ControlData for the function (e.g. /ControlData/Functions/MyNewFunction), that such an error occurs?
Have you assigned a process for this Order Component? Studio does not allow adding control data to it unless a process is assigned.
Btw, you should define a namespace for your Order Components (and other orchestration entities). The OSM server uses namespace to locate these entities among cartridges.
Cheers,
Daniel Ho
Product Management -- OSM -
Product costing Template - adding new function in Environments CTU6
Hi Guru!!
I need to create a new function in CTU6 (Define Environments and Function Trees) in order to have information stored in MBEW table and use them in CPT2 (Template).
The goal is to calculate a value for each material/plant and add that value during the cost estimate (CK11N / CK40N).
Could someone help me? How can I add a field of MBEW in CTU6?
Thank you very much in advance!!
MarcoHi Marco,
Please check SAP help for functions maintenance:
http://help.sap.com/erp2005_ehp_06/helpdata/en/8e/f9bd66ef0e11d1a5c70000e82de878/content.htm
Regards,
Szymon -
Family sharing: Purchase requests are not being sent to Organizer
My son's requests for purchases are not notifying me, the organizer, and he cannot download/purchase any apps. It says the request was sent but there is no pop-up message for me to review the purchase request. I've checked, my iTunes account, my email on all my devices but I never receive any of his requests to purchase. Please help.
How are you uploading the file via network?
If you are troubleshooting the network bandwidth? or the threads where one process takes precedent over the other you will have to troubleshoot the QoS of the network you see this on.
To give a better visual please use Firebug or the Web Developer tool called Network to analyze the requests. The "XMLHttpRequest" will give better clues for Ajax. Reference [http://ajaxian.com/archives/ajax-debugging-with-firebug]
There may be a about:config option that allows mutithreading or max persistent connections per server you can check. -
Family Sharing when having different accounts for purchasing and iCloud
I have two Apple ID accounts. One that I use for making iTunes purchases (which I had way before @me.com or @icloud.com existed) and the new @icloud.com account that I use for everything iCloud related (Messages, backups, etc).
Now that Family Sharing exists, I want to bring my kids and my wife into the plan, but from what I've seen, I wouldn't be able to use my icloud.com address since all my purchases are on the other Apple ID. The problem is that either I would need to stop using my icloud.com ID or purchase everything again?
I know one of the most requested features has been to be able to merge accounts and I know I am not the only one in this situation. Is there a way in iOS 8 Family Sharing to do just that? I wouldn't mind removing my old Apple ID account as long as I can transfer all my purchases to the new icloud.com ID.
Otherwise, I guess Family Sharing is out for me (and for everyone who is on the same boat of having 2 different Apple IDs).Ok teach me to believe stuff I read on the Internet!! But I did get it to work.
So how in effect it is not working much differently to the old way under ios7 that worried me when iTunes Match was going to use "icloud" and not my existing Apple ID. But as we all found out we could use our @me.com or @icloud.com address for all they syncing stuff and then further down there was an option for your iTunes store account where most of us used our old iTunes Store account.
So after reading this thread and many similar articles on new family sharing I thought we may have the same issue, but it seems we are ok.
How I did it:
1) Set up Family Sharing,
2) when asked for AppleID enter my @me.com address and password
3) click next, it asks what AppleID to use for Store purchases for the family, here I entered my old store id which is so old is actually just a username.
4) confirm payment card
This seems to have worked, my purchases through AppStore are still made through my old id and all family purchases will be made through that id too.
But as far as my family are concerned @me.com addy is the organiser.
I have yet to set up family members but I trust Apple that it will work they haven't let me down yet (apart from the mucking around with Photostream that they seem to have done).
Also you can check in your settings whether it is set up correctly, go to Family Sharing via icloud settings, click on your name as organiser, it should show what AppleID your family purchases are made through, mine shows my normal AppStore ID, when I get home I'll upload some screenshots (once edited out my details!) -
Calling New Function Module from JAVA ISA b2b
I need to call a new function module which accepts some parameters as input and
returns some result parameters back as output.
These returned value needs to be displayed on the JSP pages of ISA B2B applications.
Can someone please guide me and provide code snippet on how to do this?
Thanks in advance.
Points will be awarded for all relevant and helpful answers.Stride,
I did this on CRM ISA 4.0... I used the dev and extension guide as a basis - I think the ISA 5.0 guide has the examples and tutorials in a separate document that can also be downloaded from service.sap.com.
Heres some info on how to do it although I can't guarantee this is the full solution or that it will work the same for ISA 5.0, and I will probably forget a lot of stuff as its been a few years since I did it! I also cant guarantee it is the correct way to do it but it worked! Basically, we built a link into the order overview page to display urls to order tracking websites using an RFC on the backend CRM system. Hope it helps anyway.
1. Create RFC enabled function module in backend.
2. Edit file backendobject-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification:-
[code] <backendobject
xmlns:isa="com.sapmarkets.isa.core.config"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xml="http://www.w3.org/XML/1998/namespace">
<configs>
<!-- customer changes in backendobject-config should be done here by extending/overwriting the base configuration-->
<xi:include
href="$
Template for backend object in customer projects
Concrete implementation of a backend object
This implemenation demonstrates how a backend object
is used to communicate with the CRM system
@see com.ao.isa.backend.boi.Z_AOFuncBackend#getOrderDeliveryTrackingData(java.lang.String)
Interface used to communicate with a backend object
The purpose of this interface is to hide backend implementation details
from the business objects
Returns a vector of Z_OrderDeliverTracking objects containing data to link
to external delivery tracking websites
@param orderNo The sales order document number
@return A vector of order tracking objects
@return
@return
@return
@return
@return
@param string
@param string
@param string
@param string
@param string
/modification/backendobject-config.xml#xpointer(backendobject/configs/*)"/>
<!-- This is an example customer extension. A new Backend Object is registered in the framework using XCM extension mechanism. -->
<!-- If you write customer extensions you should register your backend objects in the same way. -->
<!-- Please make sure that you use the correct base configuration (e.g. crmdefault for CRM or r3default, r3pidefault for R/3) -->
<config
isa:extends="../config[@id='crmdefault']">
<businessObject
type="Z_AO_Custom"
name="Z_AO_Custom"
className="com.ao.isa.backend.crm.Z_AOFuncCRM"
connectionFactoryName="JCO"
defaultConnectionName="ISAStateless"/>
</config>
</configs>
</backendobject>
[/code]
File com.ao.isa.backend.crm.Z_AOFuncCRM.java looks like this :-
[code] package com.ao.isa.backend.crm;
//jco imports
import java.util.Vector;
import com.ao.isa.backend.boi.Z_AOFuncBackend;
import com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem;
import com.sap.mw.jco.JCO;
import com.sap.mw.jco.JCO.ParameterList;
import com.sapmarkets.isa.core.eai.BackendException;
import com.sapmarkets.isa.core.eai.sp.jco.BackendBusinessObjectBaseSAP;
import com.sapmarkets.isa.core.logging.IsaLocation;
public class Z_AOFuncCRM
extends BackendBusinessObjectBaseSAP
implements Z_AOFuncBackend
// initialize logging
private static IsaLocation log =
IsaLocation.getInstance(Z_AOFuncCRM.class.getName());
/* (non-Javadoc)
public Vector getOrderDeliveryTrackingData(String orderNo)
Vector urlData = new Vector();
try
// get Java representation of function module
JCO.Function func =
getDefaultJCoConnection().getJCoFunction(
"Z_BAPI_CRM_ORDER_TRACKING_URLS");
// provide export parameters
ParameterList params = func.getImportParameterList();
params.setValue(orderNo, "ORDER_NO");
func.setExportParameterList(params);
// execute function
getDefaultJCoConnection().execute(func);
// get result table
JCO.Table table =
func.getTableParameterList().getTable("TRACKING_DATA");
int numRows = table.getNumRows();
for (int i = 0; i < numRows; i++)
// get row
table.setRow(i);
// create a new Z_orderdeliverytracking object
Z_OrderDeliveryTrackingItem trackItem =
new Z_OrderDeliveryTrackingItem(
table.getString(0),
table.getString(1),
table.getString(2),
table.getString(3),
table.getString(4));
urlData.addElement(trackItem);
trackItem = new Z_OrderDeliveryTrackingItem();
return urlData;
catch (BackendException bex)
// The following key has to be added to WEB-INF/classes/ISAResources.properties
// in order to see the exception correctly
log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
return null;
[/code]
And file com.ao.isa.backend.boi.Z_AOFuncBackend.java looks like this:-
[code] package com.ao.isa.backend.boi;
//package java.ao.com.ao.isa.backend.boi;
import java.util.Vector;
import com.sapmarkets.isa.core.eai.sp.jco.JCoConnectionEventListener;
public interface Z_AOFuncBackend
public Vector getOrderDeliveryTrackingData(String orderNo);
[/code]
Whilst file com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem.java looks like this:-
[code]
package com.ao.isa.businessobject.order;
// Referenced classes of package com.sapmarkets.isa.businessobject.order:
// PaymentType
public class Z_OrderDeliveryTrackingItem // extends SalesDocument implements OrderData
private String deliveryDocNo;
private String goodsIssuedDate;
private String consignmentNo;
private String status;
private String url;
public Z_OrderDeliveryTrackingItem()
public Z_OrderDeliveryTrackingItem(
String delDocNo,
String GIDate,
String consNo,
String status,
String url)
this.setDeliveryDocNo(delDocNo);
this.setGoodsIssuedDate(GIDate);
this.setConsignmentNo(consNo);
this.setStatus(status);
this.setUrl(url);
public String getConsignmentNo()
return consignmentNo;
public String getDeliveryDocNo()
return deliveryDocNo;
public String getGoodsIssuedDate()
return goodsIssuedDate;
public String getStatus()
return status;
public String getUrl()
return url;
public void setConsignmentNo(String string)
consignmentNo = string;
public void setDeliveryDocNo(String string)
deliveryDocNo = string;
public void setGoodsIssuedDate(String string)
goodsIssuedDate = string;
public void setStatus(String string)
status = string;
public void setUrl(String string)
url = string;
[/code]
3. Edit file bom-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification :-
[code] <BusinessObjectManagers
xmlns:isa="com.sapmarkets.isa.core.config"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xml="http://www.w3.org/XML/1998/namespace">
<!-- customer changes in bom-config should be done here by extending/overwriting the base configuration-->
<xi:include
href="$/modification/bom-config.xml#xpointer(BusinessObjectManagers/*)"/>
<!-- This is an example Business Object Manager. It can act as template for customer written Business Object Managers -->
<BusinessObjectManager
name="Z_AO-BOM"
className="com.ao.isa.businessobject.Z_AOBusinessObjectManager"
/>
</BusinessObjectManagers>
[/code]
File com.ao.isa.businessobject.Z_AOBusinessObjectManager.java looks like this:-
[code] package com.ao.isa.businessobject;
// Internet Sales imports
import com.sapmarkets.isa.core.businessobject.management.BOManager;
import com.sapmarkets.isa.core.businessobject.management.DefaultBusinessObjectManager;
import com.sapmarkets.isa.core.businessobject.BackendAware;
Template for a custom BusinessObjectManager in customer projects
public class Z_AOBusinessObjectManager
extends DefaultBusinessObjectManager
implements BOManager, BackendAware {
// key used for the backend object in customer version of backendobject-config.xml
public static final String CUSTOM_BOM = "Z_AO-BOM";
// reference to backend object
private Z_AOFunc mCustomBasket;
constructor
public Z_AOBusinessObjectManager() {
Method is called by the framework before the session is invalidated.
The implemenation of this method should free any allocated resources
public void release() {
Returns custom business object
public Z_AOFunc getCustomBasket() {
if (mCustomBasket == null) {
mCustomBasket = new Z_AOFunc();
assignBackendObjectManager(mCustomBasket);
return mCustomBasket;
[/code]
And uses file com.ao.isa.businessobject.Z_AOFunc.java which looks like this:-
[code]
package com.ao.isa.businessobject;
// Internet Sales imports
import com.sapmarkets.isa.core.businessobject.BOBase;
import com.sapmarkets.isa.core.businessobject.BackendAware;
import com.sapmarkets.isa.core.eai.BackendObjectManager;
import com.sapmarkets.isa.core.eai.BackendException;
import com.sapmarkets.isa.core.logging.IsaLocation;
// custom imports
import com.ao.isa.backend.boi.Z_AOFuncBackend;
import java.util.Vector;
Template for business object in customer projects
public class Z_AOFunc extends BOBase implements BackendAware
// initialize logging
private static IsaLocation log =
IsaLocation.getInstance(Z_AOFunc.class.getName());
private BackendObjectManager bem;
private Z_AOFuncBackend backendAOBasket;
Returns a reference to the backend object. The backend object
is instantiated by the framework.
@return a reference to the backend object
private Z_AOFuncBackend getCustomBasketBackend()
if (backendAOBasket == null)
//create new backend object
try
backendAOBasket =
(Z_AOFuncBackend) bem.createBackendBusinessObject(
"Z_AO_Custom");
// the backend object is registered in customer version
// of backendobject-config.xml using the 'Z_AO_Custom' type
catch (BackendException bex)
// The following key has to be added to WEB-INF/classes/ISAResources.properties
// in order to see the exception correctly
log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
return backendAOBasket;
This method is needed when a business object has a corresponding
backend object.
public void setBackendObjectManager(BackendObjectManager bem)
this.bem = bem;
Returns a vector of url links for tracking
@return vector of urls
public Vector getOrderDeliveryTrackingData(String orderNo)
// the call is delegated to the CRM aware backend object
return getCustomBasketBackend().getOrderDeliveryTrackingData(orderNo);
[/code]
4. Edit file config.xml in folder project_root\b2b_z\WEB-INF to add custom actions (the section below is just the custom stuff added at the end of the file the Z_orderTracking is the relevant one) :-
[code] <!-- Begin of custom AO action definitions -->
<action path="/b2b/Z_orderTracking" type="com.ao.isa.order.actions.Z_OrderTrackingAction">
<forward name="success" path="/b2b/order/Z_orderTracking.jsp"/>
</action>
<action path="/catalog/Z_displaySVGPage" type="com.ao.isa.catalog.actions.Z_SVGPageAction">
<forward name="success" path="/catalog/Z_SVG_fs.jsp"/>
</action> [/code]
Which points at Java file com.ao.isa.order.actions.Z_OrderTrackingAction.java which looks like this :-
[code] package com.ao.isa.order.actions;
// internet sales imports
import com.sapmarkets.isa.core.BaseAction;
import com.sapmarkets.isa.core.UserSessionData;
// struts imports
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;
// servlet imports
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
// Internet Sales imports
import com.ao.isa.businessobject.Z_AOBusinessObjectManager;
import java.util.Vector;
This action acts as a template for customer extensions
public class Z_OrderTrackingAction extends BaseAction
This method is called by the ISA Framework when the
action is executed
public ActionForward doPerform(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException
// get user session data object
UserSessionData userSessionData =
UserSessionData.getUserSessionData(request.getSession());
// gettting custom BOM
Z_AOBusinessObjectManager myBOM =
(Z_AOBusinessObjectManager) userSessionData.getBOM(
Z_AOBusinessObjectManager.CUSTOM_BOM);
// get the order number being processed
String orderDocNumber = request.getParameter("orderNo");
// pass the order number back to the page
request.setAttribute("orderNo", orderDocNumber);
if (orderDocNumber != null)
// Get a vector of delivery tracking objects from lower layers (Business Object layer =>
// Business Logic Service Layer)
Vector trackingTable =
myBOM.getCustomBasket().getOrderDeliveryTrackingData(
orderDocNumber);
String error = "";
if (trackingTable != null)
if (trackingTable.size() == 0)
error = "true";
else
error = "false";
else
error = "true";
request.setAttribute("errorMessage", error);
request.setAttribute("trackingTable", trackingTable);
return mapping.findForward("success");
[/code]
5. I added the call to the function module for page orderstatusdetail.jsp in folder project_root\b2b_z\b2b\order to display a custom page Z_orderTracking.jsp in the same folder. To do this I added a link into the HTML to call a JavaScript function that passed the current order number to the /b2b/Z_orderTracking.do actionhandler mapped in the config.xml file.
So, in summary! Create an RFC; define business managers for it in the XML files; create a new Strut action and supporting Java class; create all the Java class for the managers.
I hope this makes some sense!
Gareth.
Maybe you are looking for
-
Goods receipt and post goods issue are not updated back from EWM to ECC
Hi Experts, Would anybody able to tell me the setting to be modified / defined to backward flow of information from EWM to ERP i.e. the goods receipt, goods issue are not being updated back in ECC once the goods receipt and post goods issue are post
-
Apple keep telling me I need to update to icloud but I'm not sure if Lion will work on my Mac. I've upgraded to snow leopard which seems to have knackered my .me or .mac account (whatever it's called now), so I don't seem to have any option but to up
-
When I click on FrameMaker it will not launch. It appears in the "Process" section of Task Manager, but will not load to the screen. Is anyone aware of what might be causing this?
-
Hello We need to create Cost Centre authorizations for an input ready query in IP, so every Cost Centre responsible is only allowed to plan data for his cost centre. Actually we are using the old 3.x authorization concept with authorization objects d
-
Remove particular field and button from a screen when using pnp
hi, i came to a request of remove a field and button from the displayed screen. i developed the report using logical database pnp. i need help.