‎2010 Dec 14 3:49 PM
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!
‎2010 Dec 14 4:26 PM
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.