Skip to Content

need billing document for a delivary

Hi experts,

i have a requirement where i need to get the delivaries by entering the shipment number on the selection screen.

After i get the delivaries, i need to get all the billing documents for the delivaries.

I am not able to get the link to get all the related details when a shipment number is enterd on the selection screen.

Pls guide me.

Points will be rewarded. Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 08:48 AM

    Hi,

    From LIKP you will get the deliveries for shipping points.

    once you have the deliveries, you will get the related Billing documents from table VBFA where VBELV = delivery document and get VBELN for VBTYP_N = 'N'.

    Thanks,

    Rajinikanth G

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 19, 2008 at 08:53 AM

    RNB,

    VTTK is the Shipment Header table and VTTP is the Shipment Item.VTTP is having both the shipment number and delivery number.

    K.Kiran.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 08:55 AM

    Use VTTP table to get the delivery number for a Shipment number entered on selection screen.

    VTTP-VBELN gives the delivery number.

    Hit VBFA table to get the Invoices. Using the below condition;

    VBELV = all the deliveries u got from VTTP table

    VBTYP_N = 'M'

    VBTYP_v = 'J'.

    With the above condition you will get all the invoices associated to deliveries, Refer VBFA-VBELN for the Invoice.

    *******Reward points if useful

    Regards,

    Kiran Bobbala

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 09:58 AM

    Hi,

    You can get the Delivery Documents associated with the Shipment Nbr entered on screen by querying the table, VTTP. VBELN field contains the Delivery Nbr.

    Further to get the aociated Billing Document, you may query table, VBRK.

    XBLNR field contains the Delivery Nbr and VBELN contains the Billing Document Nbr.

    Please let me know, if this works in your scenario.

    Reward points for useful answers.

    Thanks,

    Binu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 19, 2008 at 10:01 AM

    check table vbfa for this

    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.