Rejection of Purchase Orders in Mass
Hi everyone,
Please guide me about the following query: Can we reject Purchase Orders in Mass?
Thanks and Regards
If the POs are not approved and you want to reject it.
If i understood your query, then rejection means you have to delete the POs which are not approved yet.
If this is the requirement then you can use the T-code : MASS with Object Type BUS2012.
Please be specific what exactly you required by means of rejection..
Regards
Vikrant
Similar Messages
-
How to change the general Ledger of a purchase order in mass
Hi,
In our company, we change the General Ledgers, then, and we have plenty of purchases orders take the old general ledger, we want to change this general ledger by the new in each purchase order in mass.
I found in BAPI, customizing, in user exit, I tray with the transaction MEMASSPO not solution.
Can you help us for change the General Ledger in the purchase order in mass?Hi,
You ask ABAPer to write a program in that program you give one text file as input with old GL and new GL corresponding to that old GL so that the program will replace it with new GLs.
firat extract all POs which you want and give those PO numbers and GL text file as input in this program and execute -
RE: standard workflow template for Rejecting of purchase order
Hi,
Workflow template for 'Rejecting of purchase order' , 65400030 is missing in SAP version 4.6c. Is there any patch to get this feature in 4.6c?
Thanks and Regards,
SowmyaHi,
Yes, it was posted previously. But we are getting some more problem regarding the workflow template.
We have changed the standard template and it is getting reflected in all the clients. So i think these templates are client independent. Is there any way to retrieve back older version of these templates?
Please go through this matter and reply at the earliest
Thanks and Regards,
sowmya -
Problem in Rejecting the purchase order release workflow
Hai Friends ,
I did the purchase order workflow. it will working fine. when a approver refused the release, the intimation need to send to the previous approvers as well as po creator. but there is no method available in the bus2012 for purchase order rejected. what i want to do ?
i did the purchase requisition workflow also. In that workflow there is a method in the name of " InfoReleaseRejected". i used this method in my task it will working fine. but there is no method available for Purchase Order.
Regads,
R. Sathis KumarHai suthakar,
I created the customized workflow. this workflow working well when the approvers approved. but it is not do anything when approver reject the release.
Regards,
Sathis Kumar R -
SRM 7 - Rejected on purchase order
Hi Gurus,
Our functional specialist have implemented the SRM 7.1 now they expect to be prompted / reminded to complete a rejection reason prior to approval. Currently no rejection reason is prompted when purchase order is being rejected.They are able to reject without being prompted for a rejection reason.
My challenge is i have put external breakpoint on sap class cl_exithandler to debug in order to find which classes uses ad method when the rejection is performed but without any luck not succeeding.
I have found some of the following classes and method that i think i need to use to do my coding on them but still i have put the breakpoint on them but it seems they are not called when rejection is been performed: see classes and method below
/SAPSRM/CL_CH_WD_BOM_PO - class
/SAPSRM/IF_CLL_BOM_PO~APPROVE - method
/SAPSRM/CL_CH_WD_BOM_PO - class
/SAPSRM/IF_CLL_BOM_PO~REJECT - method
/SAPSRM/CL_PDO_BO_PO - class
CHANGE_DOCUMENT - method
CX_ROOT - class
IF_MESSAGE~GET_TEXT - method
Can you guys help in this regards.
Thanks in advance.
Regards,
Thembassss.Hi Rohini,
I have same problem.Could you please tell me whether you got any solution?
Regards,
Edward -
Hi,
Can anybody tell how to reject purchase order?
Is there any BAPI/RFC to reject purchase order?
I heard in BAPI_PO_CHANGE we can set status for rejection.
can anybody tell how can we set the status,what is the parameter for that?
Thanks in Advance,
PramilaHi,
You can reject PO by useing BAPI_PO_RELEASE.
Please Refer Following Link,
Re: PO Release Problem
Please go through my answer in the link.
Thanks. -
Clossing Purchase orders in mass.
Hi All,
I need to close over 1lakh purchase orders. currently we are using BDC session method and it is taking 40hours time to execute all the records. so could u please suggest me a better solution to execute it in less time?
<removed_by_moderator>
Read the "Rules of Engagement"
br,
Sathish
Edited by: Juan Reyes on Oct 7, 2009 4:10 PMhello satish ,
u can use BAPI mentioned by Dzed Maroz , but u need to added one more logic to close POs,i.e u need to change PO quantity based on the deliverd Qty then only SAP will allow to close the PO.
regards
prabhu -
SUS - Purchase Order - Rejection
Hi,
I would like to reject a PO that came in through SRM -> R3->XI-> SUS.. When logged in as SUS user, I see PO in Purchase Orders --> New section . I have only 'Set Confirmed' button visible and active.. How do I reject a Purchase Order. When I go to Purhcase Order --> Rejected , I am not able see the PO there..
Also SUS user is not able to edit the Purchase Order I received from R3..
Is there anything missing..
Thanks,
GanniHi naga
DEFINE EVENT SCHEMA
->BUS2206
AND GO TO transaction type of BUS2209
supply event schema in transaction type.
i think you have standard events are there like
APPROVAL_NOT_PROCESSED ..
/people/ramakrishna.rallapalli/blog/2008/07/20/bidder-alert-notifications
please check and you might get an idea how you can work on this. but it is possible.
regards
muthu -
Need to add two activities in Purchase order workflow template
Hello,
I got a requirement for purchase order at workflow template level need to add two activities like below
a) p.o changed
b) p.o cancelled.
once p.o changed based on agent determination agent will receive the mail in his inbox same functionality for p.o cancelled.
also at work item level need to add attributes .
but currently standard workflow for PO release it WS200000075 have only release activity .
how to add activity types to be available workflow template also please let me how to do binding for above activities once created?Hi vinoth,
yes this p.o workflow based on release strategy. i was copied the standard workflow template added activities
one is for changed and another is rejection.
once functional guy rejected the purchase order rejection activity not working properly
also same problem faced for changed step also while change the p.o value at item level.
i am using business object BUS2012 adding attributes for work item.
please guide me how to achieve above functionality also how to do binding for changing and rejection activities? -
HOW TO BLOCK THE PURCHASE ORDER AND MARK FOR DELETION ?
Hi ,
During the Creation of the Purchase order in the SAP System... After creation of the Purchase order should be blocked and a work item is created for the approver. If the Approver approves the Order then the Order is Unblocked and a mail send to the initiators inbox and the Order is Released. Similarly if the Approver Rejects the Purchase Order then its set for Mark for Deletion.
I did Po creation and release part. But i am facing problem during the Blocking & Unblocking the Purchase order. If he rejects i need to set for "Mark For Deletion". plz help me to solve this...Hi,
You can use bapi 'BAPI_PO_CHANGE' to change the status of PO and for release use bapi BAPI_PO_RELEASE.
Hope this will help you.
Smit -
Mass display or print Purchase Order History
Instead of checking your Purchase Order History one at a time, you can now mass display or print them with this customized abap report.
Mass display or print Purchase Order History
You can request report by :
1. Change date
2. User Name
3. Purchase Order Number
4. Vendor Code
Written by : SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com
REPORT ZPOCHANGE LINE-SIZE 132 NO STANDARD PAGE HEADING
LINE-COUNT 065(001)
MESSAGE-ID VR.
TABLES: DD04T,
CDHDR,
CDPOS,
DD03L,
DD41V,
T685T,
VBPA,
TPART,
KONVC,
EKKO.
SELECT-OPTIONS: XUDATE FOR CDHDR-UDATE,
XNAME FOR CDHDR-USERNAME,
XEBELN FOR EKKO-EBELN,
XLIFNR FOR EKKO-LIFNR.
SELECTION-SCREEN SKIP.
TEXT-001 - Sorting Sequence
SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
PARAMETERS: SUDATE RADIOBUTTON GROUP R1,
SNAME RADIOBUTTON GROUP R1,
SOBID RADIOBUTTON GROUP R1.
SELECTION-SCREEN END OF BLOCK BLK1.
DATA: WFLAG,
WCHANGENR LIKE CDHDR-CHANGENR.
DATA: INDTEXT(60) TYPE C.
DATA: BEGIN OF ICDHDR OCCURS 50.
INCLUDE STRUCTURE CDHDR.
DATA: END OF ICDHDR.
DATA: BEGIN OF ICDSHW OCCURS 50.
INCLUDE STRUCTURE CDSHW.
DATA: END OF ICDSHW.
DATA: BEGIN OF EKKEY,
EBELN LIKE EKET-EBELN,
EBELP LIKE EKET-EBELP,
ETENR LIKE EKET-ETENR,
END OF EKKEY.
DATA: BEGIN OF ITAB OCCURS 50,
BEGIN OF EKKEY,
EBELN LIKE EKET-EBELN,
EBELP LIKE EKET-EBELP,
ETENR LIKE EKET-ETENR,
END OF EKKEY,
CHANGENR LIKE CDHDR-CHANGENR,
UDATE LIKE CDHDR-UDATE,
UTIME LIKE CDHDR-UTIME,
USERNAME LIKE CDHDR-USERNAME,
CHNGIND LIKE CDSHW-CHNGIND,
FTEXT LIKE CDSHW-FTEXT,
OUTLEN LIKE CDSHW-OUTLEN,
F_OLD LIKE CDSHW-F_OLD,
F_NEW LIKE CDSHW-F_NEW,
END OF ITAB.
DATA: OLD_OBJECTID LIKE CDHDR-OBJECTID.
FIELD-SYMBOLS: <F_OLD>, <F_NEW>.
SELECT * FROM EKKO WHERE EBELN IN XEBELN AND
LIFNR IN XLIFNR.
CLEAR CDHDR.
CLEAR CDPOS.
CDHDR-OBJECTCLAS = 'EINKBELEG'.
CDHDR-OBJECTID = EKKO-EBELN.
PERFORM GETCHGDOCS.
ENDSELECT.
IF SUDATE = 'X'.
SORT ITAB BY UDATE EKKEY-EBELN CHANGENR EKKEY-EBELP
EKKEY-ETENR.
ELSEIF SNAME = 'X'.
SORT ITAB BY USERNAME EKKEY-EBELN CHANGENR EKKEY-EBELP
EKKEY-ETENR.
ELSE.
SORT ITAB BY EKKEY-EBELN CHANGENR EKKEY-EBELP EKKEY-ETENR.
ENDIF.
LOOP AT ITAB.
CLEAR: INDTEXT, EKKEY.
CASE ITAB-CHNGIND.
WHEN 'U'.
INDTEXT(50) = ITAB-FTEXT.
INDTEXT+51 = TEXT-020.
CONDENSE INDTEXT.
WHEN 'D'.
INDTEXT = TEXT-021.
WHEN 'E'.
INDTEXT(5) = ITAB-FTEXT.
INDTEXT+51 = TEXT-021.
CONDENSE INDTEXT.
WHEN 'I'.
INDTEXT = TEXT-022.
ENDCASE.
RESERVE 4 LINES.
IF WCHANGENR NE ITAB-CHANGENR.
WCHANGENR = ITAB-CHANGENR.
EKKEY = ITAB-EKKEY.
WRITE:/ ITAB-UDATE UNDER 'Change Date',
ITAB-UTIME UNDER 'Time',
ITAB-USERNAME UNDER 'User Name',
ITAB-EKKEY-EBELN UNDER 'PO No',
ITAB-EKKEY-EBELP UNDER 'Item',
ITAB-EKKEY-ETENR UNDER 'Sch No',
INDTEXT UNDER 'Changes'.
ELSEIF ITAB-EKKEY NE EKKEY.
WRITE:/ ITAB-EKKEY-EBELP UNDER 'Item',
ITAB-EKKEY-ETENR UNDER 'Sch No',
INDTEXT UNDER 'Changes'.
ENDIF.
CASE ITAB-CHNGIND.
WHEN 'U'.
ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
ASSIGN ITAB-F_NEW(ITAB-OUTLEN) TO <F_NEW>.
WRITE: / TEXT-023 UNDER 'Changes',
<F_OLD>.
WRITE: / TEXT-024 UNDER 'Changes',
<F_NEW>.
WHEN 'E'.
ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
WRITE: TEXT-023 UNDER 'Changes',
<F_OLD>.
ENDCASE.
SKIP.
ENDLOOP.
TOP-OF-PAGE.
WRITE:/ SY-DATUM,SY-UZEIT,
50 'P U R C H A S E O R D E R H I S T O R Y',
120 'Page', SY-PAGNO.
WRITE: / SY-REPID,
60 'Purchase Orders Changes'.
SKIP.
ULINE.
IF SUDATE = 'X'.
WRITE:/001 'Change Date',
014 'Time',
024 'User Name',
038 'PO No',
050 'Item',
057 'Sch No',
065 'Changes'.
ELSEIF SOBID = 'X'.
WRITE:/001 'PO No',
013 'Item',
020 'Sch No',
028 'Change Date',
041 'Time',
051 'User Name',
065 'Changes'.
ELSE.
WRITE:/001 'User Name',
015 'Change Date',
028 'Time',
038 'PO No',
050 'Item',
057 'Sch No',
065 'Changes'.
ENDIF.
ULINE.
FORM GETCHGDOCS.
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
DATE_OF_CHANGE = CDHDR-UDATE
OBJECTCLASS = CDHDR-OBJECTCLAS
OBJECTID = CDHDR-OBJECTID
TIME_OF_CHANGE = CDHDR-UTIME
USERNAME = CDHDR-USERNAME
TABLES
I_CDHDR = ICDHDR
EXCEPTIONS
NO_POSITION_FOUND = 1
OTHERS = 2.
CHECK SY-SUBRC EQ 0.
DELETE ICDHDR WHERE CHANGE_IND EQ 'I'.
CHECK NOT ICDHDR[] IS INITIAL.
LOOP AT ICDHDR.
CHECK ICDHDR-UDATE IN XUDATE.
CHECK ICDHDR-USERNAME IN XNAME.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING CHANGENUMBER = ICDHDR-CHANGENR
IMPORTING HEADER = CDHDR
TABLES EDITPOS = ICDSHW
EXCEPTIONS NO_POSITION_FOUND = 1
OTHERS = 2.
CHECK SY-SUBRC EQ 0.
LOOP AT ICDSHW.
CHECK ICDSHW-TEXT_CASE EQ SPACE.
MOVE-CORRESPONDING ICDSHW TO ITAB.
MOVE-CORRESPONDING ICDHDR TO ITAB.
MOVE ICDSHW-TABKEY+3 TO ITAB-EKKEY.
APPEND ITAB.
ENDLOOP.
ENDLOOP.
ENDFORM.
END OF PROGRAMHi,
copied from http://www.sap-img.com/mm001.htm -
How to troubleshoot approval workflow of a rejected purchase order
Hi,
We are working in oracle applications 11i.
I have a purchase order with status rejected that has hanged up in the system. The user rejected PO and the document has not been transferred to the PO buyer. From the application forms -> Forward documents window, I can see that neither the user who rejected or the buyer has the document.
From System Administrator responsibility I can see that the workflow administrator can modify a PO that is only IN PROCESS,
what shall I do?please check :
http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/how-to-troubleshoot-approval-workflow-of-a-rejected-purchase-order-4211332 -
Purchase order rejection - status update
Hi Experts,
For PO and PR release ,I am developing the custom workflow .In that workflow user decision step to approving or rejecting for PO release/reject .In approve step I am able to release the po in background using standard method in BUS2012 but in reject step I need to reject the po I am not able to get any std method or BAPI to reject the PO/PR.
The above same problem I am facing in purchase order requisition.
In invoice parking workflow I am facing same kind of problem , in this I need method to post the invoice.
Need inputs on this to close the issues soon.
I had checked forum ,but I didnu2019t get the hopeful answer.
Regards,
Ram.Hi Experts,
Thanks for your reply .i had checked the BAPI : BAPI_PO_RESET_RELEASE but it not solving my problem. This bapi is use to cancel the po and change the status to in process,but in my case i need to reject the PO and status should be rejected.
The same issue is coming for PR.
Give some idea to post the parked invoice ,in background .Help to close this issue soon.
Thanks in advance.
Regards,
Ram. -
Purchase Order - Rejected Status
Hi All,
Is there any Bapi or function module for Purchase Order Rejection. I have created a custom WF template for Purchase Order release. Once the approver cilcks the reject button, then the Purchase Order Status should be changed into Rejected status ( i.e Ekko-Procstat = Rejected ).
Regards,
SankarHi Sankar,
use FM BAPI_PO_RESET_RELEASE.
if you want to update a particular value you can take a copy of this FM and can customize it as per your requirement. Debug this BAPI. I hope this should solve your problem
Regards,
Raj -
Purchase order mass maintenance
Dear All..
Im using purchase order mass maintenence through MASS T-code with object BUS2012
i want to change field EKPO-MHDRZ it is wrongly maintained as 2 i want to remove this via mass maintainence.
at the time of saving the document its telling no error its telling green colour message as Change Rem.Shelflifetime could not be effected.
message no ME664.
But i want to change.. any possibilities is there.. or any other procedure is there to for PO Mass maintenence...
Regards
Anand.
Edited by: Anandhakumar Palanisamy on Jan 23, 2009 12:34 PMthe field is in purchase order detail on tab delivery
Why you like to remove a value from field you do not even know where it is?
if you dont see the field there, then check IMG > MM > purchasing > Purchase Order > Define Screen Layout at Document Level
select e.g ME21N and go into detail
then go into detail of Delivery monitoring
there you should see the field remaining shelf life and if it is a req. entry , optional entry or display only.
Because you want remove a value, it has to be optional.
Maybe you are looking for
-
New sound card (E-MU 1212M) won't record higher than 48kHz
I'm running Windows XP Pro/SP2 with a 2.8GHz Pentium 4 processor (motherboard is Elitegroup 848P-A). I have 1GB of RAM installed. I do a lot of vinyl transfer work. I decided to upgrade sound cards to the E-MU 1212M to improve the overall quality of
-
How do I install Adobe Reader 9.3 on a Windows Vista Toshiba Laptop?
I have been trying to download Adobe Reader 9.3 onto my laptop without success. I have a Toshiba A135 laptop. I have tried using Windows Internet Explorer 7 and Firefox 3.5.9. I am currently getting a message "get Plus + (R)" "The process terminate
-
How to handle multiple connection with ssh using JSCH Client?
Hi, Can anybody help me regarding the topic said above? Thanks in advance.
-
Hi everyone, I'm developing an application that needs to calculate the angle between two vectors. While this is fairly simple, you just need to use the Math.atan2() function, i am having a few problems. Here's a code snippet: alpha = (Math.atan2((tx*
-
Apple ID and ITunes sign in issues....
I have been using the Windows version of ITunes forever with no issues. I logged in with my yahoo email id, which was accepted as a Apple ID. I did not set up a gmail account until I was no longer allowed to use or access YouTube without one. So,