Skip to Content
0
Former Member
Dec 06, 2011 at 10:50 AM

Logic for getting DZ type values for customer

278 Views

Hi,

I need to display the total values of RZ type.

i wrote some logic based on customer number, company code and document type(uz, rz, sk)

using tables bsid, bsad.

It works fine for one customers, who has only one flat.

Suppose if the same customer has more than one flat it is not working fine.

it is giving all the values of that customer for multiple flats he has.

I am getting billing doucment numbers of that customer from vbrk of that sales order.

now i have all the billing document numbers of that customer of a particular flate.

Now can anyone give the suggestion how can i fetch amount of particular document type using those

billing doucment numbers.

Here i don't have the functional people, who are having that much sap knowledge.

i am thankful to you if anyone help me.

Edited by: anurag.radha on Dec 6, 2011 1:14 PM