Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

questions

Former Member
0 Likes
587

sir,

following r the questions which was i try to solve, pl help me to get exact answer.

1) if u have to transfer 50000 records at once which method u will use.

2) if in a table a field size is 20 char long and u transmit data of

25 char long what will happen.

3) how to find enhacement for userexits.

4) what r sapnodes.

5) how to extract data from 2 tables other than using joins or alv.

6) how to use calculate function in sapscripts , what is the name of

that function.

7) how many bapi u have implemented, and tell the process in each stage.

😎 how to hide a particular textbox at runtime.

9) how do u logon to sap and in which production server u work, also

tell client name in which u work,what r the modules attached to it.

10) can u view the data of other client,if yes how if no why.

sir,

following r the questions which was i try to solve, pl help me to get exact answer.

1) if u have to transfer 50000 records at once which method u will use.

2) if in a table a field size is 20 char long and u transmit data of

25 char long what will happen.

3) how to find enhacement for userexits.

4) what r sapnodes.

5) how to extract data from 2 tables other than using joins or alv.

6) how to use calculate function in sapscripts , what is the name of

that function.

7) how many bapi u have implemented, and tell the process in each stage.

😎 how to hide a particular textbox at runtime.

9) how do u logon to sap and in which production server u work, also

tell client name in which u work,what r the modules attached to it.

10) can u view the data of other client,if yes how if no why.

3 REPLIES 3
Read only

Former Member
0 Likes
549

1) if u have to transfer 50000 records at once which method u will use.

Ans: call session method is better than call transaction

2) if in a table a field size is 20 char long and u transmit data of

25 char long what will happen.

Ans: only first 20 char get save and rest get neglected

3) how to find enhacement for userexits.

Ans: Just copy below code and check for required T code

REPORT ZM_USER_EXIT.

tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.

tables : tstct.

data : jtab like tadir occurs 0 with header line.

data : field1(30).

data : v_devclass like tadir-devclass.

parameters : p_tcode like tstc-tcode obligatory.

select single * from tstc where tcode eq p_tcode.

if sy-subrc eq 0.

select single * from tadir where pgmid = 'R3TR'

and object = 'PROG'

and obj_name = tstc-pgmna.

move : tadir-devclass to v_devclass.

if sy-subrc ne 0.

select single * from trdir where name = tstc-pgmna.

if trdir-subc eq 'F'.

select single * from tfdir where pname = tstc-pgmna.

select single * from enlfdir where funcname =

tfdir-funcname.

select single * from tadir where pgmid = 'R3TR'

and object = 'FUGR'

and obj_name eq enlfdir-area.

move : tadir-devclass to v_devclass.

endif.

endif.

select * from tadir into table jtab

where pgmid = 'R3TR'

and object = 'SMOD'

and devclass = v_devclass.

select single * from tstct where sprsl eq sy-langu and

tcode eq p_tcode.

format color col_positive intensified off.

write:/(19) 'Transaction Code - ', "#EC NOTEXT

20(20) p_tcode,

45(50) tstct-ttext.

skip.

if not jtab[] is initial.

write:/(95) sy-uline.

format color col_heading intensified on.

write:/1 sy-vline,

2 'Exit Name', "#EC NOTEXT

21 sy-vline ,

22 'Description', "#EC NOTEXT

95 sy-vline.

write:/(95) sy-uline.

loop at jtab.

select single * from modsapt

where sprsl = sy-langu and

name = jtab-obj_name.

format color col_normal intensified off.

write:/1 sy-vline,

2 jtab-obj_name hotspot on,

21 sy-vline ,

22 modsapt-modtext,

95 sy-vline.

endloop.

write:/(95) sy-uline.

describe table jtab.

skip.

format color col_total intensified on.

write:/ 'No of Exits:' , sy-tfill. "#EC NOTEXT

else.

format color col_negative intensified on.

write:/(95) 'No User Exit exists'. "#EC NOTEXT

endif.

else.

format color col_negative intensified on.

write:/(95) 'Transaction Code Does Not Exist'. "#EC NOTEXT

endif.

at line-selection.

get cursor field field1.

check field1(4) eq 'JTAB'.

set parameter id 'MON' field sy-lisel+1(10).

call transaction 'SMOD' and skip first screen.

4) what r sapnodes.

Ans: Where we can place our own code in standard SAP coding

5) how to extract data from 2 tables other than using joins or alv.

Ans: you can use FOR ALL ENTRIES

6) how to use calculate function in sapscripts , what is the name of

that function.

Ans:

FUNCTION MODULES

http://www.erpgenie.com/abap/functions.htm

http://www.sapdevelopment.co.uk/fmodules/fmssap.htm

http://www.erpgenie.com/abap/index.htm

http://www.geocities.com/victorav15/sapr3/abapfun.html

7) how many bapi u have implemented, and tell the process in each stage.

Ans:

BAPI-step by step procedure

http://www.sapgenie.com/abap/bapi/example.htm

list of all BAPI's

http://www.planetsap.com/LIST_ALL_BAPIs.htm

😎 how to hide a particular textbox at runtime.

Ans: AT SELECTION-SCREEN OUTPUT.

*Making S_VERS inactive when the Actual Radio button is selected

LOOP AT SCREEN.

IF screen-name = 'P_VERS'.

IF p_actual = 'X'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDLOOP.

9) how do u logon to sap and in which production server u work, also

tell client name in which u work,what r the modules attached to it.

Ans : It will vary as per project based

10) can u view the data of other client,if yes how if no why.

Ans: if clients are dependednt then u can see if cient are independent u can not see.

Rewards if useful........

Minal

Read only

former_member189059
Active Contributor
0 Likes
549

Hi,

Just a correction in Answer 10 given by MInal

You can see data off all clients by writing code and adding the keywords 'CLIENT INDEPENDENT' to the select statement

Read only

Former Member
0 Likes
549

) if u have to transfer 50000 records at once which method u will use.

ans: It is better to use Session method since we need not take care of error messages, sm35 takes care of that and less coding compared to call transaction

2) if in a table a field size is 20 char long and u transmit data of

25 char long what will happen.

Ans: it will take upto 20 char long and ignore the rest.

3) how to find enhacement for userexits.

ANS: go to Tcode Smod and CMOD the easiest way is intially find out for which tcode u r going to find user exit if for eg: va01 go to system->status->and find out package then goto SMOD and place this package name and give f4 functionality it will automatically give userexits u can choose accordingly.

this is easiest procedure we generally do.

4) what r sapnodes.

5) how to extract data from 2 tables other than using joins or alv.

Ans: Using ForAllEntries.

6) how to use calculate function in sapscripts , what is the name of

that function.

7) how many bapi u have implemented, and tell the process in each stage.

Bapi: it generates business process we need not keep track of screen sequences as we do it in BDC it will take care of flat file data we recieve . but it has some structure tht we should take care of . i have implemented 2 Bapis one was for Costelement and other was Assetaccounting create.Remember all bapis will be stored in BOR(Businnes Object Repository).Tcode:BAPI

the procedure will be :

1.) First find out which bapi u want to implement eg: costelement then find ot exact functionmodule which u can findout in Tcode: Bapi .

2) double click on the bus name eg:Bus1202 then a structure appears then double click on KeyFields then u can get an idea of exact structure and tables effected etc .

3.) all mandatory fields should be taken into an internal table to find mandatory fields easy way is to goto Tcodeeg:va01 then find out mandatory fields for that tcode.

4) Call bapi function module and pass internal table values.

5) here in bapi there will be bapireturn for handling exceptions.

😎 how to hide a particular textbox at runtime.

Ans: go for At selection-screen output.

here we use screen table u can see tht in se11. it has some fields like screen-input , screen-name, screen-output. for sample code u can check in saplibrary

9) how do u logon to sap and in which production server u work, also

tell client name in which u work,what r the modules attached to it.

Ans: we technical consultants work in Development server, then we release the object then it will go to quality server and from there it will go to Production server where we say it as clientside server.

Client name depends on the project u work it differs frm client to client eg: client800,client100, client 200 etc.

10) can u view the data of other client,if yes how if no why.

Ans: there is a concept called client dependent and client independent..

if table data is client dependent we can just view the fields but not the exact data since it is dependent to tht client.

if table data is independent then u can view the fields along with the data some thng equal to platform dependent and independent.