Вы находитесь на странице: 1из 20

Re: i have a problem in report which is at production server what will i do?

If any error arises in the production a CR ( Change Request


need to created ) , that should be duly approved by the
superiors , once this is done then that CR should be worked in
the development server, and then again goes through the quality
and then moved to production
Re: what is the difference b/w database and data dictionary?
Data Dictionary is an interface to create objects which will
be get stored in database.

In general term both refers the same meaning for Storage
Space.
Re: who will release request number?
To release the request, go to transaction code SE09..search
your request no..

double click on the request, you will get sub task, in that
u will get one option called component, whatever component
like script form, standard text, se38 program, you have
attached in that request, all those component would appear
under the component tab.

Go to main request no, select it..
You will get ne truck kind of symbol, which is being used
To transport the request from one client to other.

here you need to give sending as well as receiving client
details like

D16-300 (Development Client)

Q16-310 (Testing Client)

Sending Receiving Client
D16- 300 Q16-310.

Click on Import button..
this will import the data from one client to other..

Sometimes, programmer do this job or bases guy/Functional
consultant doing this job.
who will release request number?
I JUST WANT TO SAY REQUEST WILL BE CREATED BY THE
DEVELOPER
OR ABAPERS , AND IT IS RELEASED BY THE TEAM LEADER FROM
DEVELOPMENT TO QUALITY , AND FROM QUALITY TO PRODUCTION
IT
WILL RELEASE BY THE BASIS PEOPLE.
Re: in real time with the help of scripts what we can do?
script is nothing but a business documents it is used to
print the business documents like sales order invoice order
purchase order and delivery orders and offer
later......... like that each and every form is their own
way for display based on the requirement
Re: what is basic difference between BDC & dialog programming? what is
basic difference between reports & dialog programming?
BDC is used to upload Mass data in SAP. BDC at the end
gives a Call to the transaction for which it uploads the
data.
Dialog Programming is a process were in different screens
are designed to take input from user do a process on it and
give output.
Reports are programs which take input from the user and
display data in the output.
Re: How to transfer a smart form from Development to Quality Server?
Assign smart form into a transport request and release it
From development sever and import it in quality using SMTS
Transaction
Re: what is meant by HIDE statement?
HIDE statement is used to store the current work area in a
interactive list.
Re: how do find a name of a print program?
all print programs are stored in the table TNAPR.
Re: how to field properties are set with **** as a password.

write the code.

at election-screen output .
loop at screen.
screen-invisible = 1 .
modify screen.
endloop .
Re: Why long time required to copy the file than delete the same file.
COPY: It copy the content of a file from one place to
another.so,it require long time.

DELETE: It won't delete the entire content instead it
delete the address of the file.so,it require less time than
copy.
Re: What is the difference between At selection screen and At selection screen
on output?
AT SELECTION SCREEN : TO VALIDATE ALL FIELDS.when ever user
presses enter this event is triggered .if there is any
error , system redisplays the screen by enabling all fields.

AT SELECTION SCREEN on : to validate a specified field.
whenever user presses enter this event is triggered .if there
is any error, system redisplays the screen by enabling only
that particular field & disables all the fields.

AT SELECTION SCREEN OUTPUT : THIS EVENT IS TRIGGERED
BEFORE
SELECTION SCREEN APPEARS. here u can perform user defined
actions like making fields mandatory, hide like that.

Re: What are the tables using in diff modules like SD, PM, MM, QM AND
FICO? give me some example names ? Do we need to use the existing tables in
R/3 most of the time?
Tables for SD: These are some of main tables in SD
For Sales Document ie SO :VBAK & VBAP
For Shipping: LIKP & LPIS
For Billing : VBRK & VBRP.


Tables for MM: These are some of main tables in MM
For Material info: MARA, MAKT, MARC, MBEW.
For PR : EBAN , EBKN.
For PO : EKKO , EKPO.
For GRN : MKPF , MSEG.

Tables for FICO: These are some of main tables in FICO
For Financial Acc: BKPF , BSEG
For Vendor : LFA1 , LFB1 , LFBK
For Customer : KNA1 , KNB1.

Their are many more Important Tables ,Yes we can only use
tables avail in R/3, we can also have our own customized
tables.

Re: How to Split one delivery into many ( Step by Step)?
when ordered qty < delivered & the remaining qty has
Delivered some other time , there may be the possibilities to
split.
so once again it effects from picking , packing & delivery
with different document numbers pooled to reach the
desired delivery.
Re: what is difference between commit and rollback.?
Commit mean if change the values after commit u cont replace
old values.
Rollback mean if u r not given commit u will get previous
values.
Re: How do u know that updation is successful in BDC .
CALL TRANSACTION has some parameters:
1.transaction code
2. bdcdata
3.display_mode
4 update_ mode
5.messages (bdcmsgcoll)


all the messages are captured in table bdcmsgcoll. So you
can loop at this table and show the messages at output list.
and also which ever tcode for which you have run the BDC
code for .eg. say MM01 ,you can view the same in MM03.

Re: After running a BDC program in background, next day morning when
you see the results, few records are not updated(error records). What will you
do then?
we look into the list of incorrect session and process it
again.to correct incorrect session we analyze the session
to determine which screen and value produced the error.for
small errors in data we correct them interactively
otherwise modify batch input program that has generated the
session or many times even the datafile.
(Or)
we will analyze errors, if errors are data errors we will
correct data or if they are because of program error then
we will correct the program and process them once again.
Re: hi friends, In smart form how can we convert the decimal to whole no. for
ex. i have date like 5.456. now i want convert to whole no. after point value
more then 5 means the no should come 6. below 5 means its come 5.

try this code this will definately help you.

DATA: AD(10) TYPE C, " before Decimal
BD(10) TYPE C. " After Decimal

SPLIT VALUE AT '.' INTO BD AD.

IF AD+0(1) GE 5.
BD = BD + 1.

ELSE.
BD = BD.
ENDIF.
Re: at the same time can i call two transactions in bdc call transaction
method? what happens if use like that?
As per the standard Syntax - only one transaction will be
called at a time
If you want to call second transaction then first
transaction will be called later second one
Re: Prepare a Report for last month Last Date- First Date?
sy-date -1 .it will come last date.
for getting of particular dates we have some function
modules.
Re: what is was server in sap ?
A server is a computer program that provides services to
other computer programs (and their users) in the same or
other computers.

Re: What are the errors occurred in a report?
In the report the these types of errors occured .
Errors:
1. syntax errors
2. naming conventions errors
3. dump errors
4. runtime errors
5. declaration errors
6. terminating errors
7. successful errors
8. warning errors
Re: in an interactive report i want to trigger both 'at line selection' and 'user
command'....if possible then how?
yes both the events are trggered in the same program. at
line selection event the value of the current row is stored
in the system field or the hide work area and the time the
user double click the screen the at user command executes
which give the desired function code to proceed further
Re: what is partner profiles?
Partner profile is nothing but which partner u will have to
assigned that is either outbound partner or inbound partner.

The transaction code is for partner profile WE20.

In this partner profile u will define the these parameters.

sender
reciever
message type
these above define of both inbound as well as outbound partners.
Re: What are the two ways of searching an ABAP Object and How to
navigate to them ?
one way is to go to t-code se80 here u can find abap objects
Re: what is table maintenance?
Table maintenance is nothing but adding / modifying /
deleting records from table. You can use transactions
SM30 / SM31 for the same.Also SM13/SM14 can be used.
Re: one client needs material description more than 40 chars so how can we
extend because in standard table material descp is of 40 chars only ?
1. User screen exit and modify the screen in
MM01 MM02 MM03.
2. Using Append Structure, create new field in MAKT
(Material Desc)
3. Write User-Exit to populate this new field.
Re: suppose uploading the flat file data using bdc program when error is
occur then what will u do Answer
While Upload function or GUI_UPLOAD function if error found
then trap the exceptions of the Function module and do the
correction
Re: i can give default values in select-options also then what is use of
INTIALIZATION event?
ya u r right.But,
It is poosible to perform some calculations before
selection screen is appeared using INITIALIZATION and
presents along with selection screen.
i.e to display uptodate date,time, etc
Re: How will you process errors in session method?
goto SM35 and there u will see log file.
if u get any error while processing data error record moves to
log file and download the records from log file and then any
reload the error records
Re: WHAT IS MEAN BY XK01, VA01 AND VD01 IN BDC PROGRAMES?

its an XK01-customer master , VA01-vendor master, and VD01-sales order
t.codes in BDC to give the input field screen
Re: Internal table itab contains some records. If the code is like this :
LOOP AT ITAB.
APPEND ITAB.
ENDLOOP?
It will result in an infinite loop.
Re: What is the name of ur presentation,application server in ur comp???
well i know how to check the name of application server..

Log on into SAP system..
then follow the path:
System -> Status -> Server Name (Under the tab "Host Data").
this server name is the name of ur application server name.
click F1 for confirmation
Re: In selection screen I have three fields- Plant, Material No, and Material
group.If i insert plant how do i get the material no and material group based
on plant dynamically?

at-selection screen on field.
in that field , we can write a select statement to
retrive data from database based on filed and assign their
values to parameters. (in checking we can)
Re: what is difference b/w like and type statements?give example? when to
use like and when to use type?
when refering to type-pool you need to use TYPE
declaration, and LIKE is used to refer your already
declared variable. And for declaring native types 'N' 'C'
you cannot use LIKE there.

data: matnr like mara-matnr,
matnr1 type mara-matnr.

will not make any difference in the program. however

data: matnr type mara-matnr,
matnr1 like matnr. when the attribute of matnr
changes will affect matnr1 also.

and LIKE statement become obselete in Object programming.
you can use TYPE statements only there.
How can you change properties of screen elements dynamically in Module
pool Programming ?
In PBO event , loop at screen & modify different screen
element.
eg.-> deactivate a parameter
loop at screen.
if screen-name = 'Material Number'.
screen-Input = 0.
screen-active = 0.
endif.
endloop.
Re: Hi, can any one tell me the following question's answer
1.How can we validate single selection screen field and multiple selection
screen field in report and also in module pool programming.pls give answer in
brief with example.
2.What is search help ? pls tell search help type briefly with example?


selection screen validations are doing in At selection
screen on field event. In this event u can write ur screen
validations.

Eg:

Select-option: carrid1 for sflight-carrid.

At Selection-screen.
if carrid1-low = ' ' and carrid1-high= ' ';
error msg
endif
In above example, if u did not enter any values for carrid1,
then it displays error message
In module pool programming, validations are doing in PAI event
example:
Field sflight-carrid values('LH')

In this example, u must enter value LH, other wise the
screen is not moving.

Re: what is the diff b/w error and exceptions ?
In any programming language there can be three kinds of errors.

1. "Syntax Errors":
The mistakes done while writing statements. For
example, instead of "WRITE", if you type "WIRTE" it is a
syntax error.Compiler can detect these types of errors. You
will not able to be run the program till these errors are
rectified.

2. "Runtime Errors (Exceptions)":
Runtime Errors are thrown when the situation occurs
during execution of program where the system will not
know how to deal with such situation. For example, you have
written a program that takes an excel file and reads the
data and stores in the database. You have done the program
perfectly. No syntax errors.But while executing the
program, if the user enters a filename that does not exist,
the program will not know what to do next, at that time
runtime error occurs. Runtime error terminates the
execution of the program abruptly. Runtime errors mostly
occur due to incorrect user entries or improper usage of
system resources by program. These runtime errors can be
avoided if we catch the exceptions. You can handle every
possible exception and throw user defined messages during
the execution and avoid abrupt termination of the program.

3. " Logical Errors":
Logical errors are obviously the mistake done in the
logic by programmer. For example, Value = Rate - Discount
is the normal universal calculation. By mistake if you have
typed Value = Rate + Discount, it is neither syntax error
nor runtime error. Your program is successful but result is
wrong.
NOTE: This can be corrected only through thorough
study of the program or worst case debugging.


Re: iam having 3 internal table how can i pass data to the 4th internal table ?
you have 3 internal tables u want to populate these 3
internal tables data to 4th internal table ..right
Check out this ex code :
suppose we think u have 3 Internal tables i.e.,
t_marc,t_mara,t_makt
and 4th internal table is itab[final interanl table]
Start-of-selection.
Select matnr werks lvorm from marc
Into table t_marc
Where matnr = s_matnr
And werks = p_werks.
If t_marc is not initial.
Loop at t_marc .
Read t_marc into itab with key matnr = t_marc-matnr.
Select matnr Mbrsh Meins maktl from mara
Into table t_mara
For all entries in t_marc
Where matnr = t_marc-matnr.

Select matnr maktx spras from makt
Into table t_makt
For all entries in t_marc
Where matnr = t_marc-matnr.

Move :

T_mara-mbrsh = itab-mbrsh.
T_mara-meins = itab-meins.
T_mara-maktl = itab-maktl.
T_makt-maktx = itab-maktx.
T_makt-spras = itab-spras.
Endloop.
Else .
Write : / No data is found in the first internal
table T_marc.
Endif.


Re: what are the Performance technic you used?
ST05 - SQL TRACER WILL TESLL US ABOUT THE SELECT QUERY.

SLIN: EXTENDED CODING CHECK.

SE30: RUNTIMe ANALYSIS

Re: explain abt EXTRACT STATEMEnT ?
Once you have declared the possible record types as field
groups and defined their structure, you can fill the
extract dataset using the following statements:

EXTRACT <fg>.

When the first EXTRACT statement occurs in a program, the
system creates the extract dataset and adds the first
extract record to it. In each subsequent EXTRACT statement,
the new extract record is added to the dataset.
Re: WHAT IS DOCUMENTATION?WHY IT IS USED?
check it out SE39
IT SHOWS CLEARCUT IDEA HOW U DEVELOPED AN OBJECT SO THAT
ANY ONE CAN EASILY UNDERSTAND , IN FUTURE IT WILL BE USEFUL
FOR OTHER CONSULTANT WHO TAKE UR PROJECT,ANALYSES EASILY
AND HELPFUL DURING UPGRADATION OR DURING MAKING ANY
ENHANCEMENT.
Re: Give me the Full flow of SD and MM?
SD FLOW:
Inquiry(VL11)
Quotation (VA21)
Sales Order (VA01)
Deliveries, picking and packingof products (VL01)
-Shipping Of products (VL01)
Billing for the products (VF01)
Invoice (VF01)



MM FLOW:

Purchasing Requisition(ME51)
Quotation(ME41)
Comparison of quotations
vendor analysis
Purchase Order(Me21)
Goods Receipt(MIGO)
Goods Issue
Invoice Verification(MIRO)
Logistic invoice verification

Re: Suppose i have table with 2 columns say 1st with Numerics and 2nd with
words like 1 for one and 2 for two......so.if i want to change the 9 numeric
word as some twenty...how?
read table itab with key words = 'nine'.
itab-words = 'twenty'.
modify itab index 9.
clear itab.
Re: when u already have predefined tool LSMW for uploading data....which
is more easy and efficient to use and less programming is required..then whats
the need to write a program in BDC.... whats the main purpose....?
LSMW and BDC are vastly different.
BDC (Batch Data Communication) is a technology used for data
transfer. it is meant for transferring data thru SAP
transactions itself. when u use BDC for data transfer, the
sequence of steps is the same as when u use standard sap
transaction screens for data upload. the only difference is
that u can use different options for foreground/backgrou nd
processing.

LSMW on the other hand is a tool that helps migrate data
from a legacy system (non-sap system ) to SAP system. it
offers u various options to use either batch input, direct
input, BAPIs or idocs. it involves a series of some 17-18
steps to migrate data.

BDC:
Batch Data Communication (BDC) is the process of
transferring data from one SAP System to another SAP system
or from a non-SAP system to SAP System.

Features :
BDC is an automatic procedure.
This method is used to transfer large amount of data that is
available in electronic medium.
BDC can be used primarily when installing the SAP system and
when transferring data from a legacy system (external system).
BDC uses normal transaction codes to transfer data.

Types of BDC :
CLASSICAL BATCH INPUT (Session Method)
CALL TRANSACTION

BATCH INPUT METHOD:
This method is also called as CLASSICAL METHOD.
Features:
Asynchronous processing.
Synchronous Processing in database update.
Transfer data for more than one transaction.
Batch input processing log will be generated.
During processing, no transaction is started until the
previous transaction has been written to the database.

CALL TRANSACTION METHOD :
This is another method to transfer data from the legacy system.

Features:
Synchronous processing. The system performs a database
commit immediately before and after the CALL TRANSACTION
USING statement.
Updating the database can be either synchronous or
asynchronous. The program specifies the update type.
Transfer data for a single transaction.
Transfers data for a sequence of dialog screens.
No batch input processing log is generated.

LSMW:

The LSM Workbench is an R/3-based tool that supports You
when transferring data from non-SAP systems ("Legacy
Systems") to R/3 once or periodically.
The tool supports conversion of data of the legacy system in
a convenient way. The data can then be imported into the R/3
system via batch input, direct input, BAPIs or IDocs.
Furthermore, the LSM Workbench provides a recording function
that allows to generate a "data migration object" in an
entry or change transaction.

The main advantages of the LSM Workbench:
Part of R/3 and thus independent of individual platforms
A variety of technical possibilities of data conversion:
Data consistency due to standard import techniques:
Batch input
Direct input
BAPIs (Business Application Programming Interfaces)
IDocs (Intermediate Documents)
The import technique to be used in an individual case
depends on the business object.
Generation of the conversion program on the basis of
defined rules
Clear interactive process guide
Interface for data in spreadsheet format
Creation of data migration objects on the basis of
recorded transactions
Charge-free for SAP customers and SAP partners

i hope it is clear

plz do let me know, if any update.

regards

Re: how to create a button in selection screen? how to add a gui status in a
selection screen?
Selection screen Pushbutton <Button_name> User-Command <FCode>

To set GUI Status use Function Module-> RS_SET_SELSCREEN_STATUS
Re: How many types of LSMW are there anyone knows please tell me?
There are 4 types of LSMWs
1. Batch input
2. Batch recordiing
3. BAPI method
4. IDOC method.

Based on requirement we use different methods.
Re: when are this three events fired and tell me which event is fired first
,second and third --- at selection - screen, at selection -screen output, and at
selection- screen on value request.
1) at seletion-screen output (when the screen is displayed
its same as PBO in module pool-- generally we use this
event for scenerio like filling the list box etc.)
2) at selection-screen (this event gets called when the
user presses enter or execute -- generally we use this
event to carry out validations)
3) at selection-screen on value request(this event will get
called only when the user presses F4 on a specific field on
the selection screen.)
Re: in the event at selection-screen output we use loop screen,what is screen
intenal table,structure or DB table?
Dynamic modification of screen elements are performed using
the SCREEN INTERNAL table .
There are total 17 fields available is in Screen Interal
table few of them are

1. NAME
2.INPUT
3.ACTIVE
4.REQUIRED
5.INVISIBLE
6.INTENSIFIED
7.DISPLAY-3D
8.GROUP1
Re: HOW MANY EDITORS ARE THERE IN SAP ABAP. WHAT ARE
THEY AND THERE USES.
In SAP ABAP, 3Editors are using
ABAP Editor-SE38,
which is used for developing ABAP programs.

Script Editor- SE71,
which is used for Script Control commands,Text elements.

Screen Editor-SE51,
Which is used to develop PAI and PBO events in Modulepool

Re: how to handle the errors (duplicate records) in CALL TRANSACTION
METHOD and HOW CAN WE SHOW THE ENDUSER ABOUT THE
ERROR RECORD ?
Declare one structure of type BDCMSGCOLL and then create
the internal table for the same.

Then use the Call transaction using statement with the
Messages addition then call the function module
Format_message to convert the systems error messages into
the desired format so that user can understand
Re: what are the events in lsmw?
There are no events in LSMW but below are the steps for
performing an LSMW transaction.
1. Maintain object attributes.
2. maintain source structures.
3. Maintain source fields.
4. Maintain structure relations.
5. Maintain fields mapping and conversion rules.
6. Maintain Fixed values, translations and user defined
routines.
7. Specify files.
8. Assign files.
9. Import data.
10.Display imported data.
11.Convert data.
12.Display converted data.
13.Create batch input session.
14.Run batch input session.
Re: which method is suitable for call transaction asynchronous or
synchronous ?
That depends upon the requirement and the nature of
transaction if updates should take place one after another
then we select Synchronus mode if it is not an restriction
then we will select asynchronous mode.
Re: n an internal table you want to modify content of a particular field in a
row. How to do?
First apply 'loop' or 'read' on the table to fetch that row
into the work area. overwrite the field value by passing
the data u want to modify with. Finally use the statement
given below.

If changing 1 or 2 fields, Better use
Modify itab from wa index sy-tabix transporting 'fieldname'.

If changing more fields
Modify itab from wa index sy-tabix.
Re: I have one selection screen field which is meant for only display what will
you do?
field to be display but no value is inputed into that
field :.
Ex: code :

parameters : p_matnr like marc-matnr modif id S1.

At Selection-Screen Output.

loop at screen.

if screen-group1 = 'S1'.

screen-input = '0'.

modify screen.

endif.

Re: How to upload the customizing data using LSMW?
We can do like this by using the these steps.

customizing starts from here.

--> Maintain field mapping and conversion rules
--> Maintain fixed values user-defined transalations, routines.
--> Specify the files.
--> Assign the files.
--> Read data
--> Read and display the data.
--> Convert the data.
--> display and convert the data.
--> Create the Batch Input.
--> Run the Batch Input
Re: how to change the package of an object?i.e a report stored in ymadhuri
package.now it should be changed to ysaru ?
GOto SE38-->
Goto-> Object dictionary entry->
Click on change button->
Remove previouis package name.
Enter your new package name.
Click on save.
If you want a new request you can create.
Re: 3) What happens if there is no CLOSE_GROUP in a BDC.?
BDC_CLOSE_GROUP needs no parameters. It automatically closes
the session that is currently open in your program.

You must close a session before you can open another session
from the same program.

You cannot re-open a session once it has been closed. A new
call to BDC_OPEN_GROUP with the same session name creates a
new session with the same name.
In start of selection, if we perform validation, what happens ?
Nothing happend, because start-of-selection triggers after
displaying the selection screen.

Re: what is the use of SLIS type pool in alv reports?
Type pool SLIS is used in ALV as all related data types are
defined in type pool
How you can handle errors in BDC.IN the log file what type of error mostly
will be facing in real time ?
The errors we will face during BDC real time are
1) Duplicate Records
2) Field of not CHAR type
3) Batch input data is not available for screen xxxx

Вам также может понравиться