2023 Jul 21 11:03 AM
when user gives check id -> fchn T_code should be opened in the background and that check number should be placed inside the check number box of that t_code and it should execute to fetch the record . Is this possible please help me?
2023 Jul 22 11:39 AM
Hi Nanditha,
in SAP/ABAP you have a couple of ways to execute tasks in background, some of them returning results directly to the calling program. I will not discuss them here in detail.
Transaction FCHN just starts Report RFCHKN10 with default selection screen 1000.
In your case I'd suggest to write a small program just with one
PARAMETERS: p_checkf type payr-checkf.
START-OF-SELECTION.
SET PARAMETER ID 'CHK' FIELD p_checkf.
CALL TRANSACTION 'FCHN' AND SKIP FIRST SCREEN.
Let me know, if this does not do what you need and/or why not.
Regards Clemens
2023 Jul 21 12:27 PM
Can you tell the story? (including an example)
Thanky You, Clemens
2023 Jul 22 4:02 AM
In my selection screen user will enter check ID and press execute .
In background a transaction code (fchn) should open and the check id which user has provided should enter in the check field of the transaction code and it should get executed automatically, so user should not see this happening he should only get the output report.
The thing is instead to entering the details in transaction code and getting the output , I want user to enter details in my screen and get the output. so I want to bypass the transaction code's initial page.
2023 Jul 22 10:03 AM
nanditha_n Better edit your question (menu Actions > Edit) so that the whole community can see the details, instead of just answering to one person.
NB: probably it's possible, but what did you try and what is your issue?
2023 Jul 25 10:29 AM
2023 Jul 22 11:39 AM
Hi Nanditha,
in SAP/ABAP you have a couple of ways to execute tasks in background, some of them returning results directly to the calling program. I will not discuss them here in detail.
Transaction FCHN just starts Report RFCHKN10 with default selection screen 1000.
In your case I'd suggest to write a small program just with one
PARAMETERS: p_checkf type payr-checkf.
START-OF-SELECTION.
SET PARAMETER ID 'CHK' FIELD p_checkf.
CALL TRANSACTION 'FCHN' AND SKIP FIRST SCREEN.
Let me know, if this does not do what you need and/or why not.
Regards Clemens
2023 Jul 25 10:27 AM
Thank you Clemens.
This is Exactly what I was looking for.
SET PARAMETER ID 'CHK' FIELD p_checkf.
CALL TRANSACTION 'FCHN' AND SKIP FIRST SCREEN.