Update ODS from 2LIS_02_SCL - Deletion flag
Hello,
We face some problems when updating an ODS from 2LIS_02_SCL.
The deletion flag seems not to be set correctly.
Our goal is to keep the deleted items in the ODS.
But how to set 0RECORDMODE and STORNO correcty in order to update the ODS in the good way.
Sometimes after an update we receive 2 records, one with STORNO=X and a other with STORNO=SPACE.
I know that this field is used as before or after image in some case.But i need more help to clear the process.
Thanks
Christophe
Hi,
If data loading into and ODS in overwrite mode, instead of mapping ROCANCEL to 0RECORDMODE, Just write a simple code at start routine to clear keyfigure values/qty if ROCANCEL is "R" or"X".
This way you can keep deleted records from source, with keyfigure values as Zero's.
Datasource - 2LIS_02_SCL delta: ABR u2013 Complete delta update with deletion indicator using delta queue (Cube-compatible).
ROCANCEL u2013 Cancellation of Data Record
This field can contain the following values:
· u2018blanku2018 u2013 New data record
· u2018Xu2019 u2013 Cancellation of data record
· u2018Ru2019 u2013 Deletion of data record
For more information, see SAP Note 578471: Deleted Items in BW and Statistics
Check: Purchasing Data (Schedule Line Level)
Srini
Similar Messages
-
Report for update of Material with deletion Flag from R/3 to SRM
Hi All,
Is any report for Updating material in SRM with deletion indicator for those deletion flag set in R/3...Check material status
IF mat_mmsta EQ '--'.
lv_msgv1 = iv_ordered_prod.
CALL FUNCTION 'BBP_PD_MSG_ADD'
EXPORTING
i_msgty = c_msgty_e
i_msgid = 'BBP_PD'
i_msgno = 426
i_msgv1 = lv_msgv1
EXCEPTIONS
log_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
PERFORM abort.
ENDIF.
IF c_on = c_off.
MESSAGE e426(bbp_pd) WITH lv_msgv1.
ENDIF.
ENDIF.
if not mat_lvorm is initial.
lv_msgv1 = iv_ordered_prod.
call function 'BBP_PD_MSG_ADD'
program name LBBP_PDIGPF2R
Check material in backend
CALL FUNCTION 'META_MATERIAL_READ'
EXPORTING
i_mtcom = ls_mtcom_eci
logical_system = iv_log_system
IMPORTING
e_mmsta = mat_mmsta
e_lvorm = mat_lvorm
EXCEPTIONS
mat_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
lv_msgv1 = iv_ordered_prod.
lv_msgv2 = iv_plant.
CALL FUNCTION 'BBP_PD_MSG_ADD'
EXPORTING
i_msgty = c_msgty_e
i_msgid = 'BBP_PD'
i_msgno = 275
i_msgv1 = lv_msgv1
i_msgv2 = lv_msgv2
EXCEPTIONS
log_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
PERFORM abort.
ENDIF.
IF c_on = c_off.
MESSAGE e275(bbp_pd) WITH lv_msgv1 lv_msgv2.
ENDIF.
ENDIF.
EXPORTING
i_msgty = c_msgty_e
i_msgid = 'BBP_PD'
i_msgno = 345
EXCEPTIONS
log_not_found = 1
others = 2.
if sy-subrc <> 0.
perform abort.
endif.
if c_on = c_off.
IN SRM PROGRAM LBBP_PDIGPF2R BBP_PD 345 throws message "product x is designed for deletion"
but it is validationg from fm 'META_MATERIAL_READ'
please close this thread
br
muthu -
RPRAPA00 program deletion flag update issue
Hi,
I am stuck up with a specific company code whose deletion flag is updated for UPDATE variant(05001UDEMPVEN) when I execute PRAA tcode (or program RPRAPA00 ) and program writes to a file with the following contents:
2BLFB1 0002422000/ / / /LISI03VEXT/ / / / / / / / V00A/ / XA A/ // // / / / XX/ / / / / / // //
Marked in red , XX represents "Posting block for company code" and "Deletion Flag for Master Record (Company Code Level)" respectively.
Please advise from where deletion flag is updated and written to the file.
NOTE : Flag is not coming from LFB1 as I tried to remove the flag from table but still flags are written to the file.
Thanks,
Manzoor.Flags are not coming FROM LFA1/LFB1 but are going INTO LFA1/LFB1 from personal Infotypes : from HR Master Record: Infotype 0000 (Actions) to HR Master Record: Infotype 0009 (Bank Details) and reference vendor master record.
Regards,
Raymond -
Update data from ODS to ODS with infopackage selection
Hi,
I am trying to update data from one ODS to another ODS with selection criteria in InfoPackage which is created manually.For Full load I can give selection criteria in InfoPackage. When I initialize data Selection is greyed out even selections for Full load exists. Please advise me how to give selections for delta loads from ODS to ODS loads.
Thanks in advance.
RamOnce you started an ODS as destination in FULL mode from a DS you cannot get back.
So if you want to update from ODS to ODS using Change Log but considering only some data records you could create an Update Routine with a Start Routine that DELETES undesired records (e.g. DELETE DATA_PACKAGE WHERE ...) and then start an Init-Delta Loading.
Hope it helps
GFV -
Error while updating data from PSA to ODS
Hi Sap Gurus,
I am facing the error while updating data from PSA to ODS in BI 7.0
The exact error message is:
The argument 'TBD' cannot be interpreted as a number
The error was triggered at the following point in the program:
GP44QSI5RV9ZA5X0NX0YMTP1FRJ 5212
Please suggest how to proceed on this issue.
Points will be awarded.Hi ,
Try to simulate the process.That can give you exact error location.
It seems like while updating few records may be no in the format of the field in which it is updated.
Regards
Rahul Bindroo -
When trying to update apps from iPad and iPhone a previous one time users email keeps coming up. How do I delete their information?
delete off any apps that are asking for the wrong apple id and download/sync them over from the correct one
-
Cannot delete old apple device software update file from trash
I restored a new iPad from an old one and now there is an .ipsw file with the is08 8.0.2 update and I cannot delete it even tried command secure delete and option secure delete. The file is grayed out and says it is in use by another application. Please help me get rid of this.
Oh and not sure this is related but I cannot sync my iPad now, it says error 1723.
Thanks.Download the Windows Installer CleanUp utility from the following page (use one of the links under the thingy on the Major Geeks page):
http://majorgeeks.com/download.php?det=4459
To install the utility, doubleclick the msicuu2.exe file you downloaded.
Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any Apple Software Update entries and click "Remove", as per the following screenshot:
Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
How to stop deletion flag / indicator from being set in a PM order
I want to put a check before a service order (PM Order) is set the deletion flag and the deletion indicator. How can I do it? Is there any user exit available for this? The purpose of this is to prevent it from getting archived before a given condition is met. Please advise.
Some Enhancements (CMOD/SMOD) suitable
- (PBO type) IWO10006 "Maint. order: Fcode exclusion through cust. enhancement" EXIT_SAPLCOIH_006) to disable function code "LVMS"
- (AT SAVE type) IWO10009 "PM Order: Customer Check for 'Save' Event" (EXIT_SAPLCOIH_009) you can raise an error after some checks if caufvd_imp-loekz EQ 'X'.
You could also use implicit enhancement points in FM CO_ZR_ACTIVATE_DELETE_FLAG or K_ORDER_CHECK.
Regards,
Raymond -
How to debug start routines of update rules from ODS to InfoCube
Dear gurus,
I have an update rule from ODS to InfoCube. I wrote a start routine in the update rule. Now I want to debug it. I went to monitor and simulate update the data package and only got the prompt "No data exists in the corresponding PSA table". So how can I debug this start routine?
Thanks in advance.
Jin MingJin,
In order to use PSA between ODS and InfoCube, you may have to use an exclusive InfoPackage and load separately. In that InfoPackage, choose the radio button to use a PSA.
I think you are currently updating the InfoCube directly without using a separate InfoPackage.
Look for an InfoSource under DataMarts (search for 8<ODS Technical name>) and create your InfoPackage there.
Good luck. -
Error while copy of Update Rules from ODS 0SD_O03 to InfoCube 0SD_C13
Hi all,
I work on a NW04s SPS9 System I would like to simply copy Update Rules (from an ODS to an InfoCube) from the BCT to the 1:1 Z-Copies of these Objects.
To do so, I copied the InfoProviders 0SD_O03 and 0SD_C13 to Z-Versions. In SAP BCT the InfoCube is updated from the ODS. The ODS itself is updated from InfoSource.
After successfully copying the two InfoProviders as next step I tried to copy the Update Rules from the Content version Objects to the Z-Version Objects to link them.
Similar to copying update rules in 3.5 I tried
- right click on "ZSD_C13"
- choose Additional Functions - Create Update Rules"
- choose DataSource: ODS Object "ZSD_O03"
- choose Copy from: InfoCube "0SD_C13"
This result in the error "0SD_C13 is not suitable as a template for copying update rules".
Some hints that might help:
1. The very same error occurs if I try to copy the Update Rules from 0SD_O03 to 0SD_C13.
2. I also tried to copy both Update Rules (to C12 & C13) on a BW 3.5 system where it worked fine: The update rules from both Z-ODSs to both Z-Cubes were copied correctly 1:1 and without any errors.
3. In the NW04s System I was able to copy the Update Rules from the InfoSource 2LIS_11_VAITM to 0SD_O01 (as well as from 2LIS_11_VAHDR to ODS 0SD_O03). So I only cannot copy Update Rules from ODSs to InfoCubes while it is possible to copy Update Rules from InfoSources to ODSs.
4. During copy of 0SD_O03 the system warned: "InfoObject 0FISCVARNT needs to be in key for DataStore object ZSD_O03". No matter whether I move this IO to the keys of the Z-ODS, the Update Rules copy does not work.
- This warning does not show up on BW3.5 when I copy the very same ODS. Can anyone explain this?
- This warning is not displayed during the copy of ODS 0SD_O01, just for 0SD_O03.
5. Obviously during a preceding test I actually must have been able to copy the Update Rules for another copy of 0SD_C13 (as I can see the Update Rules in the SAPGUI). I stopped this first test as I was not able to do the Update Rules copy for 0SD_C12.
Yet as of today I cannot copy Update Rules this for both cubes 0SD_C13 as well as 0SD_C12. So yesterday there was no error on copying the Update Rules to InfoCube ZSD_C13, but today there is. To my knowledge nothing has been changed in the System Setup / Customizing in the mean time.
6. For both cubes ZSD_C13 as well as ZSD_C12 it is possible to copy Update Rules that map from the BCT ODS to the Z-InfoCbes. So I can copy Update Rules from 0SD_O03 to ZSD_C13 and from 0SD_O01 to ZSD_C12. This would point in the direction that the copied ODSes are the source of this behavior?
I am not sure whether this is a special NW04s behavior and how to use it correctly so the Update Rules can be copied.
Please could you help on how to copy these Update Rules in NW04s or share your experience if you had similar?
Thanks a lot,
WernerHi Vinod,
Check the update rules for the original cube. Are they active? It appears that they contain a formula...check this too.
Hope this helps... -
"Old" update rule from ODS not working
Hi Gurus,
I need to set up the "old" fashioned update rule to load data from an ODS1 to another ODS2.
The thing is that I need to set up an update rule because I need to implement a Return Table Routine that is not supported (as far as I know) by the new Transformation/DTP.
When I select option (through the right mouse click over ODS1) "Other Options" - "Create Update Rule" it takes me out of the RSA1 and leaves me in the main menu making it impossible to create a new update rule.
The strange thing is that I have this working from and ODS to an InfoCube.....
Suggestions, a workaround??
Andrea.Hi Jerry,
Just to confirm that this is not working. The tys_TG_1 structure only shows me the target infoprovider structure. Check that in the how to, to be able to derive employee first you need to assign eache source_filed to the result_field leaving employee blank.
I need to have in the same place, the source_field structure (source infoprovider field structure) and the result_field structure (target infoprovider structure). That is what the "old" return table gives me as in the same place I can have the communication_structure (source infoprovider field structure) with the return_table structure (target infoprovider structure).
Just to understand, in the source infoprovider I have 12 Key Figures (1 for each period) and I have to split each incoming record to 12 records. If I work only with the result_field structure tys_TG_1 and the result_package tyt_TG_1 I'm not able the see those 12 KF.
So... return table functionality is not fully supported by BW 7 as far as I know.
Any other ideas why I'm not able to create the old Update Rules from an ODS?
Regards,
Andrea. -
Urgent -Create RFC for update the database and delete from the database
Hi Guy's,
Please help me how to create the RFC for update to databse and delete from database(step-by-step) procedure.
Thanks and Regards,
Sai.Hi,
Please go through the following link,
reward if helps.
[RFC Step By Step|https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=39728]
regards,
mahantesh -
Deleted app appears in updates page from App Store
I had installed an app from store named Who is the killer. I deleted the app and now shows as an update and i can't get rid of it. I do not have any back up disks attached. How can i remove this from app store's update section?
If i hide this into purchases, it still shows in updates an i have 1 badge in the app store. I followed a few stepes as searching with easy find files which i think were related, reindexed spotlight and i still see the update available for the deleted app. If i click update, it just reinstalls it and so on.
-
After the latest update, I can't delete podcasts from my ipod while it is connected to my computer.
From the Safari menu bar, select
Safari ▹ Preferences... ▹ Advanced
and check the box marked
Include Bonjour in the Bookmarks menu
if it's not already checked. Then select
Bookmarks ▹ Bonjour ▹ Name of printer
A web page served by the printer should open. Does it? -
Deleting/Updating records from an object table in PL/SQL
Hello All,
VER:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
I have created an object and inserted records in it. Is there any way we can delete/update records from it. I do not want to delete based on iteration like delete.collection but I would like to know if we can delete directly from obj like delete from table...
CREATE OR REPLACE TYPE test_type AS OBJECT
col1 number,
col2 varchar2(100)
CREATE OR REPLACE TYPE tab_type is table of test_type;
DECLARE
test_tab tab_type;
l_cnt NUMBER;
BEGIN
select test_type(col1,col2) bulk collect
into test_tab from (select 1 as col1,'test1' as col2 from dual
union all
select 2,'test2' from dual);
IF test_tab.count>0
THEN
DELETE FROM TABLE(CAST(test_tab as tab_type)) a
where a.col1=1;
END IF;
l_cnt := test_tab.count;
END;Thx
Shank.SB,
I have a scenario wherein I insert few records into a collection table. I'm gonna filter few records from collection table based on the filter.
I want to delete the records that didn't match the filter. Right now, I'm inserting the records into a physical table and deleting from there. I do no want to use a physical table. Trying to avoid it.
Would like to delete from collection itself.
DELETE FROM TABLE(CAST(lv_attr_filter_tab as EDMS_CSPP_DISC_REQ_TAB_TYPE))
WHERE NOT EXISTS (SELECT 1
FROM edms_disc_lines_stg edls
WHERE edls.req_id = edrg.request_id
AND edls.disc_line_id = edrg.discount_id
AND UPPER(edls.disc_status) IN ('ACTIVE');
Maybe you are looking for
-
Translate date format for parameter or suppress format hint at all?
Hi, I have a report with a parameter of type date. When running the report, a parameter prompt is displayed (in German): Startdatum Geben Sie das Datum im Format "dd.mm.yyyy" ein. Because "dd.mm.yyyy" is not German, is it possible to either translate
-
LSMW - ME21 How to map multiple line items
Hi all, I am using LSMW tool with batch input recording technique to create POs via ME21. I have defined source structures as HEAD with POSI as its subordianted structure. This settings worked perfectly for one single item line. However, it created a
-
How to creating a webservice that enable client/authentication
hi, i'm newbie of the webservice development...and i would like to know how to start to create webservice that enable client/authentication on the website... can i know where can get the relevant information for development? thanks in advance, burnth
-
Must have LabVIEW installed on your computer to call a VI from SignalExpress?
I am a student trying to finish up a class project, so I'm hoping for a solution that's not too time-consuming, nor expensive. My problem is that I have a device that outputs a 9-pin RS232, and I just learned that I can't really connect it to my DAQ
-
[SOLVED] makepkg -s PKGBUILD issues
Hey all, this is my second install of Arch. I love it, but I am having some issues this time around that I did not have the first install. Here is the issue: Arch does not seem to recognize that I have installed dependencies when using makepkg. For