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: 

how to exclude the user intraction screen

Former Member
0 Kudos

hai experts ,

..i have a done a BDC and it is working fine ..but when when executing it goes to a screen asking for seesion or call transaction ..where i have given all the details inside the program itself.

how can i eliminate the process...i have to make it default and when i execute the program all should happen in the background ..

\whet shall i do for it...

1 ACCEPTED SOLUTION

former_member187457
Active Contributor
0 Kudos

hi MM,

Just copy those PERFORMS for which you are filling the data on the screen...

Remove the Include bdcrecx1...

and copy the BDC_DYNPRO and BDC_FIELD Froms into your code.....

try..

thnx

Rahul

Edited by: Rahul Keshav on Jul 22, 2009 5:21 PM

7 REPLIES 7

former_member187457
Active Contributor
0 Kudos

hi MM,

Just copy those PERFORMS for which you are filling the data on the screen...

Remove the Include bdcrecx1...

and copy the BDC_DYNPRO and BDC_FIELD Froms into your code.....

try..

thnx

Rahul

Edited by: Rahul Keshav on Jul 22, 2009 5:21 PM

0 Kudos

it is saying forjm bdc_transaction does'nt exists.

0 Kudos

Use this one..

&----


*& Form bdc_transaction

&----


  • text

----


  • -->P_0829 text

----


FORM bdc_transaction USING p_tcode .

DATA wg_ctu_params TYPE ctu_params.

CLEAR: wg_ctu_params.

wg_ctu_params-defsize = 'X'.

wg_ctu_params-dismode = 'N'.

wg_ctu_params-updmode = 'S'.

CALL TRANSACTION p_tcode USING bdcdata OPTIONS FROM wg_ctu_params.

REFRESH : bdcdata.

CLEAR : bdcdata.

ENDFORM. " bdc_transaction

thnx

Rahul

0 Kudos

cool ma .thank u it is working ..

now i need to have a button and if i click that button the bdc code should work ...

so i need to got to se51 design a screen and in PAI if i copy the bdc program it will work ??

0 Kudos

any update....

0 Kudos

i think it will work...

or you can do like this....

Add a button on the screen....

and in report write ...

IF sy-ucomm = '&ACTION'.

perform BDC.

endif.

thnx

Rahul

0 Kudos

fine man ..it worked.... thank u for ur suggessions...