What is bdc_ok code.

It is the user command that was executed. eg. ‘/00’ means Enter command. The user command can varies during a bdc program. Therefore, we need to used tcode shdb to check what it actually contains.

Asked on October 15, 2016 in ABAP.
Add Comment
1 Answer(s)

ok_code is generally used in screen as of I have used. You will define the function in the screen. and you can use it in the main program.

ok_code acts just as a temporary variable that stores the value of sy-ucomm.
When user interacts with the screen elements, the function code that you have assigned is filled in the sy-ucomm field which is turn gets reflected in OK_CODE.

Answered on October 15, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.