Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Transaction varient

Former Member
0 Likes
493

Hi,

What is Transaction Varient? Where it will be used?

What is roll-area.

Regards,

Prasad

Hi,

What is Transaction Varient? Where it will be used?

What is roll-area.

Regards,

Prasad

1 REPLY 1
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
452

Hi,

<b>Transaction Variant</b>

Use SE75 to create your own custom text ID for SAVE_TEXT object

Finding a user exit when you only have the function module name: Use table MODSAP with member=function module. This will give you the enhancement name that you can enter in SMOD.

To execute on OS command in SAP: Use program RSBDCOS0

Transaction Variants

Use Transaction Variants to make fields Mandatory, Hidden or Display. Also applicable to screens and tabstrips.

You can hide unwanted screens and fields in any of the standard SAP programs without changing any of the standard programs. Additional features such as making the variant as default on the standard SAP transaction code is only available as of 4.6x.

Transaction SHD0 - Create a variant for the required transaction by changing the layout through hiding fields and screens.

Transaction SE93 - Create a variant transaction (e.g. for VA02 = ZVA02).

Next allocate the transaction variant to this variant transaction.

In 4.6c, you can default your transaction variant as the standard variant. (SHD0 - Edit -> Activate/Deactivate as standard variant)

tables: tbtco.

data: jobcnt(1) type n,

t_sdluname like tbtco-sdluname,

t_strtdate like tbtco-strtdate,

t_strttime like tbtco-strttime.

  • ZXXX is the job name to check for

select * from tbtco where jobname = 'ZXXX'

and strtdate = sy-datum

and status = 'R'.

add 1 to jobcnt = jobcnt.

if jobcnt = 1.

t_sdluname = tbtco-sdluname.

t_strtdate = tbtco-strtdate.

t_strttime = tbtco-strttime.

else.

exit.

endif.

endselect.

if sy-subrc = 0.

if jobcnt >= 1.

message i999(b1) with t_sdluname ' has released job on '

t_strtdate t_strttime.

endif.

endif.

Use Transaction Variants to make fields Mandatory, Hidden or Display. Also applicable to screens and tabstrips.

You can hide unwanted screens and fields in any of the standard SAP programs without changing any of the standard programs. Additional features such as making the variant as default on the standard SAP transaction code is only available as of 4.6x.

Transaction SHD0 - Create a variant for the required transaction by changing the layout through hiding fields and screens.

Transaction SE93 - Create a variant transaction (e.g. for VA02 = ZVA02).

Next allocate the transaction variant to this variant transaction.

In 4.6c, you can default your transaction variant as the standard variant. (SHD0 - Edit -> Activate/Deactivate as standard variant)

Using Transaction variants

Change SAP standard screens by hiding fields, screens, tabstrips, changing field properties, ... read on

Show all users per Application server

Transaction AL08

To log a user off via an ABAP

CALL 'SYST_LOGOFF'.

Advanced SM04 program

The following program displays the Ip address , workstation name , Nt user name etc. Plus you can send instant messages to users just by clicking on the user name. It will show a red band for users who exceeds session limit. ( That you can adjust ). Created this for R/3 4.6C and above. (Submitted by Joy Ramachandran) - Click here to download zuser.txt

Changing the SAP Logo on the top right of the SAPGui

Change file sapalogo.bmp in directory C:\Program Files\SAP\FrontEnd\SAPgui\themes\default (SAP 4.6C)

Changing the Logo on the Right Hand Side ( Courtesy of: http://sapr3.tripod.com/ )

Transaction code - SMW0

X - Binary data for WebRFC application

Hit Enter

Click Execute

Click Settings -> Maintain MIME types

Click the Create button

Fill in :- TYPE : image/gif EXTENSION : .GIF

Click Save

Click Back to the Binary data for WebRFC

Click Create

Fill in :- Obj. name : ZXXXX.GIF Description : Company Logo

Click Import and specify the filename where your GIF file is located.File type is BIN. Finish press the Transfer button.

If successful, your logo will be shown in the Binary data for WebRFC.

Transaction codeSM30 - Table/View - SSM_CUST

Click Maintain

Click New Entries

Name Value to be set

START_IMAGE ZXXXX.GIF

RESIZE_IMAGE NO

Logoff and Login again

Automated transports

<b>Roll Area:</b>

Each Internal Session is subdivided into PXA

and Roll Area. The PXA (Program Execution Area) is

a shared memory for the byte codes of all

programs running concurrently at any one time on

an application server. Only the Roll Area is the

memory that is actually reserved for the data and

objects of each individual internal session.

Cheers,

Simha.

<b>Reward if it is helpful</b>