06-26-2009 12:45 PM
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.
06-29-2009 7:10 AM
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
06-26-2009 12:59 PM
Did you Activated the routine from t.code VOFM.Select the routine no which you have created then go to EDIT-->Activate.
06-29-2009 5:03 AM
06-29-2009 7:10 AM
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