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: 

PO function code for HOLD & CANCEL (DELETE or BLOCKED) button

Former Member
0 Kudos

Hi,

can any one can provide the function code for HOLD button in purchase order creation.

How to find out the function code for HOLD button.

Regards,

Nagaraju.

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos

If you need to find out the Okcodes for BDC sessions, look for program RSBDCCUA and run it for any platform say 'WN' for windows or MC for Mac and it will generate list of function codes

3 REPLIES 3

former_member156446
Active Contributor
0 Kudos

If you need to find out the Okcodes for BDC sessions, look for program RSBDCCUA and run it for any platform say 'WN' for windows or MC for Mac and it will generate list of function codes

0 Kudos

hai jay,

when i execute the program it is giving short dump.

Short text

SQL error 1654 occurred when accessing program "RSBDCCUA " part "LREF".

Trigger Location of Runtime Error

Program RSBDCCUA

Include ????????????????????????????????????????

Regards,

Satish.

0 Kudos

For your case specifically, function code for hold is dependent on that program is calling it, but any way for hold, you can simply use HOLD or RECN or ONHO or PTBK or a bunch of others.

For block you can use SHB1 or SHB2 or VFIX etc. To make it easy for you and others, follow the following steps:

-Run transaction SHDB and record the transaction you want.

-Then in a different session, run SE16 and enter table name RSMPTEXTS.

-Enter any OK Code you want to know its use in the field OBJ_CODE (Function Code) and execute.

-If you know the program name or Tcode, you can use that too. Just enter that in the appropriate field.

-OR use the text wildcard and see if you're lucky.

-The Text will tell you what the OK Code does.

Ken G