2007 Apr 18 10:21 AM
Hi,
I have created my zreports in that i want to add order probability for sales order,inquiry ,quotation . But valus coming in report only 100. But according to customer requirement i want 30% for inquiry and 70% for quoatation . how toa dd these values?
And 1 more when i wil press f4 it should dispaly values like 00 ,10,20......100.
Its a std field in vabk n vbap.How to get these requirement?
Thanx in advance.
I wil never forget to reward if solution works.
Hi,
I have created my zreports in that i want to add order probability for sales order,inquiry ,quotation . But valus coming in report only 100. But according to customer requirement i want 30% for inquiry and 70% for quoatation . how toa dd these values?
And 1 more when i wil press f4 it should dispaly values like 00 ,10,20......100.
Its a std field in vabk n vbap.How to get these requirement?
Thanx in advance.
I wil never forget to reward if solution works.
2007 Apr 18 12:43 PM
Hi,
i case of F4 u can make a internal table and pass it in F4IF_INT_TABLE_VALUE_REQUEST function module with populating values 00,10...and put this FM in at selection-screen on value request for <filed name>. I am not clear with ur first requirment just explain it.
regards
Mukesh
2007 Apr 18 1:28 PM
Hi Mukesh,
In alv , i have added field order probability.but it wil show only value 100 in report . i want values like 10 20.....100. means i can choose any value by pressing f4.that value it should appear in report o/p.
Sorry, but i didn't get ur sloution. Can u explain with code.
Thanx.
Shital.
2007 Apr 19 9:55 AM
Hi,
use this funtion moudule
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'BUKRS'
dynprofield = 'BUKRS'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
tables
value_tab = it001.
and handle the f4 in subroutine user-command of AlV report and when u select a value then append that value in main internal table for that particular record.
2007 Apr 19 10:02 AM
See demo programs,
BCALV_GRID_F4_HELP_APPLICATION
BCALV_GRID_F4_HELPM01
BCALV_TEST_GRID_F4_HELP
MRYF_ALV_LAYOUT_F4_HELP
BCALV_GRID_EDIT_DELTA.
2007 Apr 19 11:19 AM
BCALV_TEST_GRID_F4_HELP This is the example report program.
use F4 with input and look into the code.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |