UWL - how to approve purchase requisitions
Hi experts,
Can anyone tell me whats wrong with the xml code section below ?
It is supposed to approve a purchase requisition by triggering an event called RELEASED,
which is defined as a triggering event of TS90100067
it seems object key is not delivered to R3, this is the message from tracing with SWEL
Event Instance ID 14252057
Object Type BUS2009
Object Key null
Event RELEASED
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd' >
<UWLConfiguration version="1.0">
<ItemTypes>
<ItemType name="uwl.task.webflow.TS90100067" connector="WebFlowConnector" defaultView="PurchaseApproval67" >
<ItemTypeCriteria externalType="TS90100067" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="BUS2009" cacheValidity="final">
<Attribute name="PRICEUNIT" type="string" displayName="Price" />
<Attribute name="QUANTITYREQUESTED" type="string" displayName="quantity" />
<Attribute name="VALUATIONPRICE" type="string" displayName="total" />
</CustomAttributeSource>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebFlowContainer" cacheValidity="final">
<Attribute name="_WORKITEM" type="string" displayName="_WORKITEM"/>
<Attribute name="RELEASECODE" type="string" displayName="releaseCode" />
</CustomAttributeSource>
<CustomAttributeSource id="UM" objectIdHolder="creatorId" objectType="user" cacheValidity="final">
<Attribute name="firstName" type="string" displayName="firstName"/>
<Attribute name="lastName" type="string" displayName="lastName"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<Action name="released" userDecision="yes" groupAction="yes" handler="TerminatingEventHandler">
<Properties>
<Property name="eventName" value="RELEASED"/>
<Property name="objectType" value="BUS2009"/>
<Property name="objectId" value="${item.externalobjectid}"/>
<Property name="RELEASECODE" value="${item.RELEASECODE}"/>
</Properties>
<Descriptions default="Release"/>
</Action>
</Actions>
</ItemType>
</ItemTypes>
Hi,
Here's what I did to add a custom task (SC approval) to my UWL :
1. download standard UWL configuration file for SRM (com.sap.pct.srm.core.xml) and copy the file (com.sap.pct.srm.core.<CUSTOMER>.xml)
2. find a standard task that looks like my custom task
3. copy the ItemType block corresponding to the standard task and change the ItemType name
4. upload the new configuration file : create a new configuration (com.sap.pct.srm.core.<CUSTOMER>) and make sure high priority is set
For example, here's what I've added to my configuration file in order to handle a custom task (TS91000001) :
<ItemType name="uwl.task.webflow.srm.TS91000001" connector="WebFlowConnector" defaultView="com.sap.pct.srm.core.view.tasks" defaultAction="com.sap.pct.srm.core.action.launchWD.WDCLFPOIF" executionMode="default">
<ItemTypeCriteria externalType="TS91000001" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
<Attribute name="WD_CONFIGID" type="string" displayName="Web Dynpro Application Configuration"/>
<Attribute name="BOTYPE" type="string" displayName="Type of Business Object"/>
<Attribute name="BOID" type="string" displayName="Business Object ID"/>
<Attribute name="BOMODE" type="string" displayName="Business Object Mode"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<Action reference="com.sap.pct.srm.core.action.approve"/>
<Action reference="com.sap.pct.srm.core.action.reject"/>
<Action reference="com.sap.pct.srm.core.action.launchWD.WDCLFPOIF"/>
<Action reference="com.sap.pct.srm.core.action.launchWD.print"/>
</Actions>
</ItemType>
Hope it helps.
Regards,
Pierre
Similar Messages
-
Problems to approve Purchase Requisition
Hello guys! How are you?
Here in the company we have the following issue:
- One specific user couldn't approve purchase requisition, so, the MM Consultant asked to BASIS Team to remove the WLC Parameter from this user, after this, he mays approve again.
My doubt is, It can interfere in this? I don't found any evidence about this parameter that can explain this issue.
Another doubt, What's mean the positions 1 and 5 of this parameter?
Thanks in advance guys,
Regards.
Danilo CardosoHi Danilo,
Parameters are to fill field values automatically from memory. Most of the time, cleaing this parameters will solve problems like not able to display attachments, etc. In your case, if you would like to have technical understanding, you need to perform debugging to find out what specific field/fields were effected during approval process. The value in each position means as following:
Position 1:seems to always be set - but may be changed somewhere else
Position 2:Double-clicking on an object.Most of the time becasue this thing is not set the attachment does not open.By setting it equal to X we can achieve the same.
Position 3: WI technical view / user view wo ActX
Position 4: Enable forwarding ... to several users
Position 5: seems to always be set - but may be changed somewhere else
Position 6: This parameter is set to Display texts in logon language
Position 7: This parameter is used to set WF log technical view / user view wo ActX
Position 8: WF log user view with ActiveX
Position 9: WI user view with ActiveX
Position 10: No tips & tricks ...
Position 11: No HTML in execution of workitem
Regards,
Suwandi -
Not approved Purchasing Requisition
Hallo all,
how can i prevent that not Approved Purchase Requisition are not able to create Purchase Order?
To reproduce:
create Purchasing Requisition (do not approve it)
create via Autocreate RFQ (with special RFQ Type Bid RFQ)
create via Tools/Copy Document the Bid Quotation (Action: RFQ Header and Lines)
create via Tools/Copy Ducument the PO
In this case you can create PO without of approving of Requisition. But this should not happen.
If there any of EBS-Setups (e.g. Systemprofileoptions) to prevent it???
Best Regards
Sergej
Edited by: 867673 on 31.08.2011 07:18Hallo Sandeep Gandhi,
thanks for Your reply. It is not about whether what someone should or should not, but that this possibility at all should not exist. That the not approved Requisition can convert into RFQ (or rather in Quote and after that into PO) in my case is not desired and should be prevent of system. For example, you want buy as emploee car in your company, you generate Request (not approved Requisition) and then you convert it to RFQ. It could be possible, that in big company, the buyer make real RFQ or get real Quotations. And my Ask is how can i prevent it? You mind "You can consider writing a step in the PO approval workflow that checks if the PO Distribution is tied to a Req Distribution." If I tied or rather reference the Requisition Distribution with PO-Distribution would it be prevent the generation of PO without of approval of this Requisition (not with autocreate but also with Tool/copy Document type)? And then, can you discribe how can i writing a step in the PO approval workflow?
Thanks in advance
Best Regards,
Sergej
Edited by: 867673 on 02.09.2011 00:46
Edited by: 867673 on 02.09.2011 00:48 -
How To find Purchase requisition last changed By and last changed On?
Hi All,
How To find Purchase requisition last changed By and last changed On?
Thanks,
EzhilHi
Go to M53N
Environment.
Header/Item changes.
You will get the changes made to PR.
Regards
Sachin -
User exit / BADI to control the Approved Purchase Requisition
I have configured the Release procedure for Purchase requisition with classification. The Release procedure should be applicable to the manually created Purchase requisitions which are having the total value (USD/ EURO/GBP) .The Release procedure is working well. But at the same time it will not have any control over the PO .We dont want the buyer to change the PO Price above the total value of the Approved Purchase Requisition. I am looking for a User exit or BADI. We want to generate a message as hard core when the PO total value exceeds the PR Value .This is in ECC 6.0.
Can help will be highly appreciated. I already tried with the couple of BADI.
Thanks
JeevanHi Jeevan,
We are still on V4.7 but hopefully these user exits still exist in EEC6.0.
You should be able to use EXIT_SAPMM06E_012 which is part of enhancement MM06E005.
This is specifically to Check Customer-Specific Data Before Saving but we have used it to check that a PO for a one-time vendor is not greater than $10,000, so it should be suitable for your purpose too.
The PO header and item records are all available in the tables that are passed to the FM.
Regards,
Monika -
Idoc to File scenerion : How to trigger Purchase requisition idoc
Hello ,
I am working on outbound interface for purchase requisition , which uses Idoc as sender adapeter and the Idoc type being used is PRWQCR03.
can any one tell be how trigger the idoc purchase requisition idoc .
Cheers
ChanHi,
Go to WE19(testing tool) in the Application System(R/3).
Then give the necessary parameters like Sender Port/Reciever Port , Message Type and then fill the data.
Refer this thread-
IDOC to Suppliers
Regards,
Moorthy
Message was edited by: Krishna Moorthy P -
How to release Purchase requisition..URGENT..
Hi guru's
good morning to all,.
I have created PR in my development (100).further i want to create PO for the same .But while creating PO , the shows the PR is not released.
Can anybody support me how to release PR in Development.iTried in ME54N..
Thanks in advance
sap-mmDear
be sure that you are creating PO in the same plant which of the PR exist
there are many ways to create the PO with ref. to PR
1. go to me21n enter vendor and plant-> add PR no. in the item details pur req column and the line no. in the just next column and enter you will get it.
2. go to me57 and select the PR and click on assign manually and select the assignment and then double click on the next selected itm you will get the me21n screen where you can enter the vendor and drag your PR from docmnt overview window in the PO basket.
3. the same thing you can done with
me25- vendor unknown
me58 - via requisition assignment list
me59n- automatically via PR
you can get the PR no in me21n only after entering the the PR no. in the Purchase requisition column with the line no.
also youcan dra and drop the PR no. through docment overwiew tab and enter the pr no. in my purchase requisition
rewads needed accordingly
regds
devesh
Edited by: DEVESH AGRAWAL on Jan 5, 2008 2:03 PM -
How to Reject Purchase Requisition
Hi All
I tried using ME UPDATE REQUISITION but its not working.
If anyone had tried this function module before to reject the purchase requisition, please guide me how to use it
Or is there is any other way to Reject Purchase Requisition.hiii
you can use BAPI_REQUISITION_CHANGE
FM to reject purchase requision.
regards
twinkal -
Changes in approved Purchase Requisition
Hi all,
After a purchase requisition has been released the person that created it can still make changes. If changes are made the altered requisition does not have to be released anymore.
Is is possible to prevent users from changing a released purchase requisition? (How?)
Is it possible to require another release after changing an released purchase requisition? (How?)
Thanks!
Regards,
VictorHi Victor,
Below are the possible settings for Release Indicator for PR which may work for your requirements.
If the changeability value -
Blank --- Changeable, new release in case of new Strategy,
1---- Can not be changed
2---- Changeable, no new release in case of new strategy.
Confirm if it works for you.
Thanks,
PNR. -
How to update Purchase requisition number in EBAN table through ME51n?
Hi Guru,
I know thoes user exit as below use for ME51N.
EXIT_SAPLMEREQ_005
EXIT_SAPLEBND_001
EXIT_SAPLMEREQ_010
But I don't know which use exit effect after saving PR number in EBAN table and which field to tick PR number = '0010000111' in order to I want update number 00100001111 in EBAN table after clicking save in ME51N.
I need it soon . Please help me,
Thank you so much guru.Hi,
Try with this BADI ME_PROCESS_REQ_CUST and create a new implementation under POST. That would give us the generated new PR number and using that we can access the relevant tables.
And also try this exit given Below EXIT_SAPLMEREQ_009 Document Number Assignment: Purchase Requisition
Regards
kk
Edited by: Krishna KiranN on Dec 20, 2011 5:28 AM -
Facing 'No Approver Found for Purchase Requisition' error when using AME
Hello All,
I am trying to test one simple rule in AME. Below are the the details of the rule.
Rule name - VO Category = SUPPLIES.FACILITIES
Item Class - Header
Rule Type - List Creation
Conditions
1. ITEM_CATEGORY in (SUPPLIES.FACILITIES)
Condition Type - Ordinary
Attribute - ITEM_CATEGORY
Data Type - String
Item Class - Line Item
String Value - SUPPLIES.FACILITIES
2. TRANSACTION_SET_OF_BOOKS_ID is equal to 1
Condition Type - Ordinary
Attribute - TRANSACTION_SET_OF_BOOKS_ID
Data Type - Number
Item Class - Header
Details
TRANSACTION_SET_OF_BOOKS_ID is equal to 1
Actions
Action Type - approval-group chain of authority
Rule Type - Chain of Authority
Order No - 1
Ordering Mode - Serial
Voting Method - Serial
Action - Require approval from Facilities Approver Group
Approver Group Details
Name - Facilities Approver Group
Type - Static
Voting Method - Order Number
There are two member in this approver group
Approver Type Approver Order Number
HR People HR People: akshay7 1
HR People HR People: akshay8 2
Now when i create a requisition with akshay7 as preparer then following notification is displayed
To akshay7
Sent 21-May-2013 16:55:08
ID 4681179
Approval workflow database error occurs while approving Purchase Requisition 14315
Contact your system administrator to identify the problem and to use SQL*Plus or Workflow Monitor to reactivate the approval workflow where it left off.
Give your system administrator the following information:
PL/SQL procedure: POR_AME_REQ_WF_PVT.GET_NEXT_APPROVERS
Error: ORA-20001: The procedure getNextPosition could not find parent position for : HR Positions: 01.Jrbuyer
Both the employees have one supervisor.
How to reslove this error?
Thanks in advance.Hi Everyone,
The problem is solved now. The cause was that the test requisition that I was making was satisfying more than one rules and hence I end dated the remaining rules which solved the problem.
Thanks! -
Workflow email for Purchase Requisition Approval
We have a requirement of sending email to the approvers for approving purchase requisition. Alongwith the email sent out to the approvers (to their Outlook/ Lotus Notes Inbox), we will also like to show the content of the line items of the purchase requisiton. i understand this can be done since in the past at other implementations, I have seen that the email contains the link to goto SAP Ibox and it also shows the content of the requistions.
Our issue is that we are not being able to pass on the content of the requistion line items to the approvers inbox. Is there a setting to activate this in workflow or somewhere that we are missing? Any help will be greatly appreciated.
VJhi
In the workflow, you need setup the agent assingment(i.e organizationlal roles) -
Automate Approved Purchase Requsition to Approved Purchase Order
Hi all,
How can we automate the flow from the Approved Purchase Requisition to Approved PO.
What are the basic setups(ASL, SOURCING RULES) needed?
To brief it, by Requisition Import process we get approved PURCHASE REQUISITION.
In a similar fashion, can we automate(not with autocreate) creation of approved PO without choosing supplier, for each item/requisition ?
Thanks in advance
Regards
KumarHI ,
Find below the set up steps for Auto creation of PO.
1.Valid Contract agreement need to be available for the supplier site.
WF set up :
Create Documents workflow attribute :
“Is Automatic Creation Allowed?” set to “Yes”
Should Contract be used to autocreate Doc?” set to “Yes”
"Is automatic approval allowed" set to Yes
"Should Non catalog requests be autosourced from contract" set to YES
"Is contract required on requistion line" set to Yes
In req. approval WF :
'Send PO Autocreation to Background' set to NO for launcing the WF background process to be launched immediately.
In PO module :
PO: Automatic Document Sourcing -- set it to NO
create Sourcing rule and ASL ,Provide the Contract info in ASL and set the release method as "Release using Autocreate"
Note : In case of NCR from iproc which has the item category alone,ASL is not required for auto creation of PO.
Once all this setup is done ,import the req and it would be converted into a std. PO.Hope this suffices.
Subbu -
Hi
i have a situation where in one week the SNP planning run creates only one purchase requsition with single item for the requirement and in another it creates multiple purchase requisitions with single items...
iam unable to understand how the multiple purchase requisitions are created..can you share your ideas,
ThanksHI,
Yes offcource we can get multiple purchase req from SNP heuristics. here is some scenarios.
1) it depends on lot size settings in product master. in your case you may be getting multiple orders of fixed lot size since demand qty is more then that of fixed qty
2) if you maintained multilple sourcing( inbound quota arrangement) you will get multilple purchase req.
Check above settings carefully..
Regards
Thennarasu.M -
Purchase Requisitions Approval Error
Hi,
We are working in Oracle Applications 11i. We have the follwoing modules installed and used: Purchasing, Inventory, HRMS(Payrol), General Ledger, Assets, Payables.
I am trying to fill in the gaps in our initial setup in order to enable the user to use Purchase Requistions documents.
Purchasing Super User wishes to create a Purchase requistion herself and get it approved and then distribute the approved requistions amongst the buyers. Is this possible??? How can we implement this? Can we assign the superuser to aan approval hierarchy of one level?
Also, I have created a multi-level position approval hierarchy , run Fill Employee Hierarchy, and assigned it to the Purchase Requisition document.
Me, in the 1st level have created a Purchase Requistion,I submitted for approval and then had the error:
APP-PO-14142: In Exception of Start_Wf_Process()-PO_REQAPPROVAL_INIT1.Start_WF_Process: In Exception handler: ORA-20002: 3108: Root Process could not be determined for item XXXXX. There may be a problem with item type selector function, or you may be required to supply a starting process Name.
Can someone advise please....
Thank you...Hi again,
Now please help me in the first part of my post.
How can I setup Purchasing Requisition in one-level hierarchy and approval?
After the Reuisition is approved, in order to control the load balance , how can the super user distribute it to buyers to follow up the standard purchase order and submit it for approval?
Thank you
Maybe you are looking for
-
Hi Experts, I wish to close PO but unfortunately I am getting errors. Can you please advise how? As a background, these PO's are obsolete PO's. and related documents attached to these PO's has likewise been deleted or no longer existing (eg, Invoice,
-
I have a 2011 Mac mini, 8GB ram, default 10.7.4 server install. Filesharing, OD (replica) and most things work fine. Recently i've set my sights on getting non-spammy logs, and as such i've started to try to resolve every repeating log message. Today
-
How do I change language-specific font fallback preferences?
My MacBook's default fonts for viewing content in the Malayalam script/language seem to be Malayalam MN and Malayalam Sangam MN -- not surprisingly, since those are the default Malayalam fonts that come with the OS. However, both of those fonts are
-
Primavera P6 Web Access: You do not have a license ...
Hi, I've just installed Primavera P6 Project Portfolio Management primaveraweb and progress reporter on an EL5U5 Linux machine. When I try to add some users who are not Administrators and try to log in to primaveraweb on the http://hostname:7001/prim
-
If I click on a hyperlink within a message on Thunderbird, I open an infinite stream of tabs on Firefox. What's happening? Yesterday I was able to close to close tabs and stop the progression; today I had to close Firefox entirely.