2015 Nov 27 10:55 AM
All,
I want call a custom transaction in from another custom program and I want to set the input parameter in the destination report.
The parameter has been declared this way:
PARAMETERS: p_batch LIKE mcha-charg
and the parameter ID associated to the data element is CHA.
So I call the transaction this way:
set parameter ID 'CHA' field XXXXXX-XXXXXXX.
call transaction Z123.
But when i execute it the value is not being populated,
Any idea?
Regards
2015 Nov 27 11:22 AM
Hi Jon,
Did you use get parameter id in the other program(which is assigned to the tcode Z123)?
Regards,
Mounika
All,
I want call a custom transaction in from another custom program and I want to set the input parameter in the destination report.
The parameter has been declared this way:
PARAMETERS: p_batch LIKE mcha-charg
and the parameter ID associated to the data element is CHA.
So I call the transaction this way:
set parameter ID 'CHA' field XXXXXX-XXXXXXX.
call transaction Z123.
But when i execute it the value is not being populated,
Any idea?
Regards
2015 Nov 27 11:15 AM
2015 Nov 27 11:21 AM
2015 Nov 27 11:22 AM
Hi Jon,
Did you use get parameter id in the other program(which is assigned to the tcode Z123)?
Regards,
Mounika
2015 Nov 27 11:37 AM
Hi Mounika,
No I have not written it, anyway i have used bdc_data and now it works.
Regards
2015 Nov 27 11:39 AM
2015 Nov 27 11:44 AM
Hi Jon,
Yeah its fine. You can even use SUBMIT as others mentioned and even use EXPORT, IMPORT statements.
If your issue got solved then please close the thread.
Regards,
Mounika
2015 Nov 27 11:36 AM
Hi Jon,
One option to call transaction with parameter is using USING bdc_tab. Please check the follow link:
Call Transaction using BDC data | SCN
The other possibility is call program (if it is a report) like:
SUBMIT (your report)
WITH (Your parameter) IN p_batch
AND RETURN.
Regards,
Enric
2015 Nov 27 1:51 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |