Delete position in CRMD_ORDER
Hi,
I want to send up a warning message when the user mark a position and then delete the row entirely. I have noticed that when I turn on debugging mode when pressing "delete button" nothing happens, so the deletion seems to appear above server level. Anyone knows anything about this and if it is possible to do something without standard modification ?
Regards,
Henrik
Hi Henrik,
You will have to create a FM of the following interface :
""Local Interface:
*" IMPORTING
*" REFERENCE(IV_HEADER_GUID) TYPE CRMT_OBJECT_GUID
*" REFERENCE(IV_OBJECT_GUID) TYPE CRMT_OBJECT_GUID
and then you will have to define an event for triggering of this FM in the table CRMV_EVC_ALL. As soon as the Item Position is deleted, this FM will get triggered and then you can do whatever you want.
Define the entry as follows :
Transaction Category : BUS2000112
Execution Time : 1
Priority : 26
Object Name : ORDERADM_I
Event : AFTER_DELETE
Attribute : <*>
Function : Name of the Custom FM
Select the Checkbox for 'Perform Function for Document Item'
<b>Reward point if it helps.</b>
Similar Messages
-
FM to Delete Position and Central person from org unit?
Hi
In SRM, we used tr-cd USERS_GEN to create position/CP using SU01 user.
In transaction PPOMA_BBP we can see Org unit assigned to position(S) and Central person(CP).
How to unassign or delete the Position and Central person from org unit?
Can you pls tell me any Func Module available.?
Regards
Chandra
Edited by: princeck on Mar 10, 2011 2:54 AMHi
HR_CENTRALPERSON_DELETE is working fine.
Can you tell me how to delete position from Org unit. I want to delete it using FM or program.
How to execute this program BUPA_TEST_DELETE?
I gave Business partner as input, but it does not delete...anything. pls guide how to exeute.
Any FM available.
Regards
Chandra -
Hi,
I have deleted positions in a development client(for e.x 023 client) did not ask for a transport request. deleted position exist in same D11(for e.x 033). how to capture the deleted position in the CTS?Thanks Jorge,
I have tried with your inputs in the Manual Transport using SPRO
In manual transport screen, (After entered the object type as 'S' and Position ID) it asked me for enter the Plan version , first i have entered 'Never Use' and executed the screen in a test mode, it displaying warning message You are not transporting from the active plan version. After that i have tried with current plan in the Plan version in the selection inputs, it displaying that no data found., please help me for proceeding further., -
Purchase Order: Copy of Deleted Positions not available for Goods Receipt
Hi SAP Gurus,
we've implemented an SRM extended classic scenario with the R/3 as the back end system.
When I create a purchase order with, for instance, 17 positions, if I delete one of them (for instance the number 16) and I copy it I get in my order two positions with the number 16: the first one is deleted and the second one is active. This doesn't happen for the very first positions: if I delete one position and I copy it I get the new one at the end of the list.
The problem is that when I have to create the Goods Receipt, the position copied from the deleted ones are not available!!!
Please, is in there anyone who can help me? Thank you very much!
Giovanni Ottavio Lo BruttoCheck the following SAP Note:
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E¬e_numm=0001468209 -
Delete Position with an Inactive Personnel Number
I have a position active in OM. The pernr tied to the A 008 relationship does not exist. How this happened is unsure, but I need to remove the position or the A 008 relationship as it is affecting reporting.
I've tried a PO13 to simply delete the relationship and have also tried program RHRHDL00 to remove the relationship, and the position object itself.
I'm given the error that "Personnel Number does not exist" when I try all methods of deletion.
Thoughts?
Cheers,
StephenI thought of that too, but there is no maintenance dialog for HRP1001 or did I miss something?
If your referring to get an ABAPer or a DBA to do it I could of course got that route.
I was trying to solve this functionally.
Thanks.
Stephen -
Delete position with plan version .:
Dear all,
I need to delete a position which was created with plan version .:
Report RE_RHRHDL00 doesnt let me do so, it send the following error message: Maintance in customizing plan version is not allowed.
Any one knows a way to delete it?
Any help will be greatly appreciated and rewarded,
Thanks in advance,
Fede.Guys,
PO13 doesnt allow modifying objects with plan version .:
I could delete the object doing a manual transport, in transaction OG00. I marked "delete object" and it created an order, which was transporter to production. It worked just fine.
Thanks,
Fede. -
How to restrict the Delete option in CRMD_ORDER transaction
Hi
We want to restrict the user from delete the CRM Order . Through BADI i can only check the user whether he is eligible for the function or not. But the Client wants it to be enable or Disable as per user logged in ,open an CRM Order in changed mode.So how to proceed.
Please advice.
Regards
DebHi Deb,
As suggested by Amrish you can create User role and assign the authorization to the transactions, Once you are done you can check the same with the help of transaction SU53. Run any transaction and immediatly after that run the transaction SU53 and this will give you what authorization obect was checked.
<b>Reward points if it helps!!</b>
Best regards,
Vikash. -
Dear All,
I accidentally deleted a position through PPOME while configuring the work flow. I checked for its availability in the system and found available and the employee id is also working fine when i run payroll simulation and i can view the employee through pa30. But, i don't know where is this deleted position has gone and the way to call back it to its previous location.
Please help,,, thank you in advance... Abdul GafoorHi,
To check wether the position is been deleted or not
Go to PO13 Enter the position Id & check wethere the object is there or not & also check the relationship of thet ID with Org Unit & reporting strcture also
Or Go to Se11 ---Table HRP1001
ENter the object type & object ID & check wethere that Position is present or not -
PO with positions not replicated in R/3
Hi Gurus,
we've implemented SAP SRM on an extended classic scenario with R/3 as the back-end system.
When I create a PO in which I create new positions by copying a deleted position, these are not replicated in the back-end system.
So, for instance, in a PO with 5 positions, I delete the last one and then I copy it.
I get an order with 6 positions: one of them is deleted, so the actual positions are just 5. When the order is completely approved, it is replicated in the R/3 system with just 4 positions!!!!
Could anyone give me an hand, please?
Thank you very much.
Regards,
Giovanni Ottavio Lo BruttoHello John,
Please check the document status in BBP_PD transaction.
If there is something like transfer error, goto RZ20 and check error message in Purchase Oder node.
Regards,
masa -
2LIS_02_ITM - Deleted items are not in the ODS 0PUR_O01
Hello,
We activated 2LIS_02_ITM extractor. We noticed that the deleted order items are not available in the ODS 0PUR_O01. SAP Note 578471 (Deleted positions in BW and statistics) explains that deleted items are not "statistical" relevant. However, this is an issue for us. Does anybody know if it's possible to change the behaviour of the extractor to keep deleted order items in the ODS ?
Many thanks.
François.Yes this is a known behavior in case of deltas.
For Deleted line items Rocancel field will have an entry with R.
To handle this you need to map ROCANCEL field in Technical group of transformation (Between Datasource to DSO) with 0Recordmode.
Once you will do that then after activating the data in DSO it will nullify the records and deleted order or item will not appear.
Regards,
AL -
Deleting Postions in org Model
I have a file that has only business Partner number basically employee .So I have to find all the position that the employee holds and have to delete them.Please tell how I can do this through a report .Any standard fm if present kindly help.Need urgent help.
Hi Abhinav,
You have a file with business partners(Employees).
Program creation.
1. Use function module 'TEXT_CONVERT_XLS_TO_SAP' to send data into an internal table(gt_pernr).
2. Then select PLANS from PA0001 into some internal table where pernr in gt_pernr-pernr.
Now you have Positions of the employees.
3. Then use RHRHDL00 Program to delete Positions. you can call this program internally in this program by submitting the position ID to the program RHRHDL00.
Hope this helps.
Pradeep. -
Modify Automaticaly order position on IS-MILL solutions.
Hi. First, excuse me for my poor english. I'm not use it normally.
We have MILL package installed on our systems because we need to make productions orders with various positions.
But we need to automate the process that create, modify and/or delete positions on a order.
We try to do this with CALL TRANSACTIONS to CO02 transaction, but the logic flow control of this, is too much complex and almost always a message appear or sometimes a screen appear (normally settlement rules) or simply, the changes are not made.
We need a bapi, function module, class, etc that help us to make this, create, change and/or delete positions.
We probe with class CL_MILL_IT_ORDER and CL_MILL_IT_ORDERPOS but the changes are not made, and the BAPI _PRODORD* not work with MILL orders.
Has anyone do something like this or can tell me how can i do this?
Thanks.Use batch input. It is complex but it seems to be the only way. I used it to create the upload production order with mutliple order items in creation mode. Never use it in change mode though. The BAPI won't help since it is not provided the data for order item or components.
For the class, I never used these two classes and there is no documentation about it so I can't comment much. It seems to be linked with standard program of Mill to calculate the settlement rule by weight (settlement rule PP5).
Rgrds, -
BAPI for deletion of employee from work center T Code IR02
Any one can give me a BAPI to delete position/person from work center ?
T Code IR02
IR02 -> HRMS - > Expand - > select person - > delete.
Thank you
MrudangThanks for your fast reply!
I have looked to both functions before. Beside that they are both not remote enabled (which is not such a big problem as I could copy them or build a custom BAPI around them) I'm not quite sure how they could solve my problem.
If I got it right, I would first use CR_CAPACITIES_OF_WORKCENTER to get the KAPID and using it as input for CLOI_WC_CAPACITY_READ. But I have problems to understand the output of CLOI_WC_CAPACITY_READ. The data type of the capacity is a float ( FLTP ) and the number seems to be to big, eg. 9.800000000000000E+01= 98h for one day.
Could you try to explain your solution once again?
Thanks,
Simon -
Cut position and central person
Hi,
I have the following problem. I develop an entering interface in order to manage the rights users, a user can be entitled to certain catalogues.
I would like to log the validity dates of positions and central persons, i.e a user between 01.01.2006 and 31.07.2006 has some attributes, is attached to this organizational unit, and between 01.08.2006 to 31.12.9999 he has others attributes under an other unit.
How I could make?
Thanks a lot
David WACHE
[email protected]Hi
HR_CENTRALPERSON_DELETE is working fine.
Can you tell me how to delete position from Org unit. I want to delete it using FM or program.
How to execute this program BUPA_TEST_DELETE?
I gave Business partner as input, but it does not delete...anything. pls guide how to exeute.
Any FM available.
Regards
Chandra -
History - Incoming Sales Orders!
hello,
i load data from 2LIS_11_VAITM into BI. Now, i should historicize the changes of "Incoming Sales Orders" per month/year in my DSO "Incoming Sales Orders". I use BI 7.0
The rules in my start-Routine of Transformation
1. If a new Position(recordmode = empty) is insert,then map 1:1
Incoming Sales Order = netvalue of position.
2. Change of a existing position
in this case i get a Before-Image(recordmode = 'X') and a After-Image(recordmode =empty).
Incoming Sales Order = Incoming Sales Order(actual month) + delta(value After-Image/value Before_Image)
3. Delete position
Incoming Sales Order = - Sum ( all booked values of the current position)
Example:
01.02.2008 a new position with value 1.000,00 was inserted.
PSA:
recordmode |Bel_|pos|date______|value
_____''____|1000|10_|01.02.2008|1.000,-
DSO:
|Bel_|pos|0CALMONTH|netvalue
|1000|10_|02.2008__| 1.000,-
At 05.03.2008 the value raise to 1.200,-
PSA:
recordmode |Bel_|pos|date______|value
____'X'____|1000|10_|01.02.2008|1.000,-
____''_____|1000|10_|05.03.2008|1.200,-
DSO:
|Bel_|pos|0CALMONTH|netvalue
|1000|10_|02.2008__| 1.000,-
|1000|10_|03.2008__| 200,-
In the same month(20.03.2008) the value raise again.
PSA:
recordmode |Bel_|pos|date______|value
____'X'____|1000|10_|05.03.2008|1.200,-
____''_____|1000|10_|20.03.2008|1.500,-
DSO:
|Bel_|pos|0CALMONTH|value
|1000|10_|02.2008__|1.000,-
|1000|10_|03.2008__|500,-
At 10.04.2008 the position was deleted.
PSA:
recordmode |Bel_|pos|date______|value
____'R'____|1000|10_|10.04.2008|-1.500,-
DSO
|Bel_|pos|0CALMONTH|value
|1000|10_|02.2008__|1.000,-
|1000|10_|03.2008__|500,-
|1000|10_|04.2008__|-1.500,-
Could anyone help me to realize it.. I'm a absolut beginner in ABAP.
regards sunnyAs already described above the KE4F does not solve the problem.
The incompleteness check still shows missing segments, even if they have been created via KE4F.
The only thing that resolves the problem at the moment is the manual change of each position, after KE4F with deleting the segment and creating a new one. But we have many orders with a high number of positions so the manual effort is much too high.
Maybe you are looking for
-
Hello, I'm trying to convert an Object to a Float and can't seem to get it to work properly. I'm using a HashMap to store object key-value pairs. The values inserted into the HashMap were originally of type float. I can extract the value found in the
-
Urgent help please, I made an file with the size 1024x768, then i made two folios, one for retina 2048x1536 and one for non retina 1024x768, i have alot of video content in it, everything works perfect on my retina ipad, but when i open it on ipad 2
-
IWeb is not working!!!!!
My iWeb is not working right!!! All the widgets (exept for iPhoto and iMovie) do not work, every time a place the widget it just shows a selection square were the widget should be. The same thing happends when I chose to show the navigation on the to
-
Certification to become MCSA: Windows 7
What certification do I need to require the title MCSA: Windows 7 (after 31th of January 2014)? Do I need to require 70-680 + 70-685 + 70-686
-
Is there a JAVA API to generate out reports yet?
I've read all the forum information regarding a java api not being available yet. They are dated back in 2004. Is there still not one available? I need to be able to generate reports that were created with Oracle reports, but do it from a Java Applic