How to create a transaction variant
Hi Experts,
How to create a transaction variant.
Regards,
Abinaya
Hi,
Transaction variants are created with transaction: <b>SHD0</b>
In the field Transaction on SHD0 enter the transactioncode for the screen you want tpo modify (E.g. VA03) . In the field Variant on SHD0 enter the name you want to give the transaction variant (E.g. ZVA03)
Press Create
Now the screen for the transaction is shown and you can enter default values in the fields of the screen
Press Enter. Now a screen that enbles you to make further customizing (Hide, Output only, Invisible, Mandatory) if the screen fields is shown.
After you have finished customizing the screen press Enter to go to the next screen or ave and exit to save the Transaction variant
Regards,
Viven
Similar Messages
-
How to create cross-client variant?
Hi Experters:
Can someone tell me how create cross-client variant in ECC6.0?
in 4.6, we can define the client or define cross-client transaction variant,
how to create cross-client variant in ECC6.0?
Regareds,Hi,
In se93 there is a check box cross-client .
The Cross-client switch identifies which transaction variants are cross-client and which are client-specific. If the switch is set, the transaction variant is cross-client. If the switch is not set, the transaction variant is client-specific.
A client-specific transaction variant can only exist in the client where it was created. The field contents of the transaction variant only have to be available in the particular client. A cross-client transaction variant is available in the system regardless of which client is currently active. The field contents of the transaction variant have to be available in all clients.
http://****************/Tutorials/ABAP/TransactionVariant/Create.htm -
How to transport a transaction variant and her related screen variant?
Hello to every SDN member,
I am looking to transport a transaction variant and the related screen variants.
I read the help and I am concerned by the paragraph about the Client-specific transaction variants because when I created the transaction variant, no dialog box appeared.
In the paragraph about the Client-specific transaction variants, it is told to transport the variants with the Transport function but the problem is that I cannot find it. How can I use this function? It is not in the toolbar and not in the differents menus.
Can you please give me the solution to transport the transaction variant and the screen variant?
Thank you very much in advance.
Best regards,
Matthieu ChérierHi,
You can transport a variant by :
1. Running the program RSTRANSP. Mention your program and variant name there.
2.Create a variant with prefix 'CUS&'. This type of variants will be automatically transported to target system through transport request.
3.Go to Se38 --> Input report name --> Select Variants
On the screen --> Go to Utilities -> Select transport request
--> Provide the program name and Variant --> Assign Transport request to variant. Then release the transport.
Regards. -
Creating a transaction variant doesn't catch the selection screen
Hi,
I am trying to create a transaction variant for RERAPP transaction, which calls the report RFRERAPP on selection screen 1000.
I have used SHD0, specifying the t. code and a name for a transaction variant, then pressed the "Create" button. the selection screen is displayed, I enter the relevant values for the transaction, and press enter. the system prompts me to create some screen variants, but none of them have fields listed, and none of them is for the screen 1000.
SAP Release 600.
Any hint on the reason behind this behavior?
I found another related, unanswered [topic|Transaction Variant for a standard report without transaction code;Hi,
I have faced similar problem..
Here is the work around.. Might be useful for you..
1. Create Selection screen variant for report (Modify selection screen 1000 for display/hide in variant maintaince)
2. Then create "parameter Transaction" with report on Transaction START_REPORT
D_SREPOVARI-REPORT = <Your Report Name>
D_SREPOVARI-VARIANT = <Newly created variant>
Nag
Edited by: Naga Mohan Kummara on Dec 31, 2009 10:46 AM
Edited by: Naga Mohan Kummara on Dec 31, 2009 10:49 AM -
How to create a temporary variant - urgent
I suppose to schedule a batch job with a temporary variant or as a real variant. can anybody guide me how to create a temp. variant for a batch job..
Thanks
ThirumalairajanHi Thirumal,
First run your program through se38. Then enter your values which u
want to use. Then save that by using the save button. Then goto
SE36 and define your job while defineing when you define the step
give the name of the program then down of that you will have an option
of giving the variant use f4 then it will show the value which you have
saved while executing the program through se38.Now save your job it
will run with the variant.
Reward points if helpfull.
Regards,
Vamshi. -
How to create a transaction code for a function group with screen 100 as st
Hello ,
I have requirement where I need to create a function group and create screen 100, 200, 300 and include the function in the screens.
Customer asked me to create a transaction with the screen 100 as the starting screen.
Can you please let me know how to create a transaction code for a function group with screen 100 as starting screen.
[ It is not a module pool program ].
Thanks
Prashanth.
Moderator message - Please ask a specific question and do not ask the forum to do your work for you - post locked
Edited by: Rob Burbank on Jun 2, 2009 11:49 AMGo to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
Name of screen field: Value
D_SREPOVARI-REPORTTYPE RW
D_SREPOVARI-REPORT ZPCA
Save and transport accordingly. -
How to create a new variant and a job sheduled to use it for the exisisting programs
Hi
1. The ALV Grid Control is a tool with which you can output non-hierarchical lists in a
standardized format. The list data is displayed as a table on the screen.
The ALV Grid Control offers a range of interactive standard list functions that users need
frequently (find, sort, filter, calculate totals and subtotals, print, print preview, send list,
export list (in different formats), and so on. These functions are implemented in the
proxy object class. You as the programmer have the possibility to turn off functions not
needed. In most cases the implementations of the standard functions provided by the
control are sufficient. However, if required, you can adjust these implementations to
meet application-specific needs.
You can add self-defined functions to the toolbar, if necessary.
The ALV Grid Control allows users to adjust the layout of lists to meet their individual
requirements (for example, they can swap columns, hide columns, set filters for the
data to be displayed, calculate totals, and so on). The settings (list customizing) made
by a specific user are called a display variant. Display variants can be saved on a userspecific
or on a global basis. If such display variants exist for a list, they can be offered
to the user for selection. If a display variant is set as the default variant, the associated
list is always displayed based on the settings of this variant.
2. REUSE_ALV_LIST_DISPLAY
REUSE_ALV_GRID_DISPLAY
REUSE_ALV_FIELDCATALOG_MERGE
REUSE_ALV_COMMENTARY_WRITE
3. Use of Field Catalog is to determines the technical properties & add formating information of the column.
6. all the definition of internal table, structure, constants are declared in a type-pool called SLIS.
7.fieldcat-fieldname
fieldcat-ref_fieldname
fieldcat-tabname
fieldcat-seltext_m
5. Form user_command using r_ucomm like sy-ucomm rs_selfield type slis_selfield.
Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
The report output can contain up to 90 columns in the display with the wide array of display options.
<b>The commonly used ALV functions used for this purpose are;</b>
1. REUSE_ALV_VARIANT_DEFAULT_GET
2. REUSE_ALV_VARIANT_F4
3. REUSE_ALV_VARIANT_EXISTENCE
4. REUSE_ALV_EVENTS_GET
5. REUSE_ALV_COMMENTARY_WRITE
6. REUSE_ALV_FIELDCATALOG_MERGE
7. REUSE_ALV_LIST_DISPLAY
8. REUSE_ALV_GRID_DISPLAY
9. REUSE_ALV_POPUP_TO_SELECT
Purpose of the above Functions are differ not all the functions are required in all the ALV Report.
But either no.7 or No.8 is there in the Program.
<b>
How you call this function in your report?</b>
After completion of all the data fetching from the database and append this data into an Internal Table. say I_ITAB.
Then use follwing function module.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = 'Prog.name'
I_STRUCTURE_NAME = 'I_ITAB'
I_DEFAULT = 'X'
I_SAVE = 'A'
TABLES
T_OUTTAB = I_ITAB.
IF SY-SUBRC <> 0.
WRITE: 'SY-SUBRC: ', SY-SUBRC .
ENDIF.
ENDFORM. " GET_FINAL_DATA
The object F_IT_ALV has a field, the activity ACTVT, which can
contain four permitted values: 01, 02, 03 and 70. Each of the
activities 01, 02 and 70 controls the availability of particular
functions (in the menu and the toolbar) of the ALV line item list:
a) 01: "Settings -> Display variant -> Save..."
b) 02: "Settings -> Display variant -> Current..." and
"Settings -> Display variant -> Current header rows "
c) 70: "Settings -> Display variant -> Administration..."
Activity 03 corresponds to the minimum authorization, which is the
most restricted one: The user can only select layouts which have
been configured already. In particular, all of the other functions
named above are inactive with activity 03.
Now if you want to permit a user to change the column selection and
the headers as well as to save the layout thus created, for example,
but if you do not want to permit the user to administrate the
layouts, you grant him or her the authorization for activities 01
and 02.
Check this link it will be mosty usefull for u
http://www.sap-img.com/fu017.htm
Reward all helpfull answers
Regards
Pavan -
How to create the variable variant in process chains for ip
how to create the variable variant in process cahins for ip
Hi venky,
check these links
http://help.sap.com/saphelp_nw70/helpdata/EN/c0/980398e58611d194cc00a0c94260a5/content.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/c0/98038ce58611d194cc00a0c94260a5/content.htm
bhaskar -
How to create custom Transaction iview
Hi all,
Can any one tell me how to create an Transaction iview for the custom transaction.
Is it different from creating an Transaction iview for standard transaction?
I tried to create in the same manner as of standard transaction but it is giving portal run time error.
Thanks & Regards,
Laxmilogin to ur portal.....content Admin- -Right Click on portal content IView----Select Trans IVivews .
also ..
check if there are any *.err files in cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\
If this is not the case, please have a look at Note 1086644 - Checking database consistency for the PCD -
How to create a transactional cube
Hi all,
How to create a transactional cube. Can anyone tell me the process involved in creating transactional cube.
thanxs in advance
hariHi hari,
Transactional cube creation is similar to the creation of ur basic cube but at the time of loading u have to chack up an option
1.Go to Infoproviders tree right click Info area and say Create infocube.
2.then the normal way of creating infosource,assigning source sytem to itand then creating infopackage should be done
3.But befor scheduling the info package go the info provider tree select the infocube u have create and just right click u'll find an option
Swith Transactional infocube click it then a pop upshows with 2 radiobuttions
1.Real time data target can be loaded with data,Planning not allowed check this radiobutton
2.real time data target can be planned,data loading not allowed
4.now u can go back to ur infopackage and schedule it.
Regards
Madhavi -
How to create code inspector variant?
Hi all,
how to create code inspector variant?
Regards,
JeetuGo to SE38 - Type in your program name
Then in menu Go to Program - > check -> Extended program check ->
You can select the rules to check
Press the edit button and save with some name
regards
Vivek
reward points if this helps -
How to rename a transaction variant
HI All,
I have created a transaction variant for ME38 by using SHD0 and disabled a menu item('Generate 'Forc' Scheduling Agreement') under 'EDIT' function .Now i want to rename the transaction variant.Will that be possible if Yes,What is the soluiton to resolve it.
Thanks,
Bhavani.Not related to ABAP programming. Please research more before posting. Often renaming can be done by copying then deleting the old one.
Thread locked.
Thomas -
Can any body tell me how to create a layout variant in the selection
hi friends i would like to know how to create a layout variant in the selection screen and how to select the variant to display the ouptut using the layout using disvariant.please if possible give me example. thanks in advance.
hi,
I shall give you the code. It will definitely work.
<u><b>Declerations you need to make</b></u>
data: WK_VARIANT LIKE DISVARIANT,
WX_VARIANT LIKE DISVARIANT,
WK_REPID LIKE SY-REPID,
WK_VARIANT_SAVE(1) TYPE C,
WK_EXIT(1) TYPE C.
<b><u>Things you need to do in the initialization event:</u></b>
INITIALIZATION.
PERFORM F_INIT_VARIANT.
PERFORM F_VARIANT_DEFAULT USING PR_VARI.
*& Form f_init_variant
FORM F_INIT_VARIANT .
CLEAR WK_VARIANT.
WK_REPID = SY-REPID.
WK_VARIANT-REPORT = WK_REPID.
WK_VARIANT-USERNAME = SY-UNAME.
WK_VARIANT_SAVE = 'A'.
ENDFORM. " f_init_variant
*& Form f_variant_default
FORM F_VARIANT_DEFAULT USING P_PR_VARI.
WX_VARIANT = WK_VARIANT.
IF NOT P_PR_VARI IS INITIAL.
WX_VARIANT-VARIANT = P_PR_VARI.
ENDIF.
CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET'
EXPORTING
I_SAVE = WK_VARIANT_SAVE
CHANGING
CS_VARIANT = WX_VARIANT
EXCEPTIONS
WRONG_INPUT = 1
NOT_FOUND = 2
PROGRAM_ERROR = 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.
CASE SY-SUBRC.
WHEN 0.
P_PR_VARI = WX_VARIANT-VARIANT.
WHEN 2.
CLEAR P_PR_VARI.
ENDCASE.
ENDFORM. " f_variant_default
<b><u> After this Things you need to do in the At selection screen event:</u></b>
AT SELECTION-SCREEN ON VALUE-REQUEST FOR PR_VARI.
PERFORM F_VARIANT_F4 USING PR_VARI.
*& Form f_variant_f4
FORM F_VARIANT_F4 USING P_PR_VARI.
CALL FUNCTION 'LVC_VARIANT_F4'
EXPORTING
IS_VARIANT = WK_VARIANT
I_SAVE = WK_VARIANT_SAVE
IMPORTING
E_EXIT = WK_EXIT
ES_VARIANT = WX_VARIANT
EXCEPTIONS
NOT_FOUND = 1
PROGRAM_ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF WK_EXIT IS INITIAL.
WK_VARIANT-VARIANT = WX_VARIANT-VARIANT.
P_PR_VARI = WX_VARIANT-VARIANT.
ENDIF.
ENDFORM. " f_variant_f4
After this finally when you call the output using REUSE_ALV_GRID_DISPLAY YOU NEED TO mention this parameter in the function module
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
<i><u><b>IS_LAYOUT = WA_LAYOUT</b></u></i>
<i><u><b>I_SAVE = 'X'</b></u></i>
<u><i>I_DEFAULT = 'X'</i></u>
<u><b>IS_VARIANT = WK_VARIANT</b></u>
TABLES
T_OUTTAB = ITAB1
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
Once you do this,,, you can create a layout variant.
P.S. Mark all helpful answers for points.
JLN -
HOW to create new transaction code in SAP
Dear All
Thanking you for your cooperation
Pls help,
how to create a new transaction code and link with the process??????????
Thanking youHi
you can crete Transaction code in Transaction SE93.
To create a transaction code:
Enter a transaction code (up to 20 characters).
Choose Create.
A dialog box appears. Enter a short text and choose the transaction type.
The transaction type can be as follows:
Dialog Transactions
Report Transactions
Object-Oriented Transactions
Variant Transactions
Parameter Transactions
In a report transaction, you use a transaction code to start an executable program (type 1). An executable program usually has three steps - data entry (selection screen), data processing (often using a logical database ), and data output (list).
To create a report transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Program and selection screen (report transaction).
When you define a report transaction, you can specify the selection screen and variant with which you want it to start.
You can also protect the report transaction against unauthorized use. To do this, enter the name of an authorization object in the corresponding field.
Dialog Transactions
In a dialog transaction, the flow of the program is determined by a sequence of screens. The screens that are called within a transaction should belong to a single ABAP program, usually a module pool (type M program).
To create a dialog transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Program and screen (dialog transaction).
You can create transaction codes for Custom query;s created using SQVI also
Thanks & Regards
Kishore -
Hi Gurus,
My requirement is to create a transaction (ZSE16) similar to SE16 the only difference is to disable the Create entries button in ZSE16.
I got an approach using Transaction variant but I am struck up with it
Guide me how to disable the create entries button in SHD0 with the step
Regards
Paulhi,
The Purpose of transaction variants is to hide fields, menu functions, screens, to supply individual fields with default values or to change the ready for input status of one or more fields.
Using transaction variant, you can tailor screens to meet your required business process, and it can be used to accomplish security task, not directly supported by SAPs security concepts.
A Transaction variant consist of a number of screen variants, customized to meet your requirements, Transaction variant only alters the layout of the screen. The Business processes delivered by SAP retain their integrity
Scenario
In this example the scenario is:
In transaction BP Business Partner, the user should not be able to create a new person.
Recording a Transaction Variant
Transactions variant are recorded through transaction SHD0
1.Enter the transaction code you want to record here BP, and press enter
2.Enter a name for your transaction variant here Z_BP_PERSON. Please notice that the naming convention for transaction variant requires that it starts with Z or Y.
3. Push Create then you will see the following template after you clicked on create.
You have now called transaction BP in recording mode.
1.When you push the EXIT button you will get the following popup as shown below.
2.Enter a name for the screen variant e.g. Z_BP_PERSON or by default it will get as Z_BP_PERSON_3000,
3.Press the DEACTIVE MENU FUNCTION, and you get the following popup.
In this Popup you can deactivate menu functions.
1.Open the Menu Bar à Business Partner à Create
Position the cursor on SCREEN_1000_CRE_PERS Person
2.And push the DEACTIVE button .
3.Push ENTER.
4. And CLICK ON Exit and Save
Save the Transaction Variant.
Click on BACK button .
7.Select Z_BP_PERSON and click WITHPROCESSING.
a.)As you see the template, the Person button is grayed out, and if you go to the menu Business partner à Create, you can see that youre not allowed to create a person for the menu either.
b) Save, check and execute.
c.) Go to transaction code se93 to create transaction code for Z_BP_PERSON.
d) Provide the name and click on CREATE.
e.)Provide short description and select start object as TRANSACTION WITH VARIANT and ENTER.
f.) Enter TRANSACTION as BP and TRANSACTION VARIANT as Z_BP_PERSON.
g.) Select CROSS CLIENT.
Save, check and Execute.
i.) The output will be displayed and observe that PERSON button is grayed out.
Maybe you are looking for
-
Any functional spec or technical spec for MB5B report??
Guys, Please send me any Functional Spec or Technical Spec of the standard SAP report with tcode MB5B ( Stock as on posting date). Any document explaining logic or technical flow is very much useful to me..I need to understand the logic and what are
-
Oracle.jbo.NoDefException: JBO-25002: Using template
Using Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923 . I have created a new ViewController project and created a page binding in my JSF page template as <?xml version="1.0" encoding="UTF-8" ?> <pageDefinition xmlns="http://xmlns.oracle.com/adfm/ui
-
Error Message - "Aperture cannot access this library"
I'm using OS 10.5.7 and Aperture 2.1.3. I recently had an error message pop-up when I try to start Aperture that says, "Aperture cannot access this library. To use this library, make sure its file permissions are set correctly." Unfortunately, I can'
-
I can t install ios 6.1.3 on my iphone 4s
i can t install ios 6.1.3 on my iphone 4s
-
Macros in Demand Planning SCM 7.o
Dear Friend, Please give me the link where I can learn about Macros of Demand Planning in SCM 7.o. Please brief me about the Macros. My intention is to learn about Macros. With regards, Balu