Mark batch for deletion
Although a batch marked for deletion, that batch still can do batch movement, with warning msg (yellow).
Is it possible to make it not allow to at all? (red)
pls help.. points confirmed?
Pl follow the below path
SPRO>>Logistics General >>BAtch Management >>Define Attributes of System Messages ( <b>T.Code -OCHS</b>)
Select the relevant Message and change the Message Category as per your need
Pl come back if you need any further details
Rewards will be appriciated..if useful answer
BR
Sumit
Similar Messages
-
Bapi or FM to mark material for deletion
Hi all,
Is there a bapi or FM to mark material for deletion that we do through MM06.
Let me know and i would appreciate if some could me that piece of bapi's code
Thanks
PreetiThis should be all you need.
report zrich_0003 .
data: headdata type bapimathead.
data: clientdata type bapi_mara.
data: clientdatax type bapi_marax.
data: return type bapiret2 .
data: returnm type table of bapi_matreturn2 with header line.
data: xmara type mara.
parameters: p_matnr type mara-matnr.
select single * from mara into xmara
where matnr = p_matnr.
headdata-material = xmara-matnr.
headdata-ind_sector = xmara-mbrsh.
headdata-matl_type = xmara-mtart.
headdata-basic_view = 'X'.
clientdata-del_flag = 'X'.
clientdatax-del_flag = 'X'.
call function 'BAPI_MATERIAL_SAVEDATA'
exporting
headdata = headdata
clientdata = clientdata
clientdatax = clientdatax
importing
return = return
tables
returnmessages = returnm.
check sy-subrc = 0.
Regards,
Rich Heilman -
I have one doubt : When we mark a 'vendor' for deletion, will it block transactions to be posted for this vendor such as PO, PR, MIRO, payment, etc ?
You should block an account for posting before you mark it for deletion. The only effect this deletion indicator has is to cause a warning to be issued every time you subsequently try to post to this account.
When you block a vendor master record for posting, you prevent the system from posting to this account.
Block a vendor account from posting as follows:
Choose Master records ® Block/unblock.
The system displays the initial screen.
Enter the vendor's account number and, if required, the company code.
If you do not enter a company code, you can only block posting for this vendor in all company codes.
Select ENTER .
The system displays the entry screen for the block indicators.
Select for blocking either all company codes or the specified company code by clicking the appropriate field.
Save your entries by choosing Vendor ® Save.
The system displays the initial screen and a message that confirms that the data has been saved.
Please refer http://help.sap.com/saphelp_45b/helpdata/en/01/a9b65c455711d182b40000e829fbfe/frameset.htm.
Do test and let me know if this suffices.
Regards
Shailesh
Edited by: Shailesh Rajan on Jul 6, 2011 7:17 PM -
How to mark flag for deletion for bulk of customers.
Hi friends,
GM..
I hv a question , that how to mark flag for deletion for bulk of customers.Few function modules are there (eg. HRCA_CUSTOMER_DELETE ) which are going to 'XD06' transaction to set the flag for individual customers.
But data is huge so it's not possible to go & mark the flag for deletion for individual customers.So what is the solution for this.....
waiting for ur reply....
Thanx.
Regards,
Ajit.Hi Ajit,
XD99 can be used as a appropriate mass deletion tool for customers .
It is good for max 500 customers to mark for deletion, if you have more than that some times you may get dump.
OR
You can write a program to read an excel file into an internal table and call the function BUP_BUPA_MASS_DELETE to delete the customers.
OR
To mark the BP's for Delete use the following code sample.
It marks the BP's for Delete and once you archive them delete them in bulk.
data : BUPANUM type BU_PARTNER,
RETMSG type ITMSG,
ls_central type BAPIBUS1006_CENTRAL,
ls_Central_X type BAPIBUS1006_CENTRAL_X.
ls_central-CENTRALARCHIVINGFLAG = 'X'.
ls_central-CENTRALBLOCK = 'X' .
move-corresponding ls_Central to ls_Central_X.
CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
EXPORTING
BUSINESSPARTNER = BUPANUM
CENTRALDATA = ls_Central
CENTRALDATA_X = ls_Central_X
TABLES
RETURN = RETMSG.
if you give me brief i can help you out more.
Thank you .
Regards
Ram -
Wish List - New Feature - Mark Songs for Deletion on iPhone
It'd be very handy if you could mark a song for deletion on the iphone and then when you next sync your iphone, the marked songs will get removed.
You could also have an option in itunes to say whether you want the songs to be deleted from comp too.
There's been plenty of times where I've copied a CD to my iphone but don't get a chance to go through the songs. Then when I'm listening to the album on my iphone, I have to skip some songs and then remember to delete them from my itunes later (which I rarely ever remember to do)http://www.apple.com/feedback/iphone.html is where to go to send feedback to Apple as this is a user to user forum for everyday users to help out others with problems.
-
Dear experts ,
Even after marking a material for deletion , i am able to do the goods movement .
The system however issues a warning message .
I need to change it to an error message .
How do i do it ?
Regards
Anishi,
Yes you are correct, system will warn you while making the GR doc...This is because the MMR is still stored in the table but not deleted...
SPRO >> MM >> Purchasing >> Env. >> define system messages >> here check for your message no..
and make the changes..
Regards
Priyanka.P -
Posting block and Marked for Deletion
Hi All,
My clients wants to know the vendors who are either marked for deletion or blocked for posting when was the date for the block or marking it for deletion and the person responsible.
Though i can see that one by one through Vendor master but i need to give this in report format.
Even with Fk04 i am not able to make out.Can you please help me out.Bit urgentHi,
You can check old value and new value by using table CDPOS.
If you want to know the time and person responsible by using table CDHDR
In table, put table name LFA1/LFB1 and required field like for field SPERR (LFB1) is for posting block for selected company code and field SPERR (LFA1) is for posting block for all company codes.
If you want to know it for specific vendor, then given vendor number in Object value or leave it blank for all items.
Hope it will be useful.
Regards,
Vinod -
Can a PO be generated using Info record marked for deletion
Hello all,
Is it possible that PO be generated using Info record marked for deletion?
Observed that a info record is marked for deletion but still able to see a PO generated using this info record.
Is this becasue - PO can be generated untill info record is actually deleted from the system during next reorganization run?
What is reorganization run?
Regds.,
ChaitanyaHello S. Iyer,
I have following queries -
1. What is meaning of your statement -
"If you want to restrict creation of POs against deleted info record"
Do you mean that info record is "deleted" or "marked for deletion"?
2. Any way, is there difference between two - "deleted" or "marked for deletion"?
3. Where in the info record I can see history of marking for deletion to see who and when marked it for deletion?
4. Observed that there is a message that comes up that info record is marked for deletion.
Is there indication on info record itself like - permanent record, tick mark to indicate that it is marked for deletion?
Regds.,
Chaitanya -
PR Marked for deletion after Business Complete
Hi gurus,
My PR created from work order are marked for deletion after business complete and/or why is it being marked for deletion?
the requirement is to not mark it for deletion. is this possible?
Thank you.Dear,
Technical confirmation is followed only after all confirmations and GR/GI and reservations posted which means that the work has been completed on ground.,The remaining Capacities, reservations, partial confirmations, Open PR's(Not processed into subsequent material documents like RFQ/Quotations, PO) Open PO's get cancelled as soon as you TECO the Work order. so this clearly states that all your PR's ad PO's are delted at TECOstage much before settlement and Business Completion is done.
If you want ur PR's not to get cancelled then you can lock the PR's and then TECO the work order. However this lock will prevent PO creation.The best way to do this is to give a user status and hold the PR from getting deletd. User status can be provided at PR or Work order level. -
MM06 -flag for deletion materials in massive
Hello,
I would like to know if and how I can massively mark materiales for deletion.
Transaction MM06 only works for individual materials.
Thanks for any answer
AartYou can do
1) BDC recording ( Old method not preferred)
2) LSMW ( New recording method but still not preferred for your case)
3) MASS tcode with Object Type "BUS1001"
4) MM17 tcode ( Best Option)
Go to MM17--Select the MARA table and execute
Click on the icon at the bottom right and select the field Deletion indicator "DF at Client Level" and bring it to the left
Give the materials you want to change and execute ..in the new value select it to be
Test it with the icon on the right and then execute it.
Hope that helps... -
A customer marked for deletion can create SO
Hi guyes, there is an incident in SD module.
A customer marked for deletion since 2008-4-29. But we can still create SO for it today(2008-12-26), only get a warning message.
Can I configure somewhere to get an error message to prevent us creating new SOs for this customer?
Or must we program in User-Exit?Hi,
Try this one.
Goto OBMSG, select application F2.double click on messages.
Change message type from I to E for message number 133 and 131.
Goto SM30. enter V_T100C. click on maintain.
Enter application F2. Click on new entries.
Enter message 131 or 133 Enter value E in online and Batch fields and save.
Regards,
Chandra -
Hello Gurus,
Is it possible to eliminate materials marked for deletion?
If so, is there any program or batch job to eliminate materials marked for deletion?
Thanks in advance.Hi sap fan
you neeed to use T-Code = SARA and choose object MM_MATNR, then click on WRITE and create a immediate job or a background batch job and start date and spool parameters , which is used for archiving the data in SAP R/3 but you this is a very critical business decision and you need to make sure that the business manager is aware and get the consent before executing this and need to do this with help of BASIS consultant
and you need to make sure any open purchasing related documents and inventory stocks and other whcih are dependant on this material are ALL CLOSED and first archived before this activity and settled by the accounts also because once it is archived you cannot recover it and do posting of goods
also before you go to SARA you need to go the MM71 and enter a variant and maintain it and save the variant
if useful please REward YOur Points
thanks and if u have any further doubts please let us know if we can help more
Chakri -
Open Production Order with Mark for deletion
Hi
Friends again stuck in open production order
i want to calculate production order quantity for open production order,
only those production order which dont have mark for deletion.
I find a field in afpo XLOEK ..but it wont get reflects when done changes in CO02
Then i used the table JEST and i want to delete those aufnr which has deletion flag i wrote the folowing code pls do correct me where iam wrong .
IN this code deletes aufnr which are marked as deletion ?
SELECT afko~aufnr
afko~gamng
afko~plnbez
afpo~dwerk
afpo~psmng
afpo~matnr
INTO CORRESPONDING FIELDS OF TABLE i_afko
FROM afko INNER JOIN
afpo ON afpoaufnr = afkoaufnr
WHERE afpo~dwerk = s_werks
AND afpo~matnr IN s_matnr
AND afpo~elikz = space.
LOOP AT i_afko.
CONCATENATE 'OR' i_afko-aufnr INTO i_afko-aufnr.
MODIFY i_afko.
ENDLOOP.
IF NOT i_afko[] IS INITIAL.
SELECT jest~objnr
jest~stat
jest~inact
INTO CORRESPONDING FIELDS OF TABLE i_jest
FROM jest
FOR ALL ENTRIES IN i_afko
WHERE objnr = i_afko-aufnr.
ENDIF.
LOOP AT i_jest INTO wa_ijest.
IF wa_ijest-stat = 'I0076' and ( wa_ijest-inact = SPACE ).
DELETE i_afko WHERE aufnr = wa_ijest-objnr.
ENDIF.
ENDLOOP.
i_afko1[] = i_afko[].
SORT i_afko BY matnr dwerk.
DELETE ADJACENT DUPLICATES FROM i_afko COMPARING matnr dwerk.
loop ....
calculate :quantity
endloop.
Regards and answers will be rewarded pointsthnks
solved the problem
regards -
Error 1075: The dependency service does not exist or has been marked for deletion
Windows 7 Pro laptop will not connect to corporate domain. Multiple identical twin laptops have no problem.
Best suggestion so far has been to leave the domain and rejoin it, BUT the relevant buttons are grayed out and the comment says "Note: The identification of the computer cannot be changed because:- The Workstation service is not running. Open the Services
snap-in (services.msc) to ensure it is running and set its Startup Type as "Automatic"."
In services.msc the Workstation service is already set to Automatic but is not started. When I try to start it manually the response is "Windows could not start the Workstation service on Local Computer." and then "Error 1075: The dependency service does
not exist or has been marked for deletion."
Rebooting gets me nowhere.
In all other respects that laptop appears fine and can connect to the Internet, but NOT to the network. I have brought it and a twin laptop home to try on my domestic network and get the same results.
Any ideas, please?Hi,
Let us go to services.msc and navigate to Network Store Interface Service. Please check whether this service has been set to Automatic and turned on.
Kim Zhou
TechNet Community Support -
How do I tell if a user profile is marked for deletion?
This is likely a question with a simple answer, but searching through Google and here hasn't helped.
How do I tell if a user profile has been marked for deletion?
Will it appear in the "Manager User Profiles" area of the User Profile Service Application management?
Do I need to look somewhere else?
This is probably obvious, and I just have looking disease, but your assistance is most appreciated!As Paul said you can see that on UP admin page. also you can use powershell to get the list of all use in powershell.
Follow this blog:
http://iedaddy.com/2012/02/sharepoint-2010user-information-lists-and-user-profile-cleanup/
$upa = Get-spserviceapplication <identity>
Set-SPProfileServiceApplication $upa -GetNonImportedObjects $false
Set-SPProfileServiceApplication
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog
Maybe you are looking for
-
Problem --PLEASE HELP NEW TO THIS!
dispatcher.for postcode( request, response ); what would be the identifier for this message above. also where would i need to declare this. I am using this in the servlet.
-
Hi, I'm a long-time user of garageband, but a problem has cropped up recently. When writing a song I generally go into iDrum (1.5.3), make a little pattern, and "export song as aif". This was all fine until not too long after updating to 5.1. I can't
-
Problem with some Video Content not able to be shown. no Plug in for it
I am getting a Problem with some News Sites Articles Video Content not being able to be shown, BBC, YAHOO,etc I am getting the message/has content of Mime type Audio/x -pn-RealAudio-Plug in Because you dont have plug in for this mime type it cant be
-
What is the data format of the image buffer from a NI-IMAQ 1394 acquisition?
I am acquiring a framebuffer which I desire to process using my own code. The configuration is: Set ATTR_VIDEO_FORMAT 1 Set ATTR_VIDEO_MODE 3 Results in Get ATTR_IMAGE_WIDTH == 1024 Get ATTR_IMAGE_HEIGHT == 768 Get ATTR_IMAGE_REP == COLORID_YUV422 Ge
-
Hi, Like many others the Canon lbp2900 printer is not working for my mac - OS is 10.7.5 I've followed various instructions credited to Dexter with the alternative CAPT - this actually put LBP3000 and LBPGeneric in the Device folder within Profile wit