Application Development 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: 

How fill SIGN calling transaction with selection-option

0 Kudos

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!

1 ACCEPTED SOLUTION

Sandra_Rossi
Active Contributor

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

2 REPLIES 2

Sandra_Rossi
Active Contributor

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

matt
Active Contributor
0 Kudos

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