Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Submit IA10 from a Z program

Former Member
0 Likes
726

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.

4 REPLIES 4
Read only

Former Member
0 Likes
675

Hello ,

better to use SUBMIT instead of Call Transaction ....

chceck for syntax of SUBMIT.

regards

Prabhu

Read only

Former Member
0 Likes
675

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

Read only

Former Member
0 Likes
675

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.

Read only

Former Member
0 Likes
675

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