Application Development and Automation 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: 
Read only

problem with call transaction and a query

Former Member
0 Likes
464

Hi,

Whe have a query that has its own Z tcode, we are working with this "EXIT_SAPLCORF_103" within the tcode CO11N. Inside the include "ZXCOFU13" we call the query Tcode and it is displayed on screen but with no data.

The table "itbdcdata" record well the data of the inputs in the query recording so you can see with the WERKS and the number of reserve (3994) in the recording.

Why the call transaction display the query screen with no data...? and how can i pass the inputs to the query screen so it be executed.

Thanks on advance.

David Fúnez

Tegucigalpa, Honduras.

This is the recording:

AQZZZ_USER_GRMA=Z_QUERY_PP_003 1000X BDC_CURSOR SP$00002-LOW

BDC_OKCODE =CRET

S_WERKS-LOW 1202

SP$00002-LOW 3994

%ALV X

this is the code in the INCLUDE

*&----


*

*& Include ZXCOFU13

*&----


*

DATA: itbdcdata TYPE bdcdata OCCURS 0 WITH HEADER LINE,

optoption TYPE ctu_params.

REFRESH itbdcdata.

CLEAR itbdcdata.

itbdcdata-program = 'AQZZZ_USER_GRMA=Z_QUERY_PP_003'.

itbdcdata-dynpro = '1000'.

itbdcdata-dynbegin = 'X'.

APPEND itbdcdata.

itbdcdata-fnam = 'BDC_CURSOR'.

itbdcdata-fval = 'SP$00002-LOW'.

APPEND itbdcdata.

itbdcdata-fnam = 'BDC_OKCODE'.

itbdcdata-fval = '=CRET'.

APPEND itbdcdata.

itbdcdata-fnam = 'S_WERKS-LOW'.

itbdcdata-fval = '1202'.

APPEND itbdcdata.

itbdcdata-fnam = 'SP$00002-LOW'.

itbdcdata-fval = caufvd_imp-rsnum.

APPEND itbdcdata.

itbdcdata-fnam = '%ALV'.

itbdcdata-fval = 'X'.

APPEND itbdcdata.

CLEAR optoption.

optoption-dismode = 'A'. "A is visible

optoption-updmode = 'S'.

CALL TRANSACTION 'ZRESV' USING itbdcdata OPTIONS FROM optoption.

Hi,

Whe have a query that has its own Z tcode, we are working with this "EXIT_SAPLCORF_103" within the tcode CO11N. Inside the include "ZXCOFU13" we call the query Tcode and it is displayed on screen but with no data.

The table "itbdcdata" record well the data of the inputs in the query recording so you can see with the WERKS and the number of reserve (3994) in the recording.

Why the call transaction display the query screen with no data...? and how can i pass the inputs to the query screen so it be executed.

Thanks on advance.

David Fúnez

Tegucigalpa, Honduras.

This is the recording:

AQZZZ_USER_GRMA=Z_QUERY_PP_003 1000X BDC_CURSOR SP$00002-LOW

BDC_OKCODE =CRET

S_WERKS-LOW 1202

SP$00002-LOW 3994

%ALV X

this is the code in the INCLUDE

*&----


*

*& Include ZXCOFU13

*&----


*

DATA: itbdcdata TYPE bdcdata OCCURS 0 WITH HEADER LINE,

optoption TYPE ctu_params.

REFRESH itbdcdata.

CLEAR itbdcdata.

itbdcdata-program = 'AQZZZ_USER_GRMA=Z_QUERY_PP_003'.

itbdcdata-dynpro = '1000'.

itbdcdata-dynbegin = 'X'.

APPEND itbdcdata.

itbdcdata-fnam = 'BDC_CURSOR'.

itbdcdata-fval = 'SP$00002-LOW'.

APPEND itbdcdata.

itbdcdata-fnam = 'BDC_OKCODE'.

itbdcdata-fval = '=CRET'.

APPEND itbdcdata.

itbdcdata-fnam = 'S_WERKS-LOW'.

itbdcdata-fval = '1202'.

APPEND itbdcdata.

itbdcdata-fnam = 'SP$00002-LOW'.

itbdcdata-fval = caufvd_imp-rsnum.

APPEND itbdcdata.

itbdcdata-fnam = '%ALV'.

itbdcdata-fval = 'X'.

APPEND itbdcdata.

CLEAR optoption.

optoption-dismode = 'A'. "A is visible

optoption-updmode = 'S'.

CALL TRANSACTION 'ZRESV' USING itbdcdata OPTIONS FROM optoption.

1 REPLY 1
Read only

Former Member
0 Likes
403

problem solved.