Skip to Content
author's profile photo Former Member
Former Member

Logic for getting DZ type values for customer

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 06, 2011 at 02:43 PM
    how can i fetch amount of particular document type using
       those billing doucment numbers.

    Since you have already billing document numbers, just pass it in VBRP so that you will get the corresponding values.

    G. Lakshmipathi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.