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: 

bdc_okcodeu3000'/3'

Former Member
0 Kudos
675

Hi, everyone,

I am reading a bdc program written by others,

bdc_okcode = '/3'..?

I don't know what is the ok_code '/3'...

can any body tell me...please

Thanks a lot.

1 ACCEPTED SOLUTION

former_member194797
Active Contributor
0 Kudos
469

/1, /2 ... /12 in the command field coreesponds to the keyboard functions keys F1 to F2.

/13, /14, ... /24 corresponds to SHIFT F1 to SHIFT F12

/25, /26, ... /36 corresponds to CTRL F1 to CTRL F12

example: /13 in SE38 will do a pretty printer = SHIFT F1;

/30 in SE38 will do a pattern = CTRL F6.

11 REPLIES 11

Former Member
0 Kudos
469

Check the program from the transaction, check the screen you're processing and then check the PF-status used in said screen.

My guess is it's the back button pressed during recording.

0 Kudos
469

Thank you Maen Anachronos .

I guess it is back too.

But I saw the PF-status,

the back of code is : / RW,

So, I am a little confuse on it.

is there any releation ship between /rw and /3 ??

thanks .

RaymondGiuseppi
Active Contributor
0 Kudos
469

OK_CODE are program dependant, so what is the program ?

Regards

0 Kudos
469

Hi all,

"BDC_OKCODE" is nothing but a field which gives confirmation for entering in to the next screen.

"/n" means when we run session in Background it will terminate that session(means Processing session) and it will go to the next screen.

For example : I wrote BDC for CS02 T-code, if u go to that T-code, in initial screen it will ask Material, Plant, Usage and Alternative BOM.

For each and every material there are minimum 3 Alternatives BOM'S.if u press '/n' it will go to second alternative BOM and again if u press '/n' it will go to next alternative BOM. Like that it will work.

Thanks & Regards,

Raghu.

0 Kudos
469

"/3" is set ok_code to "3", there are some programs which have this code (and other may have it dynamically) (Thats the reason i asked for the program name)

MENUFDCU BAV

RFWEKO01 Extended Bill of Exchange Information: Sort by Due Date

RLINV040 Bin/total list

RLINV040_OLD Bin/total list

RLLS0600 Dialog box for data input

RPRHRDOC_POOL Display Tax Lines

RSSHINFO Technology

RSSHSOMI Environment

SAPLLCMB Entry of material number to cancel transfer requirement

SAPLLMOB Third menu item

SAPL0CP1 Material BOM Field Groups

SAPMKCSL Maintain requirements

SAPML01S 101 SB-Create data

SAPML01S Bin position

SAPML02B 101 Create TR

SAPML03T 104 Create TO manually: preparation screen for stock plcmnt

SAPML03T Print storage unit

SAPML04I Create inventory record: initial screen

SAPML04I Inventory doc.99

SAPMSEUA Excluded Clients

SAPMV03D Status 3

SAPMV03D Haz.Substance Data Transfer

There are hard coded values like /o, /n and the like, press F1 in the command field to get a list. (or look at OSS [Note 26171 - Possible entry values for command field ("OK-code")|https://service.sap.com/sap/support/notes/26171])

Regards

0 Kudos
469

Thanks , everyone's reply.

I know /rw, /back,/00, ?/eend,

I am reading other people's bdc program,

there are /3, /11,/12 in this program,

I don't know what's the meaning of them,

if I record it by myself, I can't get /11,/12 ,

so, how to know what's the meniang of /11,/12?

0 Kudos
469

/3 is for back ..

while doing ur bdc recording try to hit f3 button and it generates a code with back option .

Try looking into this thread which gives good info.

br, vijay>.

0 Kudos
469

I found only three programs with these codes :

RFWEKO01	11	Extended Bill of Exchange Information: Sort by Vendor
RFWEKO01	12	Sort by Vendor: Line Item Display
RFWEKO01	3	Extended Bill of Exchange Information: Sort by Due Date
RSSHINFO	11	R/3 Philosophy
RSSHINFO	12	SAP Strategy
RSSHINFO	3	Technology
RSSHSOMI	11	SAPoffice
RSSHSOMI	12	SAPmail
RSSHSOMI	3	Environment

F.75	Extended Bill/Exchange Information
F_75	Extended Bill/Exchange Information
SO91	SAPfind SO: SAPoffice Marketing Info

.Which one of the attached transaction do you use ?

Regards

Former Member
0 Kudos
469

You get that code when you press a function key: F1 - F2 - F3 - F4 and so on.

And F3 = 3 = back.

F11 might be SAVE.

Edited by: Maen Anachronos on Oct 28, 2008 8:49 AM

former_member194797
Active Contributor
0 Kudos
470

/1, /2 ... /12 in the command field coreesponds to the keyboard functions keys F1 to F2.

/13, /14, ... /24 corresponds to SHIFT F1 to SHIFT F12

/25, /26, ... /36 corresponds to CTRL F1 to CTRL F12

example: /13 in SE38 will do a pretty printer = SHIFT F1;

/30 in SE38 will do a pattern = CTRL F6.

Former Member
0 Kudos
469

I made mistake on to set "resolved" status