Variant for Archiving Program
Hello Experts,
We are doing Upgrade from 4.7 to ECC 6.0 . We need to generate the Archive Objects for the Tables S022,S026,S027,S033,S502 etc. My question is after this Archive /Delete Programs Generation, Will the Variants be available or not .
The Program Names will remain the Same but a new version would be generated.
The Programs are not transportable as they are generated as Local Objects and we are planning to generate in Production System.
Any suggestions Please .
Regards
Swarna.
Hello Swarna,
I agree with Naveen, there will be no impact for these archiving object that was created in 4.7 and with upgradation to ECC 6.0
Variants will be available. Upgrade will not have any impact to your varaints.
-Thanks,
Ajay
Similar Messages
-
Find contents in variant for all programs
Hi All,
I have to find out a string in variant for all programs which are using that string .
I have to find out this devcq1 string in varints for all programs.
How can i do that one?Hi,
You can get the variant name from table VARID and then pass it to the FM RS_VARIANT_CONTENTS and search the return values for your specific content.
tables: varid.
select-options: s_report for varid-report.
data: begin of itab occurs 0,
report like varid-report,
variant like varid-variant.
data: end of itab.
data: i_val type standard table of rsparams with header line.
select report variant
from varid
into table itab
where report in s_report.
check sy-subrc = 0.
loop at itab.
CALL FUNCTION 'RS_VARIANT_CONTENTS'
EXPORTING
report = itab-report
variant = itab-variant
TABLES
valutab = i_val.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
else.
loop at i_val.
.... <-- search i_val for devcq1 string
endloop.
endif.
endloop.
Regards.
Ferry Lianto -
Dynamic Variant for Background Programs
Hi,
On a Std program, I have two parameter Settlement Period and Settlement Year.
I want to run this std program in the background with VAriant.
The values in these variable should change automatically for every new period/fiscal year.
I tried to user Selection variable. But no success. May be I am doing something wrong.
Can anyone suggest any solution??
- HarshadHi Harshad,
Once u enter the values you require on the selection screen and click on the SAVE button to save a variant, the Variant attributes screen comes up where you can provide a variant name and description.
On this screen there is a column called "Save field wthout values". If you check this option then the values to which the selection screen variables are defaulted will change dynamically.
So basically you have to default the selection screen new period/fiscal year in your program to the present values using a function module which im sure your using(if you need it ask me). Once you default them while saving the variant check the "Save field without values" check box against those fields.
Hope this helps you. Please award points if it does.
Regards,
Ganesh
Message was edited by:
Ganesh Chilakapati -
How to set Dynamic variant for a program
Hello experts,
I want to set variants dynamically on a selection screen. Please help me.
Thanks,
Ashwani.Hi Ashwani,
The variant can be set using:
SUBMIT program name [USING SELECTION-SET <var>]
USING SELECTION-SET <var>
This option tells the system to start the called program with the variant <var>.
For further details you can refer the link below:
http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm
Also refer,
http://sapbrainsonline.com/sap-training/SAP-tutorial-pdf-material_425.html
Regards,
Soundarya.
Edited by: K.Soundarya Singh on Mar 16, 2010 7:16 AM -
How to create a variant for a program without selection screen
Hi All,
I've created one program which takes the data from 30 tables and loads into one final table.
This program is already moved to Production.
But while creating variant it's not allowing, since the program doesn't have the selection screen.
Is there anyway where I can create a variant in production without selection screen directly as the program code is already moved to production.
Thank You,
Regards,
Karthik.ChHi ,
Are you running this program in a process chain?? -
How to track the transported Variant for a program
Hi All ,
Can anyone please let me know how to track the modifications done on program variants , and how to track if it has been transported .
Thanks In Advance .Hi Balaji
Variants are stored in the table VARID.
Pushpraj -
Use Variant for abap in Sapgui for Java 7.00r2 (Mac)
Hi,
When i want to use a, already existing, Variant for a program i get the error message 'Choose a valid entry'.
This also happens whith a newly stored variant.
The Mac version also has problems with the enter key in SE38.
Seems to me the are new bugs in revision 2.
JohnHello,
both bugs are fixed in rev 2.1, which I made available just few minutes ago. see ANN: SAP GUI for Java 7.00 rev 2.1 available for download
Best regards
Rolf-Martin -
Transaction Variant for a Custom Report
Hi Folks...
I am trying to create a transaction variant for a custom report...and i am unable to do it. Have any one tried that before and got it worked..please let me know.
Thanks in advance.
Rajeevhi,
i also used a different approach based on the requirement. this might be helpful to someone:
requirement: to make one of the parameter fields as display only. other users should not be allowed to edit this field & make it modifiable again.
_solution1:_ in the program, assign the parameter field to a modification id and make it protected (screen-input=0).
limitation: needs program modification incase there is a future requirement to change the parameter field value.
solution2: [1]create & save a variant and protect that parameter field. [2] go to SE93 & create a report transaction, put your saved variant in the 'start with variant'. [3] go to SU21 & create an authorization object for controlling the access to the variant. [4] ask your basis to attach this authorization object to the user id responsible for maintaining the variants for that program. [5] add a logic to check the authorization object in your program whenever the user tries to save or delete variants.
remarks: in production, make sure the authorization object & the update profile are transported. create also the same variant name as what you have defined in your report transaction code. -
Transaction variant for RPCPCC00
I need to create a transaction variant for the program RPCPCC00 and default the company code value so that a given person can run the report only for the given default value. I'm not able to set a default. Can anybody help me in this? Thanks in advance.
Use the transaction SHD0- To create a transaction variant for the desired Transaction. For your case plug in the t-code for the report that you want to create the variant for.
See if the link helps.
http://www.mortenhjorthnielsen.dk/Security/transactionvariants.htm -
Scheduling audit logs - variant for RSAU_SELECT_EVENTS
Hi,
I need some help as to how I should go about creating a variant for scheduling the audit logs using RSAU_SELECT_EVENTS as a weekly job.
I would like the job to run on a weekly basis (run on Sun) and to generate SM20 audit logs for that past week. For example, the job is to be executed (every) Sunday night (say, 22 Nov) and it will extract all logs between the previous Sun (15 Nov) thru to the current Sun (22 Nov).
My question is : how should the variant for the program "RSAU_SELECT_EVENTS" be created?
In this program, there's a "Time Restriction" section of "From Date" and "To Date". If I were to input 15 Nov (From Date) to 22 Nov (To Date) and schedule it weekly, then every week it is always going to extract the logs between 15 Nov and 22 Nov regardless of which Sun it was run - which is not correct.
How should the variant be created such that it will always extract the current past week?
I doubt this program can be used to achieve my requirements. Is there an alternative?
Thanks !> I doubt this program can be used to achieve my requirements.
I raise your bet by 1 beer that it can...
=> When saving the variant, scroll along to the end of the selection options to a field called Selection Variables. Place your cursor in the date fields and press F4.
Do the same for the Name of the Variable field (tip: "-7")
Cheers,
Julius -
ABAP or variant for IDOC archiving?
If I want to create a batch job that archives certain IDoc status records based on a formula ie. (current date - 90 days or earlier) will I have to write ABAP to make the call to the archive program or is there a trick to create a variant and schedule this easily?
I am sorry, I left after my last response. What I told you will work for you. For the date-from you will select the variable "current date +/- days" and give -90 there. Also for the date from you will say <=(less than or equal to). So your range should have looked like
Date Created <=<u>06/03/2005</u> to <u>blank</u>.
I forgot to put the <= sign in my previous post. I tried this and it worked for me. You don't have to manually enter any values here. All you have to do is save the variant with the selection variable and the sign <=.
Anyway, I see that you closed the post, so I assume you got the solution.
Srinivas -
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 -
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.
-
Date Variant for Shipment Cost document archiving
Hii
I want to archive the shipment cost document in my system for a particular date range.
When i go to the transaction SARA and put the object name as SD_ VFKK, it doesnt show me the date variant.
Whereas when i archive shipment(object: SD_VTTK), date variant is available.
Can anyone suggest any kind of setting which needs to be done in order to use the date variant for the object SD_VFKK
Thanks
Gaurav ManochaHi Gaurav,
Actually for Object SD_VFKK, when you to transaction code SARA and click on write variant, you dont have date option there. You can archive it only on the basis of Shipement Cost Document number.
If you will give me the details then I can see what you are actully looking for.
Regards
Sirfraz -
How to Run std program with a specific variant for specific user?
Hi guys
We have a std program which will be run by different users in the company. Now the requirement is to make sure that each user runs the report with a specific varaint. Can we control this if yes how?
one options we thought about was to create a transaction in SE93 and define the program to run with a predefined varaint and assign the new custom tcode to the user profile. But we have many different users and we will end up with creating many transactions which we would like to avoid. Is there any other option to control the std program such that each user can run the program only with a pre-defined varaint and the one which only the user is suppoed to run. thanks in advance.We have a std program which will be run by different users in the company. Now the requirement is to make sure that each user runs the report with a specific varaint. Can we control this if yes how
you can do this..
You can create a Custom table
userid keyfield
program keyfield
variant keyfield
programdesc
Make the table Maintaintable(usnig table maintenance )
Now create another Program
It takes input of the Program name( using selection screen)
LOGIC
in side that place a logic ,
Based on the user name and program name Get the variant name from above table
Now Submit the program with the variant you have selected above.
Use Variant Addition when you use SUBMIT
So now program executed based on user variant.
Now you create a Transaction for this program.
When use Runs the Transaction , user needs to input the Program name which he wants to execute.
and Output will be shown based on the variants
Regards
Vijay Babu Dudla
Maybe you are looking for
-
Hi All I am creating a report for fund flow statement thru FSI4 . There I need to create an element as under the heading ' Sources' : Sale of assets . To fetch data for sale of assets we need to fetch only the credit balances from the GL of Asset as
-
I have just downloaded 8.1.2 and I went to do a "save as" as tif file, just as I have always done in previous versions and the "save as" option is no longer available. All that can be done is "save a copy" and only to a pdf. Am I missing something or
-
How to get remove this violet ribbon?
Hello I am developing an VISITOR Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP) When i opened this VISITOR interactive
-
Data upload for records management
Hi experts, We're facing a problem while creating an RFC-enabled function to upload documents to the 'digital personnel file', which is the HR extension on records management. The goal is to transfer a document to SAP via RFC and upload it then from
-
How do I join multiple mp4 files?
I have three mp4 files created from a dvd. I'd like to join them into one mp4 file to put on our iPod. Is there a shareware utility to handle this? Thanks, David