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: 

BDC ok_code problem

Former Member
0 Kudos

Hi Friends,

I have a problem with bdc ok_code.

could u tell me that where the all the bdc okcode are stored in a table.

clearly ia want all the bdc okcodes and their meanings.

kindly help me .

thanks,

venkat.

4 REPLIES 4

Former Member
0 Kudos

Former Member
0 Kudos

Hi Venktesh,

U do Recording on any Trascation for Example:Xk01 , and u will be able and tranfer that pgm afterrecording , and in that program u will able some of the Ok codes .

Thanks&Regards

Bhaskar Rao.M

Former Member
0 Kudos

Hi,

Check the table

TCLOKCODE

reward if it helps..

Regards,

Omkar.

Former Member
0 Kudos

hi

when you creat the recording at that time it will store all the information regarding that ok_code wil be stored there it self

after recoring select that record

and click on generate program which is exits on application tool bar

u will get program like this

include bdcrecx1.

start-of-selection.

perform open_group.

perform bdc_dynpro using 'SAPLMGMM' '0060'.

perform bdc_field using 'BDC_CURSOR'

'RMMG1-MTART'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'RMMG1-MBRSH'

'B'.

perform bdc_field using 'RMMG1-MTART'

'KMAT'.

perform bdc_dynpro using 'SAPLMGMM' '0070'.

perform bdc_field using 'BDC_CURSOR'

'MSICHTAUSW-DYTXT(01)'.

perform bdc_field using 'BDC_OKCODE'

'=ENTR'.

perform bdc_field using 'MSICHTAUSW-KZSEL(01)'

'X'.

perform bdc_dynpro using 'SAPLMGMM' '4004'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'BDC_CURSOR'

'MAKT-MAKTX'.

perform bdc_field using 'MAKT-MAKTX'

'nnnnnnnnn'.

perform bdc_field using 'MARA-MEINS'

'CHG'.

perform bdc_field using 'MARA-MTPOS_MARA'

'0002'.

perform bdc_dynpro using 'SAPLSPO1' '0300'.

perform bdc_field using 'BDC_OKCODE'

'=YES'.

perform bdc_dynpro using 'SAPLSPO1' '0300'.

perform bdc_field using 'BDC_OKCODE'

'=YES'.

perform bdc_dynpro using 'SAPLSPO1' '0300'.

perform bdc_field using 'BDC_OKCODE'

'=NO'.

perform bdc_transaction using 'MM01'.

reward if usefull