2010 Aug 18 6:43 AM
Hello,
I have developed a Z program and want to call transaction IA10 by skipping first screen.
But on the selection screen of IA10 there are three radio buttons. And first is selected by default.
I want to execute the report for 3rd radio button.
I have already set paramter Id's for all required fields but not getting the output.
Please tell me how to execute this report using my Z program.
Thanks in advance.
Hello,
I have developed a Z program and want to call transaction IA10 by skipping first screen.
But on the selection screen of IA10 there are three radio buttons. And first is selected by default.
I want to execute the report for 3rd radio button.
I have already set paramter Id's for all required fields but not getting the output.
Please tell me how to execute this report using my Z program.
Thanks in advance.
2010 Aug 18 6:47 AM
Hello ,
better to use SUBMIT instead of Call Transaction ....
chceck for syntax of SUBMIT.
regards
Prabhu
2010 Aug 18 6:52 AM
Hi ,
You can create a variant of your choice in the transaction & use the same variant in SUBMIT keyword . Just have a look at the below keyword :-
SUBMIT REPORT01
VIA SELECTION-SCREEN
USING SELECTION-SET 'VARIANT1'
USING SELECTION-SETS OF PROGRAM 'REPORT00'
AND RETURN.
Regards
Abhii
2010 Aug 18 7:08 AM
Hi,
As Prabhu said, SUBMIT can give you the desired result & using call transaction you can't assign 3rd radio button to be switched on as these radio buttons dont have parameter id assosiated with them.
Alternatively you can record a BDC uptill excecution.
Goodluck.
2010 Aug 18 7:42 AM
Hi,
Take reference from the following code.
DATA: BEGIN OF ITAB_LIST OCCURS 0.
INCLUDE STRUCTURE ABAPLIST.
DATA: END OF ITAB_LIST.
DATA: BEGIN OF VLIST OCCURS 0,
FILLER1(20),
FIELD1(05) ,
FILLER(05) ,
FIELD2(2) ,
FILLER3(10),
FIELD3(25) ,
FILLER4(03),
FIELD4(04) ,
FILLER5(19),
END OF VLIST.
SUBMIT RIPLKO20 WITH <SCREEN-FIELD> = <POPULATE FIELDVALUE>
EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = ITAB_LIST
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
LIST_INDEX = -1
TABLES
LISTASCI = VLIST
LISTOBJECT = ITAB_LIST
EXCEPTIONS
EMPTY_LIST = 1
LIST_INDEX_INVALID = 2
OTHERS = 3.
Anil
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |