You are on page 1of 15

CHANGING PACKAGE NAME

In the initial ABAP learning periods, I had faced the difficulty of transporting the Table
data from one system to another. I had to MANUAL copy, Master data from one
system to another! as "as una"are of this feature in #AP, that allo" us to transport the
data$table contents automatically from one system to another.
Transport %e&uest "ith Table 'ontents Attached
Let(s chec) out the steps for the same.
'ontent of a table can be transported from *e+elopment to ,uality and to Production
using Transport #ystem. -irst you need to attach the table entry to a transport and then
same procedure applies as in case of transporting abap changes.
#tep ./ 0pen the content of table "hich you "ant to transport using transaction #1...
#elect 2Transport 1ntry( from menu.
#elect Transport 1ntries
#tep 3 / If you already ha+e a transport then enter in %e&uest input other"ise clic) on
2ne"( button to create transport and follo" normal procedure of creating ne" %e&uest
and attach data to this ne" %e&uest.
'reate a Transport %e&uest
No" if you see the transport in #145 you "ill find that table content "ere attached to
transport. -ollo" the regular transport procedure to transport these table contect further in
your #AP landscape
ABAP prgrammer sometimes do "or)out on things locally 6Technically, ma)ing the
ob7ect Local in nature8. After all the changes done to the ob7ect, the ob7ect is ready to
transport to the ne9t landscape for further testing.
-ollo"ing steps defines ho" an ABAPer can reassign the Transport Pac)age to the
0b7ect to be transported.
In this case, lets say, "e "ant to reassign the pac)age to an ABAP program. -ollo"ing
steps defines ho" to reassign the Pac)age from Local to Transportable.
.. In #1:;, enter your program name.
3. Use the menu option <goto => ob7ect directory entry?.
:. 'lic) on <'hange?, and you can enter the ne" pac)age. ou(ll be prompted for a
"or)bench re&uest number also. The same techni&ue can be used to change pac)ages in
other ob7ects.
ou can also use transaction #14: 6or the tools option from #145$#1.48, but access is
sometimes restricted.
CUSTOMIZING SAP LOGIN SCREEN
There are times, "hen 'lient "ant to display some important $ statutory message on #AP
Login #creen.


@e can do that using some simple steps/
.. Aoto #1B. and select A1N1%AL T1CT as *ocument 'lass and search for
<ZLOGIN_SCREEN_INFO<. 'lic) 'hange button. 6if not found, 'reate

1nter the te9t you "ant to display in free te9t field displayed. #a+e and e9it.
No" the ne9t time you clic) login on login pad, you "ill see the message you sa+ed.
Note:
.. ou can add Icons to the message. Use report %#TCI'0N to identify icon.
3. %efer to #AP Note 34DE;F for more on displaying te9t on login screen.
ADD COMPANY LOGO TO SAP EASY ACCESS INITIAL SCREEN
It is primarily re&uired to display company logo instead of #AP standard "allpaper on
#AP 1asy Access Initial #creen. you can do it by using #M@4.


Ao to transaction #M@4 and clic) on Binary *ata for @eb %-' Applications,


'lic) on %ight Tic) Mar) on abo+e.

0n ne9t screen you "ill see a e9ecute button don(t select any pac)age 7ust e9ecute it.


0n the ne9t screen create a ne" entry by selecting 'reate button. 1nter 0b7ect Name and
*escription. Press 1nter to select the Image using -ile Bro"ser. #elect the Image and
press Import.

Then go to #M:4. #elect table ##MG'U#T. There "ill be a perameter called
#TA%TGIMAA1. 1nter parameter +alue 6T1#T IMAA1 in our case8.


It "ill as) for a Transport %e&uest. 'reate a Local %e&uest.
Log off and login again. ou "ill see ne" logo.
LOCK OBJECTS IN SAP
Loc) ob7ects are use in #AP to a+oid the inconsistancy at the time of data is being
insert$change into database.
#AP Pro+ide three tye o! Lo"# o$%e"t&.
= Re'( Lo"#)Sh're( Lo"#e(*
protects read access to an ob7ect. The read loc) allo"s other transactions read access
but not "rite access to the loc)ed area of the table
= +r,te Lo"#)e-"./&,0e .o"#*
protects "rite access to an ob7ect. The "rite loc) allo"s other transactions neither read
nor "rite access to the loc)ed area of the table.
= E1h'1"e( 2r,te .o"# )e-"./&,0e .o"# 2,tho/t "/3/.'t,14*
"or)s li)e a "rite loc) e9cept that the enhanced "rite loc) also protects from further
accesses from the same transaction.

Type of Loc)s
Ste&:
Ao to #1.. transaction and create a loc) ob7ect for the table .'ustom loc) ob7ect
name should be start "ith 1 or 1H.

Loc) 0b7ect = Initial #creen
After acti+ating loc) ob7ect -unction Module "ill be generated automatically.
-unction Modules name "ill be li)e 1N,U1U1GIL0'JG0BK1'TGNAM1> and
*1,U1U1GIL0'JG0BK1'TGNAM1>.

Loc) Modules
-or 19ample/
-or e9ample you ha+e created a loc) ob7ect 1H#-LIALT for the #-LIALT table .
#o first loc) the table , then update then release the loc).

'hec) this code M
*ATA / tGitab li)e table of #-LIALT,
fsGitab li)e #-LIALT.
fsGitab=carrid N 2AA(.
fsGitab=connid N 244.FO.
.
.
.
APP1N* fsGitab T0 tGitab.
.
.
.
'ALL -UN'TI0N 21N,U1G1H#-LIALT( ? #1T loc) to the table
1CP0%TINA
'A%%I* N P.
'0NNI* N P.
.
.
I- sy=subrc e& 4.
IN#1%T sflight from table tGitab. ? Update the *B table
1N*I-.

'ALL -UN'TI0N 21N,U1G1H#-LIALT( ? Unloc) the table
1CP0%TINA
'A%%I* N P.
'0NNI* N P.
.
SEARCH TRANSACTIONS BY TE5T IN SAP
Most of the ABAPer or "ho e+er use #AP at some point stuc) at the point to )no" or
remember Transaction codes.
Initial #creen of #AP pro+ided standard T='ode for search
#AP gi+en a simple Transaction code 2#1A%'LG#APGM1NU( "hich accepts te9t and
gi+es the result input in all Transaction codes "hich are matched to that particular te9t.
Program 0uput
It e+en pro+ides the details of all the preceding nodes to loo) at the path 6from #AP
initial screen Na+igation8.

You might also like