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

To get ARE1 NO

Dear frnz,

I have a requirement to show the ARE1 number in my invoice based on the Billing Document (VBRP-VBELN)

I am trying to pick ARE1 document number based on the delivery number and excise number.

The field is J_1IEXHEAD-DOCNO.

I tried with table J_1IEXCHDR. I tried with function J_1IEX_GET_ARE_DOCUMENT also.

But I can't pick correct ARE1 number.

Is any other table has ARE1 no along with the refernce no's.

Is there any way to pick the ARE1 number based on delivery(J_1IEXITEM-RDOC1) or excise number(J_1IEXITEM-RDOC2).

Points will be rewarded.

Regards.

siva

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 16, 2008 at 10:23 AM

    select data from J_1IEXCHDR where RDOC = p_vbeln.

    select data from j_1iexcdtl

    where rdoc2 = J_1IEXCHDR-exnum

    and exyear = J_1IEXCHDR-exyear.

    select ( are1 no ) from j_1iexchdr

    where trntyp = 'ARE1'

    and docno = j_1iexcdtl-docno

    and docyr = j_1iexcdtl-docyr.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 16, 2008 at 10:45 AM

    I got the solution.

    Thank you.

    siva

    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.