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

Parameter erro on Submit Report

Former Member
0 Likes
468

Hi friends,

I'm getting the DB036 message when trying to submit a report from another report.

The variables as defined as the same data type.

The Caller program:

PARAMETERS:    p_barq TYPE string MODIF ID p01 LOWER CASE.

SUBMIT znfe_conc_sap_uni5_rel1
  WITH p_bukrs  EQ p_bukrs
  WITH p_branch EQ p_branch
  WITH p_rel    EQ '1'
  WITH c_back   EQ c_back
  WITH p_barq   EQ p_barq <---
  WITH c_aju    EQ c_aju
  WITH s_data BETWEEN s_data-low AND s_data-high
  AND RETURN.

The called program:

PARAMETERS:    p_barq TYPE string LOWER CASE.

The others parameters is being tranfered normally, when I comment the P_BARQ.

Any ideas?

Thank you!

1 REPLY 1
Read only

awin_prabhu
Active Contributor
0 Likes
351

Hi Heber,

Try declaring your Parameter P_BARQ as data type of fixed length in both programs.

This will solve your problem.


*Program1
PARAMETERS:    p_barq(50) TYPE C MODIF ID p01 LOWER CASE.
*Program2
PARAMETERS:    p_barq(50) TYPE C LOWER CASE.