Set Variant attributes in selective deletion program
Dear all,
I have some problem about set variant attributes in selective deletion program (se38)
I want to set field fiscal year for current year.
Field fiscal year have selection type = "S" and i choose selection variable. It only have Type of variable is "T"
so i go to table TVARVC and create new variable I've set value as below
Selection type S
Number 4
Selection value SY-datum
And it didn't work .
Fiscal year still dispaly "0".
any suggestion?
Many thanks,
Big Tree
Hi MLS,
You can create this program using the program RSDRD_DELETE_FACTS (in SE38). You just need to provide the selections and generate the ABAP program. Ten you can use this in the process chain, with process type ABAP program.
Hope this helps...
Similar Messages
-
Setting screen attributes for select-option in subscreen
Hello SDN Community, I have researched this extensively in forums and found much helpful information in getting the select-option working in a subscreen. Also found information that discussed using standard AT SELECTION-SCREEN statements to process the sub-screen with.
I encountered problems when that from the LOOP AT SCREEN within the AT SELECTION-SCREEN OUTPUT, I set the INPUT/OUPUT attributes to zero, the field was still open for input when it displayed. For when I do this on other fields of my screen, they are "greyed out".
Has anyone any experience setting field attributes from within loop at screen for embedded select-option subscreen? Would appreciate any insight you might have.
Thank you,
Dean Atteberry.
P.S.- I put this thru the debugger and I can see the INPUT and OUTPUT attributes getting changed. But when displays, it is like the change didn't happen.
Full description of my processing below...
I have a screen with four radio-buttons. Under the first radio-button is my embedded subscreen with one SELECT-OPTION for AUFNR. Under the other three radio-buttons are single fields declared regular way in main screen.
In my PBO of main screen I have loop at screen that enables/disables INPUT and OUPTUT attributes based on which radio-button is selected. This prevents confusion from user entering values in fields other than the one the radio-button is selected for.
For my embedded select-option subscreen, I have an AT SELECTION-SCREEN OUTPUT statement in which I have a LOOP AT SCREEN. Within that, based on radio-buttons, I either enable or disable the INPUT and OUTPUT attributes for the S_AUFNR-LOW and S_AUFNR-HIGH fields.
Edited by: Dean Atteberry on Mar 25, 2009 4:39 PM>> I think that you are trying to change select options within main screen, whereby it should be
>> changed in PBO of that subscreen. You said you do it in AT SELECTION-SCRREN OUTPUT which
>> will be only applicable for selection screen (I guess your main screen here). Do loop at screen in
>> PBO module of this subscreen not in PBO of the selection screen and see if that helps.
Hi Marcin, thank you for your reply. My "main screen" is not my "selection screen". Please allow me to further clarify...
My "main screen" has four radio buttons with a subscreen area under the first one and single fields under the others.
My "subscreen" is auto-generated by Selection-Screen and Select-Options statements which are in my TOP module.
I call my auto-generated select-option subscreen in my PBO with...
call subscreen sca_ordr including sy-repid scr_0121.
and in my PAI with...
call subscreen sca_ordr.
In order to do LOOP AT SCREEN for my system-generated select-option subscreen, I use the AT SELECTION-SCREEN OUTPUT event in which to put my loop.
When I walk thru this in the debugger, I can see it setting INPUT/OUTPUT fields to zero, but when the screen displays, there are no changes to my subscreen.... Fields should be "greyed out" instead they are open for intput.
Doing my best to accurately describe in as few words as possible. Thank you for your ideas!
Dean. -
Regarding the Generic Selective deletion Program
Hi Gurus,
I have to create a deletion program for any target CUBES/ODS. The program should do selective deletion for ther target on the basis of the parameters provided.
e.g.:
Usually target ZXXXX_XXX is requested to load. ZXXXX_XXX is loaded from DSO ZYYYYYY. So first we have to selectively delete data from both the target and then start loading data. Create a program that should accept the target and selection conditions and then delete the data from the target according to input conditions.
We can consider FM RSDRD_SEL_DELETION for reference.
Please help me with the details of the FM RSDRD_SEL_DELETION & its parameters. Please also suggest if any other solution.
Thanks in Advance,
Sourabh DeoCheck the following details :
Suppose selective deletion on the basis of company code
data: L_THX_SEL TYPE RSDRD_THX_SEL.
data: LN_THX_SEL like LINE OF L_THX_SEL.'' this will contain InfoObject which is to be refered for sel deletion and the range of values for that info object .
data: L_RANGE TYPE RSDRD_S_RANGE. " used for internal calculations
data: L_T_MSG TYPE RS_T_MSG.
data: T_TR_RELOAD TYPE ZIB_TR_RELOAD OCCURS 0 WITH HEADER LINE. "used for internal calculations
SELECT * FROM XYZ into TABLE T_TR_RELOAD. "retrieve company codes from a database table
LN_THX_SEL-IOBJNM = '0COMP_CODE'. '' infobject for company codes .
L_RANGE-SIGN = 'I'.
L_RANGE-OPTION = 'EQ'.
L_RANGE-KEYFL = 'X'.
"affect all the company codes for selective delete retrieved previously by a select to a DB table
Loop at T_TR_RELOAD.
L_RANGE-LOW = T_TR_RELOAD-COMPANY.
APPEND L_RANGE to LN_THX_SEL-T_RANGE. range of values for company code for which data is to be deleted.
endloop.
insert this selection to a table
INSERT LN_THX_SEL INTO TABLE L_THX_SEL.
"call the function for selective deletion
CALL FUNCTION 'RSDRD_SEL_DELETION'
EXPORTING
I_DATATARGET = 'Cube1 ' "InfoCube you want to do the selective deletion
I_THX_SEL = L_THX_SEL "table containing details abt values to be deleted for the given infoobject
I_AUTHORITY_CHECK = 'X'
I_THRESHOLD = '1.0000E-01'
I_MODE = 'C'
I_NO_LOGGING = ''
I_PARALLEL_DEGREE = 7
I_NO_COMMIT = ''
I_WORK_ON_PARTITIONS = ''
I_REBUILD_BIA = ''
I_WRITE_APPLICATION_LOG = 'X'
CHANGING
C_T_MSG = L_T_MSG. -
I m using LV 6.0.2, the function "get variant attribute" does not work. I
get nothing out of it: no error, no values.
Any idea?!
Actually I could need exactly the string that is shown in a variant
indicator/control.
e.g.:
'Cluster': cluster of 2 elements
'Array': 1-D array of
'Numeric': double
'Boolean': boolean
'Array' -> (2.000E+0, 2.000E+0)
'Boolean' -> FALSE
Has anybody an idea how I can get this as a string?
Thank You.
Max
-> [email protected] / [email protected] <-
-> Max Weiß * Eulenweg 2 * 76356 Weingarten * Germany <-
-> Fax/Voicebox: 0180 505254775181 * Tel: +49 162 9114507 <-
-> ICQ: 123429315 * DB 8 MWE <-The reason you can't get an attrivute of the vairant is because your variant doesn't have any. Use "Set Variant Attribute" to add an attribute to your variant, and then you should be able to read it back later using the "Get Variant Attribute".
cheers,
Christopher
Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License. -
Pb with "Get Variant Attribute" LabVIEW 6
hello
I want to find the value corresponding to the variable name in a Variant structure. For this purpose I use the "Get Variant Attribute" function, but I do not get any good result : no result in the get value, and also when no string name input is given to get all the attribute of the variant.
where is the bug ?
thank youHi,
No bug, Get Variant Attribute returns values you've put in it using Set
Variant Attribute.
Unfortunately there is no way (I could think of) to get the text of a
variant out of the variant in string format.
Regards,
Wiebe.
"hub" wrote in message
news:[email protected]..
> hello
> I want to find the value corresponding to the variable name in a
> Variant structure. For this purpose I use the "Get Variant Attribute"
> function, but I do not get any good result : no result in the get
> value, and also when no string name input is given to get all the
> attribute of the variant.
> where is the bug ?
> thank you -
How can we automate the process of selective deletion in process chain
Hi,
I got to delete data from ODS and InfoCube selectively every Tuesday. So I am aware that there is an ABAP program through which we can automate the process of selective deletion in Process chain. So plz let me know the proceedure to automate this process.Hi,
Try this.
Need to genrate the deletion program using tcode Delete_Facts.
steps : 1 run the Delete_Facts tcode and give your cube name in the input parameter
step2 . select deletion program and execute . you will get the system genarated program
step 3 copy this prg and save as zprg.
step4 : run the program with selection
step 5. if your selection is date then you need to create dynamic varient needs to be populate the value for the date fields
step 6: you need to maintain the date values in the TVAR table if necessary
step 7. you need to use this custom prg in your process chain after completion of test
source : SDN.
Thanks,
JituK -
How to hide input fields on selection screen using variant attribute
Hello all,
I want to know how to hide input fields on selection screen using variant attribute conpletely.
As you know, when setting the attribute of variant "Hide field" checked, the field is temporarily hidden, but when clicking "All Selections(F7)" button on the selection screen, the fileds become appeared.
I want to hide the field completely. Di you know how to do ?
Thank you for your support.
Regards,
Hideki KozaiUse this attribute hide field and save the variant. Then create transaction for this program setting default variant for parameter Start with variant . The user who runs it will have it by defualt set.
Otherwise
in PBO simply use LOOP at screen and output = 0 for this field. This will ensure that field is invisible in any case.
Regards
Marcin -
Maintain the variants for the deletion program
How to Maintain the variants for the deletion program during Document Archiving
Try this.
Execute SE38 and Select the program name ( Archiving )
Click Variant and Click Change Icon
and entry the new Variant and click Create icon and save with your own values
Ensure that System setting from the menu bar Settings - User Specific Settings PopUp Screen - Repository infosystem Tab - All Selection Criteria
Hope this Helps
Thanks
S.N -
Selective Deletion of the Cube contents in Abap Program of the PChain
Dear Experts
I need to selectively delete the contents in Basic Infocube using Process Type - ABAP Program in the Process Chain in BW 3.5
For this I have to give the Variant and Program name in the Process Type - ABAP Program in the Process Chain
The ABAP Program for this purpose can be generated automatically by the system in the the below navigation
info cube> Manage>contents > system menu(in the Top)> Status
but this abap program is changing dynamically every time and hence in the Process chain ABAP Program node is failing with error saying that that program is not available
I have tried the same way in the selective deletin navigation path also in the cube manage
Please let me know how to get the system generated program to use in the Process type-ABAP Program in Process Chain
Thanks for all in advance
KSRHi KSR,
Try this.. start a selective deletion on the cube. you will get a background job running. Get the job name from SM37.
Now write a ABAP program with the below code.
parameter: p_Job_Name type sysuuid_c.
CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
EXPORTING i_barepid = l_jobnam.
Execute the above program. Pass the job name which you got from SM37.
Create a variant with that job name.
Now schedule this newly created program. This should solve your issue.
Note : The job name might vary from one server to another (Dev / Qual / Prod). So if you are planning to move your process chain from Dev, then pass the Job name (in prod) as the variant in yr Dev system and then transport it.
Cheer,
Balaji Venugopal -
Setting property attribute values for multiple selected objects.
Hello,
Is there an easy way to set the attribute property values for more that one selected Table Operator Attribute (column) at a time. For example the target table has over 100 columns but I only want to INSERT/UPDATE 10 of those columns. The generated MERGE, INSERT and UPDATE statements will perform DML on all of the columns in the target table, setting the 90 columns with no mapping set to NULL. This is due to the Loading Properties 'Load Column when Updating Row' and 'Load Column when Inserting Row' both default to Yes. I would like to select multiple Attributes in the Table Operator and change the 'Load Column when Updating Row' and 'Load Column when Inserting Row' to No. This is similar to what you were able to do in Oracle Forms 9.0 Designer select multiple Items in a Block and change the properties en-masse.
ThanksHi,
Using OMB scripting to set attribute properties in a data mapping sort of defeats the purpose of utilizing a graphical user interface to define and set properties for a data mapping? Surely the GUI data mapping tool was created to get away from writing scripts and scripting would also require that you know the name of the data mapping, table operator and the set of attribute names for which you have to write one line of script to set each property value, i.e. 90 lines to set 90 attribute values.
Cheers,
Phil -
Set variant for PNP LDB select option of pernr
Hi All,
I want to set variant for PERNR of PNP LDB in one of the program through other program using RS_CREATE_VARIANT FM.
Please help to solve this problem.
Thanks,
Shailesh S. Malkar.REPORT ZTEST. .
tables: pa0003.
ranges pernr for pa0003-pernr.
* Fill neccesary PERNRs
pernr-low = 1000.
pernr-sign = 'I'.
pernr-option = 'EQ'.
append pernr.
pernr-low = 1112.
pernr-sign = 'I'.
pernr-option = 'EQ'.
append pernr.
SUBMIT RHINTE00 WITH PNPPERNR IN PERNR. -
How to set Variant as selection-screen
I have a variant i want to set that variant as selection-screen can anyone please tell me how to do that
Hi Pradeep,
What is your requirement?
If you just want to create the variant for the selection screeen, then after entering the values on selection screen just press SAVE button.
Regards,
Atish -
Maintain the variants for the deletion program first
Hello Experts,
When i am trying to archive documents through SARA Transaction, am getting the following error "Maintain the variants for the deletion program first".
Awaiting your early reply..
Rgds
RamanaYou get this message because there is a new program being used for this archive object. In addtion to adding a comment to the default variant, it would be wise to test the program in your QA system and review OSS for any updates.
-
Will selecting ‘Delete Account’ in iCloud settings on iPad delete the AppleID account entirely, or will it just delete the AppleID from the iPad in question?
I am trying to resolve a problem where someone tried to set up a second iPad on the same Apple ID account. I have partially solved the problem by creating a new Apple ID for the second iPad, but when I went to change the iCloud setting, my only option to change it was the 'Delete Account' button. I just want to make sure that I'm not going to accidentally delete the old Apple ID account because the fist iPad still needs to sync to that ID.From the iPhone only.
-
Using bootcamp (windows 2002 xp) I down loaded adobe flash player from the windows platform. told me it installed successfully. however does not work in windows, does works in mac. in xp there is no created program folder for such or created short cut. In the control panel (xp) in add/delete programs it is listed but wihout any file size or frequency used. I've deleted & reinstalled numerous times. Mac OS is 10.6.8. Windows is 32 bit. Can't find a thing that discusses this. THANKS!
I just now posted it Adobe Flash Player 17.0 - Bug 3973913
Adobe Flash Player 17.0 - Bug 3973913
Adobe Flash Player 17.0 - Bug 3973913
Adobe Flash Player 17.0 - Bug 3973913
Maybe you are looking for
-
How can I get all the values of a String array profile property using javascript?
I am trying to build functionality into our site that records all products added to the basket against a user's profile. I have so far been able to store the product codes against the profile as a property using Ajax: var dataString = ":formid
-
How to install iTunes 11.4 back?
A few days ago I made the foolish mistake of "upgrading" (if you can say that) to iTunes 12 on my MacBook Pro (with OS X 10.8.5) and now I am in the biggest remorse... iTunes 12 is horrible, lacks of sidebar and make sync with iPhone / iPad a real ni
-
How can i control the timings of my slideshow using iphoto on my ipad
Q: 1 how can i control the timings of my pupil's slideshows using iPhoto on the iPad? Q: 2 then how can i export them? Q: 3 how can i combine them from 8 individual slideshows to 1 for showing to their parents at an assembly? many thanks in anticipat
-
Data Mining : Association Analysis - How to find the Created Data source
Hi friends , I had created a model for Association Analysis and I trained the model and I had maintained a Data source for the model and my question is it shows the associate data source name as "Z_RSDME_AX_DS_0002" and the Application Component as
-
" The job failed" in copying database SQL SERVER 2012
I'm trying to copy a database. When going through the Copy Database Wizard, I'm getting a Execute SQL Server Agent Job error. The error states " The job failed. Check the event log on the destination server for details". See below: Performing operati