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: 

Doubt in BDC

Former Member
0 Kudos

Hi All.

I need to create BDC for VF01,it has two screen 102 ans 104.depending upon shippment number i need to call those screens(shippment number giving via customize screen).

Question:it dispalying one status messageon the screen if screen number is 104.its showing only once on the screen.it s gone if u give ENTER once.so i need to call OK_CODE while enter the screen 104.else do u have any idea?

pls help me

To be reward all helpfull answers.

Regards.

Jay

2 REPLIES 2

Former Member
0 Kudos

Hi Jay,

check if dynpro = '0104' and do as below

      PERFORM bdc_dynpro      USING program dynpro
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                     '=RW00'.

<b>Reward for helpful answers</b>

Satish

Former Member
0 Kudos

Jay,

Follow these steps.

1 . Go your required screen and put '/h' in transaction box to start debugging mode and press ENTER. (This is the event to which you need to find OKOCDE).

2. When Debugging is started check the value for sy-ucom and update BDCTABLE table with file as OKCODE and value as the sy-ucom value exract from debugging.

This is the general process with which we will find and update BDCTABLE if any okcode problem codes.

All the very best for you.

Regards,

- Mohan.