‎2007 Jun 25 4:14 PM
‎2007 Jun 25 4:20 PM
‎2007 Jun 25 4:24 PM
Hi Skaik,
Let me explain with a simple example,
<b>
BDC_OKCODE </b>: is used for the mouse movements like enter, scrolling etc..
<b>BDC_CURSOR</b> : is used to point to a particular field. Ex: 'BDC_CURSOR' 'RMMG1-MATNR' places your cursor in that particular field.
Reward if useful.
Thanks
Aneesh.
‎2007 Jun 25 5:48 PM
Hi,
BDC_OKCODE : For capturing the function code (Either through mouse or Function Keys of the keyboard ....... choosing a particular menu path, pressing a particular pushbutton, pressing a particular function key, F8 etc. ). You would process your logic based on the OKCODE. You can decide which screen to come next if user presses enter or presses some additional information option from menu etc.
BDC_CUSRSOR - For placing the cursor in a particular field. It is like SET CURSOR so that you could place the cursor in a particular field when the screen is displayed.
Regards,
Srilatha.
‎2007 Jun 25 6:02 PM
Hi,
BCD_OKCODE is used for giving some optoins such as triggering the event such as 'SAVE', 'ENTER' , 'PAGEUP', 'PAGEDOWN'.
whre as BDC_CURSOR is used to fill the data in the fields in the transaction while executing.
we use these fields in data uploading through recording.
the transaction is 'SHDB' for making recording for transaction. and then transfer these recordings to a program for mass uploading of data.
Here i have paste a sample code where bdc_cursor and bdc_okcode is used in recording.
perform bdc_field using 'BDC_CURSOR'
'PROJ-PSPID'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
for details on BDC recordings go through the following link and you will have all details.
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
Reward me if its usful
Regards
Ravi
‎2007 Jul 30 9:58 AM
BDC_OKCODE: Is the code which set the Instruction to be carried out
BDC_CURSOR: Is to set the cursor in the screen
‎2007 Nov 17 3:20 PM
Hi,
u can check this link where lot of information is avialable.