Application Development 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: 

hi experts plz answer these questions(interview questions)

Former Member
0 Kudos

1.How to create a back ground job in particular date/time in session method??

2.How to pass the values in report?

3.How to upload files in app server files and database files??

4.After finishing the code in Bdc(Before executing the program) what we can do?

5.How to handle table control in bdc??

6.How to handle views in bdc??

7.using alvs in reporting,if there r three screens,if u click one screen u

have to go another screens?what u can do?

8.in reporting,there r two screens,if u give the input second screen is

invisible? How is it possible??

1 ACCEPTED SOLUTION

Former Member
0 Kudos

1.How to create a back ground job in particular date/time in session method?

<b>use program RSBDCSUB this is standard program run a session or else you can 1.) Call the transaction SM36

Enter a Job Name / You may set a job class other

than 'C' (See online Help on that field).

2.) Push the STEP Button

3.) Push the ABAP Program button

Enter der programm name an the variant name

save that window

4.) Push "BACK"

5.) Push "Start Condition"

6.) Push Date/Time

Enter Date + Time for the first start

Mark "Periodic Job" !!

7.) Push "Period Values"

Set the period you want the job to be started

Save everything</b>

2.How to pass the values in report?

<b>use ABAP memory like EXPORT and IMPORT also possible to create varient for selction screen.</b>

3.How to upload files in app server files and database files??

<b>Use transction CG3Z to upload file from presentation server to appliction server. If u want to load data in to database tables then u should move data in internet table and then update the database UPDATE table.</b>

4.After finishing the code in Bdc(Before executing the program) what we can do?

<b>Check ur file path is or not.</b>

5.How to handle table control in bdc??

<b>Use INDEX for this</b>

6.How to handle views in bdc??'

<b>U need to pass the value for MSICHTAUSW-KZSEL(NN)' to select the views</b>

7.using alvs in reporting,if there r three screens,if u click one screen u

have to go another screens?what u can do?

Use User_command event.

8.in reporting,there r two screens,if u give the input second screen is

invisible? How is it possible??

Use At selection-screen output Event..

Ex.

----


  • S E L E C T I O N S C R E E N S *

----


SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.

SELECT-OPTIONS: s_opbel FOR dfkkko-opbel,

s_blart FOR dfkkko-blart OBLIGATORY DEFAULT 'DB',

s_bukrs FOR dfkkop-bukrs OBLIGATORY,

s_gpart FOR dfkkop-gpart,

s_vtref FOR dfkkop-vtref,

s_asco FOR dfkkop-zzasco,

s_busen FOR dfkkop-zzbusent,

s_divi FOR dfkkop-zzdivision,

s_bldat FOR dfkkko-bldat,

s_faedn FOR dfkkop-faedn,

s_waers FOR dfkkko-waers.

SELECTION-SCREEN END OF BLOCK b1.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.

PARAMETER: rb_sum RADIOBUTTON GROUP rtyp USER-COMMAND disp,

rb_det RADIOBUTTON GROUP rtyp .

SELECTION-SCREEN END OF BLOCK b2.

SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.

PARAMETER: rb_lis RADIOBUTTON GROUP dtyp MODIF ID typ,

rb_alv RADIOBUTTON GROUP dtyp MODIF ID typ.

SELECTION-SCREEN END OF BLOCK b3.

SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-t04.

PARAMETER: cb_asco AS CHECKBOX DEFAULT 'X' MODIF ID sel,

cb_divi AS CHECKBOX MODIF ID sel,

cb_buen AS CHECKBOX MODIF ID sel,

cb_prod AS CHECKBOX MODIF ID sel.

SELECTION-SCREEN END OF BLOCK b4.

----


  • Initialization *

----


INITIALIZATION.

IF rb_sum = ' '.

rb_sum = 'X'.

rb_det = ''.

ENDIF.

----


  • A T S E L E C T I O N - S C R E E N *

----


AT SELECTION-SCREEN OUTPUT.

  • If Summary report radio button has been selected then ALV Display

  • radio button should be disabled.

LOOP AT SCREEN.

IF screen-group1 = 'TYP'.

IF rb_sum = 'X'.

rb_alv = ''.

IF screen-name = 'RB_ALV'.

screen-active = '0'.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDIF.

  • If Detail report has been selected the all the check box in the

  • selection-screen block b4 should be invisible.

IF screen-group1 = 'SEL'.

IF rb_det = 'X'.

screen-active = '0'.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDLOOP.

Reward me if its helpful..

Regards

Ravi

2 REPLIES 2

amit_khare
Active Contributor
0 Kudos

1.

2. Using SET Parameter or with Submit statement use EXPORT or IMPORT.

3.

4. Error Handling -

5. http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

6.

7. Handle the Click even in USER COMMAND and do CALL SCREEN.

8. Use AT SELECTION SCREEN OUTPUT and disable the screen.

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos

1.How to create a back ground job in particular date/time in session method?

<b>use program RSBDCSUB this is standard program run a session or else you can 1.) Call the transaction SM36

Enter a Job Name / You may set a job class other

than 'C' (See online Help on that field).

2.) Push the STEP Button

3.) Push the ABAP Program button

Enter der programm name an the variant name

save that window

4.) Push "BACK"

5.) Push "Start Condition"

6.) Push Date/Time

Enter Date + Time for the first start

Mark "Periodic Job" !!

7.) Push "Period Values"

Set the period you want the job to be started

Save everything</b>

2.How to pass the values in report?

<b>use ABAP memory like EXPORT and IMPORT also possible to create varient for selction screen.</b>

3.How to upload files in app server files and database files??

<b>Use transction CG3Z to upload file from presentation server to appliction server. If u want to load data in to database tables then u should move data in internet table and then update the database UPDATE table.</b>

4.After finishing the code in Bdc(Before executing the program) what we can do?

<b>Check ur file path is or not.</b>

5.How to handle table control in bdc??

<b>Use INDEX for this</b>

6.How to handle views in bdc??'

<b>U need to pass the value for MSICHTAUSW-KZSEL(NN)' to select the views</b>

7.using alvs in reporting,if there r three screens,if u click one screen u

have to go another screens?what u can do?

Use User_command event.

8.in reporting,there r two screens,if u give the input second screen is

invisible? How is it possible??

Use At selection-screen output Event..

Ex.

----


  • S E L E C T I O N S C R E E N S *

----


SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.

SELECT-OPTIONS: s_opbel FOR dfkkko-opbel,

s_blart FOR dfkkko-blart OBLIGATORY DEFAULT 'DB',

s_bukrs FOR dfkkop-bukrs OBLIGATORY,

s_gpart FOR dfkkop-gpart,

s_vtref FOR dfkkop-vtref,

s_asco FOR dfkkop-zzasco,

s_busen FOR dfkkop-zzbusent,

s_divi FOR dfkkop-zzdivision,

s_bldat FOR dfkkko-bldat,

s_faedn FOR dfkkop-faedn,

s_waers FOR dfkkko-waers.

SELECTION-SCREEN END OF BLOCK b1.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.

PARAMETER: rb_sum RADIOBUTTON GROUP rtyp USER-COMMAND disp,

rb_det RADIOBUTTON GROUP rtyp .

SELECTION-SCREEN END OF BLOCK b2.

SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.

PARAMETER: rb_lis RADIOBUTTON GROUP dtyp MODIF ID typ,

rb_alv RADIOBUTTON GROUP dtyp MODIF ID typ.

SELECTION-SCREEN END OF BLOCK b3.

SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-t04.

PARAMETER: cb_asco AS CHECKBOX DEFAULT 'X' MODIF ID sel,

cb_divi AS CHECKBOX MODIF ID sel,

cb_buen AS CHECKBOX MODIF ID sel,

cb_prod AS CHECKBOX MODIF ID sel.

SELECTION-SCREEN END OF BLOCK b4.

----


  • Initialization *

----


INITIALIZATION.

IF rb_sum = ' '.

rb_sum = 'X'.

rb_det = ''.

ENDIF.

----


  • A T S E L E C T I O N - S C R E E N *

----


AT SELECTION-SCREEN OUTPUT.

  • If Summary report radio button has been selected then ALV Display

  • radio button should be disabled.

LOOP AT SCREEN.

IF screen-group1 = 'TYP'.

IF rb_sum = 'X'.

rb_alv = ''.

IF screen-name = 'RB_ALV'.

screen-active = '0'.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDIF.

  • If Detail report has been selected the all the check box in the

  • selection-screen block b4 should be invisible.

IF screen-group1 = 'SEL'.

IF rb_det = 'X'.

screen-active = '0'.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDLOOP.

Reward me if its helpful..

Regards

Ravi