Skip to Content
0
Former Member
Apr 28, 2008 at 08:46 AM

How to Fetch Sales Order Item Quantity from Customer table(ztable)?

36 Views

Dear Guru's,

My scenario:

While creating Sales order the item quantity should be fetched from a Ztable. So iam using the Userexit "V46H0001 - - Customer functions for resource-related billing", in that i have implemented my code in the Function Exit - EXIT_SAPLV46H_001 and the FM documentation says

This function module allows you to change item information for generating a new item.

In order to achieve this, you must change the relevant field in the structure C_VBAPKOM.

So i activated that exit and wrote the following code to test it as follows;

break-point.
C_VBAPKOM-zmeng = 10.

But it seems not working, even it doesn't stop at the break-point when i type the material number for the item in the sales order and press enter...

Please guide me in this regard, am i correct in choosing the User-Exit? what else have to be done in order to fetch the item quantity from the ztable....

Please suggest if there is some other way to do this, i also heard that we can do this through Routines...

Thanks in Advance...

Regards

Karthik D