[9176] in SAPr3-news
Re: BDC ABAP Problem
daemon@ATHENA.MIT.EDU (spector35@hotmail.com)
Thu Dec 10 14:17:41 1998
To: sapr3-news@MIT.EDU
Date: Thu, 10 Dec 1998 18:07:01 GMT
From: spector35@hotmail.com
"Alberto Onieva Onieva" <aonieva@ree.es> cost the Net hundreds, if not
thousands of dollars writing in
<01be2385$5badec60$186401a4@pc_sigi24.ree.es>:
> Whenever you code one BDC program like this, you must follow the rule:
>You've got to insert one line with DYNBEGIN = 'X' in two cases:
>1) As the first line of the BDC table.
>2) Always after a line with the field BDC_OKCODE.
This is not wrong, but it's not exactly right either. You insert the
line any time you want to indicate the start of a new screen in your
BDC table. So point 1 is correct in that the first line of the table
will have DYNBEGIN = 'X', because you *always* start your transaction
with a new screen. But point two is wrong on two counts: first, if for
the last screen in your transaction, the last field is BDC_OKCODE, you
won't follow it with a DYNBEGIN = 'X' line. In fact, you will follow
it with exactly nothing. Second, and more important, is that the line
that specifies the value for the BDC_OKCODE field does not have to be
the last one in the list of fields. It is the last one by tradition,
and a good tradition it is, but there is no technical requirement to
do so.
Hansje.
--
Hans Derycke: Rationally Idealistic and Analytically Ideological ---
it's called a pyramid scheme only if it fails, it's called Insurance
company if it succeed. -- <?>