03-18-2011 2:34 PM
Hello
before I did the following to make the BSEG-BEWAR field substitutable for callup point 3, proceed as follows:
With an ABAP/4 program or SE!6N, DELETED the following entry in GB01 BOOLCLASS CLASSTYPE BCLTAB BCLFIELD BEXCLUDE 015 S BSEG * X
With an ABAP/4 program or SE16N, INSERT ED the following entry in GB01 BOOLCLASS CLASSTYPE BCLTAB BCLFIELD BEXCLUDE 015 S BSEG BEWAR
I would like to program the following.
check in bool_data-bseg that only 1 transaction type (bewar) or no transaction type is used in all line items. If 0 no action. If 1 transaction type then copy the transaction type to the other line items. If more than 1 transaction type then give an error message that only 1 transaction type should be used.
ABAP Code would be starting as follows:
LOOP AT bool_data-bseg INTO bseg
...
ENDLOOP
if u2026
b_result=false.
end if.
Please give some hints!
03-18-2011 2:50 PM
A word of caution first, tampering with the GB01 entries is considered a modification, if you run into problems later on, SAP will offer expensive consulting, but no free support.
This logic seems to be straightforward, your local ABAPer can probably do this for you.
Thomas
03-18-2011 2:50 PM
A word of caution first, tampering with the GB01 entries is considered a modification, if you run into problems later on, SAP will offer expensive consulting, but no free support.
This logic seems to be straightforward, your local ABAPer can probably do this for you.
Thomas
05-03-2011 3:15 PM