2022 Oct 25 12:26 PM
I want to call tcode with user input,
I am using
1. Parameter id for passing user input
2.‘call transaction and skip first screen’.
but the tcode is having an alv on which i have to select an entry first, then only select options will come where i can fill the user input using parameter id.
i am stuck at how to pass that alv entry which is the first step, with call transaction, the alv entries do not have parameter id’
Thanks
2022 Oct 25 12:34 PM
2022 Oct 25 2:18 PM
Is it a standard transaction (it would be difficult, if not impossible, to process some ALV events in a batch-input technology)
If it is a specific transaction you can pass the required information into memory and the specific transaction would read, process and delete this data. (Theorically you could also code this behavior in a standard transaction using some implicit or explicit Enhancments)
If the transaction is some list/menu/cockpit transaction, look for individual transactions or BAPI tool that could execute the same process on the selected object
2022 Oct 25 4:18 PM
It's unclear what are the technical elements of your screens. Maybe it's possible, maybe it's not. Please clarify that.
2022 Oct 25 4:50 PM
Tcode is standard.
first screen of tcode is split screen, on the left side pf screen- there is alv, alv is having A B C D entries, when user double clicks on aly of thses entries then corresponding select options will appear on right side of the first screen.
I want to call this tcode, i am having all the necessary inputs including A B C D and their respective select options as per user input. How can I achieve this?
1. i want to call this tcode form another program
2. Bdc is not recommended here
2022 Oct 25 5:15 PM
If it's standard, then please tell us the name so that we can look at the screens, ans see how it was designed by SAP.
2022 Oct 25 7:15 PM
2022 Oct 26 8:54 AM
I don't know but I understand that it's a complex screen (Enhancements to MDS_LOAD_COCKPIT – ECC EHP8 SP15 | SAP Blogs) using Control Framework extensively and it will be difficult to automate it with Batch Input.
Workarounds:
2022 Oct 26 11:11 AM
I agree with sandra.rossi , In fact, this is a complex cockpit transaction, so run an Abap trace when executing the actions you want to replicate, and identify the selection criteria and the classes or programs that are executed. Then build your own wrapper program to run the same process, but I would forget about the idea of running this transaction programmatically without too much of a struggle.
(You could also debug some execution, for example set a break-point at start of form START_SYNC_PROCESS_100 of MDS_LOAD_COCKPIT.