2009 Feb 05 7:04 AM
Hi..
i have to implement new report with vf04 and some additional functionality in one report..
Kindly advise how i have to proceed ..
1. I have tried initally submit the VFO4 program and tried to capture the output data of the VF04 program
2. Iam unable to capture the output data of VF04..in this i have get empty records ..
..
For this i have done code like this:
DATA: list_tab TYPE TABLE OF abaplist,
DATA : itab type vkdfif OCCURS 0 WITH HEADER LINE.
ata:lf_datum type sy-datum.
lf_datum = sy-datum - 1.
submit SDBILLDL WITH p_fkdat EQ lf_datum
EXPORTING LIST TO MEMORY
AND RETURN.
*
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = list_tab
EXCEPTIONS
not_found = 1
OTHERS = 2.
CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listasci = itab
listobject = list_tab
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
LOOP AT itab .
write:/ itab.
ENDLOOP.
Thanks & Regards
RameshManne
Hi..
i have to implement new report with vf04 and some additional functionality in one report..
Kindly advise how i have to proceed ..
1. I have tried initally submit the VFO4 program and tried to capture the output data of the VF04 program
2. Iam unable to capture the output data of VF04..in this i have get empty records ..
..
For this i have done code like this:
DATA: list_tab TYPE TABLE OF abaplist,
DATA : itab type vkdfif OCCURS 0 WITH HEADER LINE.
ata:lf_datum type sy-datum.
lf_datum = sy-datum - 1.
submit SDBILLDL WITH p_fkdat EQ lf_datum
EXPORTING LIST TO MEMORY
AND RETURN.
*
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = list_tab
EXCEPTIONS
not_found = 1
OTHERS = 2.
CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listasci = itab
listobject = list_tab
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
LOOP AT itab .
write:/ itab.
ENDLOOP.
Thanks & Regards
RameshManne
2009 Feb 05 7:06 AM
Hi ,
Please remove EXPORT TO MEMORY addition from SUBMIT and try .
Regards
2009 Feb 05 7:12 AM
hi..
This is actual requirement for me ...
Billing due list
Compare report output with results of tx. VF04 (billing due list for blocked sales orders).
Take in account the additional selection variables this report offers in comparison to tx. VF04.
Blocked invoice list
Compare report output with results of tx. V23 (Sales documents blocked for Billing) and VKM3 (Sales documents with a blocking credit status).
Take in account the additional selection variables this report offers in comparison to tx. V23 and VKM3.
if i submit with with out return it will display the VF04 output screen initially.
i want display VF04 and other additional functionality at a time.
Thanks & Regards
RameshManne
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |