2011 Sep 26 10:30 AM
FORM get_transaction_data TABLES ot_yra_pt2_rev STRUCTURE gs_yra_pt2_rev
ot_yra_pt2_cos STRUCTURE gs_yra_pt2_cos
ot_covp_rev STRUCTURE gs_covp_rev
ot_covp_cos STRUCTURE gs_covp_cos.
PERFORM get_yra_pt2 CHANGING lt_wbs_obj[]
lt_include[]
ot_yra_pt2_rev[]
ot_yra_pt2_cos[]
I amm migratting form 4.7 to 6 .So while calling "get_yra_pt2"the actuall parameter "ot_yra_pt2_rev" is too short for the formal parameter "ot_yra_pt2_rev" .
So please help me how to replace the above code without effecting.
FORM get_transaction_data TABLES ot_yra_pt2_rev STRUCTURE gs_yra_pt2_rev
ot_yra_pt2_cos STRUCTURE gs_yra_pt2_cos
ot_covp_rev STRUCTURE gs_covp_rev
ot_covp_cos STRUCTURE gs_covp_cos.
PERFORM get_yra_pt2 CHANGING lt_wbs_obj[]
lt_include[]
ot_yra_pt2_rev[]
ot_yra_pt2_cos[]
I amm migratting form 4.7 to 6 .So while calling "get_yra_pt2"the actuall parameter "ot_yra_pt2_rev" is too short for the formal parameter "ot_yra_pt2_rev" .
So please help me how to replace the above code without effecting.
2011 Sep 26 10:38 AM
Hi
I can't understand how you call your form, in the definition you use TABLE, while calling it you're using CHANCING?
Anyway you need to check the definition of the variable you're transfering to the form
Max
2011 Sep 26 11:04 AM
Hi,
You have provided an irrelevant code snippet and it doesnt have the information about the form definition of the form get_yra_pt2...instead it is having for get_transaction_data. On looking at the error, the form interface should be checked. For more information on how to define and call subroutines please check the below link:
http://help.sap.com/saphelp_47x200/helpdata/EN/9f/db977635c111d1829f0000e829fbfe/frameset.htm
Srikanth
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |