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: 

Service Rendered Date (VBRP-FBUDA) for SD Invoice

0 Kudos

Hi All,

I have a issue on Service Rendered Date (VBRP-FBUDA (in SD Invoice)). At present VBRP-FBUDA is updating from System date (VBRP-ERDAT Document Creation Date). Our requirement was Service Rendered Date = Requested Deliver Date of Sales Order (VBRP-FBUDA = VBKD-PRSDT)

We applied SAP Note 420941 to achieve this.

However, still we have a issue in VOFM.

As per SAP Note, we created custom routine 606 in VOFM->Data Transfer-> Billing Document.

And added the following code, as per suggestion in SAP Note.

&----


&----


*& Object REPS RV60C606

*& Object Header PROG RV60C606

&----


*& FORM DATEN_KOPIEREN_606

&----


*>>>> START OF INSERTION <<<<

  • VBRP-FBUDA = VBAK-AUDAT.

VBRP-FBUDA = vbkd-prsdt.

*>>>> END OF INSERTION <<<<<<

We kept break point at the above statement.

But, system not triggering the debugging point.

Include created for this routine is (RV60C606) is active. How we can stop the debug pointer in above routine?

Is there any other way to update field VBRP-FBUDA before creating SD Invoice via t-code VF01?

Thanks,

Venkat.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Venkatesh,

We tried doing the same change by applying the SAP note & then creating the routine 606, but nothing worked.

Finally, we found that our change needs to be implemented in the exit SDVFX008 include ZXVVFU08.

The logic should be somehing like this:

LOOP AT cvbrp.

MOVE vbrk-audat TO cvbrp-fbuda.

MODIFY cvbrp TRANSPORTING fbuda.

ENDIF.

ENDLOOP.

Regards,

Geeta

3 REPLIES 3

Former Member
0 Kudos

Did you Activated the routine from t.code VOFM.Select the routine no which you have created then go to EDIT-->Activate.

0 Kudos

Yes, Routine was activated in VOFM.

Former Member
0 Kudos

Hi Venkatesh,

We tried doing the same change by applying the SAP note & then creating the routine 606, but nothing worked.

Finally, we found that our change needs to be implemented in the exit SDVFX008 include ZXVVFU08.

The logic should be somehing like this:

LOOP AT cvbrp.

MOVE vbrk-audat TO cvbrp-fbuda.

MODIFY cvbrp TRANSPORTING fbuda.

ENDIF.

ENDLOOP.

Regards,

Geeta