Application Development and Automation 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: 
Read only

User Exits for Substitution

mateusz_wrobel
Explorer
0 Likes
1,386

Hi,

I am new in ABAP. Can someone advice how to write/improve exits ? Unfortunately below do not work in FB50/FB01:

if bseg-mwskz is initial.
move 'z5' to bseg-mwskz.
endif.
if bkpf-bldat is initial.
move bkpf-budat to bkpf-bldat.
endif.

Hi,

I am new in ABAP. Can someone advice how to write/improve exits ? Unfortunately below do not work in FB50/FB01:

if bseg-mwskz is initial.
move 'z5' to bseg-mwskz.
endif.
if bkpf-bldat is initial.
move bkpf-budat to bkpf-bldat.
endif.
1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
772

Did you read the documentation available in SPRO transaction and in online documentation?

  1. In your example you actually don't need user exits
  2. 'z5' cannot be a correct value. (check domain for lowercase allowed)