Application Development 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: 

Creating my own transaction

Former Member
0 Kudos

Hi,

I need to create my own transaction with similar functionalities of one standard transaction. The standard transaction screen consists of 4 functionalities(using 4 option buttons). But I need only two of them.

How can I do this?? Suggest me some ideas.

Thanks,

Kalai

7 REPLIES 7

Former Member
0 Kudos

HI,

Go to <b>SE93</b> and create..

for that first you got to copy the standard program of that transaction to some zprogram and got to modify according to your requirement ... or use transaction variants SHD0( check Help to know more about this )

Regards,

Santosh

Clemenss
Active Contributor
0 Kudos

Hi,

pls give name of "one standard SAP transaction". I kmow more than one.

Regards,

Clemens

Former Member
0 Kudos

copy the standard transaction into z transaction and modify the code wherein u can delete the code of the 2 options....

Former Member
0 Kudos

hi,

go to se93 and specify you programs name and suitable condition like screen number and such things

i think it should workout for you

Regards,

Naveen

Former Member
0 Kudos

Hi,

You can create the same, Use the tcode SHD0. (Transaction Variants) ...

Open the T.code SHD0, and you can careate the same replica of the t.code.

Regards

Sudheer

ferry_lianto
Active Contributor
0 Kudos

Hi Kalai,

Are you looking transaction and screen variant (SHD0)?

If you are then please check this link for more detail information on how to use.

http://help.sap.com/saphelp_nw04/helpdata/en/7d/f639fb015111d396480000e82de14a/content.htm

Hope this will help.

Regards,

Ferry Lianto

Former Member
0 Kudos

Hello Kalai,

I do not know which transaction you're talking about. The four functionalities can either be offered

1. As pushbuttons on the screen.

2. Buttons on the application toolbar / menubar.

<u>Case 1 - Pushbuttons on the screen.</u>

In the PBO of the screen, you should write the logic to exclude these two buttons from the screen.

LOOP AT SCREEN.

IF SCREEN-NAME = 'BUTTON1' OR SCREEN-NAME = 'BUTTON2'.

SCREEN-ACTIVE = 0.

ENDIF.

ENDLOOP.

For further information, please refer to this link - http://help.sap.com/saphelp_di471/helpdata/EN/9f/dbab6235c111d1829f0000e829fbfe/frameset.htm

<u>Case 2 - Menu Options / Application Toolbar buttons.</u>

In the PBO of the screen, you should use the SET PF-STATUS command.

SET PF-STATUS EXCLUDING 'FCODE1'.

For further information, you can see this link -

http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba34635c111d1829f0000e829fbfe/frameset.htm

Hope this helps.

Regards,

Anand Mandalika.