cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit for T-Code VF01

Former Member
0 Kudos

Hi All,

I am searching user-exit to update the column vbkd-ihrez(Your Reference) .

I tried Enhancement V05I001, Compnent Exit_SAPLV05I_001 which fails.

Flow is as follows, PO is released, Vendor supplies material, MIGO is done with movement 101 and type 'E'.

Now in T-code VF01 billing to be made against  Document created in MIGO.

I want to Update the 'Vendor Invoice No' in vbkd-ihrez. from EKBE-XBLNR(which is Vendor Invoice no)

Anybody have solution.?

Regards

B R Phatak

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear All

Billing is done against Sale Order.

For Sale Order Purchase Order is created and as per PO terms Vender supply material directly to customer site.

From Customer Site it is confirm that material is received.

We did the entry in MIGO. Material is received.

Vendor submit invoice against the dispatched material.

We paid the amount against submitted invoice.

This amount we need to billed form customer.

So we are executing T_code VF01.

Now I extended table VBRK, with column BELNR, XBLNR

I also enhanced, header part, add one new tab with these 2 column.

SAP also know for which item and qty billing to be remain.

It show only those items and qty.

Now I am looking help for ,

when user select billing type 'ZTPD' (purchased and dispatched to customer),

pick Purchase Order from SO, go to ekbe pick material document (BELNR) and (XBLNR)

and show in newly created tab.

Regards

Bhalchandra

Sijin_Chandran
Active Contributor
0 Kudos

Use UserExit RV60AFZC

inside this there is a FORM routine USEREXIT_FILL_VBRK_VBRP.

This would be helpful to overwrite or write fields of VBRK and VBRP before saving.

Write SELECT statements according to your logic to pick the required data.

Former Member
0 Kudos

Dear All

I found lot of helpful answer telling same. But in SMOD I am not getting this UserExit.

Should I change this UserExit RV60AFZC using se37.

When I open this program through se37, I found the form  routine userexit_fill_vbrk_vbrp.


Regards.


Sijin_Chandran
Active Contributor
0 Kudos

This is an UserExit not Customer Exit ( for implementing Customer Exits we need  tcodes CMOD and SMOD )

Either you change the standard code using SSCR code or use IMPLICIT Enhancements to put in your code.

Former Member
0 Kudos

Thanks

Implicit enhancement of USEREXIT_FILL_VBRK_VBRP done.

In first run it is found very useful.

Sale Order Item is one. For same line item one PO created. Vender dispatched (delivery) to customer site completed. I made migo for same PO..

So, in ekbe table only one line item is created .

Now billing to be made for migo entry.

In this case enhancement work very fine.

But other complicated scenario not worked.

If multiple item from po selected form billing.

Sijin_Chandran
Active Contributor
0 Kudos

But other complicated scenario not worked.

If multiple item from po selected form billing.

You need to explain that other complicated scenario.

And one more thing process using line item number also "POSNR" for accurate performance.

Former Member
0 Kudos

Hi Bhalchandra,

As per the process mentioned by you, I think you need to create Vendor Invoice by using Tcode MIRO. Here there will be no Customer invoice (Tcode VF01). Please talk with functional consultant regarding the exact requirement.

If there is custom process of the project then please give all the steps along with Tcodes, so that I can provide you the solution.

Thanks & Regards,

Padmakar Kudtarkar