Application Development and Automation 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: 
Read only

OK_CODES list while processing the records

Former Member
0 Likes
3,986

Hi

     When we record through BDC programming, we get many BDC_OKCODES in the screen,  like /00, /11, /ENTR, =ONLI, =BU...

Can i find some more OK_CODES while processing the records through BDC?

Regards

Prashanth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,224

Hi all

Is there any way to get the details of OK_CODES, with the applications how to apply...

Regards

Prashanth

6 REPLIES 6
Read only

Former Member
0 Likes
2,224

The recorded BDC reflects the actions performed on the screens. You can have others okcodes if you perform other actions, while recording a new BDC. If you are interested in all avaiable okcodes for a specific screen you can find them inthe screen status (menu - system -status).

Regards,

Christian

Read only

Former Member
0 Likes
2,224

Hi

/n - Terminate current batch input and mark as incorrect

/bdel - Delete current batch input from session

/bbeg - restart the transaction

/bend - Terminate batch input processing and mak as incorrect

/bda - change display mode to process the  screen instead of display only.

These are some OK_CODES i know other than wt you mentioned...

For more details chect the Table - RSMPTEXTS.

Regards

Srinivas

Read only

Former Member
0 Likes
2,225

Hi all

Is there any way to get the details of OK_CODES, with the applications how to apply...

Regards

Prashanth

Read only

0 Likes
2,224

Dear Prashat,

The List of OK Codes are specific to Transaction to Transacton.. so you have to do like this..

Suppose I am doing VA01 - in BDC... So if you want to find out all the OK codes used in VA01 can be done as follows.

GO to SE41

Give program name as  SAPMV54A   ( Prgraom for VA01)

Select the radio button  Function list

Execute.

You wll get all the OK codes with explanaton

Hope this  gives yur requiremt

Venkat

Read only

0 Likes
2,224

Hi Prasanth,

There are different types of OK code,like:

1. R/3 note no. 26171

2. Direct call of transactions, session handling:

3. Batch

4. ABAP/4

5. Buffer

6. R/3 note no. 45507

For detailed description of all these,plz visit this link:

http://mysapmynavision.myblog.it/archive/2009/10/14/sap-ok-code.html

Hope this helps you.

Regards.

Rajesh

Read only

Clemenss
Active Contributor
0 Likes
2,224

Hi Prashanth B,

are you a OK_CODE collector?

In the recording, you can see all OK codes that are processed. All available codes are defined with the respective active PF key status. But some of them may be deactivated by program.

Maybe you can make your question a bit more clear.

Regards

Clemens