Need Sales Order Approval Workflow upto two level
Hi All,
I am new user of sdn and also in workflow.I want to create a workflow to approve a sales order upto two level of approval.
Is there any standard workflow available for this?or any standard task to approve sales order.Please help.
Hi Abhijit,
Thanks for your assistance.
Actually what I need is to build a workflow which will be triggered whenever a Sales Order is created by some user.First the workflow will check if the sales order value is greater than Rs.10,000 or not.If yes it will go for the first level of approval to authority1 if not it simply complete the workflow.If authority1 approve the workflow it will go to authority2 for second level of approval.If authority1 reject that it will go back to the sales order creater to change it or he simply complete the workflow.If he choose change then it will again go for the first level of approval to authority1.If authority1 approve the sales order then it will go to the authority2 for second level of approval.If authority 2 approves it the sales order will be finally approved else it will return back to the creater to change or withdraw.
I think you have understood what I want.Waiting for your reply.
Similar Messages
-
Hi,
I am new to workflow. I have to implement sales order approval process in sap.
Below are my queries:
1) Can anyone tell me that is there any standard method for "approval" available in BOR.
2) Organization level should be derived from the custom table in sap depending on the input coming to workflow.
So how i can implement this process?
3) Is there any possibility to approve the sales order through e-mail. If yes then how to do that.
Can anyone suggest any example for this.
Thanks in Advance.
SumitHi Sumit,
There are standard Objects available in BOR for sales order you can extend that object type and use a
new method for Approval process check object BUS2032.
You can forward your workitem through email maintain settings in SCOT and SOST.
Thanks & Regards
Hari Sankar M -
I wish to know if there is any standard procedure for the below in SD.
"Sales Order Approval. There is a need from business to align on confirmation control.
User requests to change the sales order flow to include SO confirmation step."
rgds,
Prihi
<u><b>U will follow this steps:</b></u>
1.First create the status profile.
2.In this status profile,u have create the Approval and Non-Approval and Double click to the Processing Process.
3.Then assign to the Sales document header or Item Level.
<b>IMG - Sales and Distribution - Sales - Sales Documents -Define And Assign Status Profile</b> -
Approval Workflow at Attribute level
Hello,
can anyone guide me how to achieve approval workflow at Attribute level.
OIM 9.1.0.1/2 supports workflow for self profile update but it is not at attribute level & i need some approach
to achieve this workflow at attribute level.
Thank-You
Rahul ShahHello Rajiv,
I have created an resource object with one field & created 2 process definitions i.e 1 for approval &
1 for provisioning.
Objective:= If approved by user's manager then it should copy value from resource object & set into
user profile's first name.
In approval process i have added an non-conditional task with process task adapter attached to it
& it takes value from resource object's field & set into user profile's first name field.
Also i have made changes in assignment tab i.e. Rule column=Default Rule,TargetType=Requester's
Manager & removed XELSYSADM from user column.
In provisioning process i have added an task createUser with tcCompletetask.
I have also created an rule for above task with parameters as
Type=Process Determination
Subtype=Approval
Object=My Resource Object
Process=My Process Def With Type as Approval
and created rule as
AttributeSource=ObjectDataInformation
Attribute = Column Name of my resource object's field
UserDefinedForm=Name of my resource object
Operation : ==
Attribute Value= aug30
and i added this rule in my resource object's Process Determination Rules tab.
When i checked this use case i.e.
i created an user & assigned manager to him .
Logged with newly created user & changed first name with aug30.
It doesn't show any approvals.
Is above procedure correct ? Or please guide me how to perform this task .
Thank-You
Rahul Shah -
Update sales order through workflow
Hi,
i developed one workflow for sales order. after all aprovals the sales order is updating upto 2nd change. but 3rd change is not updating sales order.
For updating sales order i am using BAPI_SALES ORDER_CHANGE function module.
Thanks.Hi Abdullah Azzouni
my scenario is when sales order is created or changed my workflow should trigger and make sales order as incomplete with (Z field) by using incompletion Procedure.
Also some other custom fields there for other workflows in salesorder.
In METHOD
select single zfield1
zfield2
zfield3
Zfield4 <- for my workflow
INTO wa_ext_hdr
FROM vbak
WHERE vbeln = object-key-salesdocument.
wa_ext_hdr-zfield ='X'.
wa_ext_hdrx = 'XXXX'.
MOVE 'U' TO wa_headerx-updateflag.
MOVE: BAPE_VBAK TO wa_extflds-structure.
CONCATENATE object-key-salesdocument
wa_ext_hdr INTO
wa_extflds-valuepart1.
APPEND wa_extflds TO i_extflds.
MOVE: BAPE_VBAKX TO wa_extflds-structure.
CONCATENATE object-key-salesdocument
wa_ext_hdrx INTO
wa_extflds-valuepart1.
APPEND wa_extflds TO i_extflds.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = object-key-salesdocument
order_header_in = wa_header
order_header_inx = wa_headerx
behave_when_error = 'P'
TABLES
return = i_return
extensionin = i_extflds.
READ TABLE i_return INTO wa_return WITH KEY type = 'E'.
iF sy-subrc EQ 0.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
Can you help on this.
Please suggest me where i am wrong or if you know any other way to achieve this functionality guide me.
Thanks in Advance.
Raj -
Fiori Approve Reqs - Custom Sales Order Approval Issue
Hi All,
Urgent Help required .
We are developing Sales Order Approval apps using Approve Requests as baseline. We have requirement to display the sales Order details in Apps Like the PO apps. Please help me find out how to add business data to Approve request apps . I have checked below Doc .
.http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ab2463-4e16-3110-b08e-d93918e513a1?QuickLink=index&overridelayout=true&58789512365087
Step 8 Extensibility section .
8.2 we have implemented . all the steps mentioned in Doc were implemented in the backend system as we have to retrieve data from ECC/ERP
Created Model Provider Class.
Created the data provider Class.
Created Service and maintained the customization table /IWPGW/C_TGW_CTX with Service.
But i am not able to see the fields i have added to Entity when testing in the metadata fields in TASKPROCESSING. However, it does show there is Contextserviceurl with the context service what we have created
Please let me know the Next step or if i am missing some steps .
Please suggest me best approach to develop the Approval apps if not delivered by SAP ???
Thank you very much for your help.
Thanks,
Deepanker
Tags edited by: Michael ApplebyYou need to REDEFINE method ENTITYSET_TASK and couple of other methods like GET_ENTITY etc. I am showing one for reference:
Please look at std SAP method for GET_ENTITY in the std class. Here is a sample example:
first get a handle to the Instance ID
CASE iv_entity_name.
WHEN 'InvoiceItem'.
* get work item's instance ID
READ TABLE it_key_tab INTO ls_key WITH KEY name = 'InstanceID'.
READ TABLE it_key_tab INTO ls_key_item WITH KEY name = 'InvoiceLineItem'.
lv_wiid = ls_key-value.
* retrieve Invoice details
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = lv_wiid
IMPORTING
output = num.
CALL FUNCTION 'SAP_WAPI_READ_CONTAINER' destination lv_destination
EXPORTING
WORKITEM_ID = num
BUFFERED_ACCESS = 'X'
IMPORTING
RETURN_CODE = lv_returncode
TABLES
SIMPLE_CONTAINER = lt_simple_container
SUBCONTAINER_BOR_OBJECTS = lt_subcontainer_bor_objects
SUBCONTAINER_ALL_OBJECTS = lt_subcontainer_all_objects.
if lv_returncode = 0.
"TEST
READ TABLE lt_subcontainer_bor_objects with table key element = lc_element
into wa_subcontainer_bor_objects.
" call rfc for data
CALL FUNCTION 'ZRFC' destination lv_destination
EXPORTING
AUSBK = wa_subcontainer_bor_objects-value+20(4)
BELNR = wa_subcontainer_bor_objects-value+24(10)
GJAHR = wa_subcontainer_bor_objects-value+34(4)
IMPORTING
BLDAT = wa_BLDAT
XBLNR = wa_XBLNR
VENDOR = wa_vendor
WRBTR = wa_wrbtr
TABLES
LT_ITEM = lt_inv_item.
ENDIF.
* map details
READ TABLE lt_inv_item INTO wa_inv_item WITH KEY BZKEY = ls_key_item-value.
ls_item-instance_id = lv_wiid.
ls_item-invline_item = wa_inv_item-BZKEY.
ls_item-COST_CENTER = wa_inv_item-KOSTL.
ls_item-COMPANY_CODE = wa_inv_item-AUSBK.
ls_item-FISCAL_YEAR = wa_inv_item-GJAHR.
ls_item-GLACC_TEXT = wa_inv_item-TXT20.
ls_item-FISCAL_YEAR = wa_inv_item-GJAHR.
ls_item-GL_ACC_NO = wa_inv_item-SAKNR.
ls_item-INV_DOC_NO = wa_inv_item-BELNR.
ls_item-INVOICE_AMT = wa_inv_item-WRBTR.
CALL METHOD copy_data_to_ref
EXPORTING
is_data = ls_item
CHANGING
cr_data = er_entity.
You might have to handle exceptions in this code and this is just an example.
thanks
Ashish -
Hiii
I need Sales Order ApI For all Level (Entered,Shipped.....)
Plz send me asap
I will be highly oblige to u
Thanks uUse below url to download MFG API...
http://download.oracle.com/docs/cd/A99488_01/acrobat/115mfgapi.pdf
1) Now go to : 7 Oracle Inventory Open Interfaces & APIs
2) Look for Sales Order Application Program Interface on page 7-113
Hope this will help
Regards,
S.P DASH -
Difference between sales order schedule line and item level data
Hi All,
Could you please let me know what is the difference between sales order schedule line and item level data?
Thanks,
RamyaHi Ramya,
Sales order schedule line contains del date, order qty, rounded qty, confirmed qty, delivery qty, schedule line category, purchase requisition etc., ie It contains the full details of sales order data with respect to the scheduled line of delivery. The total quantity of a sales order item can be subdivided into schedule lines that contain the various subsets with the corresponding delivering dates.
Sales order Item level data contains details of the item in the sales order like material code, net price, net value, UoM, PO details, reason for rejection if any, material group,billing date, plant etc., ie this
contains the full details of item irrespective of scheduled line.
Regards,
R. Senthil Mareeswaran. -
I Need Sales Order Status Reports using ALV
Hi I Need Sales Order Status Reports using ALV.
HI!
For alv use REUSE_ALV_GRID_DSPLAY function module.
For the given report fetch data from the tables:
VBAK - sales order header
VBAP - sales order details
VBUK - sales order header status
VBUP - sales order items status
Regards
Tamá -
COPA - Need Sales order no in Reference field through derivation
Hi Friends,
I have stucked with one derivation of CO-PA
Requirement
We need sales order no (KAUFN) in new characteristics(Reference field WWVBE) only in case of sales order document type like "DR"
It is our reporting requirement. I tried this through derivation but it was working for all sales document type like 'RE' , 'ZORF' - I used condition clause in (KEDR) but i didn't get any success.
Please suggest how i can get the sales order no for one document type in new characteristics.
Regards,
KailashAtul,
MRP does not create recommendation based on one Sales Order but looks at the overall requirement for an Item and if a particular item is required to produced then it will create a Production for the same. Since the relation of a Production order is not tied to a particular Sales Order...getting the Sales Order number on Prod Order would not be possible
Suda -
SAP Query: Sales Order to Workflow Join
I'm trying to create a report in Query that joins VBAK to workflow. The idea is to select a date range, a sales org, a customer, or any number of parameters, and bring in work items related to those Sales orders .
The trouble I'm having though is finding the key field to join sales orders to workflow. I've been through what I think is nearly every workflow table, but I can't find a compatible field.
Any help is greatly appreciated, and of course points awarded.
Thank you.Hi Naval
Can you provide a bit more detail. It is difficult to try and think what the problem could be without sufficient information
Regards
Brian Maunde -
OIM 11g r2: SOA workflows for two level approval.
HI Experts,
I am using SOA workflows in OIM 11g r2. The requirement is to have a two level approval for a role (which provisions Oracle DBUM connector at present) : first for Manager and second for the Role owner.
I have created and deployed the composite with name AddAccessApproval but need to find how to use this for two level approval.
There is option for serial approval but how to pass it to Role owner.
Any help in this regard is appreciated.
Many Thanks,
ArvindI've run into the same error with oim 11gr2 bp04:
<Mar 18, 2013 11:07:09 AM CDT> <Notice> <Stdout> <BEA-000000> <<Mar 18, 2013 11:07:09 AM CDT> <Error> <oracle.soa.services.identity>
<BEA-000000> <<oracle.tip.pc.services.identity.jps.AuthenticationServiceImpl.authenticateUser()> authentication FAILED>>
<Mar 18, 2013 11:07:09 AM CDT> <Notice> <Stdout> <BEA-000000> <<Mar 18, 2013 11:07:09 AM CDT> <Error> <oracle.soa.services.identity>
<BEA-000000> <<.> Identity Service Authentication failure.
Identity Service Authentication failure.
Either the user name or password is incorrect. Check the error stack and fix the cause of the error. Contact Oracle Support Services if error is not fixable.
ORABPEL-10528
Identity Service Authentication failure.
Identity Service Authentication failure.
Either the user name or password is incorrect. Check the error stack and fix the cause of the error. Contact Oracle Support Services if error is not fixable.
at oracle.tip.pc.services.identity.jps.JpsProvider.authenticateUser(JpsProvider.java:2337)
Caused By: javax.security.auth.login.LoginException: [Security:090304]Authentication Failed: User SOAAdminPassword javax.security.auth.login.FailedLoginException:
[Security:090302]Authentication Failed: User SOAAdminPassword denied
at oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule.login(JpsUserAuthenticationLoginModule.java:71)
...Did you find what the issue is? I'm finding scant information about this user named "SOAAdminPassword" (who makes up these usernames :-/). -
Sales Order Approval needed when price is changed
Gurus,
Here is the Scenario:
User creates a sales order. If he changes the price of an item or adds a discount, it is required that the Sales Order needs approval from the Manager. Please let me know how to proceed with this.
P.S.I found a similar thread but it was not answered.
Referal Thread
Approval at the time of price differenceHi Manoj,
This can be done by using status profile at the sales order header and with function module I_Change_Status, you can change the user status in background and the order would need approval from the manager before allowing to create any subsequent documents.
So create user status in your status profile
SPRO - SD - SALES - DEFINE AND ASSIGN STATUS PROFILE - SALES DOCUMENT HEADER
10 - Order Created
20 - Order Confirmed
30 - Order changes pending approval
40 - Order Rejected
50 - Order changes approved
Now your abapper can write a logic in program MV45AFZZ wherein, whenever something in the order is changed after the order has been confirmed (status 20), then the status would automatically be set to 30. ((This can be done changes made to pricing if order is still at status 10. You have to decide the best possible scenario, i am just giving you an overview))
Now your sales manager can come and either make it 40 if he wants to reject it, or make it 50, if he is okay with the new rates or discounts if any.
You can find what changes have been made in the order by going to Environment - Changes.
This will give the manager a clear picture of which fields in the order have changed.
I have used this concept and it works perfectly fine.
Try and let me know.
Reward points for contribution if helpful.
Regards
Ravi -
Sales Invoice Approval Workflow
Hello Experts,
I want to trigger workflow when any billingis generated with the transaction VF01.
After research, I've found that there might be no standard workflow for approval of Sales Invoice.
However I've found the business object VBRK.
shall I have to write the new workflow for this with the Business object VBRK or is that anything which SAP gives in standard and I'm not able to find it..?
Please help...
Naimish.My requirement is that when any billing document is created, by it should go for the approval to the Sales manager and after the approval only the billing block is removed and accounting document of the invoice is generated.
Hi
As per your requirement, you should have a billing block at sales order level, because of that user will not able to create billing document. At the time of sales order save event workflow will trigger to respective authority based on sales value. The list of authorities along with their respective authorisied amount should maintain in a table.
Based on that table workflow will trigger to respective person.
That person will authorised to accept/reject that document, if accepted billing block will automatically removed from the sales order and SOP personnel can now create the billing for that.
The whole scenario explained is for credit/debit memos.
Please check your requirement and contact your ABAPer/Workflow expert. -
ISupplier Forecasting, sales order demand and current INV levels?
Hello,
My organization is considering implementing Oracle iSupplier. In playing with this in a test environment, I see that sales order demand and inventory levels are not pulled into the forecast. All I have been able to do is a blanket release against the blanket agreement and the qty that I put on the release is passed to the supplier side of the application. Is that it? I was hoping to have a more sophisticated calc on demand. Do I not have this setup correctly in me test environment?
Thanks
KPP>
Our need is to include the demand from sales order and current INV levels. Is that "do-able" with standard PO's? >
There is no way to translate demand from Sales orders into PO automatically. You have a couple of options
1) Use ATO / back-to-back order functionality. That will create a Requisition / PO whenever a order is booked. And the PO will be visible in iSupplier. However, this will NOT look at onhand.
2) Run min-max planning. This will automatically create requisitions / PO when your onhand falls below required minimum. You can configure this to optionally look at open sales orders. Once the PO is approved, it will show up on iSupplier.
Hope this helps,
Sandeep Gandhi
Maybe you are looking for
-
Setting attributes of image stored in byte array in servlet
Hi, I am using a servlet to stream image (GIF) to the browser. Image is accessed by browser using the img tag. src attribute points to the servlet which send the image stream. Servlet has the image as the array of bytes. It simply write these bytes o
-
I really hate HND program!!!
I just bought the linksys router N Ultrarange.. well everything works out fine so I liked it.. but!! home network defender blocked every single thing! I can't even go ebay for selling my item!! so how to fix it? if i cant i'll just change to other ro
-
My display is fuzzy, like the contrast is to high
My display is suddenly fuzzy, like the contrast is to high. It won't adjust out.
-
HT4436 how to use icloud in an android device.
how to use icloud in an android device?
-
Policy Domain Root error during Policy Manager installation
I am installing Policy manager for the first time and I am getting error at Policy domain root level. If I specify Policy Domain Root as / it gives me this error Unable to modify the entry with DN obapp=PSC,ou=Oblix,dc=SUPPLIER,DC=GLOBAL in the direc