questions

5
1. How will u create sapscripts & smartforms in multiple language? A Smartform can be maintained in many languages other than the language that it is created. Translations for the texts have to be maintained for this purpose. To maintain the translations: 1. Go to transaction SE63 in R/3. Go to menu Translation->R/3 Enterprise- >Other Long Texts 2. Select the object type in the pop up. Smartform(SSF) object type is found under Forms and Styles(FS). 3. Enter the name of the Smart form and choose the source and target language(Let the Source Language be 'EN'). Now Click on 'EDIT'. 4. This would open a screen with the Smartform code in Source language on the top and an editor with the same code in the bottom. Find the text for

Upload: vnod6131113

Post on 03-Dec-2014

59 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Questions

1. How will u create sapscripts & smartforms in multiple language?

A Smartform can be maintained in many languages other than the language that it is created. Translations for the texts have to be maintained for this purpose.

To maintain the translations:

1. Go to transaction SE63 in R/3. Go to menu Translation->R/3 Enterprise->Other Long Texts

2. Select the object type in the pop up. Smartform(SSF) object type is found under Forms and Styles(FS).

3. Enter the name of the Smart form and choose the source and target language(Let the Source Language be 'EN'). Now Click on 'EDIT'.

4. This would open a screen with the Smartform code in Source language on the top and an editor with the same code in the bottom. Find the text for which you need to maintain the translation and insert the translation in that place.

Page 2: Questions

As usual after required texts are maintained Save and Activate.

To see the translated Smartform create an output type and assign the smartform and the driver program to this output type. In the transaction that sends output to this smartform, select the output type and select the language in which the smartform has to be displayed (translations have to be maintained in this lanuage).This will give the smartform in the required language.

2. How to execute sap script & smart forms in Background?3. Apart from .include & .append how will u do table enhancement?4. what r the events of table maintainence generator?

Scenario: We have a following custom table which contains the fields “Date on which record was created” and “Name of the person who created the object”. We would like to have these to be filled up with SY-DATUM and SY-UNAME respectively.   

 

Go to Table Maintenance Generator: 

 

Page 3: Questions

Enter the details as shown below:

 

Now click on Environment -> Modification -> Events 

 

Following screen is displayed.

 

Click on F4. Following entries are displayed: 

 

Here you can observe that there are different types of events available like before saving the data, after saving the data, before deleting, after deleting and others. Let us go with “Creating a new entry”. 

Page 4: Questions

 

Click on the button in the Editor column and enter the following code: (Please note that you should also code FORM and ENDFORM as well).  

 

Save and activate the table. 

Testing the scenario: 

Go to SM30 and try creating new entries. Do not enter the values for “Created on” and “Created by”. 

 

Check your entries in the database table. You can observe that the date and user name are automatically filled-in. See the screenshot below: 

5. what will happen if i use projection view and maintainence view together?6. I created ZEMP table now i want to add more data but prev. data should not disturb how can i do

this?7. How will u print footers in alv report?8. How will u edit fields from output list of alv?9. what r enhancement points?10. How to write customer exits?11. what is routine? how it is different from user exits?12. When do we use Include or Append? Which tables?13. Can we create a table without a data element? How?14. How to create ALV layout variants?15. Is it possible to edit a single cell in ALV output?16. How to add tabs in selection screen?