Banking BADi - Cleaning up data related to 'failed' migration groups
We have a requirement to clean up all appropriate custom tables after a migration group is marked as failed. i.e when a migration group is marked as failed all non-sap tables we have which refer to GUIDs belonging to the group should be deleted or marked for archive.
Within the documentation for SAP program RBCA_UNDO_MIG_GRP there is a reference to BADi BCA_MIGRATION_UNDO1 which looks very much like what we need.
I have created an implementation of the BADi and activated it but it does not seem to be executed when I run the program. I have put code in there to populate a custom table when any of the BADi's methods are used but the table remains empty.
I have set internal and external break points but they never get reached.
I have tried to find where the BADi is referenced by searching in the main program but this program is quite complex in that it kicks off batch processses and tries to create parallel processes so it's quite hard to tell where the actual logic is.
Any ideas for how I find where the BADi is being used???
Thanks Pablo, yes I had already searched for thge exit handler in the program but as the program in question spawns others it was not as straightforward as usual. Eventually I did manage to debug in background and found that it was going through my code. It had definitley NOT been going through that code the day before so I don't understand that but basically I am happy now that the BADi is getting invoked and I know which method we will be uusing.
Similar Messages
-
How to retrive only data related to specific business group efficiently?
We have sql queries which were written for an instance assuming that there will be only one Business Group. Now, we want to reuse those queries for another instance which is based on multi business groups.
I understand, using fnd_profile.value('PER_BUSINESS_GROUP_ID') this, we can join with BG ID in correspondingthe tables. I found below tables which are used in my query.
ota_delegate_bookings
ota_events_tl
ota_activity_versions
ota_activity_versions_tl
ota_activity_versions
ota_category_usages
ota_offerings
per_person_types
ota_booking_status_types
hr_locations
per_all_assignments_f
per_all_people_f
per_org_structure_elements
hr_all_organization_units
Now my question is, do we need to join this BG id for all these tables using the value from above profile?
For example, employees difined in system are specific to one BG. Even though when we use/join with person_id in per_all_people_f, we will get unique record. So still is there any need to join with this BG id ?
My concern is, in my query there are many places where I need to add this extra BG id condition, this may reduce performance of the query. I am not sure whether I have to change if id's are being used in the query.
It would be very helpful, if any one can share the best practices(technically) when working with multiple BG, LE, OU's etc..
Best Regards,
Venkat.YIts difficult to summirize all that is needed for multi-org -
Check below -
https://forums.oracle.com/forums/search.jspa?threadID=&q=multiple+AND+BG&objID=f113&dateRange=all&userID=&numResults=15&rankBy=10001
Can Multiple Business Groups Be Associated with a Single Opearating Unit? [ID 732664.1]
FAQ - Multiple Organizations Architechure (Multi-Org) [ID 165042.1]
Cheers,
Vignesh -
DPM 2012 R2 - Failed to clean up data
Hi,
I'm hoping someone might be able to help me.
I've recently been getting an error on one of our backup jobs, I've tried searching around for solutions but no-one seems to have had the exact same issue that I'm experiencing.
The backup job is a shadow copy file backup of a complete volume.
It's been working for the past few weeks but I'm now getting the error below when I try to run a consistency check.
People have reported issues similar which suggest executing the pruneshadowcopiesdpm2010.ps1 which I've tried but this seems to make no difference.
The protection group is short term disk protection with a retention period of 14 days with file recovery points created at 11am, 1.30pm, 3.30pm and 8pm. The job is currently reporting 32 recovery points which leads me to believe it shouldn't need to
clean up any yet anyway.
Any suggestions would be very much appreciated.
Type: Consistency check
Status: Failed
Description: DPM failed to clean up data of old incremental backups on the replica for Volume D:\ on nas01.nwhs.local. Synchronization will fail until the replica cleanup succeeds. (ID 30134 Details: Cannot create a file when that file already exists (0x800700B7))
More information
End time: 29/04/2014 18:48:03
Start time: 29/04/2014 18:48:02
Time elapsed: 00:00:01
Data transferred: 0 MB
Cluster node -
Source details: D:\
Protection group: User Data
Items scanned: 0
Items fixed: 0RIS,
The access denied can come if there is already a lock on the file( like Antivirus).
Can you let me know what version of DPM2012R2? if you goto about DPM you it will give you exact version 4.x.xxxx.x. You stated you had AV exclusions set
"We do run Sophos Antivirus but it does have exceptions set and the volumes that are being protected do not store any Sophos related data."
I want to ensure all are set from -
http://technet.microsoft.com/en-us/library/hh757911.aspx - if you can test disabling AV that may help.
Can you check the event logs on DPM server and PS during the failure to see if there is anything else running that may lock the files?
There may also be a "failedfiles.dat" that may due to unsupported files see link below for assistance troubleshooting that -
http://social.technet.microsoft.com/Forums/en-US/f7de60cd-841f-4d22-862e-aaf3723717c7/dpm-could-not-log-files-that-were-skipped-during-backup-to-volumexxxxxfailedfilesdat-id?forum=dataprotectionmanager
How to read failedfiles.dat if there is one -
http://social.technet.microsoft.com/Forums/en-US/dataprotectionmanager/thread/27c48816-dabb-41a0-b800-6e1ac2fc1ed5
Also what is the OS version of the DPM server? Are you doing any dedupe\ODX\Thin provisioning on the protected server?
Ultimately we may need a ticket to determine what is locking out the file during the failure but please let me know the answers to the above and I will see if that helps. Thanks
Regards, A.Nadar, This posting is provided "AS IS" with no warranties, and confers no rights. -
Hi Apo expert,
In our organization we have detached one unit. Same was working as a location (having different products), now for cleaning purpose we need to delete all the data related with that.
How to go-ahead to do this !Hi
it is not a plain thing to delete a product master/location product in a production system.You have to carry out the following steps:
1.
a) Remove product from integration model
b) Delete all orders for this product-location which still exist in the APO system by running the reports /SAPAPO/RLCDELETE or /SAPAPO/DELETE_PP_ORDER (this report is not recommanded to be used in product system!!) or transactions /SAPAPO/RRP4 or /SAPAPO/RRP4.
c) Use transaction /sapapo/ccr to delete all objects in APO that are integrated with R/3. The /sapapo/ccr will show the orders as 'Not in an active integration model' and offers to delete the orders in APO
d) Delete the product from ATP tables by running the report /SAPAPO/SDORDER_DEL with the selection according to the product being deleted. (Orders from DB & live cache)
e) Delete all related product substitution and location product substitution using the transaction /SAPAPO/RBA04;
f) Delete the product from all PPMs through the transaction /SAPAPO/SCC05;
g) Remove the product from external procurement using the transaction /SAPAPO/PWBSRC2;
h) Remove the product from transportation lanes through the transaction /SAPAPO/SCC_TL1 or /SAPAPO/SCE; Note: If the lane was created with option 'All products', you should not care about this condition.
i) Remove the product from quota arrangement through the transaction /SAPAP/SCC_TQ1;
j) Remove references from the product master or the location product master using the transaction /SAPAPO/MAT1, tab 'Classification';
k) Remove the planning package from the location product master using the transaction /SAPAPO/MAT1, tab 'PP/DS';
l) Remove the product from RTO;
m) Remove the product from product split.
Product-specific transportation lanes, for which you have set the deletion flag, can be deleted using report /SAPAPO/TR_TRPROD_DELETE
2. Mark deletion flag
a) In transaction /SAPAPO/MAT1, select the product (and location in case of location product);
b) In the menu bar, choose 'Product' and go to 'Mark for deletion' (Shift+F6);
c) In the popup 'Set deletion Flag' set a flag in the appropriate field: Leave the field 'Product' empty unless you want to delete the product master, i.e. in case a location product must be deleted, the flag has to be set on location only;
d) The deletion can be executed directly or be scheduled for another time.
I hope this will help you,
Thanks
Amol -
Hi All,
I have an Outlook (2003-2013) addin developed using C# (NOT VSTO).
A new client (using the desktop client for Outlook 365) has got a COMException error message stating 'The Outlook data file (.pst) failed to load for this session.' at the code line where I add the PST store (using Microsoft.Office.Interop.Outlook.NameSpaceClass.AddStoreEx).
I have never come across this error message before and there is barely any mention of this message on any forums. The only question I could find regarding this has been asked mid 2014 and hasn't been answered.
I'm fairly sure this is not related to either DisablePST or PSTDisableGrow registry key settings as I check fore their existance and notify the user separately.
Could anyone help me out on how to resolve this? I do not know where to begin even.
Thanks!!
Cheers!Hi Eugene,
Thanks for the reply.
I pass the location that the PST is to be created (as a string), and the OlStoreType.olStoreUnicode constant.
The client is using a network location to store the PST file (even though we advised them not to) - leading to many corrupt PST files (that they are apparently happy to live with), but this is the first time we came across this message.
I would assume the problem is with that file, as no other clients are having any issue like this.
Have you come across this error message? Do you know what sort of scenario could be responsible for it?
Or would I have to file it under "random problems generated by network PSTs"? :P
Cheers! -
ESS iview Bank details - Invalid "today" date
Hi,
we have a standard ESS scenario: Bank detail
When the user either select "today" or "valid from" with today date, the system gives an error
"Date must be in future"
What is the problem?
thx hsHi Holger,
Talking about another approach, i just came across a SAP Note --
[SAP NOTE 965324|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=965324&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede]
Also find in this note a link to another note 993344, which also deals with some Date related issue.
Hope this throws some light on this.
Regards,
Shailesh Nagar
Edited by: Shailesh Kumar Nagar on Jan 22, 2008 4:06 PM -
How can I clean all data in a database but keep all datafile still same nam
hi,
How can I get a easy way to clean all data in a database but keep all datafiles still same name and location just like a new created database?
dbca has two choice: create templet without datafile or with all datafiles but not empty datafiles.
thanksWhat version is your database? DBCA in 10gR2 allows you to create a template from an existing database using only the structure. From DBCA
From an existing database (structure only)
The template will contain structural information about the source database including database options, tablespaces, datafiles, and initialization parameters specified in the source database. User defined schemas and thier data will not be part of the created template. -
We have the SharePoint Server 2010 with SP1 environment on which the custom SP2010 designer pages were working as expected before the
August 13, 2013 CU has installed. But, getting the below exception while trying to add the new item after the CU has installed.
Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteInsert(IDictionary values) at
System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
06/19/2014 16:49:37.65 w3wp.exe (0x1240) 0x1300 SharePoint Foundation
Runtime tkau Unexpected Microsoft.SharePoint.WebPartPages.DataFormWebPartException: The data source control
failed to execute the insert command. 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex) at System.Web.UI.DataSourceView.Insert(IDictionary
values, DataSourceViewOperationCallback callback) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)
at Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean
inclu... 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
06/19/2014 16:49:37.65* w3wp.exe (0x1240) 0x1300 SharePoint Foundation
Runtime tkau Unexpected ...deStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
I have tried changing the "DataSourceMode" as below, now the insert command is working, but update command is not working.
<SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" />
Also, the lookup dropdown fields are displaying the value as "<a href="Daughterhttp://cpsp10/sites/Employees/_layouts/listform.aspx?PageType=4&ListId={8F62F444-FB6A-4F03-9522-C4696B45DCD1}&ID=10&RootFolder=*">Daughter</a>"
instead of only "Daughter".
Please provide the solution to get rid of this issue.
Thanks
RamasubbuTry below:
http://social.technet.microsoft.com/Forums/en-US/ae910269-3a0c-4506-844b-e8bc89d95b71/data-source-control-failed-to-execute-the-insert-command
http://blog.jussipalo.com/2012/01/sharepoint-2010-data-source-control.html
While there can be many causes for this generic error message, in my case the first parameter or ddwrt:DataBind function inside the SharePoint:FormFields element was
'i' and I was working with an Edit Form. Changing it to
'u' as it was with every other FormField fixed the issue.
<SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Esittaja" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Esittaja')}"
/>
Explanation:
DataBind operation type parameters (the first parameter) are listed below:
'i' stands for INSERT,
'u' stands for UPDATE,
'd' stands for DELETE.
http://webcache.googleusercontent.com/search?q=cache:d9HHY4I7omgJ:thearkfloats.blogspot.com/2014/03/sharepoint-2010-data-source-control.html+&cd=4&hl=en&ct=clnk&gl=in
If this helped you resolve your issue, please mark it Answered -
How to send a list item value to URL to open data related to item value
Hi,
Iam using Apex4.0 and iam facing some problem. Iam unable to send selected list item value to the url specified in the HTMl region.
Here i want to open the data related to list item value in other page.
List item - :Familyp
i want to pass this selected value to the url and when ever user selected the list item and clicks on the url, then it should display the item value related data in new page.
I tried with &FamilyP in url but it's not working. Any one help me plz.
Regards
Vamsi.TataIs it a normal Select list or Multi Select list?
If you have select list that allows you to select multiple options then you cannot pass it through URL. Multi-select /Shuttle keep colon separated list in the item, and this confuses Apex because the Apex URL uses colons for a different purpose. No escaping or URL encoding will help.
If it is normal select list that allows selection of only one option then you can pass through the url. Unless of course the data has a colon in it.
For multi-select, and when the value contains colon, the only way is to save the value in session state, same page item or any other place like Application Item, and then reference it at the other end. Never pass through the URL.
Regards, -
Is there a way to clean up data without restore and backup?
I noticed recently that too much data is being silently stored on my iPad possibly be apps and caches.
Isn't iOS supposed to clean up data as it needs free storage?
most recently, according to usage in settings > general, I had 1.8 GB of free space. I wanted to install an app that is 2GB in size. iOS told me there was not enough free space. I could not find what used so much data, and frankly this time the list of apps in settings > general > usage proved to be pointless. Adding the numbers together of how much space the apps were using up was nowhere near enough to leave me with only 1.8 GB of free space.
I did a backup, then restored my iPad. After that, I restored the backup with all apps and data I had before. Now I have 7.2 GB free space. 5.4 GB of temporary and junk files, with no way of erasing them, is quite frustrating.
Anyone knows a solution or shall I just restore my iPad pretty much every 2-3 weeks? (Yes, the last 5 or 6 restores I have performed were solely for freeing up storage space that mysteriously keep being filled up.)
Additionally, how do I find out which apps use up so much space when settings > general > usage doesn't tell me anything? Only how much space the app itself needs and how much permanent (user generated) data is being stored. Such as pictures, save game files, and so on, but nothing about cache sizes temporary data.
PS: if the above was asked and answered before, please accept my apologies and could you link me the topic it has been resolved in?Hi! And thanks for your reply!
It sounds sensible. Since the last restore which was just over a day at the time of me writing this reply, there is over 1GB of data unaccounted for. Note that I have not installed new apps, nor DLCs within games. The two I have been using heavily are Netflix and Youtube, both of which should automatically erase temporary data. Or so they claim.
However, there was a period when I had my iPad on charger overnight. When I woke up, just out of curiosity I checked the usage statistics and I found my free space was about 200 MB less than when I checked immediately before goong to bed. So the iPad was not used at all and somehow I lost 200MB.
I did try a software for Windows called Phone Clean, but that didn't help. Before the restore, I ran a deep scan, and it only cleaned up about 500MB of data even though there was nearly 5GB unaccounted for. I performed the restore, and that was when I thought this is beyond me, and posted this topic.
I have also noticed that when I watch a movie with the Videos app by streaming from iTunes instead of downloading, after watching it, the storage will not get freed up. The movie is still there (as confirmed by trying to actually download another that was larger than the current free space, then the previous movie file was indeed deleted by iOS automatically) but it does not show up in usage > videos. According to iOS the Videos.app has no data within.
I'll try a full reset soon and see how it goes. Obviously it will take some time to test it, but I'll let you know of any results. Luckily, I don't have many apps that don't use iCloud storage so their data should be there despite dropping the backup, and installing them clean should be easy using iTunes on a PC.
If that doesn't help, I go one step further and download the apps one by one.
Well, there is plan.
To be honest, it would really be helpful if we could see individual app containers as that way we can easily find out which app is being naughty.
Any way, thanks for the tip! Give me a couple of days and I'll let you know how it went. -
Issue in update of BANK INFORMATION in PERSONAL DATA INFORMATION(ESS)
Hi Experts,
i have an issue while i am trying to update the BANK INFORMATION in PERSONAL INFORMATION, i am getting the fallowing error:
Data record 0000001300090 2010033120090401000 has grouping value "" instead of "40"
Data record 0000001300090 9999123120100401000 has grouping value "" instead of "40"
please help me outDear Siva,
You can do this using the personalization
1. The pernr should be assigned to user id you are using having Content Administrator rights.
2. Preview the iview for Bank Inforamtion and ctrl + right click on the "Edit Button".
3. Select "Yes" for the Invisible property of button Edit.
4. Click Apply and Ok.
The button will not be visible anymore.
Regards,
Samir -
Need to show data related to Process order request , BOM in a smart form
Hi,
I need to show data related to
Process order request
BoM
Now in selection screen we are entering the followings.
Manufacturing Plant ,MRP Controller, Production scheduler, Order type , Order , Material, Sales order, WBS Element,Release,Scheduled start, Scheduled finish ,Selection profile.
how to get 1> Process Order number,Produced Material,Material Description,Print date,Narcotics indicator , Quantity produced , Phase number , Phase description ,Resource description,Standard value to show in a request form.
2> Item category ,Component code,Component description , Component quantity ,Component Unit of measure ,BoM base quantity.
Please help me how to get those values , what should be the aaproach , how to write the select quiry.
ThanksHi
To get BOM details, do the following:
1. Use the material number and goto Article to BOM link table (MAST) to get STLNR (BOM).
2. With this STLNR, goto STPO table (where STLNR is the key field). Here you will get all the BOM details like components (IDNRK), UoM (MEINS) etc....
Hope this helps.
THanks
Vijay
<b>PLZ REWARD POINTS IF HELPFUL</b> -
Numerous attempts at a clean install of iTunes have failed. I am running Win7 64 bit on a Toshiba L series Satellite w/8G RAM and 100 G HDD space. Error message was (-42404), but following a complete (recommended) uninstall am now getting "Error 7". The prior uninstall included the establishment of administrator rights to files and folders left in the Apple folder after running the uninstaller, and successfully removing ALL visible and hidden Apple files and folders.
Any other suggestions out there folks?On Oracle Metalink site, there are many documents which says that Oracle 32 bit software works on 32 bits OS and 64 bits software works on 64 bits OS. Official support is only in those combination....
So there is no good way to help you in your case-XE is 32 bit application with hard codded compiled libraries which most of them would not work on 64 bit OS.
Sorry
8(
Hope this helps -
Trigger badi after giving data in custom tab of po item
Hi,
We have added custom tab in po item level, now we want to make those fields manditory
for specific document type.We are using badi ME_PROCESS_PO_CUST .
The message is getting triggered initially , but after giving data in the custom fields the badi
is not getting triggered again.And triggers if we make changes to some other fields in po.
So can we trigger the badi after giving data in custom tab ?
I was trying something like this.
method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM .
DATA: l_if_header TYPE REF TO if_purchase_order_mm,
ls_header TYPE mepoheader,
ls_mepoitem TYPE mepoitem,
l_if_header = im_item->get_header( ).
ls_header = l_if_header->get_data( ).
CALL METHOD im_item->get_data
RECEIVING
re_data = ls_mepoitem.
IF ls_header-bsart = 'BW'.
if ls_mepoitem-ZZONAME IS INITIAL.
MESSAGE 'Plz enter Operator name in custom data' TYPE 'E'.
endif.
endif.
endmethod.
Any pointers are welcome..Solved using exit EXIT_SAPMM06E_012
This exit will trigger even after giving data in custom tab at po item level. -
Tables for sales & purchase order data relating to delivery
hi all,
i am writing a report to download all the delivery data after the delivery is created.i have to download the sales order data & purchase order data relating to this delivery also.
i am using likp & lips table for delivery.which tables i
should use to get the sales order data & PO data for the same delivery (likp-vbeln). i.e i need the sales & purchase order related tables which has link with delivery tables like likp & lips etc.
plz advice me. it is very urgent.
any idea is highly appreaciated.
Regards
pabitrain Addition to NM ,
in case of STO there is no Sales Order , Process will be like this
PO-->Delivery->PGI--->Billing then u have to
link
*getting the History data of the PO
select ebeln
ebelp
belnr
menge
from ekbe
into corresponding fields of table w_ekbe
where ebeln eq w_lips-vgbel
and ebelp eq w_lips-vgpos
and bewtp eq 'L'.
Regards
Prabhu
Maybe you are looking for
-
XL reporter to show zero rather than #Ref for account section with no value
Hi, Customer is using 2007A PL30. They do not want Profit&Loss and Balance Sheet to show if the account is having zero value. Eg. Subsection of P&L report Payroll Salary 0.00 Bonus 0.00 Casula wages
-
JNI Callback from remote process
I have an application that calls back from C to Java in multiple situations. In some, I have been successful using the technique of calling AttachCurrentThread as described, for example, in various places, e.g., http://java.sun.com/developer/onlineTr
-
[Amarok] Problem + pacman thing
Step by step [root@localhost custompkg]# pacman -R amarok-base error: /var/lib/pacman/local/amarok-base-1.4.5-4/files: No such file or directory error: could not find amarok-base in database [root@localhost custompkg]# pacman -S amarok-base :: amarok
-
Asking Questions in different forums...
I used to be able to figure out how to ask questions in individual forums easily. Last night, from my home computer, I could NOT figure out how to ask any forum any question. I am now at work on a Dell Something-or-other PC and it works easily. Why i
-
Trouble opening .psd files in FW
I recently purchased the Adobe Creative Suite 3 Web Standard. I have been working in Dreamweaver and haven't needed to use Fireworks until today. Well, I tried to open a photoshop file in Fireworks and it 'unexpectedly quits'. I have tried to import