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

Modification of VF44 program

Former Member
0 Likes
1,987

Hi all,

I have a requirement where i need to modify the VF44 program to add additional fields for selection with ALV output and it has options to filter and sort, which can be used as information to process the transaction.

Functionally,this requirement is related to deferral reason revenue recognition process where items otherwise eligible for revenue recognition are deferred to a future period, due to specified conditions.

These additional selection parameters on VF44 will enable us to sort, filter the report by different criteria, and perform collective processing.

YVF44 is going to be the new transaction having all these changes.

Problem i am having is i am not able to figure out from where to start !!

Please help...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,661

hi..

maybe you dont need to program a new transacion...

see BTE event 00503108 (Revenue realization)

(transaction: FIBF->settings->P/S modules...->customer....)

here you can assign own function module in which

you can start custom z-program

In this program will have selection-screen wich helps you

to set extra filter on worklist with revenue recognition

regards, darek

Hi all,

I have a requirement where i need to modify the VF44 program to add additional fields for selection with ALV output and it has options to filter and sort, which can be used as information to process the transaction.

Functionally,this requirement is related to deferral reason revenue recognition process where items otherwise eligible for revenue recognition are deferred to a future period, due to specified conditions.

These additional selection parameters on VF44 will enable us to sort, filter the report by different criteria, and perform collective processing.

YVF44 is going to be the new transaction having all these changes.

Problem i am having is i am not able to figure out from where to start !!

Please help...

7 REPLIES 7
Read only

Former Member
0 Likes
1,661

Well, since your requirement is essencially to add new functionality (new selection options, etc) to a SAP program (called by transaction VF44), you have to copy the source program and then start building your Z (custom) version of it. Why copy and not edit the source program itself ? Because SAP programs cannot be edited. Whoever gaved you this requirement probably knows that from the moment you're done you guys will be using your new transaction code (that will call your new program, a copy of SDRRAV01 with the required additions) instead of VF44, which will be put aside by your company.

So, the program that runs behind transaction VF44 is SDRRAV01, start creating a new program that is a copy of it, and start changing the selection screen, adding your new parameters and options.

Hope this serves as a start,

Avraham

Read only

0 Likes
1,661

Thanks for you reply Avraham,

Well the rquirement is to have a new transaction keeping alive the original transaction VF44. So i cannot make changes directly to prog SDRRAV01.

I have made a replica of this program and here lies my query that how to make the required changes in the copied program ZSDRRAV01.

All the selection fields to be added in the program will be provided as additional selection criteria in the filter list, end user can pick and choose which fields are required to sort in to a work list for collective processing.

Regards.

Edited by: Napsterr on Apr 30, 2009 8:45 AM

Read only

Former Member
0 Likes
1,662

hi..

maybe you dont need to program a new transacion...

see BTE event 00503108 (Revenue realization)

(transaction: FIBF->settings->P/S modules...->customer....)

here you can assign own function module in which

you can start custom z-program

In this program will have selection-screen wich helps you

to set extra filter on worklist with revenue recognition

regards, darek

Read only

0 Likes
1,661

Hi Dariusz,

I have tried with the solution you proposed.

Just have a few things to clarify -

I have assigned my own FM to the event 00503108. How do i proceed now to link this FM and SDRRAV01 ?

I guess i am not soppsed to copy whole code of SDRRAV01 and then modify it !

Can you please tell me the steps as I have never come across any such requirement earlier.

Thank you...

Read only

0 Likes
1,661

hi,

1.

your z-function module must be created as a copy of SAMPLE_INTERFACE_00503108

2.

example:

FUNCTION Z_SAMPLE_INTERFACE_00503108.

*"----


""Lokale Schnittstelle:

*" TABLES

*" FIT_VBREVAV STRUCTURE VBREVAV

*"----


break-point.

export FIT_VBREVAV[] to memory ID 'vf44'.

submit zprogram_00503108 and return.

import FIT_VBREVAV[] from memory ID 'vf44'.

ENDFUNCTION.

3.

create program zprogram_00503108 with own selection screen...

report zprogram_00503108.

data: FIT_VBREVAV like VBREVAV occurs 0 with header line.

select-options....

start-of-selection.

import FIT_VBREVAV[] from memory ID 'vf44'.

loop at FIT_VBREVAV.

*here your checks according to selection screen....

  • example: delete FIT_VBREVAV index sy-tabix....

endloop.

*export to memory modified workllist...

export FIT_VBREVAV[] to memory ID 'vf44'.

4.

now, when you start vf44 and when you execute ->selection-screen

of your z-program should appears...and here user can do extra selections...

regards,darek

Read only

0 Likes
1,661

Hi

I have a requirement to ensure that revenue posting should happen only on the service rendered date entered in the sales order. Could you suggest the BTE which can be used to serve this purpose.

Awaiting earliest reponse

Thanks

Banu

Read only

Former Member
0 Likes
1,661

Hi,

We have a similar requirement for Functionally change. Could you share the BTE which could be used for ensuring that revenue posting should happen only on the service rendered date entered in the sales order?

Any hint to achieve this functionality would be of great help,

Thanks

Banu