Workflow for Purchase order creation!!!
Hi,
I am new for SAP Workflow. I have a requirement to create workflow for PO creation. Once the approval of 2 levels, then PO should be released. Could you please help me to do this. Please provice me the step by step procedure or relevent materials links.
Thanks in Advance!!
Hi,
Get yourself familiar with terms like PO release strategy, etc. This has lots of material in SAP help. You might also take a look to SAP MM workflow scenarions document - it has documentation of PR release, but the idea is quite similar with POs.
You can also google "PO release strategy in SAP", and you should find some step by step instructions.
In general, lots of things can be done purely by configuring in SPRO and not that much WF development (if any) is required unless you have some specific requiremenets.
Regards,
Karri
Similar Messages
-
Creating workflow for purchase order release.
Hi friends
I want step by step detail about creation of workflow for purchase order release..
After release purchase order it will goes to the two level of approval..
after that the workflow should be completed...
how can i develope the workflow for that scenario..
Thanks
GowrishankarHi Gowrishankar,
You can get step by step workflow for PO using standard workflow
<b>Release of Purchase Order :WS20000075</b>
And for two levels of approvals you have to configure in SPRO the path is
Purchase Order:
SPRO> Material Management->Purchasing->/Purchase order-->Release procedure ---> Procedure with classification ---> set up procedure with classification ---> double click on Release strategies and Workflow.
If you don't know about this configuration, you have to confirm with your MM consultant.
Thanks and Regards,
Prabhakar Dharmala -
Urgent : Workflows for Purchase Order
hi,
My requirement is to make workflows for creation of Purchase Order.i,e Whenever a PO is made in the system,one mail should be sent to the concerned person for approval.I came across object type BUS2012 which is for Purchase Order but it's event list does not contain for "creation".How to approach for the same or any other solution.
Thanks and Regards,
GauravHi,
Standard Workflow for Purchase Order is WS20000075(Access it via PFTC_DIS Tcode). The business Object for Purchase order is BUS2012(access it via SWO1 Tcode).
http://help.sap.com/saphelp_47x200/helpdata/en/75/ee153f55c811d189900000e8322d00/frameset.htm
Regards
Kiran Sure -
Hi,
Can anyone let me know the steps to activate workflow for purchase order so that workflow will be triggered after creation of PO and for any modification done after release.
What are the customization and tcodes required for PO workflow and is there any technical involvement requires.
Thanks in advance!
KarunHi
I took it from sdn.
WORKFLOW FOR PO RELEASE PROCEDURE
Steps involved are :
1) SPRO > MM > Purchasing > Purchase Order > Release Procedure for Purchase Orders > Define Release Procedure for Purchase Orders > Release Codes > here assign Workflow indicator as "1" against each Release Code
2) SPRO > MM > Purchasing > Purchase Order > Release Procedure for Purchase Orders > Define Release Procedure for Purchase Orders > Workflow > Here against each release code assign OT as US and respective User ID's for Release Codes.
3) Go to OOCU > here under MM, go to MM-PUR,
4) Click on "activate event linking"
5) Go for "WS 20000075" and for BUS2012 RELEASESTEPCREATED, click on Detailed view button. Activate "Event linkage activated" and also activate "Enable usage of event queue"
and Save.
6) Click on "Assign agents" and proceed all above steps.
BUS2012 is the relevant business object and Releasestep created is the event for the same.
7) Check SWETYPV transaction for the WF you have activated for BUS2012 and confirm.
Test the same by creating a PO and check the SBWP for SAP Mail of respective Users -
Getting errors when iam using BAPI_PO_CREATE1 for Purchase Order creation
Hi sap Gurus,
I am getting Errors when iam using BAPI_PO_CREATE1 for Purchase Order creation that Material (144) does not exist but it is alreardy maintained in MM01.
I dont get how it is coming.and what are the mandatory fields in bapi BAPI_PO_CREATE1 in item level .that is too material only.
pls let me know .
thanks in advance.Hi,
Check the sample code..
report zpo_test .
*DATA DECLARATION
constants : c_x value 'X'.
*Structures to hold PO header data
data : header like bapimepoheader ,
headerx like bapimepoheaderx .
*Structures to hold PO account data
data : account like bapimepoaccount occurs 0 with header line ,
accountx like bapimepoaccountx occurs 0 with header line .
*Internal Tables to hold PO ITEM DATA
data : item like bapimepoitem occurs 0 with header line,
itemx like bapimepoitemx occurs 0 with header line,
*Internal table to hold messages from BAPI call
return like bapiret2 occurs 0 with header line,
*Internal table to hold messages from BAPI call
pocontractlimits like bapiesucc occurs 0 with header line.
data : w_header(40) value 'PO Header',
purchaseorder like bapimepoheader-po_number,
delivery_date like bapimeposchedule-delivery_date.
data : ws_langu like sy-langu.
*text-001 = 'PO Header' - define as text element
selection-screen begin of block b1 with frame title text-001.
parameters : company like header-comp_code default '122' ,
doctyp like header-doc_type default 'NB' ,
cdate like header-creat_date default sy-datum ,
vendor like header-vendor default '2000000012' ,
pur_org like header-purch_org default 'PU01' ,
pur_grp like header-pur_group default '005' .
*sociedad like HEADER-COMP_CODE default '122' ,
*vendedor like HEADER-SALES_PERS default 'sale person'.
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-002.
parameters : item_num like item-po_item default '00010',
material like item-material default '12000000' ,
tipo_imp like item-acctasscat default 'K' ,
*pos_doc like ITEM-ITEM_CAT default 'F' ,
shorttxt like item-short_text default 'PRUEBA BAPI' ,
grup_art like item-matl_group default '817230000' ,
plant like item-plant default '3001' ,
mpe like item-trackingno default '9999' ,
*contrato like ITEM-AGREEMENT default '4904000003' ,
*quantity like ITEM-QUANTITY default 1 .
po_unit like item-po_unit default 'EA'.
selection-screen end of block b2.
Par?mnetros de imputaci?n
selection-screen begin of block b3 with frame title text-004.
parameters : centro like account-costcenter default '1220813150',
cuenta like account-gl_account default '6631400' ,
num_pos like account-po_item default '10' ,
serial like account-serial_no default '01' ,
ind_imp like account-tax_code default 'I2' .
selection-screen end of block b3.
start-of-selection.
*DATA POPULATION
ws_langu = sy-langu. "Language variable
*POPULATE HEADER DATA FOR PO
*HEADER-COMP_CODE = sociedad .
header-doc_type = doctyp .
header-vendor = vendor .
header-creat_date = cdate .
header-created_by = 'TD17191' .
header-purch_org = pur_org .
header-pur_group = pur_grp .
header-comp_code = company .
header-langu = ws_langu .
*HEADER-SALES_PERS = vendedor .
*HEADER-CURRENCY = 'DOP' .
*HEADER-ITEM_INTVL = 10 .
*HEADER-PMNTTRMS = 'N30' .
*HEADER-EXCH_RATE = 1 .
*POPULATE HEADER FLAG.
headerx-comp_code = c_x.
headerx-doc_type = c_x.
headerx-vendor = c_x.
headerx-creat_date = c_x.
headerx-created_by = c_x.
headerx-purch_org = c_x.
headerx-pur_group = c_x.
headerx-langu = c_x.
*HEADERX-sales_pers = c_x.
*HEADERX-CURRENCY = c_x.
*HEADER-ITEM_INTVL = c_x.
*HEADER-PMNTTRMS = c_x.
*HEADER-EXCH_RATE = c_x.
*HEADER-EXCH_RATE = c_x.
*POPULATE ITEM DATA.
item-po_item = item_num.
item-quantity = '1'.
*ITEM-MATERIAL = material .
item-short_text = 'prueba bapi_po_create1'.
*ITEM-TAX_CODE = ''.
item-acctasscat = 'K' .
*ITEM-ITEM_CAT = 'D' .
item-matl_group = '817230000' .
item-plant = '3001' .
item-trackingno = '99999'.
item-preq_name = 'test'.
*ITEM-AGREEMENT = '' .
*ITEM-AGMT_ITEM = ''.
item-quantity = '1' .
item-po_unit = 'EA'.
*ITEM-ORDERPR_UN = 'EA'.
item-conv_num1 = '1'.
item-conv_den1 = '1'.
item-net_price = '1000000' .
item-price_unit = '1'.
item-gr_pr_time = '0'.
item-prnt_price = 'X'.
item-unlimited_dlv = 'X'.
item-gr_ind = 'X' .
item-ir_ind = 'X' .
item-gr_basediv = 'X'.
*ITEM-PCKG_NO = '' .
append item. clear item.
*POPULATE ITEM FLAG TABLE
itemx-po_item = item_num.
itemx-po_itemx = c_x.
*ITEMX-MATERIAL = C_X.
itemx-short_text = c_x.
itemx-quantity = c_x.
*ITEMX-TAX_CODE = C_X.
itemx-acctasscat = c_x.
*ITEMX-ITEM_CAT = c_x.
itemx-matl_group = c_x.
itemx-plant = c_x.
itemx-trackingno = c_x.
itemx-preq_name = c_x.
*ITEMX-AGREEMENT = C_X.
*ITEMX-AGMT_ITEM = c_x.
itemx-stge_loc = c_x.
itemx-quantity = c_x.
itemx-po_unit = c_x.
*ITEMX-ORDERPR_UN = C_X.
itemx-conv_num1 = c_x.
itemx-conv_den1 = c_x.
itemx-net_price = c_x.
itemx-price_unit = c_x.
itemx-gr_pr_time = c_x.
itemx-prnt_price = c_x.
itemx-unlimited_dlv = c_x.
itemx-gr_ind = c_x .
itemx-ir_ind = c_x .
itemx-gr_basediv = c_x .
append itemx. clear itemx.
*POPULATE ACCOUNT DATA.
account-po_item = item_num.
account-serial_no = serial .
account-creat_date = sy-datum .
account-costcenter = centro .
account-gl_account = cuenta .
account-gr_rcpt = 'tester'.
append account. clear account.
*POPULATE ACCOUNT FLAG TABLE.
accountx-po_item = item_num .
accountx-po_itemx = c_x .
accountx-serial_no = serial .
accountx-serial_nox = c_x .
accountx-creat_date = c_x .
accountx-costcenter = c_x .
accountx-gl_account = c_x .
account-gr_rcpt = c_x.
append accountx. clear accountx.
*BAPI CALL
call function 'DIALOG_SET_NO_DIALOG'.
call function 'BAPI_PO_CREATE1'
exporting
poheader = header
poheaderx = headerx
importing
exppurchaseorder = purchaseorder
tables
return = return
poitem = item
poitemx = itemx
poaccount = account
poaccountx = accountx.
*Confirm the document creation by calling database COMMIT
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'
IMPORTING
RETURN =
end-of-selection.
*Output the messages returned from BAPI call
loop at return.
write / return-message.
endloop.
Regards
Sudheer -
Document is in transfer for purchase order.Creation not possible
Dear All,
We did partial confirmation in EBP and later when trying to do confiramtion for the remaining quantiy getting the message"document is in transfer for purchase order.Creation not possible"
We are taking this problem in production as well as in quality systems also.
What are possible reason and how to solve it.
kindly share your views.
Thank you.Hi yshu,
use tcode bd87 in SRM to check for failed confirmation IDOC (type MBGMCR).
The double click the status record to see the exact cause of the failure.
Rectify the error. Then try to execute the IDOC from BD87 tcode.
For a few errors you may not be able to execute the IDOC but to create a new confirmation in SRM. In such cases, follow the below procedure..
There should be an entry for the confirmation in the transfer table BBP_DOCUMENT_TAB in SRM. Display the details.
Then run FM "BBP_DELETE_FROM_DOCUMENT_TAB" to delete the entry from the doc tab table.
Then post a new confirmation in SRM.
There is also a FM in SRM using which you can change the status of thefailed IDOC from 51 to 68 or 31.
Rgds,
MJ -
Searching for Workflow for Purchase Order Change
Hi experts!
We are using SRM5.0 / extended classic scenario and backend R/3 4.7 Enterprise.
We should implement an approver process for the purchase order changes. Does any one of you know whether there exists a standard SAP workflow?
Many thanks for your help.
Regards,
CorinneHi
<i>Please refer to the following links for detailed step-by-step details.</i>
<u>Workflows for Purchase Orders - n-step approval workflow ( WS14000145 )... Start WS14000075, WS14000089 or WS14000145...-step approval workflow ( WS14000145 )</u>
http://help.sap.com/saphelp_srm50/helpdata/en/5a/c5173f5ff48443e10000000a114084/frameset.htm
<u>Authorization - Purchase orders ( WS14000145 )</u>
http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
<u>Setting Up SAP Business Workflow - WS14000145 ( n-step approval )... WS14000145... WS14000145 N-step approval PO WS14000145 N-step approval of contract</u>
http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
<u>Dynamic Modification - Purchase orders ( WS14000145 )</u>
http://help.sap.com/saphelp_srm50/helpdata/en/84/dda441e79ead5fe10000000a1550b0/frameset.htm
<u>Back & Forth Processing and the Retain Function - Purchase orders ( WS14000145 ) </u>
http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
<u>Approval Workflows for Purchase Orders and Change Versions</u>
http://help.sap.com/saphelp_srm50/helpdata/en/ec/fe163ff8519a06e10000000a114084/frameset.htm
<u>Workflow for Contracts - Workflow for Purchase Orders ( WS14000145 )</u>
http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
<u>SRM Business Workflow - One-step Approval</u>
http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm
<u>WS14000089</u>
http://help.sap.com/saphelp_srm50/helpdata/en/5a/c5173f5ff48443e10000000a114084/frameset.htm
<u>WS14000075</u>
http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/5a/af5efc85d011d2b42d006094b92d37/frameset.htm
Regards
- Atul -
Document in transfer for purchase order - creation not possible
Hi Experts,
we get this error when we do confirmation"'document in transfer for purchase order - creation not possible'"
any inputs are appreciated
Rg
samHi All,
We have resolved the above problem.
When user does confirmation ,if it sucessfully created then there will be no entry in BBP_Document_tab table.If it's in error in process and next time when user tries to do GR then he will encounter a pop up message "Document in transfer for PO, creation not possible".
So we need to delete the entries from table BBP_DOCUMENT_TAB using FM BBP_DELETE_FROM_DOCUMENT_TAB.
Then check again in BBP_DOCUMENT_TAB now there will be noentry there...so now user can do the confirmation from SRM,he will not encounter this error now.
Thanks to all the ppl who has replied
sameer -
Workflow for purchase order rejection and esclation.
Hi,
Can any body tell us the what is the standard workflow for purchase order rejection and esclation.
if no standard WF is there then how can create the workflow for ecslation and rejection.
Thanks & Regards,
Priti shrivastavaPlease check here.
http://help.sap.com/saphelp_srm30/helpdata/en/5a/c5173f5ff48443e10000000a114084/content.htm -
Standard n-step approval workflow for Purchase Order in sap 4.7?
Hello friend,
In SAP 4.7 there is any standard template for n-step approval workflow for Purchase Order.
thanks in advance.Hi AM,
there is no std template for n-step approvals but for Single Release.
What you could do is create a custom one as per the number of approvals for PO.
Also note a PO Release Strategy can handle only 8 levels of approval.
Hope it helps.
Aditya -
Profitability segment for purchase order creation - how to read it
Hello,
how to read it profitability segment for purchase order creation at item level ??
There's a method on ME_PROCESS_PO_CUST ?
TksHi,
Use the below FM from the function group KEAK
To read: COPA_CALL_PROF_SEGMENT or COPA_INPUT_PSEGMENT_RETURN
To create: COPA_PROFITABILITY_SEGMENT
Hope this helps
Regards
Shiva -
BAPI for Purchase Order Creation
Hi All,
Purchase Order creation through BAPI, Auto Po creation. Please advise program.
The requirement is: when we delivery the goods from one plant to another plant,PO should create in second plant with goods what delivered from first plant.
Pranitha
Moderator message : Spec/requirements dumping is not allowed. Thread locked.
Edited by: Vinod Kumar on Sep 30, 2011 3:37 PMHi,
As per u r requirement
you can use : BAPI => BAPI_PO_CREATE with suitable Document Type ( Stock trasnfert : STO )
IF u want to auto po must be created after each delivry in this case you need to use BADI
'MB_MIGO_BADI; In This BAPI There is method : POST_DOCUMENT
In this method u can write code for Auto PO Creation by using BAPI .
Hope This will Resolve u r query.
Thanks and Regads
Santosh -
Workflow for Purchase Order Form?
I am setting up a paperless Purchase Order system at my company.
A Purchase Order form has been created in Acrobat with spaces for 4 digital signatures.
There is a network filesystem where a copy of the form can be stored and completed copies of the form placed. Preferably, a copy of the form will be retrieved from the server, then emailed through the signature process.
The Workflow:
1. A user obtains a copy of the PO form, fills it out, digitally signs the form and sends it to their supervisor for approval by email (preferred) or by placing the form in a shared directory.
2. The supervisor digitally signs the PO and sends it to their Manager.
3, The Manager digitally signs the PO and sends it to the approval authority.
4. The approval authority digitally signs the PO and forwards the form to the purchasing department for placement.
There are about 100 users, 20 supervisors, 5 Managers and 1 Approval Authority.
How would this workflow be implemented? What I have found so far is examples where 1 form is distributed to a number of people, filled out and returned, collated and reviewed. I been unable to find any examples of this type of workflow.
Any suggestions?
DennisIt's not that difficult. I think there is only one entry for the object and event you use in your workflow.
If you would have done a little searching in this forum you would have had your answer already.
Regards,
Martin -
Basket icon is not displaying for purchase order creation transaction iview
Hi SDNs,
I have created a set of purchase related transaction iviews like for example purchase order display.
there i couldn't find the basket icon to drop the other purchase order number, which we generally choose by using docuement overview on to change the number.
in WebGUI how do we drop the exisiting documnet into the screen.
I have activated all icon services in sicf, is there any specific services to be activated to have such kind of icons in webgui.
Please suggest me to resolve this.
Your inputs are appreciated.
Thanks,
Sireesha.BHi SDN's,
Can anyone suggest me for the above problem.
Your inputs will be highly appreciated.
Regards,
Sireesha.B -
Determine Plant and Sloc for Purchase Order Creation
Hi Gurus,
I want to determine while create a Purchase Order (ME21N), I can restrict the Purchase Order only for specific Order Type , specific Plant and specific Storage Location.
The business needs is to prevent human error while create Purchase Order with wrong Order Type, Plant and SLoc combination.
Is there any Exit related ?
Thx in advance.
Tri WHi ,
This is MM question
In MM , you could use authorzation in PFCG to limit the plant selection and document typefor a specific user .
This would also have effection to the ME21N .
For the storage location ,then please to set the field as display only and then add a default value to the user in
the personal setting.
I hope this will help you a little bit apart from the BADI.
Regards
Summer Wang
Maybe you are looking for
-
* in footer of the smartform
hello experts, i am printing the TDS certificates and in the footer , i am displaying the page number like 1/54 .... But instead it is printing as 1/* , but after the page number reaches the doubke digit it is displaying correctly like 10/54. I tried
-
Can I add photoshop to a 2nd computer?
-
Wanna know what kind of effect that used on this video?
wanna know what kind of effect that used in transformation in this video or can we just crop the effect .
-
Change documents list if somone restarts the plan in IP10
Hi all, How can i see the change documents list of IP10, I NEED TO SEE THE DETAILS IF SOMEONE HAS RESTARTED THE PLAN. Thanks Anish
-
Label Printing Problem, Laserjet Professional p1566
I have this problem and it's getting me crazy. I just bought a Laserjet Professional p1566 and I'am trying to print a Tico label (LP4W-3714, 5 collomns, 20 rows) for tubes in the lab. The problem is that when I print, the printer loses the exact posi