Programs for a transaction variant
Hi all,
Can anyone please tell me in which table does program of a transaction variant stored .
Rgds,
Rajashree
Hi,
You can use transaction variants to assign default values to the input fields on several screens in a transaction, to change the attributes of screen elements, and to hide entire screens. Maintenance and administration using the transaction code SHD0.
all the transaction codes are stored in TSTC table.
please check out the link below it will help you
http://help.sap.com/saphelp_webas620/helpdata/en/eb/5fab41d79b11d296190000e82de14a/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/7d/f63a0a015111d396480000e82de14a/content.htm
SHDFV -
Transaction variants: Field contents
SHDTT -
Transaction variants: Texts
SHDTV -
Transaction variants
FOR MORE INFORMATION ON TABLE PLEASE CHEKC THE BELOW LINK
http://www.sapsecurity.co.uk/sap-tables.html
**********please reward points if the information is helpful to you************
Similar Messages
-
Program for call transaction method
can any body help me , how to write a call transaction method . how to create error logs for call transaction method
hi
REPORT ZCALL.
TYPES : BEGIN OF itab,
lifnr TYPE rf02k-lifnr,
ktokk TYPE rf02k-ktokk,
END OF itab.
DATA : i_tab TYPE TABLE OF itab INITIAL SIZE 0,
wa_tab TYPE itab.
DATA : i_bdc TYPE TABLE OF bdcdata INITIAL SIZE 0,
wa_bdc TYPE bdcdata.
DATA : i_message LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
wa_message TYPE bdcmsgcoll.
DATA : fname TYPE string VALUE 'd:\manish.txt'.
DATA: p_text(100) TYPE c.
START-OF-SELECTION.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = fname
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = i_tab.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT i_tab INTO wa_tab.
PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
PERFORM bdc_field USING 'RF02K-LIFNR' wa_tab-lifnr.
PERFORM bdc_field USING 'RF02K-KTOKK' wa_tab-ktokk.
PERFORM bdc_field USING 'BDC_OKCODE' '= AUSW'.
CALL TRANSACTION 'XK01' USING i_bdc MODE 'N'. " UPDATE 'S' MESSAGES
"INTO i_message.
REFRESH i_bdc.
ENDLOOP.
IF sy-subrc NE 0.
READ TABLE i_message WITH KEY msgtyp = 'E'.
IF sy-subrc = 0.
LOOP AT i_message INTO wa_message.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = i_message-msgid
lang = 'EN'
no = i_message-msgnr
v1 = i_message-msgv1
v2 = i_message-msgv2
v3 = i_message-msgv3
v4 = i_message-msgv4
IMPORTING
msg = p_text
EXCEPTIONS
not_found = 1
OTHERS = 2.
WRITE:/ p_text.
ENDLOOP.
ENDIF.
ENDIF.
*& Form bdc_dynpro
text
-->PROGRAM text
-->DYNPRO text
FORM bdc_dynpro USING program dynpro.
CLEAR wa_bdc.
wa_bdc-program = program.
wa_bdc-dynpro = dynpro.
wa_bdc-dynbegin = 'X'.
APPEND wa_bdc TO i_bdc.
ENDFORM. "bdc_dynpro
*& Form bdc_field
text
-->FNAM text
-->FVAL text
reward if u find useful
regards
Nagesh.Paruchuri -
ABAP program for wage type variant report
Hi experts,
plz any one sen me the ABAP program for to create wage type variant report plz.
Thanks
Rajesh.Requesting for code is against forum rules. Please read the rules of the forum before posting.
-
BDC or LSMW program for AS91 transaction
HI gurus,
i need a BDC or lsmw program for tran:AS91 ie.create legacy data for two inter company data transfer.can anyone please help me bkz it's very urgent for me...
i promise that if i get the ans i reward u.Hi,
Use Function Module:MAINTENANCE_PLAN_POST -
Create a custom program for FPS3 transaction code
Hi,
I would like to create a custome program which does the below steps in one shot.
1) RUN(SUBMIT) Transaction FPS3 with
Company code = NONE and
Created on FROM = SY-DATUM & TO = SY-DATUM
2) In the next screen, it should select SELECT ALL
button
3) and then it should select EXECUTE button.
And alos i should be able to give Information Messages when nothing is selected or displayed.
Thanks & Regards,
Sudheer Pusala.write a z program with company code as parameter. next use Submit function to submit FPS3 with the variables. In the PF-STATUS maintain the required butons which will popup when the data is shown. Now, u can select all records from one of the button of PF-STATUS (u need to write code for it). Next use execute button to execute the data. At any stage u can improper ur custom messages which will get displayed as and when something happens.
-
How to change program for a transaction
Hi i have one program already assigned to the transaction code.
i want to assign the same transaction code to other program instead of the existing one. please give me steps to change.
thanks in advance
KPHi,
Go to SE93 and press chaneg button adn remove the name of the program and assign the new program name to the tcode.
But make sure that the <b>program type</b> is the same otherwise it will dump.
If the type is different <b>delete the TCODE and create it as a fresh.</b>.
Because u have to choose a different option for different program types while u create a TCODE.
Hope this helps.
Please reward points and close the thread if ur query is answered. -
Transaction variant Tcode called in ZPROGRAM
Hi Folks,
I have created transaction variant for t code MM01.
And created a transaction code for this transaction variant using SE93.
ZMM01_MAT is transaction variant t code.
Now I am trying to call this transaction variant t code(ZMM01_MAT) from other program to fill the next internal material number and pass it to ZMM01_MAT(passing material no from program to screen).
When I select a select views and click on “sales:sale org. data1” view, it is not prompting the screen to enter plant/Sales org/Distribution channel values (it will prompt screen in MM01 and ZMM01_MAT transaction codes).
Below is the coded in ZPROGRAM where ZMM01_MAT is calling
SET PARAMETER ID 'MXX' FIELD 'X'.
SET PARAMETER ID 'MAT' FIELD lv_matnr.
CALL TRANSACTION 'ZMM01_MAT'.
please help us on this.
SriHi,
I don't know if I understand your requirement.
If you want to add new variant TCODe like MIGO_TR and assign Accounting document, I would follow this way:
1. try to add entry to table T158 (in SE16)
2. use related entry (for existing TCode) as a reference for fields entry.
3. save and test if it works
hope it helps.
regards,
wojciech -
How to create Transaction Variant
Hi all,
I have a requirement like this
I need to create a transaction variant for the table CEPCT, for the transaction SE16 and want to disable or invisible CREATE and CHANGE options in that
Can any one help me out in this requirement
Regards
SrinivasHi,
Recording a Transaction Variant
Transactions variant are recorded through transaction SHD0.
1. Enter the transaction code you want to record u2013 here BP, and press enter
2. Enter a name for your transaction variant u2013 here Z_BP_NO_PERSON. Please notice that the naming convention for transaction variant requires that it starts with Z or Y.
3. Push Create
You have now called transaction BP in recording mode.
1. When you push the exit button you will get the following popup
2. Enter a name for the screen variant u2013 e.g. Z_BP_NO_PERSON,
3. Press the deactivate 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 u201CSCREEN_1000_CRE_PERS Personu201D
2. And push the deactivate button.
3. Push enter
4. And u201CExit and Saveu201D
5..Save the Transaction Variant.
Thanks,
NNR. -
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 -
Transaction variant vs screen variant
Hi.
Created a transaction variant. The variant has two screen variants. (for VA01). one for the main screen, and one for the sales overview screen.
If I click test for the screen variant, it is working fine as expected.
But if I click the test for the transaction variant, only screen 1 is working fine. Screen 2 is not. Instead it is showing the standard sap screen.
Do we activate the screen variants?
Thanks,HI gemma deriada,
Check if you maintain only initial screen then the remaining standards will only trigger.
Regards,
Madhu. -
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. -
Transaction Variants and menu function
Hi,
When using transaction variants for cutomization (for screen view layout) am encountering the following:
The customized view is diplayed when the t-code with the transaction variant is entered. However, when using the customization and then we try to go into a different mode through the menu option the screen view will go back to the standard view.
Example: for MM01 a transaction variant ZFG01 was created. When in ZFGO1 (enter the t-code ZFG01)and then you go to the menu-display the screen view is that of MM02 and not the customized view of ZFG02
Any advise on this please.
Thank you
AmalieSteps :-
Transaction SHD0 - Create a variant for the required transaction bychanging the layout through hiding fields and screens.
Transaction SE93 - Create a variant transaction (e.g. for VA02 you canname it as ZA02). Next allocate the transaction variant to this varianttransaction.
Create and change the Zxxx area menu with the new transaction variant. In this way, the user does have to remembers any extra transaction codes.
In 4.6c, you can default your transaction variant as the standard variant. (SHD0 - Edit -> Activate/Deactivate asstandard variant)
An example for using transaction variant (restricting the field displayfor CO11N - Goods movement) :-
If you want to restrict changes to the fields in Goods movement forone group of users.
1. Create a transaction variant for CO11N
2. Create a new transction code for the transaction variant and assign an authorization object to it
3. Divide the users into this two transaction code. Those who can change the field using CO11N. For those that have limited
field change, give them the authorizationfor ZCO11 (this is a new transaction code you have to create).
<b>Reward if USEFUL :)</b> -
Transaction variant/Screen variant (SHDO)
Hello guys,
Actually as far as i know, if we want to put default values for certain field in any transaction, than we can do it by SHDO.Am i right?
Actually for production order header, i want to maintain certain default values for couple of fields.Through enhancement (PPCO0006) we can do it.But one of my friend told me that its even possible by SHDO.
So could u guys plz help me in doing this?I dont know the procedure.
In CO01 Screen, i want to maintain default values for following fields,
Plant- 1009
Order type- ZPP01.
Thanking you guys for all the help you provided.You can use transaction SHD0 to create transaction variant. The transaction variant can be assigned to user.
Please look into the below process.
Creating the Transaction Variant
Choose Create to create a variant.
The system calls the application transaction that you want to create a variant for. Enter the values you want to use in the in the input fields. Each time an action is completed, a Dialog Box, appears listing the fields of the current screen with their current values. The kind of dialog box called depends on the kind of screen currently being processed (see Requirements).
Here you can determine:
if you want to save the field values you have inserted on the current screen (the "Adopt field values" checkbox)
if you want to hide the entire screen (the "Do not display screen" checkbox). This is only possible if settings are copied to your variant ("Adopt field values")
if field contents are saved (the "With contents" checkbox)
if the ready for input status of specific fields should be revoked (the "Output only" checkbox)
if specific fields should be hidden (the "Invisible" checkbox)
if specific fields should be mandatory the "Mandatory" checkbox)
You may or may not be able to select each of these checkboxes for every field depending on the field's type (--> Requirements).
Screen variants are created automatically for each screen where values have been saved (adopted). Enter screen variant names in the "Name of screen variant" field. These names must be unique. If the system is able to find a unique name for a screen variant it is automatically inserted into this field. The convention reads like so: (< name_of_transaction_variant>_(<client>)_<screen_number>).
Choose the function Continue to proceed. The following pushbuttons are available:
The Cancel function displays the current application transaction screen again. Here you can make changes to your settings.
The Menu functions function displays an additional dialog box wher you can deactivate menu functions.
The GuiXT function allows the user to edit a GuiXT script for the current screen (--> GuiXT).
The Exit and Save function exits and saves the application transaction. A list appears containing all of the screens in the application transaction that you want to save entries for (that is, all screens for which screen variants will be created).
Enter a short text for your transaction variant here.
Display settings can be changed as needed from this list in the future. Settings that require information at application transaction runtime (field values, table control columns) cannot be changed from this list.
Choose "Save". The system saves your transaction variant and the corresponding screen variants. The Workbench Organizer dialog box is displayed for the transaction variant and for each screen variant. Use it to assign each of these objects to a package.
You can also branch to this list using the Change values function during the function selection process.
Apart from this there is alternative to use role/parameter-id's and assign to the user. In this case, whenever the user logins in all the cases same values would be populated on to the CO01 screen. This is easily done by the basis consultant.
Thanks,
Srinivas Karri -
Transaction variant not recognized
I have created a transaction Variant (called ZPRAP_VAR) for transaction PRAP (approval of trips in FI-TV). I have also activated it to be the standard variant.
I have created a variant transaction (called ZPRAP) for the PRAP transaction with variant ZPRAP_VAR. When I call the variant transaction ZPRAP from Workbench, the transaction variant ZPRAP_VAR is not being called automatically.
I have to pick the tx variant from the "Get Variant" menu explicitely. Any idea why?Hi,
Look at the below link
http://www.sap-basis-abap.com/sapbs010.htm
You need to give the Z transaction code for the transaction variants, and select the appropriate checkboxes then Save and activate it,
Regards
Sudheer -
ENTRY_ACT field in BDC program for Txn. IA05
Dear Gurus,
I want to write BDC program for IA05 transaction. In that, Inspection Charatertics entries, I want to add more entries (more than one page - page down). Please guide me how to handle RQPAS-ENTRY_ACT screen field.
Please provide the logic in writing, if possible.
Regards,Hi,
I am having same problem.
Can you give me the code as it shows solved at your end..
-Maharshi
Maybe you are looking for
-
lately i was desigining a web application.. and was trying to display an html page.. for the first ime i started the tomcat5.0 and as usual typed the pages address(http:\\localhost:8080\BV\frm1.html) the page was dispalyed without any problems.. then
-
[JS- CS3] Before Export Set pdfExportPresets
I am having trouble setting the pdfExportPreset with a script I am using to do things before the Export Dialog box shows up. I can set the pdfExportPreferences.pageRange with no problem. But can't get the pdfExportPresets to work. Var myPreSet = app.
-
Internal Order Number Generation.
Dear Gurus, The internal numbers generated in Ko01 are in the number range 71000 to 71999 for the order types ZAMC Z01 etc, but when i am generating the internal numbers, the numbers are being generated as 71001, 71002, 71010, 71020 etc, ie the numbe
-
Search results appear in red and/or crossed out
Hi! Has anyone seen this before, or is anyone able to reproduce it? http://homepage.mac.com/thomas.leaute/Safarirenderingerrors.gif (I also posted this on the Safari forum, but then I just realized that I can reproduce it with Firefox, so this is a w
-
OIM sees error in Weblogic Environment
Hello All, I've working setup of OIM 9102(BP15) with WEBLOGIC (10.3.5.0) in a cluster. At Weblogic server startup, i see following error (xlStartWLS.sh): +ERROR,04 Jan 2012 14:49:16,173,[org.apache.beehive.netui.pageflow.internal.AdapterManager],Serv