Skip to Content
-1

How fill SIGN calling transaction with selection-option

Oct 31, 2017 at 05:16 PM

44

avatar image
Former Member

Hi,

I can't receive -SIGN in selection-screen from anohter transaction

*********************************************************************************

Transaction 1:

....

SELECT-OPTIONS:
s_gart_c FOR mara-matkl MATCHCODE OBJECT h_t023 NO-
EXTENSION NO INTERVALS,

...
PERFORM bdc_field USING 'S_GART_C-LOW' s_gart_c-low. "Fill bcdata
....

PERFORM execute TABLES bdcdata USING <Transaction2>
....
Transaction 2:

...

SELECT-OPTIONS:
s_gart_c FOR mara-matkl MATCHCODE OBJECT h_t023 NO-
EXTENSION NO INTERVALS


*********************************************************************************
I receive correctly s_gart_c-low but s_gart_c-sign is not correct (exclude for example).

I tried pass S_GART_C-SIGN but I get an error: "Field S_GART_C-SIGN. does not exist in the screen <Transaction's program> 1000.

Any solutions?
Many thanks in advance!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sandra Rossi Oct 31, 2017 at 08:59 PM
3

Instead of using batch input, you may call a report using the statement SUBMIT ... WITH s_gart_c IN rangetable.

If you really have to use batch input, there is a code snippet for filling the batch input data for filling a select-options, here: SCN Wiki: Fill SELECT-OPTIONS in BDCDATA

Share
10 |10000 characters needed characters left characters exceeded
Matthew Billingham
Nov 01, 2017 at 08:34 AM
0

If these are both Z programs, rewrite them so the logic is held in classes or function modules, and call them directly.

Share
10 |10000 characters needed characters left characters exceeded