Вы находитесь на странице: 1из 3

What is the difference between the BU and ZK OK codes in SAP macro - Stack Overflow

sign up

Questions

Jobs

log in

Documentation

tour

help

Beta

Tags

Users

Badges

Ask Question

x Dismiss

Join the Stack Overflow Community


Stack Overflow is a community of 6.3 million
programmers, just like you, helping each other.
Join them; it only takes a minute:

Sign up

What is the difference between the BU and ZK OK codes in SAP macro


asked

5 years ago

viewed 6624 times


active

I am trying the post an invoice to SAP using the F-47 transaction and using SHDB to record the
transaction and learn how it works. I see there that sometimes BU and ZK BDC OK codes are
used. I would like to understand the difference between them, but could not find any official
documentation. Please, explain the difference between the two?

5 years ago

Get the weekly newsletter! In it, you'll get:


The week's top questions and answers

sap

Important community announcements


share improve this question

Questions that need answers


asked Dec 29 '10 at 10:15

Sign up for the newsletter


gyurisc
5,267

13

47

see an example newsletter

77

add a comment

Related
47

3 Answers

active

oldest

votes

How should I start learning about SAP?


0

Finding SAP table relations

A BDC_OKCODE indicates which action is (will) be executed on a screen (things like save, back,
exit etc). The BU code is used for a SAVE function (like in MM01 transaction). Sorry but I cannot
recall to which function ZK maps to. Obviously their difference lies in the fact that they map to
different functions. You can still find out which function each button utilizes by using System>Status->GUI status.

SAP macro using VB script


4

What is the SAP Services File


0

share improve this answer


edited Dec 30 '10 at 13:23

answered Dec 30 '10 at 10:13

rabbitisle
85

where can I find the code for Universal Worklist


Code for SAP HR
1

Can we post product details directly from third


party catalog to OCI SAP?
-2

Thanks for the answer. Can I figure out the corresponding BDC OKCode of a button using the technical
info (F1)? I found out that the =ZK means "More information" gyurisc Dec 30 '10 at 11:21

What is IDES SAP?

@gyurisc You can do the following: Run the program you're interested in, then click System->Status,
double click on GUI status, and then select find the function code for the button you want. You can set
BDC_OKCODE to that function code. Sorry for not clarifying that before... rabbitisle Dec 30 '10 at 13:22

What is the difference between client & company


in SAP enterprise structure

add a comment

-1

What is difference between se01, se09 and se10


in a SAP system?

http://stackoverflow.com/questions/4553217/what-is-the-difference-between-the-bu-and-zk-ok-codes-in-sap-macro[28/10/2016 07:49:54 a.m.]

What is the difference between the BU and ZK OK codes in SAP macro - Stack Overflow

Sap B1 ObjectType Code

Hot Network Questions


What is the equivalent of "bleki" for snakes?

I found the meaning of some of the status codes. I post it here, so I can remember:

Trick or Treat polyglot


Why are Google Search Console 404 errors not
showing up in my own site crawl?

/00. Enter
/AB Go to overview

Printing hex dump of a byte array

=ZK Go to additional information


=ENTE Enter (don't know exactly what is difference between /00)

How to describe very tasty and probably


unhealthy food

=PI select cursor location

more hot questions

=STER Go to taxes
=DELZ delete cursor
=GO continue
=BU post (save)
/EEND end processing
=Yes select "yes" from message box
=BP park (save)
=ENTR Enter (don't know exactly what is difference between =ENTE or /00)
=AE save when changing document
=BK change document header (parking or posting parked document)
=P+ next page
=BL delete parked document
share improve this answer
answered Dec 31 '10 at 5:38

gyurisc
5,267

13

47

77

add a comment

By the way, BTCI transactions are not fully robust- minor changes in GUI flow let your program
break. Error handling / analysis is tedious.... DId you have a look to posting methods more
preferably? E.g. like BAPI_* function modules? With the help of LSMW you can browse for
different input methods and use them later standalone. Or you can use transaction BAPI directly.
share improve this answer
answered Feb 4 '11 at 0:41

Hartmut
992

10

22

add a comment

Your Answer

http://stackoverflow.com/questions/4553217/what-is-the-difference-between-the-bu-and-zk-ok-codes-in-sap-macro[28/10/2016 07:49:54 a.m.]

What is the difference between the BU and ZK OK codes in SAP macro - Stack Overflow

Sign up or log in

Post as a guest

Sign up using Google

Name

Sign up using Facebook

Email

Sign up using Email and Password

Post Your Answer


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

Not the answer you're looking for? Browse other questions tagged

sap

or ask your own question.


question feed

about us

tour

help

blog

chat

data

legal

privacy policy

TECHNOLOGY
Stack Overflow
Server Fault
Super User
Web
Applications
Ask Ubuntu
Webmasters
Game
Development
TeX - LaTeX

work here

advertising info

mobile

LIFE / ARTS
Photography

Academia

Magento

Science Fiction
& Fantasy

more (8)

Database
Administrators

Unix & Linux

Drupal Answers

Ask Different
(Apple)

SharePoint

Signal
Processing

User Experience

Raspberry Pi

WordPress
Development

Mathematica

Geographic
Information
Systems

Salesforce

Electrical
Engineering

Cryptography

Android
Enthusiasts
Information
Security

ExpressionEngine
Answers

Programming
Puzzles &
Code Golf
more (7)

feedback

CULTURE / RECREATION

Code Review

Software
Engineering

contact us

Graphic
Design
Movies & TV
Music: Practice
& Theory

English
Language &
Usage
Skeptics
Mi Yodeya
(Judaism)
Travel
Christianity

Seasoned
Advice
(cooking)

English
Language
Learners

Home
Improvement

Japanese
Language

Personal
Finance &
Money

Arqade
(gaming)

SCIENCE

OTHER

Bicycles

MathOverflow

Philosophy

Role-playing
Games

Mathematics

more (3)

Anime &
Manga
Motor Vehicle
Maintenance &
Repair
more (17)

site design / logo 2016 Stack Exchange Inc; user contributions licensed under cc by-sa 3.0 with attribution required
rev 2016.10.28.4155

http://stackoverflow.com/questions/4553217/what-is-the-difference-between-the-bu-and-zk-ok-codes-in-sap-macro[28/10/2016 07:49:54 a.m.]

Cross Validated
(stats)
Theoretical
Computer
Science
Physics
Chemistry
Biology
Computer
Science

Meta Stack
Exchange
Stack Apps
Area 51
Stack
Overflow
Talent

Вам также может понравиться