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

This is regarding the needs to implement VF04 and additonal functionality

Former Member
0 Likes
564

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

2 REPLIES 2
Read only

shishupalreddy
Active Contributor
0 Likes
514

Hi ,

Please remove EXPORT TO MEMORY addition from SUBMIT and try .

Regards

Read only

0 Likes
514

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