Translate

Friday, July 30, 2010

Transaction codes or simply Tcode

Mates,

Transaction codes are simply user interfaces and are linked to programs.

for example pa30 if you go to system->status->program->SAPMSRD0.This is simply a technical program name .

go to se38 and enter SAPMSRD0 and click display and you will find the code


There could be some tcodes that will have same program name.

T. codes SCAL and SCA3 the program name is same for both if you check .

you can Use transaction SEARCH_SAP_MENU. This transaction (don't know which module this one belongs to, either) will assist you in finding any transaction menu path that exists in Easy Access

Thanks to this forum for http://forums.sdn.sap.com/message.jspa?messageID=8680114

Wednesday, July 28, 2010

SAP QuickViewer -Tcode SQVI-QuickViewer is a SAP tool for generating report

Mates,

QuickViewer is a SAP tool for generating report.Tcode is SQVI.

Enter the name and click create

New window will be promted to enter the title and comments

Data source could be table,table join,Logical database(LDB) and SAP query infoset

you could choose either basis or layout mode which is changeable after you enter the design screen

lets say we are trying to connect one standar table and ztable

then choose data source as table join

and it will take you screen create .here click edit->inser table->enter table names(pa0001 and pa9001) for example

you will see the two table with field mapped.delete the joins and can have one primary field mapped
you can check the link condition for errors.

Now go back and you will data fields with the two selected tables listed oion the left hand side

choose the list fields and selection fields

you can execute the query by giving the data

its easy and you find lot of reference materials online aswell.

Tuesday, July 27, 2010

Dynamic actions

Mates,

Dynamic actions are activities triggered automatically by R/3 during infotype maintenance.

every infotype will have a Module Pool program(MPXXXX) XXXX -infotype.

you can go to the specific infotype.go to system->status on the menu bar and you will find the MP program.

Every MP program will have a standar module-MPPERS00(Include) that has that check if there is an entry for that infotype in t588z.(Dynamic action table).you can enlist the help of abaper to understand about that module.

T588z(Dynamic action) will have some components like Infotype number(Infty)_,subtype(subty),field name,Function code(FC),Indicator for step and variable function part.

The indicator for step and variable function part is an important part in the table.


There are excellent reference guides online(power of dynamic action by Rahan zaidi) and ittoolbox.Thanks to the contributors for excellent ref guides.

please also refer to http://sapfunctional.com/HCM/DynamicActions/Index.htm

Monday, July 26, 2010

Find and implement OSS notes for fixing

Mates,

Online SAp Support(OSS) can be considered as patches or hotfix for critical problems in SAP Systems.
You can apply OSS notes as a solution to critical problems and bugs in SAP systems.Oss note is simply a an issue raised regarding the system functionalty from customer to SAP. If there is any fix or workaround to SAP standard, it wil be attached to the note.

there are multiple ways to downalod OSS notes.

1. is using the oss id or

2.tcode-SNOTE

download Note from SNOTE going to the GoTo menu -> download.
Enter the requierd OSS Number.
in the "new" folder, the downloaded note will be listed.Double click on the note.

To implement that note -mark the entry and press the excecute button.(CTRL+F1).

Tuesday, July 20, 2010

Easy way to open the logon pad

simply click start ->run->type sapgui space and ipaddress


for ex sapgui 10.200.51.41 and it will open the logon pad to enter your logon credentials

happy learning&exploring!:)

Client dependent and independent tables

We might have been craving to know what is client dependent and client independent tables

Any table that has client has the first field(MANDT-technical field name) is client dependent .Any changes made to it will not have an effect on other client and the request has to ported manually to have changes reflected.

Client independent tables are on the other hand are ones in which any changes made will impact other clients.

Easy approach to find out client specific and client independent tables is

sap easy access->SPRO->type F5

toolbar choose additional information ->technical data->client-dependence

for example ->in Time Management define public holidfay clss(THOL table) if you see that it is cross client or client independent

if you see Emp group(T501) for example its client specific.

Hope this is informative.

Maintain Master Data

Mates,

you might be attempting to find a personnel or userid in Maintain Master Data screen..

you can try in PA30->in the personnel number filed -> =n or = u etc

Hope you find this helpful.

Audit Trail is used to track the record changes

Mates,

To track the changes in the SAP HR system we have the SAP standard report for that.
Log report: RPUAUD00

You configure the PA audit log in the following tables:

HR Documents: Infotypes with Documents (V_T585A)
HR Documents: Field Group Definition (V_T585B)
HR Documents: Field Group Characteristics (V_T585C).
hese tables are displayed via program RPUAUD00 which can be executed using either of the following transactions:

S_AHR_61016380 - Logged Changes in Infotype Data
S_ALR_87014081 - Logged Changes in Infotype Data

PD infotype changes can also be logged by configuring the following table:

Activate Change Documents (T77CDOC_CUST.)

The PD audit log can track changes to infotypes 1000, 1001, and 1002. The results are displayed with program RHCDOC_DISPLAY which does not currently have a standard delivered transaction attached.

ABAP programs RSTBHIST or RSVTPROT can be used to analyze table changes


Thanks to this forum -http://forums.sdn.sap.com/thread.jspa?threadID=1375999
http://www.turnkeyconsulting.co.uk/resources_support/faq_article.php?id=33

Monday, July 19, 2010

Find the table name

Wondered how to find the table name ?

Open the corresponding IMG node SPRO->F5 ,open the node and click ctrl+p and it will give you the name of the table

easy isnt it:)

What is Functional Specification

Mates

Wondering what Functional Spec is ?

Briefly,not all SAP projects are SAP vanilla and as a consultant will be required to customise and offer solution to the client.

A functional spec is simply a template that serves as guide to technical consultants(ABAP'ers) to customise the application/component.

It begs to address the gaps by customising the system according to the customer requirements.

It needs to be clear consise and helps the technical consultant to write the code.Simple example could be adding new field in 0001 Infotype for example.Lets say client wants to add a DOJ field in the standard 0001 infotype.

Some mandatory details are required in FS like
DOCUMENT CONTROL ,REVISION HISTORY,FS Approval,Business Requirement Details etc.


Its imperative the business requirement is gathered by FC and Func Spec serves as an instrument to the technical consultants.

you can google and if you are lucky can get some templates:)

SAP ECC Server landscape

Mates

You might be as SAP wannabe wondering what sever landscape is all about.

Landscape in simple terms is arrangement of servers.Each server will have different clients(sub client) with its own own master records and set of tables.

(ie)like PP,MM,HCM etc .if we take HCM then could be names 100-Dev,200-QAs etc

subclient 100 will have DEV,QAS,Prod
similarly 200 1ill have DEV,QAS,Prod

Please pay attention to warning message we get when changes are done in IMG (The table is cross-client ),please dont ignore it and read what it is trying to convey.

Any changes you make will have an effect on all the client across the server and manually need not trasport the TR.


Normally if it is not a cross client table ,then manually you are required to release the Transport Request(TR) to be further ported by Basis consultant to different servers.

Any change you make in IMG,triggers a request that has to be saved in the folder and later released for porting to different clients or servers.(SE10 Tcode/STMS Tcode)

FC/TC is required to only release the TR to BASIS team for porting to different servers.Only then any changes made to customising client will take effect across all clients.Lets say Dev you make changes and has to reflect in Quality and Production client.

edit table entry

Mates,

There could be times when we might have to change some data for testing purpose

There are multiple ways of editing table entries forcefully

word of cuation,its not advisable to enter r append data directly to tables

1.&sap_edit(* But be aware of this SAP Note 1420281, If this note applied in your systesm then you can't perform the above activity . So we have to go with debugging option from SE11 and change entries. -http://saplocker.blogspot.com/2010/08/edit-table-entries-without-coding-or.html*)

2.How do we append data directly in tables?

Multiple ways


2. using the debugger

Please find the steps below

Im trying to append data in any ztable

1. SE11->Data dictionary ->






2. Choose the table entry


3. After choosing the table entry ,enter /h to start the debugger sssion(debugger switched on) message will populate in the status bar. after you enter /h and message gets populated, press enter one more time



4.place a breakpoint in end form.to place breakpoint,just double click and red button pops up near the line .to remove just double click or shift+f2



5.now double click on the line which says code=show and it will move to the variable on the right hand side



6.now click on the pencil and icon will change to view




7.now if you want to insert choose INSR or DELE based on what you are trying to do with table entries.i m trying to insert values.



8.now click f8

And you wll be able to enter values The other work around is ,should &sap_edit function doesnt get activated,to use UA16N or just N,enter the table name sat t527X and then enter &sap_edit tcode in coomand field kindly refer to the link ,thanks to contributor http://home4sap.com/Blog/2010/11/edit-sap-tables-you-sap-security-admins-nightmare/