Академический Документы
Профессиональный Документы
Культура Документы
sign up
Questions
Jobs
log in
Documentation
tour
help
Beta
Tags
Users
Badges
Ask Question
x Dismiss
Sign up
5 years ago
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
sap
13
47
77
add a comment
Related
47
3 Answers
active
oldest
votes
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.
rabbitisle
85
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
@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
add a comment
-1
What is the difference between the BU and ZK OK codes in SAP macro - Stack Overflow
I found the meaning of some of the status codes. I post it here, so I can remember:
/00. Enter
/AB Go to overview
=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
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
Name
Not the answer you're looking for? Browse other questions tagged
sap
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
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
Cross Validated
(stats)
Theoretical
Computer
Science
Physics
Chemistry
Biology
Computer
Science
Meta Stack
Exchange
Stack Apps
Area 51
Stack
Overflow
Talent