10-31-2017 5:16 PM
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-31-2017 8:59 PM
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
10-31-2017 8:59 PM
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
11-01-2017 8:34 AM
If these are both Z programs, rewrite them so the logic is held in classes or function modules, and call them directly.