Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
I recently deleted a custom program (which is already transported to Given a transaction code, how can I find the menu path?
production) accidentally and was wondering if there is any method of
In 4.6c, you can used tcode search_sap_menu to find the SAP MENU
retrieving the program back. After some research, I found a way of
tcode.
getting back the program. Following are the steps in getting back the
program: Please note that there are no tcode available to find the path of the IMG
transaction.
1) Create a program with the same name as earlier (which is deleted)
2) Click on "Utilities" --> "Versions" --> "Version Management" **********
3) Select the version of your earlier program and click on display.
4) Your earlier program is displayed here How to un-encrypt SAP user password?
Find out in what all Tables a specified field is available. It is not possible to un-encrypt the SAP password, because a one-way
encoding (with strong 1024 bit key) is used for this. The result is stored
You can find out through transaction code SE15. and each time one has entered the password the encoding result is
checked.
1) Give SE15 on command prompt.
2) Select ABAP Dictionary **********
3) Select "fields" folder
4) Click on table fields When you delete an entry from an internal table in ABAP, the system
5) Then you can enter the desired field name (In your case EKGRP) has to re-generate the index for all entries after your delete, slowing the
The system will list out all the tables which contain your desired field It is much quicker to do an insert of the correct records into a second
name. table than to delete entries from the first. The reason for this is because
the index is only generated for the newest element.
or
**********
1) using transactin Code SE11( ABAP Dictionary)
2) enter the Data table name where-in the respective field (EKGRP) is If you want to protect a program against debugging, you just have to set
used eg; EKKO the STATUS = S in the attributes view of the main program.
Here the difficulty is that one should know at least the name of the one Make sure you pass the "DATE FIELDS" of any transaction by
of the data tables which contain the desired field. formatting it as "XX/XX/YYYY" cos if you pick this data from database
it will be of the format 20030505 or something like that. Make sure You
Find the Table Name For a Field. pass this value as character field.
Same is true for the "Rate Fields". Make sure you pass them as
I know couple of ways to find the table name for a field.
"Character Fields" by formatting them.
like.
1. Part the cursor at the field and press F1 & F9. **********
2. se84 or se15
3. st05 (sql trace). If you need to find out the Okcodes for BDC sessions, look for program
4. Setting Break point in ABAP. RSBDCCUA and run it for any platform say 'WN' for windows or MC for
Mac and it will generate list of function codes
If you will tell other methods it will be apreciate.
**********
**********
To save the contents of an internal table as a Microsoft Excel
* Worksheet when debugging code in SAP R/3 Enterprise:
* How to print Apostrophe using the write statement 1. Click on the "Table" button
* For e.g. You'll be there. 2. Type in the name of your internal table in the "Internal table" field and
* hit Enter.
report zapostrophe message-id z1. 3. Hit CTRL + F11 or click on the "Save as Excel Worksheet" button.
4. Type in the record numbers that you want to save. (Ex. From Line: 1
DATA: LINE(20).
To Line: 10) Hit Enter.
CONCATENATE 'You''' 'll be there.' INTO LINE. 5. Save your file.
********** 16. To find IDoc Function Modules for creating file names use table :
EDIFM
Starts with a Z is homegrown program
17. To find EDI Message Types and Assignment to IDoc Types use
You cannot be sure that anything which starts with a Z is a homegrown
table : EDIMSG
program.
18. To find all EDI segments of current release use table : EDSEA
SAP provide a number of correction programs, especially within the
19. To find Views of customer model use table : TBD00 ( ALE Models )
archiving area, which start with a Z.
20. To find Communication relation between systems in ALE use table :
For e.g. ZZSTOCKL from note 202345.
TBD03
********** 21. To find Process code for outbound processing ( EDI ) use table :
TEDE1
Can line-size of abap report large than 255? 22. To find Process code for inbound processing ( EDI ) use table :
You can have line-size upto 1023.
TEDE2
Along with Report statement pass the line-size as 1023. Ex. Report
23. To find Function modules for inbound ALE-EDI use table : TBD52
xyz line-size 1023.
24. To find all Status of IDoc use table : TEDS1
**********
Try functions,
=> DATE_CONVERT_TO_FACTORYDATE
=> HR_HK_DIFF_BT_2_DATES