06-01-2006 8:26 AM
Hai all,
I need BDC OKCODE Value List.
For example:
OKCODE Value for NEW ENTRIES in table fields.
PERFORM bdc_field USING 'BDC_OKCODE' '=NPE'.
Please give me the list of BDC OKCODE Value and function of like '=NPE'.
Regards
Naga
06-01-2006 8:31 AM
Hi,
it depends on Transaction to Transaction, if you want to find you can simply Record the Transaction and Find the OKCODE associated.
Regards
vijay
06-01-2006 8:35 AM
hi,
another is 'NEWL'
but look in menu painter (e.g. of trans. sm30)
go to - object list - function list
A.
07-05-2006 8:13 AM
Thanks, Andreas.
Your reply is really helpful.
But I still have a question:
When coding using BDC OKCODE, some of those function codes require a "=" sign prefix, while others requires the '/' sign.
Let's take a look at PA30, for example:
PERFORM bdc_field USING 'BDC_OKCODE' '=INS'. " for Create
PERFORM bdc_field USING 'BDC_OKCODE' '/E'. " for Cancel
I don't see this info in the Menu Painter (trans. SE41).
How can I know, without recording using SHDB, what is the required prefix for each function code?
Thanks,
Isaac
06-01-2006 8:39 AM
Hi,
You can record your transaction via SHDB then from there you could know the ok-code.
Regards!
06-01-2006 8:43 AM
Hi,
I think u can not know all BDC OKCODE vales,coz it depend on TCode. Every TCode have their own BDC OKCode, and u can know it by record it using SHDB.
Regards,
06-01-2006 10:02 AM
Hi Nagarajan,
to know the ok-code for any action, just type /h in the command box n then click on the button for which u need the ok-code.. in the debugger, c the value of sy-ucomm.this gives the ok-code for that botton...
regards..