on 06-30-2017 12:58 PM
Hello Experts,
I am using the following code to call transaction EMMACL with parameter ID,
SET PARAMETER ID 'EMMA_CNR' FIELD <fs_case>-casenr."for case number
CALL TRANSACTION 'EMMACL' AND SKIP FIRST SCREEN.
But while calling transaction, it shows all the records present for EMMACL , instead of showing the record that is being captured in field symbol.
Please suggest some solution.
Hello Srishty,
Instead of using CALL TRANSACTION, you can use SUBMIT.
I made the demo and it seems ok.
TABLES : emma_case.
SELECT-OPTIONS: so_emma FOR emma_case-casenr.
SUBMIT remmacaselist
WITH caseno IN so_emma.
Input your casenr and it will display the result matched your input.
Regards,
Thanh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Srishty,
My demo code just to show you that SUBMIT command can show only records which have matched case number (<fs_case>-casenr) and not display all data.
For your case, put this code in the event of your customized button:
Types: begin of gty_casenr_so,
sign(1) TYPE c,
option(2) TYPE c,
low TYPE emma_case-casenr,
high TYPE emma_case-casenr,
end of gty_casenr_so.
data: lt_casenr type table of gty_casenr_so,
ls_casenr type gty_casenr_so.
ls_casenr-sign = 'I'.
ls_casenr-option = 'EQ'.
ls_casenr-low = <fs_case>-casenr.
append ls_casenr to lt_casenr.
SUBMIT remmacaselist WITH caseno IN lt_casenr.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.