Deletion of Generation Variant
Hi all,
I want to delete physicaly a generation variant from the table ESTLP but I don't find any program/function module that enable this possibility.
I deleted my Generation Variant in CG02 transaction. It put the Deletion Flag indicator to "X" in the table ESTLP but I can't create a new Generation Variant with the same name ...
Does any one know how to delete it physically (without an edit in SE16N) ?
Thanks for yout help.
Regards.
Antoine
Hi Antoine,
Generation Varient is a Master Data and as per general standard of SAP, there is no procedure to delete the Master Data indeed we can set flag of deletion indicator for that master data so that it will not get used.
Thus, Gen Varient can not be deleted physically unless and until you adopt a crude methold with the help of ABAP consultant to remove the entry direclty from table, which is not at all advisable by SAP.
Regards
Amol
Similar Messages
-
Cant set status released for Generation Variant for report category IBD_MSD
Dear EH&S people,
I am trying to upload a vendor MSDS'. I am not succesfull in this. The reason is that the status of the generation variant is not "Released".
I am not able to set the status released in the Generation variant. I am using report category IBD_MSD which should be the standerd one for Vendor MSDS.
Together with an abap consultant we found via debugging of the matchcoded of the search of the status that he takes the DMS document type SBR as a basis. It should however be IBD.
Has somebody encounter this problem before and have a solution for this?
Is there somewhere customizing which controls for a certain category which DMS document type to use?
Thanks in advance for your answer.
Regards,
PascalHi All,
I found the solution.
I looked at the detailed customizing of the document type SBR. Note 1091699 explained detailed settings of the different document types.
SBR was not correct customized.
It sounds strange that SBR is used for the report generation status for Vendor MSDS. I think it is because SAP treads it as if it is a raw version. So that could be an explenation why it searches for the status of that document type.
After I updated the SBR-type correctly, I was succesfull in uploading Vendor MSDS. The DMS type which was used to save the document was IBD.
Thanks all for your help.
Issue closed.
Regards,
Pascal -
Trying to delete a Report Variant in SAP
I'm trying to delete a Report Variant in SAP, and I receive the
following Error:
Variant WF_6DXXJT cannot be deleted/renamed.
Message no. DB294
Diagnosis
You tried to delete variant WF_6DXXJT. However, it is still in use in
job (job count ).
How can I find out where this variant is being used at? It could be in
a scheduled job, but Variant Name is not displayed in SM37.hi ,
check the table VARID ,TVARV which gives all the information about the varients..
regards,
venkat. -
How to delete Process Chain Variant
Hi all~
I'd like to delete Process Chain Variant .
But I can't find delete menu from RSPC.
It could be easy, but... I can't find it~ ^^;;
Thank you in advance~ ^^;;Hello,
1. Select the necessary process type from the menu.
2. Type in the technical name of the variant and click change button.
3. When maintenance screen is opened you can delete the variant by clicking delete button.
or
chk the tables for your variants :
RSPCVARIANTATTR
RSPCVARIANT
RSPCVARIANTT
RSPCTRIGGER
Or you can go to maintain variant for any existing variant and choose your variant form the list, delete it.
Regards, -
Hi,
Please advice how to delete old protected variants These were created by staffs who had left the company.Hi,
We used t code SE38 and selected variant.
Then selected the related variant & unprotected it.
Finally requested user to delete the unprotected variants. -
Generation Variant(CG2B) Transport to QUA
Hi Experts,
How do i transport Generation Variant create in CG2B to Quality System..?Hi Prakash
Generation Variant is a kind of Master Data and not the configuration Data. Only Configuration data can be Transported and not master data.
Moreover, Transferring / copying the Master Data e.g. Quantity to Production is a part of Cut Over activities.
In this phase, the Master Data will be moved may be via BDC or LSMW.
Generally this method is being used for very large Master Data e.g. Material Master data for 10,000 Material etc..
Most of the time, Generation Variant list is not as big as other master data thus most adopted method, at least for Generation Variant, is to create the New one in Target System.
Regards
Amol -
Hi,
Is there a way to block users from deleting the variants in an ABAP program?
The PROTECTED flag only protects against any changes...but allows deletion..strange!!!!AT SELECTION-SCREEN.
CASE sy-ucomm .
WHEN 'VDEL' .
MESSAGE 'Variant cannot be deleted' TYPE 'E'.
ENDCASE. -
Delete old Fiscal variant / Fiscal Periods / Fiscal Year from the BW
Hi
When initially Loading data we had different fiscal variant for each source system.
This was found not to be correct and after the initial load we reloaded the same data with a common fiscal variant across source systems.
Now the problem we have on hand is that we do not want the old Fiscal variant / Fiscal Periods / Fiscal Year to show up in the F4 pop up.
Is there a way to delete these old Fiscal variant / Fiscal Periods / Fiscal Year from the BW System.
regardsHi,
Go to your infoprovider, select the required characteristic and in the Infoprovider specific properties under the F4 values for filter option, you can choose "Only values from infoprovider data".
Just check if this option is available with time characteristics or not.
Regards,
Durgesh. -
Retrieve, deleted Custom Transaction Variant
Hi,
I have deleted a custom transaction variant. Is it possible to retrieve it back. I know i can recreate it. But I do not want that. I want to retrieve the deleted one.
Regards
Ramesh SundaramDear Ramesh,
If you are created the variant for the transaction, that variant is getting stored in the Table VARIT. If you are deleted the variant you cannot retrieve back. Try with the table VARIT.
Regards
Thiru -
Batch jobs and deleting one time variants
Hi,
I have a need to generate a background job with up to
21 steps each step needing a different variant determined
at creation.
I have written an abap that will create the job, steps
and variants for the batch stream. This works fine.
My problem is trying to delete the variants I created
at the end of the batch stream. I have tried setting
up another step to delete the variant but that fails
as RS_DELETE_VARIANT gives an error if the variant
exists in a current batch job, which it does in this
case as the variants are used in previous steps.
Ideally I would like to create variants as SAP itself
does when you dynamically submit a job to batch.
How can I get around this problem elegantly ?
AllanDear Allan
Welcome to SDN.
One solution that i can propose is:
With the ABAP Program that submits the job, do the following:
Step 1: Open the job using FM: JOB_OPEN.
Step 2: Submit all programs using SUBMIT statements and values for parameter with reference to the job-id and job counter.( I guess if we use JOB_SUBMIT here we will be specifying the variant name which already exists).
Step 3: Close the job using FM: JOB_CLOSE.
Using the above procedure the variants created will be temporary and no need to delete.
Below is an example which can help you understand the same:
PERFORM JOB_OPEN USING SY-REPID CHANGING L_JOBCNT.
SUBMIT Y00_SD_F2_003 WITH P_BUKRS = P_BUKRS
WITH P_FILE1 = P_OFILE
WITH P_RUN = P_RUN
VIA JOB SY-REPID NUMBER L_JOBCNT
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH DESTINATION = 'HPMISPRT'
WITH IMMEDIATELY = SPACE
WITH KEEP_IN_SPOOL = 'X'
AND RETURN.
PERFORM JOB_CLOSE USING L_JOBCNT SY-REPID.
*& Form JOB_OPEN
FORM JOB_OPEN USING P_REPID
CHANGING P_JOBCNT LIKE TBTCJOB-JOBCOUNT.
DATA: L_REPID LIKE TBTCJOB-JOBNAME.
L_REPID = SY-REPID.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = L_REPID
IMPORTING
JOBCOUNT = P_JOBCNT
EXCEPTIONS
CANT_CREATE_JOB = 1
INVALID_JOB_DATA = 2
JOBNAME_MISSING = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " JOB_OPEN
*& Form JOB_CLOSE
FORM JOB_CLOSE USING P_JOBCNT LIKE TBTCJOB-JOBCOUNT
P_REPID.
DATA: L_RELEASE(1) TYPE c, "Job released
L_REPID LIKE TBTCJOB-JOBNAME.
L_REPID = SY-REPID.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = P_JOBCNT
JOBNAME = L_REPID
STRTIMMED = 'X'
IMPORTING
JOB_WAS_RELEASED = L_RELEASE
EXCEPTIONS
CANT_START_IMMEDIATE = 1
INVALID_STARTDATE = 2
JOBNAME_MISSING = 3
JOB_CLOSE_FAILED = 4
JOB_NOSTEPS = 5
JOB_NOTEX = 6
LOCK_FAILED = 7
INVALID_TARGET = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " JOB_CLOSE
Hope the above info lead you in solving your problem.
Kind Regards
Eswar -
Deleting Process Chain variants
I apologize if this answer is already in these forums! I'm a first timer and I've searched as much as I know how.
We have created many process chains over the past 2 years which have been tweaked and tweaked. Whenever I add a new Process type to a chain, I'm prompted for a variant. I can either pick from an existing, or create a new one. Our list of existing variants has grown and I would really like to clean up old / unused variants. I would like to know if there is a way to find out whether a variant is currently used in a Process Chain or not.
Some of my searches on the forum have retrieved a list of tables associated with Process Chains, i.e. RSPC*. I'd prefer not to cross-check each step in my chains against this list of 29 tables to determine which is actually used. I'd hope there's an easier way?
Thanks!Hi:
You have some options to do this. some are.
a) In RSPCM, Click on process chain, go into PLANNING VIEW. Now when you edit the process chain (ex: double clicking on the START variant), it will display the variant properties. You can find the delete button on the top, just click on that.
b) If not, just do a selection criteria (F4) on the variant, select the variant you want to delete and then hit delete.
Hope this helps.
Prasith -
Delete Allowed generation for tables
At my group level I have set a value for the "Delete Allowed EL expression". In table layout though, it uses this value to set the rendered property of the checkbox rather than the column, meaning the users still see a column called "Delete ?" with just nothing in it. I've created a custom template and moved the rendered attribute from the selectBooleanCheckbox up to the column.
Of course I may be doing something wrong here or this might cause problems elsewhere but in case neither of those hold true I thought I would mention it as a possible future enhancement ?
Cheers,
BrentBrent,
That's fine, the reason we only hide the checkbox is that it allows for row-specific delete rules. You can conditonally render the delete checkbox based on some attribute values of the row.
Steven Davelaar,
JHeadstart Team. -
Mass deletion of variants for Total Records
Hi there,
during tranings we create a lot of variants for the Total Records (UCWB->Analysis->Total Records->Save Variant). Is there a way to do a mass deletion of those variants?
The standard options of deleting variants only allows to delete one variant per selection.
We work with a SEM BCS EHP 4.
Thanks for all help,
HelgeHelge
you can do a mass deletion of variants.
First you will need to find the program name for the Totals Records. This can be found from the totals records screen when you click the Get Variant button. Across the top of the dialogue box you will see;
"Variant catelogue for program XXXXXXXXX".
Note this program ID.
Go to TCode SE38
Key in the program - make sure the Short description for the Program is "List of Totals Records"
Check the Variants checkbox
Click on Display
From the menu - go Variants > Catelogue
This should give a list of the variants for the Totals Records. If not then you must have the wrong program.
Click the button which has the picture of the rubbish bin with the words "Selection Criteria".
This will then allow you to put a check mark against all the variants you want deleted.
Click the button which has the picture of the rubbish bin with the word "Variant"
This will then mass delete your variants.
Regards -
ALE Error + Mass deletion of variants for Reports
Hi,
I have two questions
1- is there any transaction in SAP, which delete the mass variants for reports for all users?
2- I am getting an error An Idoc without a message type was passed to the ALE layer.
I have already check file port is set up correctly and I am passing message type HROT_BRM.
This also happen in previous test, as user does not have the proper authorization, so I assign the authorization and ran it. It worked.
However, this time a user has the authorization and still the error messaging is coming. Am I missing something?
Waiting
ByeThere are some function modules like "KYVA_REPORT_VARIANTS_DELETE or get user variants "RM_GET_VARIANTS_4_REPORT_USER".
- is there any transaction in SAP, which delete the mass variants for reports for all users?
2- I am getting an error An Idoc without a message type was passed to the ALE layer.
I have already check file port is set up correctly and I am passing message type HROT_BRM.
This also happen in previous test, as user does not have the proper authorization, so I assign the authorization and ran it. It worked.
However, this time a user has the authorization and still the error messaging is coming. Am I missing something? -
Multiple Variant Deletion at Query Level
Hi,
In our project we built 100's of variants at BEX query level. Right now i need to delete some of them. I am able to delete them one by one. Can any one tell me how to delete all the variants at a time.
Thanks in Advance
VijayHi,
When you join the two infoproviders in the infoset ignoring infocube date, you are creating as many records for each record in DSO. That means for the first record the infoset creates :
Plant Material Batch Caldate Qty %
P1 M1 B101 01/02/2014 1000 20 (for first row in infocube)
P1 M1 B101 01/02/2014 1000 20 (for second row in infocube)
I also think same as Anshu, you have all the common characteristics, you can as well use a multiprovider.
regards
Yasemin...
Maybe you are looking for
-
How can I add an email account in apple mac which ends with .consulting
We changed our email account and the domain name is .consulting. How can I add this account to my Mac mail?
-
How to upgrade to PI 7.1
Hi, Although PI 7.1 will be on picture by september 2007, does anyone have idia on how to upgrade to PI 7.1 from XI 3.0 or PI 7.0 ??? any tips...steps??? etc .. kanan
-
HT2486 How to print the same return label on Avery labels
I am trying to print the same return label on an Avery 5160 and cannot. It only shows one label, not 30 of the same. Was on the phone with Apple support but we could not make it work either. Anyone knows? Thanks
-
Considering to buy a white or black iPad Air 128 gb
...which one should I pick? I'd normally just buy the black, as I know it's less prone to color distortion, but are the white iPads prone to color distortion now? I remember iPad 2 white colored being prone to it.
-
Detail Button in Web Dynpro ALV
Hi at all, when I create an ALV in Standard ABAP there is a small "Detail" button on the left side of the button row without any additional complex programming. How can I get this button in Web Dynpro ALV? Dirk