Application Development 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: 

Problem on interactive report

dnyandeo_sonje
Explorer
0 Kudos

Dear Experts,

I am create one report in which i use 2 radio button.

if 1 radio button  selects then it displays customer accounting details.

if 2 radio button  selects then it displays customer accounting details but clicking on customer no it displays respective vendor and their accounting details.

vendor accounting details report already there i want to call only that report without selection screen on that parameter can  be go by only through 1 customer accounting report.

how to do this please help me.

Regards,

Danny.

5 REPLIES 5

Former Member
0 Kudos

user "user_command" option in parmater declaration and code accordingly.

eg:  p_2 radiobutton group r1 user-command r default 'X'

0 Kudos

Dear Expert

Actually i have problem in interactive report

after at selection line

i want to call  transaction second report but in second transaction selection parameter should be hide and directly run the report.

how to set select option value through 1 report program.

code sample

AT LINE-SELECTION.

  

     CASE SY-LSIND.

       WHEN '1'.

      

         CALL TRANSACTION 'ZVENDAC' and SKIP FIRST SCREEN.

 

Regards,

Danny

0 Kudos

Dear sonje,

You can use field symbols for manipulating the fields of other program.

use ASSIGN '(program name)variable' TO <fs>.

set the variable according to you need.

if above doesn't works use memoryid and manipulate the code of second program using value in memoryid according to your need. (Using set parameter and get parameter)

0 Kudos

I have used set parameter method but  its not working..

Its not assigning values to selection parameters fields.

SELECT SINGLE LIFNR FROM KNA1 INTO LIFNR WHERE  KUNNR = CUSTNM-LOW.


AT LINE-SELECTION.CASE SY-LSIND.

       WHEN '1'.

      

           SET PARAMETER ID: 'BUK' FIELD COM,

                              'DATE' FIELD DATE,

                              'LIF' FIELD LIFNR.

         CALL TRANSACTION 'ZVENDAC' and SKIP FIRST SCREEN.

but after run it says fill all required fields.

0 Kudos

have you tried to fill screen  at selection screen out-put event using the parameters you want.

program your code such that if it being called from other program (use some flag to identify this)

it fills from ememory parameters